From c69ffee673f2b6590dff7a818b8d23f8f3970fbc Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 27 Jul 2021 09:24:45 +0000 Subject: [PATCH 001/243] 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 002/243] 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 003/243] 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 004/243] 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 005/243] 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 006/243] 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 007/243] 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 008/243] 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 009/243] 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 010/243] 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 011/243] 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 012/243] 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 013/243] 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 014/243] 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 015/243] 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 016/243] 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 017/243] 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 018/243] 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 019/243] 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 020/243] 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 021/243] 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 ed6a32a083d42fdf82a0973e6b6badb1ff575f09 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 2 Aug 2021 07:58:42 +0000 Subject: [PATCH 022/243] CodeGen from PR 15455 in Azure/azure-rest-api-specs signalr: adding the missing `Trace` value (#15455) Fixes #14923 --- schemas/2020-05-01/Microsoft.SignalRService.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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" ] } }, From 3d86d6e56f175837459838064372eda5fef2016c Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Mon, 2 Aug 2021 09:21:03 +0000 Subject: [PATCH 023/243] 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 024/243] 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 025/243] 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 026/243] 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 027/243] 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 028/243] 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 029/243] 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 030/243] 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 031/243] 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 032/243] 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 033/243] 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 034/243] 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 035/243] 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 036/243] 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 037/243] 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 038/243] 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 039/243] 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 040/243] 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 041/243] 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 042/243] 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 043/243] 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 044/243] 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 2bdee6f1eb0f3bf9ddc940e1020ba7df075f9034 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 7 Aug 2021 08:44:08 +0000 Subject: [PATCH 045/243] Update resource list --- generator/resources.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index b62dd3c784..91b6d0f189 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -1382,10 +1382,6 @@ "2020-10-01-preview", "2021-03-01" ], - "Microsoft.Compute/cloudServices/updateDomains": [ - "2020-10-01-preview", - "2021-03-01" - ], "Microsoft.Compute/diskAccesses": [ "2020-06-30", "2020-09-30" From b5a51c006c938eb413da9bfce911c59ba710de84 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 7 Aug 2021 09:18:18 +0000 Subject: [PATCH 046/243] 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 908be2673d..53a18a5076 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 22410ea732612d610f23aa373b85630f63373383 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 7 Aug 2021 09:18:29 +0000 Subject: [PATCH 047/243] Update resource list --- generator/resources.json | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 91b6d0f189..b29ad8c01b 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3934,20 +3934,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 5c733e8bfd75f6f7fc31c04a747e09a15e5a1de5 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 7 Aug 2021 10:29:31 +0000 Subject: [PATCH 048/243] 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 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 3b23faca1f9671d71c9464c4475f9479838bfd94 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 7 Aug 2021 10:29:42 +0000 Subject: [PATCH 049/243] Update resource list --- generator/resources.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/generator/resources.json b/generator/resources.json index b29ad8c01b..91b6d0f189 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3934,6 +3934,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 4479cd0ac865edbf0f8bcbbb0861a8eda3567533 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sun, 8 Aug 2021 09:17:50 +0000 Subject: [PATCH 050/243] 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 908be2673d..53a18a5076 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 d5ce99f149a1353662aae04a1dab943037c88a27 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sun, 8 Aug 2021 09:18:01 +0000 Subject: [PATCH 051/243] Update resource list --- generator/resources.json | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 91b6d0f189..b29ad8c01b 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3934,20 +3934,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 0048acd2056feb2a8be58f183c88f6ca7e33a48a Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sun, 8 Aug 2021 10:42:07 +0000 Subject: [PATCH 052/243] 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 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 fc0b46e7a80c7d64e5a49680c6d0136edcc7549a Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sun, 8 Aug 2021 10:42:22 +0000 Subject: [PATCH 053/243] Update resource list --- generator/resources.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/generator/resources.json b/generator/resources.json index b29ad8c01b..91b6d0f189 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3934,6 +3934,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 a360679e8b909ab60d6a1497e3a238b9a218bbb0 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 9 Aug 2021 02:32:25 +0000 Subject: [PATCH 054/243] 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 055/243] 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 b3602aa947a0238841bc08bffd5ad5fa58282d8d Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Mon, 9 Aug 2021 08:40:56 +0000 Subject: [PATCH 056/243] Autogenerate schemas --- schemas/2018-06-01/Microsoft.DataFactory.json | 597 ++++++++---------- 1 file changed, 269 insertions(+), 328 deletions(-) diff --git a/schemas/2018-06-01/Microsoft.DataFactory.json b/schemas/2018-06-01/Microsoft.DataFactory.json index f6e33d113f..a3a52e8408 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", @@ -5303,6 +5269,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 +5304,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 +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", @@ -7526,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": [ @@ -7558,18 +7541,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 +7648,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", @@ -9782,18 +9747,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 +9938,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 +10473,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 +10684,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 +11018,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": [ @@ -12059,6 +11979,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 +12439,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 +12909,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 +16131,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 +16485,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 +16810,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 +18257,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 +18427,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 +18659,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 +18792,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 +19343,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 +20072,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 +20268,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 +20493,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": [ @@ -21936,18 +21810,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 +22292,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 +22755,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 +25395,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 +25410,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 +25479,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 +25513,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 +25548,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 +25744,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 +25779,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 +25984,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 +26019,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 +26103,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 +27186,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 +28575,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", @@ -28951,18 +28901,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 9f8811e9f7e482651c366ab47b2e4520aca68433 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Mon, 9 Aug 2021 09:21:29 +0000 Subject: [PATCH 057/243] 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 908be2673d..53a18a5076 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 182731d646fb6b51040092721160afca3602683c Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Mon, 9 Aug 2021 09:21:44 +0000 Subject: [PATCH 058/243] Update resource list --- generator/resources.json | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 91b6d0f189..b29ad8c01b 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3934,20 +3934,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 3cf54c5932aba4cbe884abdd5154b5018efc2768 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Mon, 9 Aug 2021 10:33:41 +0000 Subject: [PATCH 059/243] 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 | 11 + schemas/common/autogeneratedResources.json | 18 + 5 files changed, 2654 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/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/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 36f7a955e518eb82f2cbf9c0d89cf914feb926b2 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Mon, 9 Aug 2021 10:33:54 +0000 Subject: [PATCH 060/243] Update resource list --- generator/resources.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/generator/resources.json b/generator/resources.json index b29ad8c01b..91b6d0f189 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3934,6 +3934,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 f38e772e9defaabd1fc727d3e40f6a1bd2f85a65 Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Mon, 9 Aug 2021 15:32:05 +0000 Subject: [PATCH 061/243] 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 062/243] 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 063/243] 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 064/243] 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 065/243] 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 066/243] 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 067/243] 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 068/243] 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 069/243] 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 070/243] 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 071/243] 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 072/243] 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 073/243] 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 074/243] 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 075/243] 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 076/243] 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 077/243] 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 a8c67f18f5f93f492f8bac3f439a07c088274eca Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Thu, 19 Aug 2021 19:07:50 +0000 Subject: [PATCH 078/243] Skip schema removal for disabled providers --- generator/cmd/generateall.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/generator/cmd/generateall.ts b/generator/cmd/generateall.ts index 28a8fe13a2..94171571b8 100644 --- a/generator/cmd/generateall.ts +++ b/generator/cmd/generateall.ts @@ -47,7 +47,8 @@ executeSynchronous(async () => { for (const basePath of basePaths) { const readme = await validateAndReturnReadmePath(localPath, basePath); const namespaces = keys(await getApiVersionsByNamespace(readme)); - let filteredAutoGenList = findOrGenerateAutogenEntries(basePath, namespaces); + let filteredAutoGenList = findOrGenerateAutogenEntries(basePath, namespaces) + .filter(x => x.disabledForAutogen !== true); if (!!params.readmeFiles) { filteredAutoGenList = filteredAutoGenList.filter(c => { @@ -63,10 +64,6 @@ executeSynchronous(async () => { await clearAutoGeneratedSchemaRefs(filteredAutoGenList); for (const autoGenConfig of filteredAutoGenList) { - if (autoGenConfig.disabledForAutogen === true) { - continue; - } - let pkg = { path: ['schemas'] } as Package; From d43282876240bd377c0dff6b76c3a9e1b6a0dd92 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 19 Aug 2021 19:40:33 +0000 Subject: [PATCH 079/243] Autogenerate schemas --- schemas/2021-06-01-preview/Microsoft.KeyVault.json | 3 ++- schemas/2021-07-01-preview/Microsoft.Devices.json | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/schemas/2021-06-01-preview/Microsoft.KeyVault.json b/schemas/2021-06-01-preview/Microsoft.KeyVault.json index 7dc0b6bd4e..d107a5b820 100644 --- a/schemas/2021-06-01-preview/Microsoft.KeyVault.json +++ b/schemas/2021-06-01-preview/Microsoft.KeyVault.json @@ -1273,7 +1273,8 @@ "restore", "recover", "purge", - "release" + "release", + "rotate" ] } }, diff --git a/schemas/2021-07-01-preview/Microsoft.Devices.json b/schemas/2021-07-01-preview/Microsoft.Devices.json index 9deb94ca67..289dca9977 100644 --- a/schemas/2021-07-01-preview/Microsoft.Devices.json +++ b/schemas/2021-07-01-preview/Microsoft.Devices.json @@ -459,7 +459,8 @@ "DeviceLifecycleEvents", "DeviceJobLifecycleEvents", "DigitalTwinChangeEvents", - "DeviceConnectionStateEvents" + "DeviceConnectionStateEvents", + "MqttBrokerMessages" ] }, { @@ -1228,7 +1229,8 @@ "DeviceLifecycleEvents", "DeviceJobLifecycleEvents", "DigitalTwinChangeEvents", - "DeviceConnectionStateEvents" + "DeviceConnectionStateEvents", + "MqttBrokerMessages" ] }, { From 069a47ac5b6fb6d95c7860775420523cdb1f9ac7 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 19 Aug 2021 19:40:45 +0000 Subject: [PATCH 080/243] Update resource list --- generator/resources.json | 275 ++++++++++++++++++++++++++------------- 1 file changed, 185 insertions(+), 90 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 91b6d0f189..1b90493b3b 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -1335,7 +1335,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.CertificateRegistration/certificateOrders/certificates": [ "2015-08-01", @@ -1346,7 +1347,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.ChangeAnalysis/profile": [ "2020-04-01-preview" @@ -2093,7 +2095,8 @@ "2018-03-15-preview", "2018-03-31-preview", "2018-04-19", - "2018-07-15-preview" + "2018-07-15-preview", + "2021-06-30" ], "Microsoft.DataMigration/services/projects": [ "2017-11-15-preview", @@ -2101,20 +2104,24 @@ "2018-03-15-preview", "2018-03-31-preview", "2018-04-19", - "2018-07-15-preview" + "2018-07-15-preview", + "2021-06-30" ], "Microsoft.DataMigration/services/projects/files": [ - "2018-07-15-preview" + "2018-07-15-preview", + "2021-06-30" ], "Microsoft.DataMigration/services/projects/tasks": [ "2017-11-15-preview", "2018-03-15-preview", "2018-03-31-preview", "2018-04-19", - "2018-07-15-preview" + "2018-07-15-preview", + "2021-06-30" ], "Microsoft.DataMigration/services/serviceTasks": [ - "2018-07-15-preview" + "2018-07-15-preview", + "2021-06-30" ], "Microsoft.DataShare/accounts": [ "2018-11-01-preview", @@ -2172,7 +2179,8 @@ "2021-04-01-preview" ], "Microsoft.Databricks/workspaces/virtualNetworkPeerings": [ - "2018-04-01" + "2018-04-01", + "2021-04-01-preview" ], "Microsoft.Datadog/agreements": [ "2020-02-01-preview", @@ -3012,7 +3020,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.DomainRegistration/domains/domainOwnershipIdentifiers": [ "2015-04-01", @@ -3023,7 +3032,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Elastic/monitors": [ "2020-07-01", @@ -3610,18 +3620,23 @@ "2017-07-01" ], "Microsoft.Logz/monitors": [ + "2020-10-01", "2020-10-01-preview" ], "Microsoft.Logz/monitors/accounts": [ + "2020-10-01", "2020-10-01-preview" ], "Microsoft.Logz/monitors/accounts/tagRules": [ + "2020-10-01", "2020-10-01-preview" ], "Microsoft.Logz/monitors/singleSignOnConfigurations": [ + "2020-10-01", "2020-10-01-preview" ], "Microsoft.Logz/monitors/tagRules": [ + "2020-10-01", "2020-10-01-preview" ], "Microsoft.MachineLearning/commitmentPlans": [ @@ -3992,7 +4007,8 @@ "2020-12-01", "2021-02-01", "2021-04-01", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-06-01" ], "Microsoft.NetApp/netAppAccounts/backupPolicies": [ "2020-05-01", @@ -4004,7 +4020,8 @@ "2020-12-01", "2021-02-01", "2021-04-01", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-06-01" ], "Microsoft.NetApp/netAppAccounts/capacityPools": [ "2017-08-15", @@ -4025,7 +4042,8 @@ "2020-12-01", "2021-02-01", "2021-04-01", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-06-01" ], "Microsoft.NetApp/netAppAccounts/capacityPools/volumes": [ "2017-08-15", @@ -4046,7 +4064,8 @@ "2020-12-01", "2021-02-01", "2021-04-01", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-06-01" ], "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups": [ "2020-05-01", @@ -4058,7 +4077,8 @@ "2020-12-01", "2021-02-01", "2021-04-01", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-06-01" ], "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots": [ "2017-08-15", @@ -4079,7 +4099,8 @@ "2020-12-01", "2021-02-01", "2021-04-01", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-06-01" ], "Microsoft.NetApp/netAppAccounts/snapshotPolicies": [ "2020-05-01", @@ -4091,7 +4112,8 @@ "2020-12-01", "2021-02-01", "2021-04-01", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-06-01" ], "Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies": [ "2018-12-01", @@ -5804,7 +5826,8 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent": [ "2017-07-01", @@ -5814,7 +5837,8 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers": [ "2016-12-01", @@ -5826,7 +5850,8 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems": [ "2016-06-01", @@ -5841,7 +5866,8 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/backupPolicies": [ "2016-06-01", @@ -5856,10 +5882,12 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/backupResourceGuardProxies": [ - "2021-02-01-preview" + "2021-02-01-preview", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/backupconfig": [ "2019-06-15", @@ -5871,12 +5899,14 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/backupstorageconfig": [ "2016-12-01", "2018-12-20", - "2021-04-01" + "2021-04-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/certificates": [ "2016-06-01", @@ -5908,7 +5938,8 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/replicationAlertSettings": [ "2016-08-10", @@ -6198,11 +6229,13 @@ ], "Microsoft.Security/assessmentMetadata": [ "2019-01-01-preview", - "2020-01-01" + "2020-01-01", + "2021-06-01" ], "Microsoft.Security/assessments": [ "2019-01-01-preview", - "2020-01-01" + "2020-01-01", + "2021-06-01" ], "Microsoft.Security/autoProvisioningSettings": [ "2017-08-01-preview" @@ -7571,7 +7604,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/connectionGateways": [ "2016-06-01" @@ -7596,12 +7630,14 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/hostingEnvironments/configurations": [ "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/hostingEnvironments/multiRolePools": [ "2015-08-01", @@ -7613,12 +7649,14 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/hostingEnvironments/privateEndpointConnections": [ "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/hostingEnvironments/workerPools": [ "2015-08-01", @@ -7630,11 +7668,13 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/kubeEnvironments": [ "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/managedHostingEnvironments": [ "2015-08-01" @@ -7652,7 +7692,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/serverfarms": [ "2015-08-01", @@ -7664,7 +7705,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/serverfarms/virtualNetworkConnections/gateways": [ "2015-08-01", @@ -7676,7 +7718,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/serverfarms/virtualNetworkConnections/routes": [ "2015-08-01", @@ -7688,7 +7731,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites": [ "2015-08-01", @@ -7701,7 +7745,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/backups": [ "2015-08-01", @@ -7714,7 +7759,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/config": [ "2015-08-01", @@ -7727,7 +7773,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/deployments": [ "2015-08-01", @@ -7740,7 +7787,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/domainOwnershipIdentifiers": [ "2016-08-01", @@ -7752,7 +7800,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/extensions": [ "2016-08-01", @@ -7764,7 +7813,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/functions": [ "2016-08-01", @@ -7776,7 +7826,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/functions/keys": [ "2018-02-01", @@ -7786,7 +7837,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/hostNameBindings": [ "2015-08-01", @@ -7799,7 +7851,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/hybridConnectionNamespaces/relays": [ "2016-08-01", @@ -7811,7 +7864,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/hybridconnection": [ "2015-08-01", @@ -7824,7 +7878,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/instances/deployments": [ "2015-08-01" @@ -7839,7 +7894,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/migrate": [ "2016-08-01", @@ -7851,7 +7907,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/networkConfig": [ "2018-02-01", @@ -7862,7 +7919,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/premieraddons": [ "2015-08-01", @@ -7875,7 +7933,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/privateAccess": [ "2018-02-01", @@ -7886,7 +7945,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/privateEndpointConnections": [ "2019-08-01", @@ -7895,7 +7955,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/publicCertificates": [ "2016-08-01", @@ -7907,7 +7968,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/siteextensions": [ "2016-08-01", @@ -7919,7 +7981,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots": [ "2015-08-01", @@ -7932,7 +7995,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/backups": [ "2015-08-01", @@ -7941,7 +8005,8 @@ "Microsoft.Web/sites/slots/basicPublishingCredentialsPolicies": [ "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/config": [ "2015-08-01", @@ -7954,7 +8019,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/deployments": [ "2015-08-01", @@ -7967,7 +8033,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/domainOwnershipIdentifiers": [ "2016-08-01", @@ -7979,7 +8046,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/extensions": [ "2016-08-01", @@ -7991,7 +8059,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/functions": [ "2016-08-01", @@ -8003,7 +8072,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/functions/keys": [ "2018-02-01", @@ -8013,7 +8083,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/hostNameBindings": [ "2015-08-01", @@ -8026,7 +8097,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/hybridConnectionNamespaces/relays": [ "2016-08-01", @@ -8038,7 +8110,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/hybridconnection": [ "2015-08-01", @@ -8051,7 +8124,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/instances/deployments": [ "2015-08-01" @@ -8066,7 +8140,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/networkConfig": [ "2018-02-01", @@ -8075,7 +8150,8 @@ "2020-06-01", "2020-09-01", "2020-10-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/premieraddons": [ "2015-08-01", @@ -8088,7 +8164,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/privateAccess": [ "2018-02-01", @@ -8099,12 +8176,14 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/privateEndpointConnections": [ "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/publicCertificates": [ "2016-08-01", @@ -8116,7 +8195,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/siteextensions": [ "2016-08-01", @@ -8128,7 +8208,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/snapshots": [ "2015-08-01" @@ -8144,7 +8225,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/virtualNetworkConnections": [ "2015-08-01", @@ -8157,7 +8239,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/slots/virtualNetworkConnections/gateways": [ "2015-08-01", @@ -8170,7 +8253,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/snapshots": [ "2015-08-01" @@ -8186,7 +8270,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/virtualNetworkConnections": [ "2015-08-01", @@ -8199,7 +8284,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sites/virtualNetworkConnections/gateways": [ "2015-08-01", @@ -8212,7 +8298,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/sourcecontrols": [ "2015-08-01", @@ -8224,7 +8311,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/staticSites": [ "2019-08-01", @@ -8233,7 +8321,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/staticSites/builds/config": [ "2019-08-01", @@ -8242,12 +8331,14 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/staticSites/builds/userProvidedFunctionApps": [ "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/staticSites/config": [ "2019-08-01", @@ -8256,7 +8347,8 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/staticSites/customDomains": [ "2019-08-01", @@ -8265,17 +8357,20 @@ "2020-10-01", "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/staticSites/privateEndpointConnections": [ "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.Web/staticSites/userProvidedFunctionApps": [ "2020-12-01", "2021-01-01", - "2021-01-15" + "2021-01-15", + "2021-02-01" ], "Microsoft.WindowsESU/multipleActivationKeys": [ "2019-09-16-preview" From 506cd16ff3b905a950582ad5bfc95b081aee4ce5 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 19 Aug 2021 20:27:35 +0000 Subject: [PATCH 081/243] Autogenerate schemas --- .../Microsoft.AzureArcData.json | 828 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 12 + 2 files changed, 840 insertions(+) create mode 100644 schemas/2021-07-01-preview/Microsoft.AzureArcData.json diff --git a/schemas/2021-07-01-preview/Microsoft.AzureArcData.json b/schemas/2021-07-01-preview/Microsoft.AzureArcData.json new file mode 100644 index 0000000000..856a645d31 --- /dev/null +++ b/schemas/2021-07-01-preview/Microsoft.AzureArcData.json @@ -0,0 +1,828 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.AzureArcData.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.AzureArcData", + "description": "Microsoft AzureArcData Resource Types", + "resourceDefinitions": { + "dataControllers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DataControllerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The data controller 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.AzureArcData/dataControllers" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureArcData/dataControllers" + }, + "postgresInstances": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "Name of PostgresInstance" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PostgresInstanceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Postgres Instance properties." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/PostgresInstanceSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource model definition representing SKU for Azure Database for PostgresSQL - Azure Arc" + }, + "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.AzureArcData/postgresInstances" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureArcData/postgresInstances" + }, + "sqlManagedInstances": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of SQL Managed Instances" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlManagedInstanceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of sqlManagedInstance." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/SqlManagedInstanceSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource model definition representing SKU for Azure Managed Instance - Azure Arc" + }, + "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.AzureArcData/sqlManagedInstances" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureArcData/sqlManagedInstances" + }, + "sqlServerInstances": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of SQL Server Instance" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlServerInstanceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of SqlServerInstance." + }, + "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.AzureArcData/sqlServerInstances" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureArcData/sqlServerInstances" + } + }, + "definitions": { + "BasicLoginInformation": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "Login password." + }, + "username": { + "type": "string", + "description": "Login username." + } + }, + "description": "Username and password for basic login authentication." + }, + "DataControllerProperties": { + "type": "object", + "properties": { + "basicLoginInformation": { + "oneOf": [ + { + "$ref": "#/definitions/BasicLoginInformation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Username and password for basic login authentication." + }, + "infrastructure": { + "oneOf": [ + { + "type": "string", + "enum": [ + "azure", + "gcp", + "aws", + "alibaba", + "onpremises", + "other" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The infrastructure the data controller is running on." + }, + "k8sRaw": { + "type": "object", + "properties": {}, + "description": "The raw kubernetes information" + }, + "lastUploadedDate": { + "type": "string", + "format": "date-time", + "description": "Last uploaded date from Kubernetes cluster. Defaults to current date time" + }, + "logAnalyticsWorkspaceConfig": { + "oneOf": [ + { + "$ref": "#/definitions/LogAnalyticsWorkspaceConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Log analytics workspace id and primary key" + }, + "onPremiseProperty": { + "oneOf": [ + { + "$ref": "#/definitions/OnPremiseProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties from the Kubernetes data controller" + }, + "uploadServicePrincipal": { + "oneOf": [ + { + "$ref": "#/definitions/UploadServicePrincipal" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Service principal for uploading billing, metrics and logs." + }, + "uploadWatermark": { + "oneOf": [ + { + "$ref": "#/definitions/UploadWatermark" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties on upload watermark. Mostly timestamp for each upload data type" + } + }, + "description": "The data controller properties." + }, + "ExtendedLocation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the extended location." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CustomLocation" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of the extended location." + } + }, + "description": "The complex type of the extended location." + }, + "LogAnalyticsWorkspaceConfig": { + "type": "object", + "properties": { + "primaryKey": { + "type": "string", + "description": "Primary key of the workspace" + }, + "workspaceId": { + "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": "Azure Log Analytics workspace ID" + } + }, + "description": "Log analytics workspace id and primary key" + }, + "OnPremiseProperty": { + "type": "object", + "properties": { + "id": { + "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": "A globally unique ID identifying the associated Kubernetes cluster" + }, + "publicSigningKey": { + "type": "string", + "description": "Certificate that contains the Kubernetes cluster public key used to verify signing" + }, + "signingCertificateThumbprint": { + "type": "string", + "description": "Unique thumbprint returned to customer to verify the certificate being uploaded" + } + }, + "required": [ + "id", + "publicSigningKey" + ], + "description": "Properties from the Kubernetes data controller" + }, + "PostgresInstanceProperties": { + "type": "object", + "properties": { + "admin": { + "type": "string", + "description": "The instance admin" + }, + "basicLoginInformation": { + "oneOf": [ + { + "$ref": "#/definitions/BasicLoginInformation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Username and password for basic login authentication." + }, + "dataControllerId": { + "type": "string", + "description": "The data controller id" + }, + "k8sRaw": { + "type": "object", + "properties": {}, + "description": "The raw kubernetes information" + }, + "lastUploadedDate": { + "type": "string", + "format": "date-time", + "description": "Last uploaded date from Kubernetes cluster. Defaults to current date time" + } + }, + "description": "Postgres Instance properties." + }, + "PostgresInstanceSku": { + "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." + }, + "dev": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose. " + }, + "family": { + "type": "string", + "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." + }, + "name": { + "type": "string", + "description": "The name of the SKU. It is typically a letter+number code" + }, + "size": { + "type": "string", + "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Hyperscale" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier." + } + }, + "required": [ + "name" + ], + "description": "The resource model definition representing SKU for Azure Database for PostgresSQL - Azure Arc" + }, + "SqlManagedInstanceProperties": { + "type": "object", + "properties": { + "admin": { + "type": "string", + "description": "The instance admin user" + }, + "basicLoginInformation": { + "oneOf": [ + { + "$ref": "#/definitions/BasicLoginInformation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Username and password for basic login authentication." + }, + "dataControllerId": { + "type": "string", + "description": "null" + }, + "endTime": { + "type": "string", + "description": "The instance end time" + }, + "k8sRaw": { + "type": "object", + "properties": {}, + "description": "The raw kubernetes information" + }, + "lastUploadedDate": { + "type": "string", + "format": "date-time", + "description": "Last uploaded date from Kubernetes cluster. Defaults to current date time" + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "BasePrice", + "LicenseIncluded" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The license type to apply for this managed instance." + }, + "startTime": { + "type": "string", + "description": "The instance start time" + } + }, + "description": "Properties of sqlManagedInstance." + }, + "SqlManagedInstanceSku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "dev": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose. " + }, + "family": { + "type": "string" + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "vCore" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the SKU." + }, + "size": { + "type": "string", + "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "GeneralPurpose", + "BusinessCritical" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tier for this managed instance." + } + }, + "required": [ + "name" + ], + "description": "The resource model definition representing SKU for Azure Managed Instance - Azure Arc" + }, + "SqlServerInstanceProperties": { + "type": "object", + "properties": { + "azureDefenderStatus": { + "type": "string", + "description": "Status of Azure Defender." + }, + "azureDefenderStatusLastUpdated": { + "type": "string", + "format": "date-time", + "description": "Timestamp of last Azure Defender status update." + }, + "collation": { + "type": "string", + "description": "SQL Server collation." + }, + "containerResourceId": { + "type": "string", + "description": "ARM Resource id of the container resource (Azure Arc for Servers)." + }, + "currentVersion": { + "type": "string", + "description": "SQL Server current version." + }, + "edition": { + "type": "string", + "description": "SQL Server edition." + }, + "instanceName": { + "type": "string", + "description": "SQL Server instance name." + }, + "licenseType": { + "type": "string", + "description": "SQL Server license type." + }, + "patchLevel": { + "type": "string", + "description": "SQL Server update level." + }, + "productId": { + "type": "string", + "description": "SQL Server product ID." + }, + "status": { + "type": "string", + "description": "The cloud connectivity status." + }, + "tcpDynamicPorts": { + "type": "string", + "description": "Dynamic TCP ports used by SQL Server." + }, + "tcpStaticPorts": { + "type": "string", + "description": "Static TCP ports used by SQL Server." + }, + "vCore": { + "type": "string", + "description": "The number of logical processors used by the SQL Server instance." + }, + "version": { + "type": "string", + "description": "SQL Server version." + } + }, + "required": [ + "containerResourceId", + "status" + ], + "description": "Properties of SqlServerInstance." + }, + "UploadServicePrincipal": { + "type": "object", + "properties": { + "authority": { + "type": "string", + "description": "Authority for the service principal. Example: https://login.microsoftonline.com/" + }, + "clientId": { + "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": "Client ID of the service principal for uploading data." + }, + "clientSecret": { + "type": "string", + "description": "Secret of the service principal" + }, + "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": "Tenant ID of the service principal." + } + }, + "description": "Service principal for uploading billing, metrics and logs." + }, + "UploadWatermark": { + "type": "object", + "properties": { + "logs": { + "type": "string", + "format": "date-time", + "description": "Last uploaded date for logs from kubernetes cluster. Defaults to current date time" + }, + "metrics": { + "type": "string", + "format": "date-time", + "description": "Last uploaded date for metrics from kubernetes cluster. Defaults to current date time" + }, + "usages": { + "type": "string", + "format": "date-time", + "description": "Last uploaded date for usages from kubernetes cluster. Defaults to current date time" + } + }, + "description": "Properties on upload watermark. Mostly timestamp for each upload data type" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 726996f12e..0171558623 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -1939,6 +1939,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.AzureArcData.json#/resourceDefinitions/sqlServerInstances" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.AzureArcData.json#/resourceDefinitions/dataControllers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.AzureArcData.json#/resourceDefinitions/postgresInstances" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.AzureArcData.json#/resourceDefinitions/sqlManagedInstances" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.AzureArcData.json#/resourceDefinitions/sqlServerInstances" + }, { "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.AzureArcData.json#/resourceDefinitions/dataControllers" }, From bd259e7308e7c401f5d1dc7e776e13c5a31870c2 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 19 Aug 2021 20:27:50 +0000 Subject: [PATCH 082/243] Update resource list --- generator/resources.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/generator/resources.json b/generator/resources.json index 1b90493b3b..857dc196ac 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -958,17 +958,21 @@ ], "Microsoft.AzureArcData/dataControllers": [ "2021-06-01-preview", + "2021-07-01-preview", "2021-08-01" ], "Microsoft.AzureArcData/postgresInstances": [ - "2021-06-01-preview" + "2021-06-01-preview", + "2021-07-01-preview" ], "Microsoft.AzureArcData/sqlManagedInstances": [ "2021-06-01-preview", + "2021-07-01-preview", "2021-08-01" ], "Microsoft.AzureArcData/sqlServerInstances": [ "2021-06-01-preview", + "2021-07-01-preview", "2021-08-01" ], "Microsoft.AzureData/sqlServerRegistrations": [ From 911092fd32747665cd380f45603b802df3b8facc Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 20 Aug 2021 03:12:56 +0000 Subject: [PATCH 083/243] 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 23f6bc0a566b3dfaf55fc6c59f5a247c40975eec Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 20 Aug 2021 08:34:10 +0000 Subject: [PATCH 084/243] Update resource list --- generator/resources.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/generator/resources.json b/generator/resources.json index 857dc196ac..54d38ef279 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -5799,6 +5799,14 @@ "Microsoft.PowerPlatform/enterprisePolicies/privateEndpointConnections": [ "2020-10-30-preview" ], + "Microsoft.Purview/accounts": [ + "2020-12-01-preview", + "2021-07-01" + ], + "Microsoft.Purview/accounts/privateEndpointConnections": [ + "2020-12-01-preview", + "2021-07-01" + ], "Microsoft.Quantum/workspaces": [ "2019-11-04-preview" ], From 007bd0f2412302d6342cc014761a893ce12bd2a9 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 20 Aug 2021 10:33:57 +0000 Subject: [PATCH 085/243] Autogenerate schemas --- schemas/2017-12-01/Microsoft.DBforMySQL.json | 2 +- .../2019-10-01-preview/Microsoft.Migrate.json | 1054 ----------------- schemas/2020-06-01/Microsoft.PowerBI.json | 276 +++++ schemas/2021-01-01/Microsoft.Migrate.json | 1054 ----------------- .../Microsoft.Insights.json | 45 +- schemas/common/autogeneratedResources.json | 18 +- 6 files changed, 326 insertions(+), 2123 deletions(-) delete mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.json create mode 100644 schemas/2020-06-01/Microsoft.PowerBI.json delete mode 100644 schemas/2021-01-01/Microsoft.Migrate.json diff --git a/schemas/2017-12-01/Microsoft.DBforMySQL.json b/schemas/2017-12-01/Microsoft.DBforMySQL.json index 29b9ad11c7..f8c189e0cf 100644 --- a/schemas/2017-12-01/Microsoft.DBforMySQL.json +++ b/schemas/2017-12-01/Microsoft.DBforMySQL.json @@ -693,7 +693,7 @@ "properties": { "administratorLogin": { "type": "string", - "description": "The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation)." + "description": "The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). The login name is required when updating password." }, "administratorLoginPassword": { "type": "string", 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-06-01/Microsoft.PowerBI.json b/schemas/2020-06-01/Microsoft.PowerBI.json new file mode 100644 index 0000000000..8474da303a --- /dev/null +++ b/schemas/2020-06-01/Microsoft.PowerBI.json @@ -0,0 +1,276 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.PowerBI.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.PowerBI", + "description": "Microsoft PowerBI Resource Types", + "resourceDefinitions": { + "privateLinkServicesForPowerBI": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-06-01" + ] + }, + "location": { + "type": "string", + "description": "Specifies the location of the resource." + }, + "name": { + "type": "string", + "description": "The name of the Azure resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TenantProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/privateLinkServicesForPowerBI_privateEndpointConnections_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the tags of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.PowerBI/privateLinkServicesForPowerBI" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.PowerBI/privateLinkServicesForPowerBI" + }, + "privateLinkServicesForPowerBI_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-06-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.PowerBI/privateLinkServicesForPowerBI/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.PowerBI/privateLinkServicesForPowerBI/privateEndpointConnections" + } + }, + "definitions": { + "ConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "Actions required (if any)." + }, + "description": { + "type": "string", + "description": "Description of the connection state." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Status of the connection." + } + }, + "description": "ConnectionState information." + }, + "PrivateEndpoint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Specifies the id of private endpoint." + } + } + }, + "PrivateEndpointConnection": { + "type": "object", + "properties": { + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ConnectionState information." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Canceled", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the Private Endpoint Connection." + } + } + }, + "privateLinkServicesForPowerBI_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-06-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.PowerBI/privateLinkServicesForPowerBI/privateEndpointConnections" + }, + "TenantProperties": { + "type": "object", + "properties": { + "privateEndpointConnections": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the private endpoint connections of the resource." + }, + "tenantId": { + "type": "string", + "description": "Specifies the tenant id of the resource." + } + } + } + } +} \ 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-02-01-preview/Microsoft.Insights.json b/schemas/2021-02-01-preview/Microsoft.Insights.json index cd1534c569..491ed08eea 100644 --- a/schemas/2021-02-01-preview/Microsoft.Insights.json +++ b/schemas/2021-02-01-preview/Microsoft.Insights.json @@ -80,6 +80,41 @@ } }, "definitions": { + "Actions": { + "type": "object", + "properties": { + "actionGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Action Group resource Ids to invoke when the alert fires." + }, + "customProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an alert payload." + } + }, + "description": "Actions to invoke when the alert fires." + }, "Condition": { "type": "object", "properties": { @@ -272,8 +307,14 @@ "type": "object", "properties": { "actions": { - "type": "object", - "properties": {}, + "oneOf": [ + { + "$ref": "#/definitions/Actions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], "description": "Actions to invoke when the alert fires." }, "autoMitigate": { diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index a944d88ce4..511b574f94 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7039,18 +7039,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" }, @@ -7750,6 +7738,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2016-01-29/Microsoft.PowerBI.json#/resourceDefinitions/workspaceCollections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.PowerBI.json#/resourceDefinitions/privateLinkServicesForPowerBI" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.PowerBI.json#/resourceDefinitions/privateLinkServicesForPowerBI_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2017-10-01/Microsoft.PowerBIDedicated.json#/resourceDefinitions/capacities" }, From c21a870dbe22de4fce50f4c5a61b8f5c7f6838c7 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 20 Aug 2021 10:34:13 +0000 Subject: [PATCH 086/243] Update resource list --- generator/resources.json | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 54d38ef279..f01caf5da7 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3959,14 +3959,6 @@ "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" ], @@ -5780,6 +5772,12 @@ "2019-01-01-preview", "2020-09-01-preview" ], + "Microsoft.PowerBI/privateLinkServicesForPowerBI": [ + "2020-06-01" + ], + "Microsoft.PowerBI/privateLinkServicesForPowerBI/privateEndpointConnections": [ + "2020-06-01" + ], "Microsoft.PowerBI/workspaceCollections": [ "2016-01-29" ], From 31bbe3d0bf8030ec17ac79700abc14117364277c Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 20 Aug 2021 13:49:08 +0000 Subject: [PATCH 087/243] Autogenerate schemas --- schemas/2018-02-02/Microsoft.Migrate.json | 599 -------- .../subscriptionDeploymentTemplate.json | 9 + .../2018-09-01-preview/Microsoft.Migrate.json | 517 ------- .../managementGroupDeploymentTemplate.json | 9 + .../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.Authorization.Resources.json | 642 +++++++++ schemas/common/autogeneratedResources.json | 38 +- 9 files changed, 2775 insertions(+), 2407 deletions(-) delete mode 100644 schemas/2018-02-02/Microsoft.Migrate.json delete 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 create mode 100644 schemas/2021-06-01/Microsoft.Authorization.Resources.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-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index 6fd36801e3..edabba2e6f 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -674,6 +674,15 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policyDefinitions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-11-01-preview/Microsoft.Billing.json#/subscription_resourceDefinitions/billingAccounts_lineOfCredit" }, 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-08-01/managementGroupDeploymentTemplate.json b/schemas/2019-08-01/managementGroupDeploymentTemplate.json index 861f7ab4a8..394d09e351 100644 --- a/schemas/2019-08-01/managementGroupDeploymentTemplate.json +++ b/schemas/2019-08-01/managementGroupDeploymentTemplate.json @@ -632,6 +632,15 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policyDefinitions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/managementGroup_resourceDefinitions/policySetDefinitions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" + }, { "$ref": "https://schema.management.azure.com/schemas/2017-11-11-preview/Microsoft.Blueprint.json#/managementGroup_resourceDefinitions/blueprints" }, 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/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.Authorization.Resources.json b/schemas/2021-06-01/Microsoft.Authorization.Resources.json new file mode 100644 index 0000000000..521ac3d794 --- /dev/null +++ b/schemas/2021-06-01/Microsoft.Authorization.Resources.json @@ -0,0 +1,642 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Authorization", + "description": "Microsoft Authorization Resource Types", + "resourceDefinitions": {}, + "subscription_resourceDefinitions": { + "policyDefinitions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the policy definition to create." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyDefinitionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policy definition properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Authorization/policyDefinitions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Authorization/policyDefinitions" + }, + "policySetDefinitions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the policy set definition to create." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicySetDefinitionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policy set definition properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Authorization/policySetDefinitions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Authorization/policySetDefinitions" + } + }, + "managementGroup_resourceDefinitions": { + "policyDefinitions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the policy definition to create." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyDefinitionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policy definition properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Authorization/policyDefinitions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Authorization/policyDefinitions" + }, + "policySetDefinitions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the policy set definition to create." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicySetDefinitionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policy set definition properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Authorization/policySetDefinitions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Authorization/policySetDefinitions" + } + }, + "unknown_resourceDefinitions": { + "policyAssignments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource. Policy assignments support a maximum of one identity. That is either a system assigned identity or a single user assigned identity." + }, + "location": { + "type": "string", + "description": "The location of the policy assignment. Only required when utilizing managed identity." + }, + "name": { + "type": "string", + "description": "The name of the policy assignment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyAssignmentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policy assignment properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Authorization/policyAssignments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Authorization/policyAssignments" + } + }, + "definitions": { + "Identity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identity type. This is the only required field when adding a system or user assigned identity to a resource." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentitiesValue" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The user identity associated with the policy. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the resource. Policy assignments support a maximum of one identity. That is either a system assigned identity or a single user assigned identity." + }, + "NonComplianceMessage": { + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results." + }, + "policyDefinitionReferenceId": { + "type": "string", + "description": "The policy definition reference ID within a policy set definition the message is intended for. This is only applicable if the policy assignment assigns a policy set definition. If this is not provided the message applies to all policies assigned by this policy assignment." + } + }, + "required": [ + "message" + ], + "description": "A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results." + }, + "ParameterDefinitionsValue": { + "type": "object", + "properties": { + "allowedValues": { + "oneOf": [ + { + "type": "array", + "items": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The allowed values for the parameter." + }, + "defaultValue": { + "description": "The default value for the parameter if no value is provided." + }, + "metadata": { + "oneOf": [ + { + "$ref": "#/definitions/ParameterDefinitionsValueMetadata" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "General metadata for the parameter." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "String", + "Array", + "Object", + "Boolean", + "Integer", + "Float", + "DateTime" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The data type of the parameter." + } + }, + "description": "The definition of a parameter that can be provided to the policy." + }, + "ParameterDefinitionsValueMetadata": { + "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" + }, + "assignPermissions": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Set to true to have Azure portal create role assignments on the resource ID or resource scope value of this parameter during policy assignment. This property is useful in case you wish to assign permissions outside the assignment scope." + }, + "description": { + "type": "string", + "description": "The description of the parameter." + }, + "displayName": { + "type": "string", + "description": "The display name for the parameter." + }, + "strongType": { + "type": "string", + "description": "Used when assigning the policy definition through the portal. Provides a context aware list of values for the user to choose from." + } + }, + "description": "General metadata for the parameter." + }, + "ParameterValuesValue": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": {}, + "description": "The value of the parameter." + } + }, + "description": "The value of a parameter." + }, + "PolicyAssignmentProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "This message will be part of response in case of policy violation." + }, + "displayName": { + "type": "string", + "description": "The display name of the policy assignment." + }, + "enforcementMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Default", + "DoNotEnforce" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policy assignment enforcement mode. Possible values are Default and DoNotEnforce." + }, + "metadata": { + "type": "object", + "properties": {}, + "description": "The policy assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs." + }, + "nonComplianceMessages": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NonComplianceMessage" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The messages that describe why a resource is non-compliant with the policy." + }, + "notScopes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policy's excluded scopes." + }, + "parameters": { + "description": "The parameter values for the policy rule. The keys are the parameter names." + }, + "policyDefinitionId": { + "type": "string", + "description": "The ID of the policy definition or policy set definition being assigned." + } + }, + "description": "The policy assignment properties." + }, + "PolicyDefinitionGroup": { + "type": "object", + "properties": { + "additionalMetadataId": { + "type": "string", + "description": "A resource ID of a resource that contains additional metadata about the group." + }, + "category": { + "type": "string", + "description": "The group's category." + }, + "description": { + "type": "string", + "description": "The group's description." + }, + "displayName": { + "type": "string", + "description": "The group's display name." + }, + "name": { + "type": "string", + "description": "The name of the group." + } + }, + "required": [ + "name" + ], + "description": "The policy definition group." + }, + "PolicyDefinitionProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The policy definition description." + }, + "displayName": { + "type": "string", + "description": "The display name of the policy definition." + }, + "metadata": { + "type": "object", + "properties": {}, + "description": "The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs." + }, + "mode": { + "type": "string", + "default": "Indexed", + "description": "The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data." + }, + "parameters": { + "description": "The parameter definitions for parameters used in the policy. The keys are the parameter names." + }, + "policyRule": { + "type": "object", + "properties": {}, + "description": "The policy rule." + }, + "policyType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "BuiltIn", + "Custom", + "Static" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static." + } + }, + "description": "The policy definition properties." + }, + "PolicyDefinitionReference": { + "type": "object", + "properties": { + "groupNames": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the groups that this policy definition reference belongs to." + }, + "parameters": { + "description": "The parameter values for the policy rule. The keys are the parameter names." + }, + "policyDefinitionId": { + "type": "string", + "description": "The ID of the policy definition or policy set definition." + }, + "policyDefinitionReferenceId": { + "type": "string", + "description": "A unique id (within the policy set definition) for this policy definition reference." + } + }, + "required": [ + "policyDefinitionId" + ], + "description": "The policy definition reference." + }, + "PolicySetDefinitionProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The policy set definition description." + }, + "displayName": { + "type": "string", + "description": "The display name of the policy set definition." + }, + "metadata": { + "type": "object", + "properties": {}, + "description": "The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs." + }, + "parameters": { + "description": "The parameter definitions for parameters used in the policy. The keys are the parameter names." + }, + "policyDefinitionGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PolicyDefinitionGroup" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The metadata describing groups of policy definition references within the policy set definition." + }, + "policyDefinitions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PolicyDefinitionReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array of policy definition references." + }, + "policyType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "BuiltIn", + "Custom", + "Static" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static." + } + }, + "required": [ + "policyDefinitions" + ], + "description": "The policy set definition properties." + }, + "UserAssignedIdentitiesValue": { + "type": "object", + "properties": {} + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 511b574f94..73b528fd14 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -1588,6 +1588,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-09-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-06-30-preview/Microsoft.Automanage.json#/resourceDefinitions/accounts" }, @@ -7001,43 +7004,16 @@ "$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-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups" - }, - { - "$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" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" - }, - { - "$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-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" }, { - "$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-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" }, { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_servercollectors" + "$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_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" From 8ae6e0c3cce090bee6ba9de337028afa2f5c093f Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 20 Aug 2021 13:49:20 +0000 Subject: [PATCH 088/243] Update resource list --- generator/resources.json | 54 +++++++++++----------------------------- 1 file changed, 14 insertions(+), 40 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index f01caf5da7..d2c1d7a938 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -767,7 +767,9 @@ "2020-03-01", "2020-03-01", "2020-09-01", - "2020-09-01" + "2020-09-01", + "2021-06-01", + "2021-06-01" ], "Microsoft.Authorization/policyassignments": [ "2015-10-01-preview", @@ -780,7 +782,8 @@ "2019-06-01", "2019-09-01", "2020-03-01", - "2020-09-01" + "2020-09-01", + "2021-06-01" ], "Microsoft.Authorization/policydefinitions": [ "2015-10-01-preview", @@ -800,7 +803,9 @@ "2020-03-01", "2020-03-01", "2020-09-01", - "2020-09-01" + "2020-09-01", + "2021-06-01", + "2021-06-01" ], "Microsoft.Authorization/privateLinkAssociations": [ "2020-05-01" @@ -3929,44 +3934,13 @@ "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/migrateProjects/solutions": [ - "2018-09-01-preview" - ], - "Microsoft.Migrate/projects": [ - "2018-02-02" - ], - "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" From b3e94e5bf62d02d6928bb220a6e9323a351b12f8 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 20 Aug 2021 14:01:15 +0000 Subject: [PATCH 089/243] Generated report --- onboarded-report/result.json | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/onboarded-report/result.json b/onboarded-report/result.json index b683bf6ddd..e478ddb235 100644 --- a/onboarded-report/result.json +++ b/onboarded-report/result.json @@ -99,14 +99,6 @@ "missing": [], "onboarded": [] }, - { - "basePath": "azsadmin/resource-manager/containerregistry", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.ContainerRegistry.Admin" - ], - "onboarded": [] - }, { "basePath": "azure-kusto/resource-manager", "onboardedToAutogen": "no", @@ -870,6 +862,12 @@ "missing": [], "onboarded": [] }, + { + "basePath": "powerbiprivatelinks/resource-manager", + "onboardedToAutogen": "yes", + "missing": [], + "onboarded": [] + }, { "basePath": "powerplatform/resource-manager", "onboardedToAutogen": "yes", @@ -894,10 +892,8 @@ }, { "basePath": "purview/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.Purview" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { @@ -994,8 +990,8 @@ "onboardedToAutogen": "yes", "missing": [], "onboarded": [ - "Microsoft.Authorization", - "Microsoft.Resources" + "Microsoft.Resources", + "Microsoft.Authorization" ] }, { From d8c2c646e44da4af96ae266f5b543633fdfc8bf7 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 21 Aug 2021 10:30:53 +0000 Subject: [PATCH 090/243] 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 -------------- schemas/common/autogeneratedResources.json | 35 +- 6 files changed, 2407 insertions(+), 2112 deletions(-) create mode 100644 schemas/2018-02-02/Microsoft.Migrate.json create 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 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 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/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 73b528fd14..be875c5b19 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7004,16 +7004,43 @@ "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Maps.json#/resourceDefinitions/accounts_creators" }, { - "$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" }, { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups" }, { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/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/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$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" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" + }, + { + "$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 2ce934d63a6272ab0305180ab5ddbd1434712999 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 21 Aug 2021 10:31:08 +0000 Subject: [PATCH 091/243] Update resource list --- generator/resources.json | 43 ++++++++++++++++++++++++++++++++++------ 1 file changed, 37 insertions(+), 6 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index d2c1d7a938..6c8ed1ff48 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3934,13 +3934,44 @@ "Microsoft.Media/mediaServices/transforms/jobs": [ "2018-07-01" ], - "Microsoft.Migrate/moveCollections": [ - "2019-10-01-preview", - "2021-01-01" + "Microsoft.Migrate/assessmentProjects": [ + "2019-10-01" ], - "Microsoft.Migrate/moveCollections/moveResources": [ - "2019-10-01-preview", - "2021-01-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/migrateProjects/solutions": [ + "2018-09-01-preview" + ], + "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 338df3176396dcf3a62543727d3e7c19b6381a64 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 21 Aug 2021 13:40:38 +0000 Subject: [PATCH 092/243] 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 ++++++++++++++ schemas/common/autogeneratedResources.json | 35 +- 6 files changed, 2112 insertions(+), 2407 deletions(-) delete mode 100644 schemas/2018-02-02/Microsoft.Migrate.json delete 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 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 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 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/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 be875c5b19..73b528fd14 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7004,43 +7004,16 @@ "$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/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" + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" }, { - "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" }, { - "$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" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" - }, - { - "$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" From 9d83bd9ce4c746f6c148ff79422c61b0fbe70415 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 21 Aug 2021 13:40:50 +0000 Subject: [PATCH 093/243] Update resource list --- generator/resources.json | 43 ++++++---------------------------------- 1 file changed, 6 insertions(+), 37 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 6c8ed1ff48..d2c1d7a938 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3934,44 +3934,13 @@ "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/migrateProjects/solutions": [ - "2018-09-01-preview" - ], - "Microsoft.Migrate/projects": [ - "2018-02-02" - ], - "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" From a134730f9ebe47197bb7e83360e3edcf88bfc2fc Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sun, 22 Aug 2021 10:31:08 +0000 Subject: [PATCH 094/243] 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 -------------- schemas/common/autogeneratedResources.json | 35 +- 6 files changed, 2407 insertions(+), 2112 deletions(-) create mode 100644 schemas/2018-02-02/Microsoft.Migrate.json create 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 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 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/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 73b528fd14..be875c5b19 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7004,16 +7004,43 @@ "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Maps.json#/resourceDefinitions/accounts_creators" }, { - "$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" }, { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups" }, { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/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/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$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" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" + }, + { + "$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 4c30f3bb2701addc3258b76da88aea3f9738f87e Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sun, 22 Aug 2021 10:31:22 +0000 Subject: [PATCH 095/243] Update resource list --- generator/resources.json | 43 ++++++++++++++++++++++++++++++++++------ 1 file changed, 37 insertions(+), 6 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index d2c1d7a938..6c8ed1ff48 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3934,13 +3934,44 @@ "Microsoft.Media/mediaServices/transforms/jobs": [ "2018-07-01" ], - "Microsoft.Migrate/moveCollections": [ - "2019-10-01-preview", - "2021-01-01" + "Microsoft.Migrate/assessmentProjects": [ + "2019-10-01" ], - "Microsoft.Migrate/moveCollections/moveResources": [ - "2019-10-01-preview", - "2021-01-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/migrateProjects/solutions": [ + "2018-09-01-preview" + ], + "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 23b9ac8915db256eaed421ddce6daceab9c00ada Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 24 Aug 2021 04:53:42 +0000 Subject: [PATCH 096/243] CodeGen from PR 15708 in Azure/azure-rest-api-specs Adding 2021-07-01 version in recoveryservices, recoveryservicessiterecovery folder to make it S360 compliant (#15708) * Adding a new API version 2021-07-01 to make recoveryservices and recoveryservicessiterecovery RP same as recoveryservicesbackup * Updating readme.md file * Resolved PR comments * Fixing Avocado failures Co-authored-by: Madhumanti Dey --- .../Microsoft.RecoveryServices.json | 617 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 9 + 2 files changed, 626 insertions(+) create mode 100644 schemas/2021-07-01/Microsoft.RecoveryServices.json diff --git a/schemas/2021-07-01/Microsoft.RecoveryServices.json b/schemas/2021-07-01/Microsoft.RecoveryServices.json new file mode 100644 index 0000000000..97a5ae228c --- /dev/null +++ b/schemas/2021-07-01/Microsoft.RecoveryServices.json @@ -0,0 +1,617 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.RecoveryServices", + "description": "Microsoft RecoveryServices Resource Types", + "resourceDefinitions": { + "vaults": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "etag": { + "type": "string", + "description": "Optional ETag." + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the recovery services 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_certificates_childResource" + }, + { + "$ref": "#/definitions/vaults_extendedInformation_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifies the unique system identifier for each Azure resource." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults" + }, + "vaults_certificates": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Certificate friendly name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RawCertificateData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Raw certificate data." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/certificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/certificates" + }, + "vaults_extendedInformation": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "etag": { + "type": "string", + "description": "Optional ETag." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/vaultExtendedInfo$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VaultExtendedInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Vault extended information." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/extendedInformation" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/extendedInformation" + } + }, + "definitions": { + "CmkKekIdentity": { + "type": "object", + "properties": { + "userAssignedIdentity": { + "type": "string", + "description": "The user assigned identity to be used to grant permissions in case the type of identity used is UserAssigned" + }, + "useSystemAssignedIdentity": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicate that system assigned identity should be used. Mutually exclusive with 'userAssignedIdentity' field" + } + }, + "description": "The details of the identity used for CMK" + }, + "CmkKeyVaultProperties": { + "type": "object", + "properties": { + "keyUri": { + "type": "string", + "description": "The key uri of the Customer Managed Key" + } + }, + "description": "The properties of the Key Vault which hosts CMK" + }, + "IdentityData": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "None", + "UserAssigned", + "SystemAssigned, UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserIdentity" + }, + "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-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "required": [ + "type" + ], + "description": "Identity for the resource." + }, + "RawCertificateData": { + "type": "object", + "properties": { + "authType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "ACS", + "AAD", + "AccessControlService", + "AzureActiveDirectory" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the authentication type." + }, + "certificate": { + "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": "The base64 encoded certificate raw data string" + } + }, + "description": "Raw certificate data." + }, + "Sku": { + "type": "object", + "properties": { + "capacity": { + "type": "string", + "description": "The sku capacity" + }, + "family": { + "type": "string", + "description": "The sku family" + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "RS0" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Sku name." + }, + "size": { + "type": "string", + "description": "The sku size" + }, + "tier": { + "type": "string", + "description": "The Sku tier." + } + }, + "required": [ + "name" + ], + "description": "Identifies the unique system identifier for each Azure 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": { + "oneOf": [ + { + "type": "string", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity that created the resource." + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The type of identity that last modified the resource." + }, + "lastModifiedBy": { + "type": "string", + "description": "The identity that last modified the resource." + }, + "lastModifiedByType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity that last modified the resource." + } + }, + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "UpgradeDetails": { + "type": "object", + "properties": {}, + "description": "Details for upgrading vault." + }, + "UserIdentity": { + "type": "object", + "properties": {}, + "description": "A resource identity that is managed by the user of the service." + }, + "VaultExtendedInfo": { + "type": "object", + "properties": { + "algorithm": { + "type": "string", + "description": "Algorithm for Vault ExtendedInfo" + }, + "encryptionKey": { + "type": "string", + "description": "Encryption key." + }, + "encryptionKeyThumbprint": { + "type": "string", + "description": "Encryption key thumbprint." + }, + "integrityKey": { + "type": "string", + "description": "Integrity key." + } + }, + "description": "Vault extended information." + }, + "VaultProperties": { + "type": "object", + "properties": { + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/VaultPropertiesEncryption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Customer Managed Key details of the resource." + }, + "moveDetails": { + "oneOf": [ + { + "$ref": "#/definitions/VaultPropertiesMoveDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The details of the latest move operation performed on the Azure Resource" + }, + "upgradeDetails": { + "oneOf": [ + { + "$ref": "#/definitions/UpgradeDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details for upgrading vault." + } + }, + "description": "Properties of the vault." + }, + "VaultPropertiesEncryption": { + "type": "object", + "properties": { + "infrastructureEncryption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enabling/Disabling the Double Encryption state." + }, + "kekIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/CmkKekIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The details of the identity used for CMK" + }, + "keyVaultProperties": { + "oneOf": [ + { + "$ref": "#/definitions/CmkKeyVaultProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the Key Vault which hosts CMK" + } + }, + "description": "Customer Managed Key details of the resource." + }, + "VaultPropertiesMoveDetails": { + "type": "object", + "properties": {}, + "description": "The details of the latest move operation performed on the Azure Resource" + }, + "vaults_certificates_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Certificate friendly name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RawCertificateData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Raw certificate data." + }, + "type": { + "type": "string", + "enum": [ + "certificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/certificates" + }, + "vaults_extendedInformation_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "etag": { + "type": "string", + "description": "Optional ETag." + }, + "name": { + "type": "string", + "enum": [ + "vaultExtendedInfo" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VaultExtendedInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Vault extended information." + }, + "type": { + "type": "string", + "enum": [ + "extendedInformation" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/extendedInformation" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 944f93f28d..92b456cfe1 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -8092,6 +8092,15 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.RecoveryServices.json#/resourceDefinitions/vaults_extendedInformation" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.json#/resourceDefinitions/vaults" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.json#/resourceDefinitions/vaults_certificates" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.json#/resourceDefinitions/vaults_extendedInformation" + }, { "$ref": "https://schema.management.azure.com/schemas/2016-08-10/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationAlertSettings" }, From c969c0d960d04a3955f60add66c972fe32b9462e Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 24 Aug 2021 05:02:00 +0000 Subject: [PATCH 097/243] CodeGen from PR 15708 in Azure/azure-rest-api-specs Adding 2021-07-01 version in recoveryservices, recoveryservicessiterecovery folder to make it S360 compliant (#15708) * Adding a new API version 2021-07-01 to make recoveryservices and recoveryservicessiterecovery RP same as recoveryservicesbackup * Updating readme.md file * Resolved PR comments * Fixing Avocado failures Co-authored-by: Madhumanti Dey --- ...crosoft.RecoveryServices.SiteRecovery.json | 4339 +++++++++++++++++ schemas/common/autogeneratedResources.json | 42 + 2 files changed, 4381 insertions(+) create mode 100644 schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json diff --git a/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json b/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json new file mode 100644 index 0000000000..6773ff383c --- /dev/null +++ b/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json @@ -0,0 +1,4339 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.RecoveryServices", + "description": "Microsoft RecoveryServices Resource Types", + "resourceDefinitions": { + "vaults_replicationAlertSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the email notification(alert) configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConfigureAlertRequestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a configure alert request." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationAlertSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationAlertSettings" + }, + "vaults_replicationFabrics": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Name of the ASR fabric." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/FabricCreationInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of site details provided during the time of site creation." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/vaults_replicationFabrics_replicationProtectionContainers_childResource" + }, + { + "$ref": "#/definitions/vaults_replicationFabrics_replicationRecoveryServicesProviders_childResource" + }, + { + "$ref": "#/definitions/vaults_replicationFabrics_replicationvCenters_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationFabrics" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics" + }, + "vaults_replicationFabrics_replicationNetworks_replicationNetworkMappings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Network mapping name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateNetworkMappingInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Common input details for network mapping operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings" + }, + "vaults_replicationFabrics_replicationProtectionContainers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Unique protection container ARM name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateProtectionContainerInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create protection container input properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/vaults_replicationFabrics_replicationProtectionContainers_replicationMigrationItems_childResource" + }, + { + "$ref": "#/definitions/vaults_replicationFabrics_replicationProtectionContainers_replicationProtectedItems_childResource" + }, + { + "$ref": "#/definitions/vaults_replicationFabrics_replicationProtectionContainers_replicationProtectionContainerMappings_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers" + }, + "vaults_replicationFabrics_replicationProtectionContainers_replicationMigrationItems": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Migration item name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EnableMigrationInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable migration input properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems" + }, + "vaults_replicationFabrics_replicationProtectionContainers_replicationProtectedItems": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "A name for the replication protected item." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EnableProtectionInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable protection input properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems" + }, + "vaults_replicationFabrics_replicationProtectionContainers_replicationProtectionContainerMappings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Protection container mapping name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateProtectionContainerMappingInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configure pairing input properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings" + }, + "vaults_replicationFabrics_replicationRecoveryServicesProviders": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Recovery services provider name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AddRecoveryServicesProviderInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an add provider request." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders" + }, + "vaults_replicationFabrics_replicationStorageClassifications_replicationStorageClassificationMappings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Storage classification mapping name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/StorageMappingInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage mapping input properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings" + }, + "vaults_replicationFabrics_replicationvCenters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "vcenter name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AddVCenterRequestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an add vCenter request." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters" + }, + "vaults_replicationPolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Replication policy name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreatePolicyInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy creation properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationPolicies" + }, + "vaults_replicationProtectionIntents": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "A name for the replication protection item." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateProtectionIntentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create protection intent input properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationProtectionIntents" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationProtectionIntents" + }, + "vaults_replicationRecoveryPlans": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Recovery plan name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateRecoveryPlanInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery plan creation properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationRecoveryPlans" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationRecoveryPlans" + }, + "vaults_replicationVaultSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Vault setting name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VaultSettingCreationInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input to create vault setting." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationVaultSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationVaultSettings" + } + }, + "definitions": { + "A2AContainerCreationInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "A2A" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "A2A cloud creation input." + }, + "A2AContainerMappingInput": { + "type": "object", + "properties": { + "agentAutoUpdateStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating whether the auto update is enabled." + }, + "automationAccountArmId": { + "type": "string", + "description": "The automation account arm id." + }, + "instanceType": { + "type": "string", + "enum": [ + "A2A" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "A2A container mapping input." + }, + "A2ACreateProtectionIntentInput": { + "type": "object", + "properties": { + "autoProtectionOfDataDisk": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating whether the auto protection is enabled." + }, + "diskEncryptionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery disk encryption info (BEK and KEK)." + }, + "fabricObjectId": { + "type": "string", + "description": "The fabric specific object Id of the virtual machine." + }, + "instanceType": { + "type": "string", + "enum": [ + "A2A" + ] + }, + "multiVmGroupId": { + "type": "string", + "description": "The multi vm group id." + }, + "multiVmGroupName": { + "type": "string", + "description": "The multi vm group name." + }, + "primaryLocation": { + "type": "string", + "description": "The primary location for the virtual machine." + }, + "primaryStagingStorageAccountCustomInput": { + "oneOf": [ + { + "$ref": "#/definitions/StorageAccountCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage account custom input." + }, + "protectionProfileCustomInput": { + "oneOf": [ + { + "$ref": "#/definitions/ProtectionProfileCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Protection Profile custom input." + }, + "recoveryAvailabilitySetCustomInput": { + "oneOf": [ + { + "$ref": "#/definitions/RecoveryAvailabilitySetCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery Availability Set custom input." + }, + "recoveryAvailabilityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Single", + "AvailabilitySet", + "AvailabilityZone" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The recovery availability type of the virtual machine." + }, + "recoveryAvailabilityZone": { + "type": "string", + "description": "The recovery availability zone." + }, + "recoveryBootDiagStorageAccount": { + "oneOf": [ + { + "$ref": "#/definitions/StorageAccountCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage account custom input." + }, + "recoveryLocation": { + "type": "string", + "description": "The recovery location for the virtual machine." + }, + "recoveryProximityPlacementGroupCustomInput": { + "oneOf": [ + { + "$ref": "#/definitions/RecoveryProximityPlacementGroupCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery Proximity placement group custom input." + }, + "recoveryResourceGroupId": { + "type": "string", + "description": "The recovery resource group Id. Valid for V2 scenarios." + }, + "recoverySubscriptionId": { + "type": "string", + "description": "The recovery subscription Id of the virtual machine." + }, + "recoveryVirtualNetworkCustomInput": { + "oneOf": [ + { + "$ref": "#/definitions/RecoveryVirtualNetworkCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery Virtual network custom input." + }, + "vmDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/A2AProtectionIntentDiskInputDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of vm disk inputs." + }, + "vmManagedDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/A2AProtectionIntentManagedDiskInputDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of vm managed disk inputs." + } + }, + "required": [ + "fabricObjectId", + "instanceType", + "primaryLocation", + "recoveryAvailabilityType", + "recoveryLocation", + "recoveryResourceGroupId", + "recoverySubscriptionId" + ], + "description": "A2A create protection intent input." + }, + "A2ACrossClusterMigrationContainerCreationInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "A2ACrossClusterMigration" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "A2ACrossClusterMigration cloud creation input." + }, + "A2ACrossClusterMigrationEnableProtectionInput": { + "type": "object", + "properties": { + "fabricObjectId": { + "type": "string", + "description": "The fabric specific object Id of the virtual machine." + }, + "instanceType": { + "type": "string", + "enum": [ + "A2ACrossClusterMigration" + ] + }, + "recoveryContainerId": { + "type": "string", + "description": "The recovery container Id." + } + }, + "required": [ + "instanceType" + ], + "description": "A2A Cross-Cluster Migration enable protection input." + }, + "A2ACrossClusterMigrationPolicyCreationInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "A2ACrossClusterMigration" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "A2A Cross-Cluster Migration Policy creation input." + }, + "A2AEnableProtectionInput": { + "type": "object", + "properties": { + "diskEncryptionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery disk encryption info (BEK and KEK)." + }, + "fabricObjectId": { + "type": "string", + "description": "The fabric specific object Id of the virtual machine." + }, + "instanceType": { + "type": "string", + "enum": [ + "A2A" + ] + }, + "multiVmGroupId": { + "type": "string", + "description": "The multi vm group id." + }, + "multiVmGroupName": { + "type": "string", + "description": "The multi vm group name." + }, + "recoveryAvailabilitySetId": { + "type": "string", + "description": "The recovery availability set Id." + }, + "recoveryAvailabilityZone": { + "type": "string", + "description": "The recovery availability zone." + }, + "recoveryAzureNetworkId": { + "type": "string", + "description": "The recovery Azure virtual network ARM id." + }, + "recoveryBootDiagStorageAccountId": { + "type": "string", + "description": "The boot diagnostic storage account." + }, + "recoveryCloudServiceId": { + "type": "string", + "description": "The recovery cloud service Id. Valid for V1 scenarios." + }, + "recoveryContainerId": { + "type": "string", + "description": "The recovery container Id." + }, + "recoveryProximityPlacementGroupId": { + "type": "string", + "description": "The recovery proximity placement group Id." + }, + "recoveryResourceGroupId": { + "type": "string", + "description": "The recovery resource group Id. Valid for V2 scenarios." + }, + "recoverySubnetName": { + "type": "string", + "description": "The recovery subnet name." + }, + "recoveryVirtualMachineScaleSetId": { + "type": "string", + "description": "The virtual machine scale set Id." + }, + "vmDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/A2AVmDiskInputDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of vm disk details." + }, + "vmManagedDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/A2AVmManagedDiskInputDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of vm managed disk details." + } + }, + "required": [ + "fabricObjectId", + "instanceType" + ], + "description": "A2A enable protection input." + }, + "A2APolicyCreationInput": { + "type": "object", + "properties": { + "appConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The app consistent snapshot frequency (in minutes)." + }, + "crashConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The crash consistent snapshot frequency (in minutes)." + }, + "instanceType": { + "type": "string", + "enum": [ + "A2A" + ] + }, + "multiVmSyncStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or 'Disabled'." + }, + "recoveryPointHistory": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The duration in minutes until which the recovery points need to be stored." + } + }, + "required": [ + "instanceType", + "multiVmSyncStatus" + ], + "description": "A2A Policy creation input." + }, + "A2AProtectionIntentDiskInputDetails": { + "type": "object", + "properties": { + "diskUri": { + "type": "string", + "description": "The disk Uri." + }, + "primaryStagingStorageAccountCustomInput": { + "oneOf": [ + { + "$ref": "#/definitions/StorageAccountCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage account custom input." + }, + "recoveryAzureStorageAccountCustomInput": { + "oneOf": [ + { + "$ref": "#/definitions/StorageAccountCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage account custom input." + } + }, + "required": [ + "diskUri" + ], + "description": "Azure VM unmanaged disk input details." + }, + "A2AProtectionIntentManagedDiskInputDetails": { + "type": "object", + "properties": { + "diskEncryptionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery disk encryption info (BEK and KEK)." + }, + "diskId": { + "type": "string", + "description": "The disk Id." + }, + "primaryStagingStorageAccountCustomInput": { + "oneOf": [ + { + "$ref": "#/definitions/StorageAccountCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage account custom input." + }, + "recoveryDiskEncryptionSetId": { + "type": "string", + "description": "The recovery disk encryption set Id." + }, + "recoveryReplicaDiskAccountType": { + "type": "string", + "description": "The replica disk type. Its an optional value and will be same as source disk type if not user provided." + }, + "recoveryResourceGroupCustomInput": { + "oneOf": [ + { + "$ref": "#/definitions/RecoveryResourceGroupCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery Resource Group custom input." + }, + "recoveryTargetDiskAccountType": { + "type": "string", + "description": "The target disk type after failover. Its an optional value and will be same as source disk type if not user provided." + } + }, + "required": [ + "diskId" + ], + "description": "Azure VM managed disk input details." + }, + "A2AVmDiskInputDetails": { + "type": "object", + "properties": { + "diskUri": { + "type": "string", + "description": "The disk Uri." + }, + "primaryStagingAzureStorageAccountId": { + "type": "string", + "description": "The primary staging storage account Id." + }, + "recoveryAzureStorageAccountId": { + "type": "string", + "description": "The recovery VHD storage account Id." + } + }, + "required": [ + "diskUri", + "primaryStagingAzureStorageAccountId", + "recoveryAzureStorageAccountId" + ], + "description": "A2A disk input details." + }, + "A2AVmManagedDiskInputDetails": { + "type": "object", + "properties": { + "diskEncryptionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery disk encryption info (BEK and KEK)." + }, + "diskId": { + "type": "string", + "description": "The disk Id." + }, + "primaryStagingAzureStorageAccountId": { + "type": "string", + "description": "The primary staging storage account Arm Id." + }, + "recoveryDiskEncryptionSetId": { + "type": "string", + "description": "The recovery disk encryption set Id." + }, + "recoveryReplicaDiskAccountType": { + "type": "string", + "description": "The replica disk type. Its an optional value and will be same as source disk type if not user provided." + }, + "recoveryResourceGroupId": { + "type": "string", + "description": "The target resource group Arm Id." + }, + "recoveryTargetDiskAccountType": { + "type": "string", + "description": "The target disk type after failover. Its an optional value and will be same as source disk type if not user provided." + } + }, + "required": [ + "diskId", + "primaryStagingAzureStorageAccountId", + "recoveryResourceGroupId" + ], + "description": "A2A managed disk input details." + }, + "AddRecoveryServicesProviderInputProperties": { + "type": "object", + "properties": { + "authenticationIdentityInput": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProviderInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity provider input." + }, + "biosId": { + "type": "string", + "description": "The Bios Id of the machine." + }, + "dataPlaneAuthenticationIdentityInput": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProviderInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity provider input." + }, + "machineId": { + "type": "string", + "description": "The Id of the machine where the provider is getting added." + }, + "machineName": { + "type": "string", + "description": "The name of the machine where the provider is getting added." + }, + "resourceAccessIdentityInput": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProviderInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity provider input." + } + }, + "required": [ + "authenticationIdentityInput", + "machineName", + "resourceAccessIdentityInput" + ], + "description": "The properties of an add provider request." + }, + "AddVCenterRequestProperties": { + "type": "object", + "properties": { + "friendlyName": { + "type": "string", + "description": "The friendly name of the vCenter." + }, + "ipAddress": { + "type": "string", + "description": "The IP address of the vCenter to be discovered." + }, + "port": { + "type": "string", + "description": "The port number for discovery." + }, + "processServerId": { + "type": "string", + "description": "The process server Id from where the discovery is orchestrated." + }, + "runAsAccountId": { + "type": "string", + "description": "The account Id which has privileges to discover the vCenter." + } + }, + "description": "The properties of an add vCenter request." + }, + "AzureFabricCreationInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "Azure" + ] + }, + "location": { + "type": "string", + "description": "The Location." + } + }, + "required": [ + "instanceType" + ], + "description": "Fabric provider specific settings." + }, + "AzureToAzureCreateNetworkMappingInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "AzureToAzure" + ] + }, + "primaryNetworkId": { + "type": "string", + "description": "The primary azure vnet Id." + } + }, + "required": [ + "instanceType", + "primaryNetworkId" + ], + "description": "Create network mappings input properties/behavior specific to Azure to Azure Network mapping." + }, + "ConfigureAlertRequestProperties": { + "type": "object", + "properties": { + "customEmailAddresses": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The custom email address for sending emails." + }, + "locale": { + "type": "string", + "description": "The locale for the email notification." + }, + "sendToOwners": { + "type": "string", + "description": "A value indicating whether to send email to subscription administrator." + } + }, + "description": "Properties of a configure alert request." + }, + "CreateNetworkMappingInputProperties": { + "type": "object", + "properties": { + "fabricSpecificDetails": { + "oneOf": [ + { + "$ref": "#/definitions/FabricSpecificCreateNetworkMappingInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input details specific to fabrics during Network Mapping." + }, + "recoveryFabricName": { + "type": "string", + "description": "Recovery fabric Name." + }, + "recoveryNetworkId": { + "type": "string", + "description": "Recovery network Id." + } + }, + "required": [ + "recoveryNetworkId" + ], + "description": "Common input details for network mapping operation." + }, + "CreatePolicyInputProperties": { + "type": "object", + "properties": { + "providerSpecificInput": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyProviderSpecificInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for provider specific input." + } + }, + "description": "Policy creation properties." + }, + "CreateProtectionContainerInputProperties": { + "type": "object", + "properties": { + "providerSpecificInput": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ReplicationProviderSpecificContainerCreationInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provider specific inputs for container creation." + } + }, + "description": "Create protection container input properties." + }, + "CreateProtectionContainerMappingInputProperties": { + "type": "object", + "properties": { + "policyId": { + "type": "string", + "description": "Applicable policy." + }, + "providerSpecificInput": { + "oneOf": [ + { + "$ref": "#/definitions/ReplicationProviderSpecificContainerMappingInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provider specific input for pairing operations." + }, + "targetProtectionContainerId": { + "type": "string", + "description": "The target unique protection container name." + } + }, + "description": "Configure pairing input properties." + }, + "CreateProtectionIntentProperties": { + "type": "object", + "properties": { + "providerSpecificDetails": { + "oneOf": [ + { + "$ref": "#/definitions/CreateProtectionIntentProviderSpecificDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create protection intent provider specific input." + } + }, + "description": "Create protection intent input properties." + }, + "CreateProtectionIntentProviderSpecificDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/A2ACreateProtectionIntentInput" + } + ], + "properties": {}, + "description": "Create protection intent provider specific input." + }, + "CreateRecoveryPlanInputProperties": { + "type": "object", + "properties": { + "failoverDeploymentModel": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotApplicable", + "Classic", + "ResourceManager" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The failover deployment model." + }, + "groups": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RecoveryPlanGroup" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The recovery plan groups." + }, + "primaryFabricId": { + "type": "string", + "description": "The primary fabric Id." + }, + "providerSpecificInput": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RecoveryPlanProviderSpecificInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The provider specific input." + }, + "recoveryFabricId": { + "type": "string", + "description": "The recovery fabric Id." + } + }, + "required": [ + "groups", + "primaryFabricId", + "recoveryFabricId" + ], + "description": "Recovery plan creation properties." + }, + "DiskEncryptionInfo": { + "type": "object", + "properties": { + "diskEncryptionKeyInfo": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionKeyInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Disk Encryption Key Information (BitLocker Encryption Key (BEK) on Windows)." + }, + "keyEncryptionKeyInfo": { + "oneOf": [ + { + "$ref": "#/definitions/KeyEncryptionKeyInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key Encryption Key (KEK) information." + } + }, + "description": "Recovery disk encryption info (BEK and KEK)." + }, + "DiskEncryptionKeyInfo": { + "type": "object", + "properties": { + "keyVaultResourceArmId": { + "type": "string", + "description": "The KeyVault resource ARM id for secret." + }, + "secretIdentifier": { + "type": "string", + "description": "The secret url / identifier." + } + }, + "description": "Disk Encryption Key Information (BitLocker Encryption Key (BEK) on Windows)." + }, + "EnableMigrationInputProperties": { + "type": "object", + "properties": { + "policyId": { + "type": "string", + "description": "The policy Id." + }, + "providerSpecificDetails": { + "oneOf": [ + { + "$ref": "#/definitions/EnableMigrationProviderSpecificInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable migration provider specific input." + } + }, + "required": [ + "policyId", + "providerSpecificDetails" + ], + "description": "Enable migration input properties." + }, + "EnableMigrationProviderSpecificInput": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VMwareCbtEnableMigrationInput" + } + ], + "properties": {}, + "description": "Enable migration provider specific input." + }, + "EnableProtectionInputProperties": { + "type": "object", + "properties": { + "policyId": { + "type": "string", + "description": "The Policy Id." + }, + "protectableItemId": { + "type": "string", + "description": "The protectable item Id." + }, + "providerSpecificDetails": { + "oneOf": [ + { + "$ref": "#/definitions/EnableProtectionProviderSpecificInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable protection provider specific input." + } + }, + "description": "Enable protection input properties." + }, + "EnableProtectionProviderSpecificInput": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/A2ACrossClusterMigrationEnableProtectionInput" + }, + { + "$ref": "#/definitions/A2AEnableProtectionInput" + }, + { + "$ref": "#/definitions/HyperVReplicaAzureEnableProtectionInput" + }, + { + "$ref": "#/definitions/InMageAzureV2EnableProtectionInput" + }, + { + "$ref": "#/definitions/InMageEnableProtectionInput" + }, + { + "$ref": "#/definitions/InMageRcmEnableProtectionInput" + } + ], + "properties": {}, + "description": "Enable protection provider specific input." + }, + "ExistingProtectionProfile": { + "type": "object", + "properties": { + "protectionProfileId": { + "type": "string", + "description": "The protection profile Arm Id. Throw error, if resource does not exists." + }, + "resourceType": { + "type": "string", + "enum": [ + "Existing" + ] + } + }, + "required": [ + "protectionProfileId", + "resourceType" + ], + "description": "Existing storage account input." + }, + "ExistingRecoveryAvailabilitySet": { + "type": "object", + "properties": { + "recoveryAvailabilitySetId": { + "type": "string", + "description": "The recovery availability set Id. Will throw error, if resource does not exist." + }, + "resourceType": { + "type": "string", + "enum": [ + "Existing" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Existing recovery availability set input." + }, + "ExistingRecoveryProximityPlacementGroup": { + "type": "object", + "properties": { + "recoveryProximityPlacementGroupId": { + "type": "string", + "description": "The recovery proximity placement group Id. Will throw error, if resource does not exist." + }, + "resourceType": { + "type": "string", + "enum": [ + "Existing" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Existing recovery proximity placement group input." + }, + "ExistingRecoveryRecoveryResourceGroup": { + "type": "object", + "properties": { + "recoveryResourceGroupId": { + "type": "string", + "description": "The recovery resource group Id. Valid for V2 scenarios." + }, + "resourceType": { + "type": "string", + "enum": [ + "Existing" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Existing recovery resource group input." + }, + "ExistingRecoveryVirtualNetwork": { + "type": "object", + "properties": { + "recoverySubnetName": { + "type": "string", + "description": "The recovery subnet name." + }, + "recoveryVirtualNetworkId": { + "type": "string", + "description": "The recovery virtual network Id. Will throw error, if resource does not exist." + }, + "resourceType": { + "type": "string", + "enum": [ + "Existing" + ] + } + }, + "required": [ + "recoveryVirtualNetworkId", + "resourceType" + ], + "description": "Existing recovery virtual network input." + }, + "ExistingStorageAccount": { + "type": "object", + "properties": { + "azureStorageAccountId": { + "type": "string", + "description": "The storage account Arm Id. Throw error, if resource does not exists." + }, + "resourceType": { + "type": "string", + "enum": [ + "Existing" + ] + } + }, + "required": [ + "azureStorageAccountId", + "resourceType" + ], + "description": "Existing storage account input." + }, + "FabricCreationInputProperties": { + "type": "object", + "properties": { + "customDetails": { + "oneOf": [ + { + "$ref": "#/definitions/FabricSpecificCreationInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Fabric provider specific settings." + } + }, + "description": "Properties of site details provided during the time of site creation." + }, + "FabricSpecificCreateNetworkMappingInput": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureToAzureCreateNetworkMappingInput" + }, + { + "$ref": "#/definitions/VmmToAzureCreateNetworkMappingInput" + }, + { + "$ref": "#/definitions/VmmToVmmCreateNetworkMappingInput" + } + ], + "properties": {}, + "description": "Input details specific to fabrics during Network Mapping." + }, + "FabricSpecificCreationInput": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureFabricCreationInput" + }, + { + "$ref": "#/definitions/InMageRcmFabricCreationInput" + }, + { + "$ref": "#/definitions/VMwareV2FabricCreationInput" + } + ], + "properties": {}, + "description": "Fabric provider specific settings." + }, + "HyperVReplicaAzureDiskInputDetails": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "The DiskEncryptionSet ARM ID." + }, + "diskId": { + "type": "string", + "description": "The DiskId." + }, + "diskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The DiskType." + }, + "logStorageAccountId": { + "type": "string", + "description": "The LogStorageAccountId." + } + }, + "description": "Disk input details." + }, + "HyperVReplicaAzureEnableProtectionInput": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "The DiskEncryptionSet ARM Id." + }, + "disksToInclude": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of VHD Ids of disks to be protected." + }, + "disksToIncludeForManagedDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/HyperVReplicaAzureDiskInputDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disks to include list for managed disks." + }, + "diskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The DiskType." + }, + "enableRdpOnTargetOption": { + "type": "string", + "description": "The selected option to enable RDP\\SSH on target vm after failover. String value of SrsDataContract.EnableRDPOnTargetOption enum." + }, + "hvHostVmId": { + "type": "string", + "description": "The Hyper-V host VM Id." + }, + "instanceType": { + "type": "string", + "enum": [ + "HyperVReplicaAzure" + ] + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "NoLicenseType", + "WindowsServer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "License type." + }, + "logStorageAccountId": { + "type": "string", + "description": "The storage account to be used for logging during replication." + }, + "osType": { + "type": "string", + "description": "The OS type associated with VM." + }, + "seedManagedDiskTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the seed managed disks." + }, + "sqlServerLicenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "NoLicenseType", + "PAYG", + "AHUB" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SQL Server license type." + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "The target availability set ARM Id for resource manager deployment." + }, + "targetAvailabilityZone": { + "type": "string", + "description": "The target availability zone." + }, + "targetAzureNetworkId": { + "type": "string", + "description": "The selected target Azure network Id." + }, + "targetAzureSubnetId": { + "type": "string", + "description": "The selected target Azure subnet Id." + }, + "targetAzureV1ResourceGroupId": { + "type": "string", + "description": "The Id of the target resource group (for classic deployment) in which the failover VM is to be created." + }, + "targetAzureV2ResourceGroupId": { + "type": "string", + "description": "The Id of the target resource group (for resource manager deployment) in which the failover VM is to be created." + }, + "targetAzureVmName": { + "type": "string", + "description": "The target azure VM Name." + }, + "targetManagedDiskTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the target managed disks." + }, + "targetNicTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the target NICs." + }, + "targetProximityPlacementGroupId": { + "type": "string", + "description": "The proximity placement group ARM Id." + }, + "targetStorageAccountId": { + "type": "string", + "description": "The storage account Id." + }, + "targetVmSize": { + "type": "string", + "description": "The target VM size." + }, + "targetVmTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target VM tags." + }, + "useManagedDisks": { + "type": "string", + "description": "A value indicating whether managed disks should be used during failover." + }, + "useManagedDisksForReplication": { + "type": "string", + "description": "A value indicating whether managed disks should be used during replication." + }, + "vhdId": { + "type": "string", + "description": "The OS disk VHD id associated with VM." + }, + "vmName": { + "type": "string", + "description": "The VM Name." + } + }, + "required": [ + "instanceType" + ], + "description": "HyperVReplicaAzure specific enable protection input." + }, + "HyperVReplicaAzurePolicyInput": { + "type": "object", + "properties": { + "applicationConsistentSnapshotFrequencyInHours": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The interval (in hours) at which Hyper-V Replica should create an application consistent snapshot within the VM." + }, + "instanceType": { + "type": "string", + "enum": [ + "HyperVReplicaAzure" + ] + }, + "onlineReplicationStartTime": { + "type": "string", + "description": "The scheduled start time for the initial replication. If this parameter is Null, the initial replication starts immediately." + }, + "recoveryPointHistoryDuration": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The duration (in hours) to which point the recovery history needs to be maintained." + }, + "replicationInterval": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The replication interval." + }, + "storageAccounts": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of storage accounts to which the VMs in the primary cloud can replicate to." + } + }, + "required": [ + "instanceType" + ], + "description": "Hyper-V Replica Azure specific input for creating a protection profile." + }, + "HyperVReplicaBluePolicyInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "HyperVReplica2012R2" + ] + }, + "replicationFrequencyInSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating the replication interval." + } + }, + "required": [ + "instanceType" + ], + "description": "HyperV Replica Blue policy input." + }, + "HyperVReplicaPolicyInput": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/HyperVReplicaBluePolicyInput" + } + ], + "properties": { + "allowedAuthenticationType": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating the authentication type." + }, + "applicationConsistentSnapshotFrequencyInHours": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating the application consistent frequency." + }, + "compression": { + "type": "string", + "description": "A value indicating whether compression has to be enabled." + }, + "initialReplicationMethod": { + "type": "string", + "description": "A value indicating whether IR is online." + }, + "instanceType": { + "type": "string", + "enum": [ + "HyperVReplica2012" + ] + }, + "offlineReplicationExportPath": { + "type": "string", + "description": "A value indicating the offline IR export path." + }, + "offlineReplicationImportPath": { + "type": "string", + "description": "A value indicating the offline IR import path." + }, + "onlineReplicationStartTime": { + "type": "string", + "description": "A value indicating the online IR start time." + }, + "recoveryPoints": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating the number of recovery points." + }, + "replicaDeletion": { + "type": "string", + "description": "A value indicating whether the VM has to be auto deleted." + }, + "replicationPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating the recovery HTTPS port." + } + }, + "required": [ + "instanceType" + ], + "description": "Hyper-V Replica specific policy Input." + }, + "IdentityProviderInput": { + "type": "object", + "properties": { + "aadAuthority": { + "type": "string", + "description": "The base authority for Azure Active Directory authentication." + }, + "applicationId": { + "type": "string", + "description": "The 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": "The intended Audience of the service principal with which the on-premise management/data plane components would communicate with our Azure services." + }, + "objectId": { + "type": "string", + "description": "The 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": "The tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services." + } + }, + "required": [ + "aadAuthority", + "applicationId", + "audience", + "objectId", + "tenantId" + ], + "description": "Identity provider input." + }, + "InMageAzureV2DiskInputDetails": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "The DiskEncryptionSet ARM ID." + }, + "diskId": { + "type": "string", + "description": "The DiskId." + }, + "diskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The DiskType." + }, + "logStorageAccountId": { + "type": "string", + "description": "The LogStorageAccountId." + } + }, + "description": "Disk input details." + }, + "InMageAzureV2EnableProtectionInput": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "The DiskEncryptionSet ARM Id." + }, + "disksToInclude": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/InMageAzureV2DiskInputDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disks to include list." + }, + "diskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The DiskType." + }, + "enableRdpOnTargetOption": { + "type": "string", + "description": "The selected option to enable RDP\\SSH on target VM after failover. String value of SrsDataContract.EnableRDPOnTargetOption enum." + }, + "instanceType": { + "type": "string", + "enum": [ + "InMageAzureV2" + ] + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "NoLicenseType", + "WindowsServer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "License type." + }, + "logStorageAccountId": { + "type": "string", + "description": "The storage account to be used for logging during replication." + }, + "masterTargetId": { + "type": "string", + "description": "The Master target Id." + }, + "multiVmGroupId": { + "type": "string", + "description": "The multi VM group Id." + }, + "multiVmGroupName": { + "type": "string", + "description": "The multi VM group name." + }, + "processServerId": { + "type": "string", + "description": "The Process Server Id." + }, + "runAsAccountId": { + "type": "string", + "description": "The CS account Id." + }, + "seedManagedDiskTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the seed managed disks." + }, + "sqlServerLicenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "NoLicenseType", + "PAYG", + "AHUB" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SQL Server license type." + }, + "storageAccountId": { + "type": "string", + "description": "The storage account Id." + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "The target availability set ARM Id for resource manager deployment." + }, + "targetAvailabilityZone": { + "type": "string", + "description": "The target availability zone." + }, + "targetAzureNetworkId": { + "type": "string", + "description": "The selected target Azure network Id." + }, + "targetAzureSubnetId": { + "type": "string", + "description": "The selected target Azure subnet Id." + }, + "targetAzureV1ResourceGroupId": { + "type": "string", + "description": "The Id of the target resource group (for classic deployment) in which the failover VM is to be created." + }, + "targetAzureV2ResourceGroupId": { + "type": "string", + "description": "The Id of the target resource group (for resource manager deployment) in which the failover VM is to be created." + }, + "targetAzureVmName": { + "type": "string", + "description": "The target azure VM Name." + }, + "targetManagedDiskTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the target managed disks." + }, + "targetNicTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the target NICs." + }, + "targetProximityPlacementGroupId": { + "type": "string", + "description": "The proximity placement group ARM Id." + }, + "targetVmSize": { + "type": "string", + "description": "The target VM size." + }, + "targetVmTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target VM tags." + } + }, + "required": [ + "instanceType" + ], + "description": "VMware Azure specific enable protection input." + }, + "InMageAzureV2PolicyInput": { + "type": "object", + "properties": { + "appConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The app consistent snapshot frequency (in minutes)." + }, + "crashConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The crash consistent snapshot frequency (in minutes)." + }, + "instanceType": { + "type": "string", + "enum": [ + "InMageAzureV2" + ] + }, + "multiVmSyncStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or 'Disabled'." + }, + "recoveryPointHistory": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The duration in minutes until which the recovery points need to be stored." + }, + "recoveryPointThresholdInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The recovery point threshold in minutes." + } + }, + "required": [ + "instanceType", + "multiVmSyncStatus" + ], + "description": "VMWare Azure specific policy Input." + }, + "InMageDiskExclusionInput": { + "type": "object", + "properties": { + "diskSignatureOptions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/InMageDiskSignatureExclusionOptions" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The guest disk signature based option for disk exclusion." + }, + "volumeOptions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/InMageVolumeExclusionOptions" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The volume label based option for disk exclusion." + } + }, + "description": "DiskExclusionInput when doing enable protection of virtual machine in InMage provider." + }, + "InMageDiskSignatureExclusionOptions": { + "type": "object", + "properties": { + "diskSignature": { + "type": "string", + "description": "The guest signature of disk to be excluded from replication." + } + }, + "description": "Guest disk signature based disk exclusion option when doing enable protection of virtual machine in InMage provider." + }, + "InMageEnableProtectionInput": { + "type": "object", + "properties": { + "datastoreName": { + "type": "string", + "description": "The target datastore name." + }, + "diskExclusionInput": { + "oneOf": [ + { + "$ref": "#/definitions/InMageDiskExclusionInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DiskExclusionInput when doing enable protection of virtual machine in InMage provider." + }, + "disksToInclude": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disks to include list." + }, + "instanceType": { + "type": "string", + "enum": [ + "InMage" + ] + }, + "masterTargetId": { + "type": "string", + "description": "The Master Target Id." + }, + "multiVmGroupId": { + "type": "string", + "description": "The multi VM group Id." + }, + "multiVmGroupName": { + "type": "string", + "description": "The multi VM group name." + }, + "processServerId": { + "type": "string", + "description": "The Process Server Id." + }, + "retentionDrive": { + "type": "string", + "description": "The retention drive to use on the MT." + }, + "runAsAccountId": { + "type": "string", + "description": "The CS account Id." + }, + "vmFriendlyName": { + "type": "string", + "description": "The VM Name." + } + }, + "required": [ + "instanceType", + "masterTargetId", + "multiVmGroupId", + "multiVmGroupName", + "processServerId", + "retentionDrive" + ], + "description": "VMware Azure specific enable protection input." + }, + "InMagePolicyInput": { + "type": "object", + "properties": { + "appConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The app consistent snapshot frequency (in minutes)." + }, + "instanceType": { + "type": "string", + "enum": [ + "InMage" + ] + }, + "multiVmSyncStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or 'Disabled'." + }, + "recoveryPointHistory": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The duration in minutes until which the recovery points need to be stored." + }, + "recoveryPointThresholdInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The recovery point threshold in minutes." + } + }, + "required": [ + "instanceType", + "multiVmSyncStatus" + ], + "description": "VMWare Azure specific protection profile Input." + }, + "InMageRcmDiskInput": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "The DiskEncryptionSet ARM Id." + }, + "diskId": { + "type": "string", + "description": "The disk Id." + }, + "diskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disk type." + }, + "logStorageAccountId": { + "type": "string", + "description": "The log storage account ARM Id." + } + }, + "required": [ + "diskId", + "diskType", + "logStorageAccountId" + ], + "description": "InMageRcm disk input." + }, + "InMageRcmDisksDefaultInput": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "The DiskEncryptionSet ARM Id." + }, + "diskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disk type." + }, + "logStorageAccountId": { + "type": "string", + "description": "The log storage account ARM Id." + } + }, + "required": [ + "diskType", + "logStorageAccountId" + ], + "description": "InMageRcm disk input." + }, + "InMageRcmEnableProtectionInput": { + "type": "object", + "properties": { + "disksDefault": { + "oneOf": [ + { + "$ref": "#/definitions/InMageRcmDisksDefaultInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "InMageRcm disk input." + }, + "disksToInclude": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/InMageRcmDiskInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disks to include list." + }, + "fabricDiscoveryMachineId": { + "type": "string", + "description": "The ARM Id of discovered machine." + }, + "instanceType": { + "type": "string", + "enum": [ + "InMageRcm" + ] + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "NoLicenseType", + "WindowsServer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The license type." + }, + "multiVmGroupName": { + "type": "string", + "description": "The multi VM group name." + }, + "processServerId": { + "type": "string", + "description": "The process server Id." + }, + "runAsAccountId": { + "type": "string", + "description": "The run-as account Id." + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "The target availability set ARM Id." + }, + "targetAvailabilityZone": { + "type": "string", + "description": "The target availability zone." + }, + "targetBootDiagnosticsStorageAccountId": { + "type": "string", + "description": "The target boot diagnostics storage account ARM Id." + }, + "targetNetworkId": { + "type": "string", + "description": "The selected target network ARM Id." + }, + "targetProximityPlacementGroupId": { + "type": "string", + "description": "The target proximity placement group Id." + }, + "targetResourceGroupId": { + "type": "string", + "description": "The target resource group ARM Id." + }, + "targetSubnetName": { + "type": "string", + "description": "The selected target subnet name." + }, + "targetVmName": { + "type": "string", + "description": "The target VM name." + }, + "targetVmSize": { + "type": "string", + "description": "The target VM size." + }, + "testNetworkId": { + "type": "string", + "description": "The selected test network ARM Id." + }, + "testSubnetName": { + "type": "string", + "description": "The selected test subnet name." + } + }, + "required": [ + "fabricDiscoveryMachineId", + "instanceType", + "processServerId", + "targetResourceGroupId" + ], + "description": "InMageRcm specific enable protection input." + }, + "InMageRcmFabricCreationInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "InMageRcm" + ] + }, + "physicalSiteId": { + "type": "string", + "description": "The ARM Id of the physical site." + }, + "sourceAgentIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProviderInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity provider input." + }, + "vmwareSiteId": { + "type": "string", + "description": "The ARM Id of the VMware site." + } + }, + "required": [ + "instanceType", + "physicalSiteId", + "sourceAgentIdentity", + "vmwareSiteId" + ], + "description": "InMageRcm fabric provider specific settings." + }, + "InMageRcmFailbackPolicyCreationInput": { + "type": "object", + "properties": { + "appConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The app consistent snapshot frequency (in minutes)." + }, + "crashConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The crash consistent snapshot frequency (in minutes)." + }, + "instanceType": { + "type": "string", + "enum": [ + "InMageRcmFailback" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "InMageRcmFailback policy creation input." + }, + "InMageRcmPolicyCreationInput": { + "type": "object", + "properties": { + "appConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The app consistent snapshot frequency (in minutes)." + }, + "crashConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The crash consistent snapshot frequency (in minutes)." + }, + "enableMultiVmSync": { + "type": "string", + "description": "A value indicating whether multi-VM sync has to be enabled." + }, + "instanceType": { + "type": "string", + "enum": [ + "InMageRcm" + ] + }, + "recoveryPointHistoryInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The duration in minutes until which the recovery points need to be stored." + } + }, + "required": [ + "instanceType" + ], + "description": "InMageRcm policy creation input." + }, + "InMageVolumeExclusionOptions": { + "type": "object", + "properties": { + "onlyExcludeIfSingleVolume": { + "type": "string", + "description": "The value indicating whether to exclude multi volume disk or not. If a disk has multiple volumes and one of the volume has label matching with VolumeLabel this disk will be excluded from replication if OnlyExcludeIfSingleVolume is false." + }, + "volumeLabel": { + "type": "string", + "description": "The volume label. The disk having any volume with this label will be excluded from replication." + } + }, + "description": "Guest disk signature based disk exclusion option when doing enable protection of virtual machine in InMage provider." + }, + "KeyEncryptionKeyInfo": { + "type": "object", + "properties": { + "keyIdentifier": { + "type": "string", + "description": "The key URL / identifier." + }, + "keyVaultResourceArmId": { + "type": "string", + "description": "The KeyVault resource ARM Id for key." + } + }, + "description": "Key Encryption Key (KEK) information." + }, + "NewProtectionProfile": { + "type": "object", + "properties": { + "appConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The app consistent snapshot frequency (in minutes)." + }, + "crashConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The crash consistent snapshot frequency (in minutes)." + }, + "multiVmSyncStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or 'Disabled'." + }, + "policyName": { + "type": "string", + "description": "The protection profile input." + }, + "recoveryPointHistory": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The duration in minutes until which the recovery points need to be stored." + }, + "resourceType": { + "type": "string", + "enum": [ + "New" + ] + } + }, + "required": [ + "multiVmSyncStatus", + "policyName", + "resourceType" + ], + "description": "New Protection profile input." + }, + "NewRecoveryVirtualNetwork": { + "type": "object", + "properties": { + "recoveryVirtualNetworkName": { + "type": "string", + "description": "The recovery virtual network name." + }, + "recoveryVirtualNetworkResourceGroupName": { + "type": "string", + "description": "The name of the resource group to be used to create the recovery virtual network. If absent, target network would be created in the same resource group as target VM." + }, + "resourceType": { + "type": "string", + "enum": [ + "New" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Recovery virtual network input to create new virtual network from given source network." + }, + "PolicyProviderSpecificInput": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/A2ACrossClusterMigrationPolicyCreationInput" + }, + { + "$ref": "#/definitions/A2APolicyCreationInput" + }, + { + "$ref": "#/definitions/HyperVReplicaAzurePolicyInput" + }, + { + "$ref": "#/definitions/HyperVReplicaPolicyInput" + }, + { + "$ref": "#/definitions/InMageAzureV2PolicyInput" + }, + { + "$ref": "#/definitions/InMagePolicyInput" + }, + { + "$ref": "#/definitions/InMageRcmFailbackPolicyCreationInput" + }, + { + "$ref": "#/definitions/InMageRcmPolicyCreationInput" + }, + { + "$ref": "#/definitions/VMwareCbtPolicyCreationInput" + } + ], + "properties": {}, + "description": "Base class for provider specific input." + }, + "ProtectionProfileCustomDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ExistingProtectionProfile" + }, + { + "$ref": "#/definitions/NewProtectionProfile" + } + ], + "properties": {}, + "description": "Protection Profile custom input." + }, + "RecoveryAvailabilitySetCustomDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ExistingRecoveryAvailabilitySet" + } + ], + "properties": {}, + "description": "Recovery Availability Set custom input." + }, + "RecoveryPlanA2AInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "A2A" + ] + }, + "primaryZone": { + "type": "string", + "description": "The primary zone." + }, + "recoveryZone": { + "type": "string", + "description": "The recovery zone." + } + }, + "required": [ + "instanceType" + ], + "description": "Recovery plan A2A input." + }, + "RecoveryPlanAction": { + "type": "object", + "properties": { + "actionName": { + "type": "string", + "description": "The action name." + }, + "customDetails": { + "oneOf": [ + { + "$ref": "#/definitions/RecoveryPlanActionDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery plan action custom details." + }, + "failoverDirections": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "PrimaryToRecovery", + "RecoveryToPrimary" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of failover directions." + }, + "failoverTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ReverseReplicate", + "Commit", + "PlannedFailover", + "UnplannedFailover", + "DisableProtection", + "TestFailover", + "TestFailoverCleanup", + "Failback", + "FinalizeFailback", + "CancelFailover", + "ChangePit", + "RepairReplication", + "SwitchProtection", + "CompleteMigration" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of failover types." + } + }, + "required": [ + "actionName", + "customDetails", + "failoverDirections", + "failoverTypes" + ], + "description": "Recovery plan action details." + }, + "RecoveryPlanActionDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/RecoveryPlanAutomationRunbookActionDetails" + }, + { + "$ref": "#/definitions/RecoveryPlanManualActionDetails" + }, + { + "$ref": "#/definitions/RecoveryPlanScriptActionDetails" + } + ], + "properties": {}, + "description": "Recovery plan action custom details." + }, + "RecoveryPlanAutomationRunbookActionDetails": { + "type": "object", + "properties": { + "fabricLocation": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Primary", + "Recovery" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The fabric location." + }, + "instanceType": { + "type": "string", + "enum": [ + "AutomationRunbookActionDetails" + ] + }, + "runbookId": { + "type": "string", + "description": "The runbook ARM Id." + }, + "timeout": { + "type": "string", + "description": "The runbook timeout." + } + }, + "required": [ + "fabricLocation", + "instanceType" + ], + "description": "Recovery plan Automation runbook action details." + }, + "RecoveryPlanGroup": { + "type": "object", + "properties": { + "endGroupActions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RecoveryPlanAction" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The end group actions." + }, + "groupType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Shutdown", + "Boot", + "Failover" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The group type." + }, + "replicationProtectedItems": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RecoveryPlanProtectedItem" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of protected items." + }, + "startGroupActions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RecoveryPlanAction" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The start group actions." + } + }, + "required": [ + "groupType" + ], + "description": "Recovery plan group details." + }, + "RecoveryPlanManualActionDetails": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The manual action description." + }, + "instanceType": { + "type": "string", + "enum": [ + "ManualActionDetails" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "Recovery plan manual action details." + }, + "RecoveryPlanProtectedItem": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ARM Id of the recovery plan protected item." + }, + "virtualMachineId": { + "type": "string", + "description": "The virtual machine Id." + } + }, + "description": "Recovery plan protected item." + }, + "RecoveryPlanProviderSpecificInput": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/RecoveryPlanA2AInput" + } + ], + "properties": {}, + "description": "Recovery plan provider specific input base class." + }, + "RecoveryPlanScriptActionDetails": { + "type": "object", + "properties": { + "fabricLocation": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Primary", + "Recovery" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The fabric location." + }, + "instanceType": { + "type": "string", + "enum": [ + "ScriptActionDetails" + ] + }, + "path": { + "type": "string", + "description": "The script path." + }, + "timeout": { + "type": "string", + "description": "The script timeout." + } + }, + "required": [ + "fabricLocation", + "instanceType", + "path" + ], + "description": "Recovery plan script action details." + }, + "RecoveryProximityPlacementGroupCustomDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ExistingRecoveryProximityPlacementGroup" + } + ], + "properties": {}, + "description": "Recovery Proximity placement group custom input." + }, + "RecoveryResourceGroupCustomDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ExistingRecoveryRecoveryResourceGroup" + } + ], + "properties": {}, + "description": "Recovery Resource Group custom input." + }, + "RecoveryVirtualNetworkCustomDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ExistingRecoveryVirtualNetwork" + }, + { + "$ref": "#/definitions/NewRecoveryVirtualNetwork" + } + ], + "properties": {}, + "description": "Recovery Virtual network custom input." + }, + "ReplicationProviderSpecificContainerCreationInput": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/A2AContainerCreationInput" + }, + { + "$ref": "#/definitions/A2ACrossClusterMigrationContainerCreationInput" + }, + { + "$ref": "#/definitions/VMwareCbtContainerCreationInput" + } + ], + "properties": {}, + "description": "Provider specific input for container creation operation." + }, + "ReplicationProviderSpecificContainerMappingInput": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/A2AContainerMappingInput" + }, + { + "$ref": "#/definitions/VMwareCbtContainerMappingInput" + } + ], + "properties": {}, + "description": "Provider specific input for pairing operations." + }, + "StorageAccountCustomDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ExistingStorageAccount" + } + ], + "properties": {}, + "description": "Storage account custom input." + }, + "StorageMappingInputProperties": { + "type": "object", + "properties": { + "targetStorageClassificationId": { + "type": "string", + "description": "The ID of the storage object." + } + }, + "description": "Storage mapping input properties." + }, + "VaultSettingCreationInputProperties": { + "type": "object", + "properties": { + "migrationSolutionId": { + "type": "string", + "description": "The migration solution Id." + }, + "vmwareToAzureProviderType": { + "type": "string", + "description": "VMware to Azure provider type." + } + }, + "description": "Input to create vault setting." + }, + "vaults_replicationFabrics_replicationProtectionContainers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Unique protection container ARM name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateProtectionContainerInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create protection container input properties." + }, + "type": { + "type": "string", + "enum": [ + "replicationProtectionContainers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers" + }, + "vaults_replicationFabrics_replicationProtectionContainers_replicationMigrationItems_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Migration item name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EnableMigrationInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable migration input properties." + }, + "type": { + "type": "string", + "enum": [ + "replicationMigrationItems" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems" + }, + "vaults_replicationFabrics_replicationProtectionContainers_replicationProtectedItems_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "A name for the replication protected item." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EnableProtectionInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable protection input properties." + }, + "type": { + "type": "string", + "enum": [ + "replicationProtectedItems" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems" + }, + "vaults_replicationFabrics_replicationProtectionContainers_replicationProtectionContainerMappings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Protection container mapping name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateProtectionContainerMappingInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configure pairing input properties." + }, + "type": { + "type": "string", + "enum": [ + "replicationProtectionContainerMappings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings" + }, + "vaults_replicationFabrics_replicationRecoveryServicesProviders_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Recovery services provider name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AddRecoveryServicesProviderInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an add provider request." + }, + "type": { + "type": "string", + "enum": [ + "replicationRecoveryServicesProviders" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders" + }, + "vaults_replicationFabrics_replicationvCenters_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "vcenter name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AddVCenterRequestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an add vCenter request." + }, + "type": { + "type": "string", + "enum": [ + "replicationvCenters" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters" + }, + "VmmToAzureCreateNetworkMappingInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "VmmToAzure" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "Create network mappings input properties/behavior specific to Vmm to Azure Network mapping." + }, + "VmmToVmmCreateNetworkMappingInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "VmmToVmm" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "Create network mappings input properties/behavior specific to vmm to vmm Network mapping." + }, + "VMwareCbtContainerCreationInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "VMwareCbt" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "VMwareCbt container creation input." + }, + "VMwareCbtContainerMappingInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "VMwareCbt" + ] + }, + "keyVaultId": { + "type": "string", + "description": "The target key vault ARM Id." + }, + "keyVaultUri": { + "type": "string", + "description": "The target key vault URL." + }, + "serviceBusConnectionStringSecretName": { + "type": "string", + "description": "The secret name of the service bus connection string." + }, + "storageAccountId": { + "type": "string", + "description": "The storage account ARM Id." + }, + "storageAccountSasSecretName": { + "type": "string", + "description": "The secret name of the storage account." + }, + "targetLocation": { + "type": "string", + "description": "The target location." + } + }, + "required": [ + "instanceType", + "keyVaultId", + "keyVaultUri", + "serviceBusConnectionStringSecretName", + "storageAccountId", + "storageAccountSasSecretName", + "targetLocation" + ], + "description": "VMwareCbt container mapping input." + }, + "VMwareCbtDiskInput": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "The DiskEncryptionSet ARM Id." + }, + "diskId": { + "type": "string", + "description": "The disk Id." + }, + "diskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disk type." + }, + "isOSDisk": { + "type": "string", + "description": "A value indicating whether the disk is the OS disk." + }, + "logStorageAccountId": { + "type": "string", + "description": "The log storage account ARM Id." + }, + "logStorageAccountSasSecretName": { + "type": "string", + "description": "The key vault secret name of the log storage account." + } + }, + "required": [ + "diskId", + "isOSDisk", + "logStorageAccountId", + "logStorageAccountSasSecretName" + ], + "description": "VMwareCbt disk input." + }, + "VMwareCbtEnableMigrationInput": { + "type": "object", + "properties": { + "dataMoverRunAsAccountId": { + "type": "string", + "description": "The data mover run as account Id." + }, + "disksToInclude": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VMwareCbtDiskInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disks to include list." + }, + "instanceType": { + "type": "string", + "enum": [ + "VMwareCbt" + ] + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "NoLicenseType", + "WindowsServer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "License type." + }, + "performAutoResync": { + "type": "string", + "description": "A value indicating whether auto resync is to be done." + }, + "seedDiskTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the seed disks." + }, + "snapshotRunAsAccountId": { + "type": "string", + "description": "The snapshot run as account Id." + }, + "sqlServerLicenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "NoLicenseType", + "PAYG", + "AHUB" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SQL Server license type." + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "The target availability set ARM Id." + }, + "targetAvailabilityZone": { + "type": "string", + "description": "The target availability zone." + }, + "targetBootDiagnosticsStorageAccountId": { + "type": "string", + "description": "The target boot diagnostics storage account ARM Id." + }, + "targetDiskTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the target disks." + }, + "targetNetworkId": { + "type": "string", + "description": "The target network ARM Id." + }, + "targetNicTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the target NICs." + }, + "targetProximityPlacementGroupId": { + "type": "string", + "description": "The target proximity placement group ARM Id." + }, + "targetResourceGroupId": { + "type": "string", + "description": "The target resource group ARM Id." + }, + "targetSubnetName": { + "type": "string", + "description": "The target subnet name." + }, + "targetVmName": { + "type": "string", + "description": "The target VM name." + }, + "targetVmSize": { + "type": "string", + "description": "The target VM size." + }, + "targetVmTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target VM tags." + }, + "vmwareMachineId": { + "type": "string", + "description": "The ARM Id of the VM discovered in VMware." + } + }, + "required": [ + "dataMoverRunAsAccountId", + "disksToInclude", + "instanceType", + "snapshotRunAsAccountId", + "targetNetworkId", + "targetResourceGroupId", + "vmwareMachineId" + ], + "description": "VMwareCbt specific enable migration input." + }, + "VMwareCbtPolicyCreationInput": { + "type": "object", + "properties": { + "appConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The app consistent snapshot frequency (in minutes)." + }, + "crashConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The crash consistent snapshot frequency (in minutes)." + }, + "instanceType": { + "type": "string", + "enum": [ + "VMwareCbt" + ] + }, + "recoveryPointHistoryInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The duration in minutes until which the recovery points need to be stored." + } + }, + "required": [ + "instanceType" + ], + "description": "VMware Cbt policy creation input." + }, + "VMwareV2FabricCreationInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "VMwareV2" + ] + }, + "migrationSolutionId": { + "type": "string", + "description": "The ARM Id of the migration solution." + }, + "physicalSiteId": { + "type": "string", + "description": "The ARM Id of the physical site." + }, + "vmwareSiteId": { + "type": "string", + "description": "The ARM Id of the VMware site." + } + }, + "required": [ + "instanceType", + "migrationSolutionId" + ], + "description": "VMwareV2 fabric provider specific settings." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 944f93f28d..b81db2a61f 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -8368,6 +8368,48 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationVaultSettings" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationAlertSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationFabrics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationFabrics_replicationNetworks_replicationNetworkMappings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationFabrics_replicationProtectionContainers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationFabrics_replicationProtectionContainers_replicationMigrationItems" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationFabrics_replicationProtectionContainers_replicationProtectedItems" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationFabrics_replicationProtectionContainers_replicationProtectionContainerMappings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationFabrics_replicationRecoveryServicesProviders" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationFabrics_replicationStorageClassifications_replicationStorageClassificationMappings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationFabrics_replicationvCenters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationProtectionIntents" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationRecoveryPlans" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationVaultSettings" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-04-30/Microsoft.RedHatOpenShift.json#/resourceDefinitions/openShiftClusters" }, From 646feef835c3bcf9366864b7f881fae75eb659b1 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 24 Aug 2021 06:55:56 +0000 Subject: [PATCH 098/243] CodeGen from PR 15500 in Azure/azure-rest-api-specs added notifications settings (#15500) --- schemas/2021-06-01/Microsoft.Marketplace.json | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/schemas/2021-06-01/Microsoft.Marketplace.json b/schemas/2021-06-01/Microsoft.Marketplace.json index 826a30c61c..6fc22dcf1e 100644 --- a/schemas/2021-06-01/Microsoft.Marketplace.json +++ b/schemas/2021-06-01/Microsoft.Marketplace.json @@ -342,6 +342,37 @@ }, "description": "The collection details" }, + "NotificationsSettingsProperties": { + "type": "object", + "properties": { + "recipients": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Recipient" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets list of notified recipients for new requests" + }, + "sendToAllMarketplaceAdmins": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets whether to send email to all marketplace admins for new requests" + } + }, + "description": "Describes the json payload for notifications settings" + }, "OfferProperties": { "type": "object", "properties": { @@ -497,6 +528,17 @@ ], "description": "Is government" }, + "notificationsSettings": { + "oneOf": [ + { + "$ref": "#/definitions/NotificationsSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the json payload for notifications settings" + }, "privateStoreName": { "type": "string", "description": "Private Store Name" @@ -663,6 +705,16 @@ ], "description": "Microsoft.Marketplace/privateStores/requestApprovals" }, + "Recipient": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Principal ID" + } + }, + "description": "Describes the json payload for a notified recipient for new requests" + }, "RequestApprovalProperties": { "type": "object", "properties": { From 3d5fa6ffc5a45cc60c64682e45cb754e9af679d6 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 24 Aug 2021 07:14:40 +0000 Subject: [PATCH 099/243] CodeGen from PR 15428 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.Devices to add version preview/2021-09-01-preview (#15428) * Adds base for updating Microsoft.Devices from version preview/2021-07-01-preview to version 2021-09-01-preview * Updates readme * Updates API version in new specs and examples * Added creation time in the iothub description * implemented system data property * updating examples for iothub bv rg and subscription * Committing unsaved changes * removing creationTime * reverting unformatted change * Fixing josn pretty issue * Adds suppression to readme * Removing external reference to internal reference * reverting the suppression --- .../2021-07-01-preview/Microsoft.Devices.json | 6 +- .../2021-09-01-preview/Microsoft.Devices.json | 1798 +++++++++++++++++ schemas/common/autogeneratedResources.json | 12 + 3 files changed, 1814 insertions(+), 2 deletions(-) create mode 100644 schemas/2021-09-01-preview/Microsoft.Devices.json diff --git a/schemas/2021-07-01-preview/Microsoft.Devices.json b/schemas/2021-07-01-preview/Microsoft.Devices.json index 9deb94ca67..289dca9977 100644 --- a/schemas/2021-07-01-preview/Microsoft.Devices.json +++ b/schemas/2021-07-01-preview/Microsoft.Devices.json @@ -459,7 +459,8 @@ "DeviceLifecycleEvents", "DeviceJobLifecycleEvents", "DigitalTwinChangeEvents", - "DeviceConnectionStateEvents" + "DeviceConnectionStateEvents", + "MqttBrokerMessages" ] }, { @@ -1228,7 +1229,8 @@ "DeviceLifecycleEvents", "DeviceJobLifecycleEvents", "DigitalTwinChangeEvents", - "DeviceConnectionStateEvents" + "DeviceConnectionStateEvents", + "MqttBrokerMessages" ] }, { diff --git a/schemas/2021-09-01-preview/Microsoft.Devices.json b/schemas/2021-09-01-preview/Microsoft.Devices.json new file mode 100644 index 0000000000..8e61d063f9 --- /dev/null +++ b/schemas/2021-09-01-preview/Microsoft.Devices.json @@ -0,0 +1,1798 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.Devices.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Devices", + "description": "Microsoft Devices Resource Types", + "resourceDefinitions": { + "IotHubs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention." + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ArmIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "location": { + "type": "string", + "description": "The resource location." + }, + "name": { + "type": "string", + "description": "The name of the IoT hub." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IotHubProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an IoT hub." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/IotHubs_certificates_childResource" + }, + { + "$ref": "#/definitions/iotHubs_privateEndpointConnections_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/IotHubSkuInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information about the SKU of the IoT hub." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Devices/IotHubs" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Devices/IotHubs" + }, + "IotHubs_certificates": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the certificate" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The description of an X509 CA Certificate." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Devices/IotHubs/certificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Devices/IotHubs/certificates" + }, + "IotHubs_eventHubEndpoints_ConsumerGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the consumer group to add." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EventHubConsumerGroupName" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The EventHub consumer group name." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Devices/IotHubs/eventHubEndpoints/ConsumerGroups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Devices/IotHubs/eventHubEndpoints/ConsumerGroups" + }, + "iotHubs_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "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": "The properties of a private endpoint connection" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Devices/iotHubs/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Devices/iotHubs/privateEndpointConnections" + } + }, + "definitions": { + "ArmIdentity": { + "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": "The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ArmUserIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "ArmUserIdentity": { + "type": "object", + "properties": {} + }, + "CertificateProperties": { + "type": "object", + "properties": { + "certificate": { + "type": "string", + "description": "The certificate content" + } + }, + "description": "The description of an X509 CA Certificate." + }, + "CloudToDeviceProperties": { + "type": "object", + "properties": { + "defaultTtlAsIso8601": { + "type": "string", + "format": "duration", + "description": "The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." + }, + "feedback": { + "oneOf": [ + { + "$ref": "#/definitions/FeedbackProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the feedback queue for cloud-to-device messages." + }, + "maxDeliveryCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." + } + }, + "description": "The IoT hub cloud-to-device messaging properties." + }, + "EncryptionPropertiesDescription": { + "type": "object", + "properties": { + "keySource": { + "type": "string", + "description": "The source of the key." + }, + "keyVaultProperties": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/KeyVaultKeyProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the KeyVault key." + } + }, + "description": "The encryption properties for the IoT hub." + }, + "EnrichmentProperties": { + "type": "object", + "properties": { + "endpointNames": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of endpoints for which the enrichment is applied to the message." + }, + "key": { + "type": "string", + "description": "The key or name for the enrichment property." + }, + "value": { + "type": "string", + "description": "The value for the enrichment property." + } + }, + "required": [ + "endpointNames", + "key", + "value" + ], + "description": "The properties of an enrichment that your IoT hub applies to messages delivered to endpoints." + }, + "EventHubConsumerGroupName": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "EventHub consumer group name" + } + }, + "required": [ + "name" + ], + "description": "The EventHub consumer group name." + }, + "EventHubProperties": { + "type": "object", + "properties": { + "partitionCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages." + }, + "retentionTimeInDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages" + } + }, + "description": "The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub." + }, + "FallbackRouteProperties": { + "type": "object", + "properties": { + "condition": { + "type": "string", + "description": "The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language" + }, + "endpointNames": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed." + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Used to specify whether the fallback route is enabled." + }, + "name": { + "type": "string", + "description": "The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique." + }, + "source": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "DeviceMessages", + "TwinChangeEvents", + "DeviceLifecycleEvents", + "DeviceJobLifecycleEvents", + "DigitalTwinChangeEvents", + "DeviceConnectionStateEvents" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source to which the routing rule is to be applied to. For example, DeviceMessages." + } + }, + "required": [ + "endpointNames", + "isEnabled", + "source" + ], + "description": "The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint." + }, + "FeedbackProperties": { + "type": "object", + "properties": { + "lockDurationAsIso8601": { + "type": "string", + "format": "duration", + "description": "The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." + }, + "maxDeliveryCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." + }, + "ttlAsIso8601": { + "type": "string", + "format": "duration", + "description": "The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." + } + }, + "description": "The properties of the feedback queue for cloud-to-device messages." + }, + "IotHubProperties": { + "type": "object", + "properties": { + "allowedFqdnList": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of allowed FQDNs(Fully Qualified Domain Name) for egress from Iot Hub." + }, + "authorizationPolicies": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SharedAccessSignatureAuthorizationRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The shared access policies you can use to secure a connection to the IoT hub." + }, + "cloudToDevice": { + "oneOf": [ + { + "$ref": "#/definitions/CloudToDeviceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The IoT hub cloud-to-device messaging properties." + }, + "comments": { + "type": "string", + "description": "IoT hub comments." + }, + "deviceStreams": { + "oneOf": [ + { + "$ref": "#/definitions/IotHubPropertiesDeviceStreams" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The device streams properties of iothub." + }, + "disableDeviceSAS": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If true, all device(including Edge devices but excluding modules) scoped SAS keys cannot be used for authentication." + }, + "disableLocalAuth": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If true, SAS tokens with Iot hub scoped SAS keys cannot be used for authentication." + }, + "disableModuleSAS": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If true, all module scoped SAS keys cannot be used for authentication." + }, + "enableFileUploadNotifications": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If True, file upload notifications are enabled." + }, + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionPropertiesDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The encryption properties for the IoT hub." + }, + "eventHubEndpoints": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/EventHubProperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub." + }, + "features": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "DeviceManagement" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The capabilities and features enabled for the IoT hub." + }, + "ipFilterRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IpFilterRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The IP filter rules." + }, + "messagingEndpoints": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/MessagingEndpointProperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The messaging endpoint properties for the file upload notification queue." + }, + "minTlsVersion": { + "type": "string", + "description": "Specifies the minimum TLS version to support for this hub. Can be set to \"1.2\" to have clients that use a TLS version below 1.2 to be rejected." + }, + "networkRuleSets": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkRuleSetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network Rule Set Properties of IotHub" + }, + "privateEndpointConnections": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint connections created on this IotHub" + }, + "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." + }, + "restrictOutboundNetworkAccess": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If true, egress from IotHub will be restricted to only the allowed FQDNs that are configured via allowedFqdnList." + }, + "routing": { + "oneOf": [ + { + "$ref": "#/definitions/RoutingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging" + }, + "storageEndpoints": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/StorageEndpointProperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown." + } + }, + "description": "The properties of an IoT hub." + }, + "IotHubPropertiesDeviceStreams": { + "type": "object", + "properties": { + "streamingEndpoints": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Device Streams Endpoints." + } + }, + "description": "The device streams properties of iothub." + }, + "IotHubSkuInfo": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "F1", + "S1", + "S2", + "S3", + "B1", + "B2", + "B3" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the SKU." + } + }, + "required": [ + "name" + ], + "description": "Information about the SKU of the IoT hub." + }, + "IotHubs_certificates_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the certificate" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The description of an X509 CA Certificate." + }, + "type": { + "type": "string", + "enum": [ + "certificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Devices/IotHubs/certificates" + }, + "iotHubs_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "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": "The properties of a private endpoint connection" + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Devices/iotHubs/privateEndpointConnections" + }, + "IpFilterRule": { + "type": "object", + "properties": { + "action": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accept", + "Reject" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The desired action for requests captured by this rule." + }, + "filterName": { + "type": "string", + "description": "The name of the IP filter rule." + }, + "ipMask": { + "type": "string", + "description": "A string that contains the IP address range in CIDR notation for the rule." + } + }, + "required": [ + "action", + "filterName", + "ipMask" + ], + "description": "The IP filter rules for the IoT hub." + }, + "KeyVaultKeyProperties": { + "type": "object", + "properties": { + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the Managed identity." + }, + "keyIdentifier": { + "type": "string", + "description": "The identifier of the key." + } + }, + "description": "The properties of the KeyVault key." + }, + "ManagedIdentity": { + "type": "object", + "properties": { + "userAssignedIdentity": { + "type": "string", + "description": "The user assigned identity." + } + }, + "description": "The properties of the Managed identity." + }, + "MessagingEndpointProperties": { + "type": "object", + "properties": { + "lockDurationAsIso8601": { + "type": "string", + "format": "duration", + "description": "The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload." + }, + "maxDeliveryCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload." + }, + "ttlAsIso8601": { + "type": "string", + "format": "duration", + "description": "The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload." + } + }, + "description": "The properties of the messaging endpoints used by this IoT hub." + }, + "NetworkRuleSetIpRule": { + "type": "object", + "properties": { + "action": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Allow" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "IP Filter Action." + }, + "filterName": { + "type": "string", + "description": "Name of the IP filter rule." + }, + "ipMask": { + "type": "string", + "description": "A string that contains the IP address range in CIDR notation for the rule." + } + }, + "required": [ + "filterName", + "ipMask" + ], + "description": "IP Rule to be applied as part of Network Rule Set" + }, + "NetworkRuleSetProperties": { + "type": "object", + "properties": { + "applyToBuiltInEventHubEndpoint": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If True, then Network Rule Set is also applied to BuiltIn EventHub EndPoint of IotHub" + }, + "defaultAction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Deny", + "Allow" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Default Action for Network Rule Set." + }, + "ipRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkRuleSetIpRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of IP Rules" + } + }, + "required": [ + "applyToBuiltInEventHubEndpoint", + "ipRules" + ], + "description": "Network Rule Set Properties of IotHub" + }, + "PrivateEndpoint": { + "type": "object", + "properties": {}, + "description": "The private endpoint property of a private endpoint connection" + }, + "PrivateEndpointConnection": { + "type": "object", + "properties": { + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a private endpoint connection" + } + }, + "required": [ + "properties" + ], + "description": "The private endpoint connection of an IotHub" + }, + "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 property of a private endpoint connection" + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The current state of a private endpoint connection" + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "The properties of a private endpoint connection" + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "Actions required for a private endpoint connection" + }, + "description": { + "type": "string", + "description": "The description for the current state of a private endpoint connection" + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The status of a private endpoint connection." + } + }, + "required": [ + "description", + "status" + ], + "description": "The current state of a private endpoint connection" + }, + "RouteProperties": { + "type": "object", + "properties": { + "condition": { + "type": "string", + "description": "The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language" + }, + "endpointNames": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed." + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Used to specify whether a route is enabled." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique." + }, + "source": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "DeviceMessages", + "TwinChangeEvents", + "DeviceLifecycleEvents", + "DeviceJobLifecycleEvents", + "DigitalTwinChangeEvents", + "DeviceConnectionStateEvents" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source that the routing rule is to be applied to, such as DeviceMessages." + } + }, + "required": [ + "endpointNames", + "isEnabled", + "name", + "source" + ], + "description": "The properties of a routing rule that your IoT hub uses to route messages to endpoints." + }, + "RoutingEndpoints": { + "type": "object", + "properties": { + "eventHubs": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RoutingEventHubProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint." + }, + "serviceBusQueues": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RoutingServiceBusQueueEndpointProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules." + }, + "serviceBusTopics": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RoutingServiceBusTopicEndpointProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules." + }, + "storageContainers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RoutingStorageContainerProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of storage container endpoints that IoT hub routes messages to, based on the routing rules." + } + }, + "description": "The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs." + }, + "RoutingEventHubProperties": { + "type": "object", + "properties": { + "authenticationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "keyBased", + "identityBased" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Method used to authenticate against the event hub endpoint." + }, + "connectionString": { + "type": "string", + "description": "The connection string of the event hub endpoint. " + }, + "endpointUri": { + "type": "string", + "description": "The url of the event hub endpoint. It must include the protocol sb://" + }, + "entityPath": { + "type": "string", + "description": "Event hub name on the event hub namespace" + }, + "id": { + "type": "string", + "description": "Id of the event hub endpoint" + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the Managed identity." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types." + }, + "resourceGroup": { + "type": "string", + "description": "The name of the resource group of the event hub endpoint." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription identifier of the event hub endpoint." + } + }, + "required": [ + "name" + ], + "description": "The properties related to an event hub endpoint." + }, + "RoutingProperties": { + "type": "object", + "properties": { + "endpoints": { + "oneOf": [ + { + "$ref": "#/definitions/RoutingEndpoints" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs." + }, + "enrichments": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/EnrichmentProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid" + }, + "fallbackRoute": { + "oneOf": [ + { + "$ref": "#/definitions/FallbackRouteProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint." + }, + "routes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RouteProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs." + } + }, + "description": "The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging" + }, + "RoutingServiceBusQueueEndpointProperties": { + "type": "object", + "properties": { + "authenticationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "keyBased", + "identityBased" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Method used to authenticate against the service bus queue endpoint." + }, + "connectionString": { + "type": "string", + "description": "The connection string of the service bus queue endpoint." + }, + "endpointUri": { + "type": "string", + "description": "The url of the service bus queue endpoint. It must include the protocol sb://" + }, + "entityPath": { + "type": "string", + "description": "Queue name on the service bus namespace" + }, + "id": { + "type": "string", + "description": "Id of the service bus queue endpoint" + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the Managed identity." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name." + }, + "resourceGroup": { + "type": "string", + "description": "The name of the resource group of the service bus queue endpoint." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription identifier of the service bus queue endpoint." + } + }, + "required": [ + "name" + ], + "description": "The properties related to service bus queue endpoint types." + }, + "RoutingServiceBusTopicEndpointProperties": { + "type": "object", + "properties": { + "authenticationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "keyBased", + "identityBased" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Method used to authenticate against the service bus topic endpoint." + }, + "connectionString": { + "type": "string", + "description": "The connection string of the service bus topic endpoint." + }, + "endpointUri": { + "type": "string", + "description": "The url of the service bus topic endpoint. It must include the protocol sb://" + }, + "entityPath": { + "type": "string", + "description": "Queue name on the service bus topic" + }, + "id": { + "type": "string", + "description": "Id of the service bus topic endpoint" + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the Managed identity." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name." + }, + "resourceGroup": { + "type": "string", + "description": "The name of the resource group of the service bus topic endpoint." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription identifier of the service bus topic endpoint." + } + }, + "required": [ + "name" + ], + "description": "The properties related to service bus topic endpoint types." + }, + "RoutingStorageContainerProperties": { + "type": "object", + "properties": { + "authenticationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "keyBased", + "identityBased" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Method used to authenticate against the storage endpoint." + }, + "batchFrequencyInSeconds": { + "oneOf": [ + { + "type": "integer", + "minimum": 60, + "maximum": 720 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds." + }, + "connectionString": { + "type": "string", + "description": "The connection string of the storage account." + }, + "containerName": { + "type": "string", + "description": "The name of storage container in the storage account." + }, + "encoding": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Avro", + "AvroDeflate", + "JSON" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'." + }, + "endpointUri": { + "type": "string", + "description": "The url of the storage endpoint. It must include the protocol https://" + }, + "fileNameFormat": { + "type": "string", + "description": "File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered." + }, + "id": { + "type": "string", + "description": "Id of the storage container endpoint" + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the Managed identity." + }, + "maxChunkSizeInBytes": { + "oneOf": [ + { + "type": "integer", + "minimum": 10485760, + "maximum": 524288000 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB)." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9-._]{1,64}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types." + }, + "resourceGroup": { + "type": "string", + "description": "The name of the resource group of the storage account." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription identifier of the storage account." + } + }, + "required": [ + "containerName", + "name" + ], + "description": "The properties related to a storage container endpoint." + }, + "SharedAccessSignatureAuthorizationRule": { + "type": "object", + "properties": { + "keyName": { + "type": "string", + "description": "The name of the shared access policy." + }, + "primaryKey": { + "type": "string", + "description": "The primary key." + }, + "rights": { + "oneOf": [ + { + "type": "string", + "enum": [ + "RegistryRead", + "RegistryWrite", + "ServiceConnect", + "DeviceConnect", + "RegistryRead, RegistryWrite", + "RegistryRead, ServiceConnect", + "RegistryRead, DeviceConnect", + "RegistryWrite, ServiceConnect", + "RegistryWrite, DeviceConnect", + "ServiceConnect, DeviceConnect", + "RegistryRead, RegistryWrite, ServiceConnect", + "RegistryRead, RegistryWrite, DeviceConnect", + "RegistryRead, ServiceConnect, DeviceConnect", + "RegistryWrite, ServiceConnect, DeviceConnect", + "RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The permissions assigned to the shared access policy." + }, + "secondaryKey": { + "type": "string", + "description": "The secondary key." + } + }, + "required": [ + "keyName", + "rights" + ], + "description": "The properties of an IoT hub shared access policy." + }, + "StorageEndpointProperties": { + "type": "object", + "properties": { + "authenticationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "keyBased", + "identityBased" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies authentication type being used for connecting to the storage account." + }, + "connectionString": { + "type": "string", + "description": "The connection string for the Azure Storage account to which files are uploaded." + }, + "containerName": { + "type": "string", + "description": "The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified." + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the Managed identity." + }, + "sasTtlAsIso8601": { + "type": "string", + "format": "duration", + "description": "The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options." + } + }, + "required": [ + "connectionString", + "containerName" + ], + "description": "The properties of the Azure Storage endpoint for file upload." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index b5839ad970..738f393a77 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -4285,6 +4285,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Devices.json#/resourceDefinitions/iotHubs_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.Devices.json#/resourceDefinitions/IotHubs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.Devices.json#/resourceDefinitions/IotHubs_certificates" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.Devices.json#/resourceDefinitions/IotHubs_eventHubEndpoints_ConsumerGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.Devices.json#/resourceDefinitions/iotHubs_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2017-08-21-preview/Microsoft.Devices.Provisioning.json#/resourceDefinitions/provisioningServices" }, From 3f30a495100036887e96a097fadbf0ad7bb49ca0 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 24 Aug 2021 08:39:49 +0000 Subject: [PATCH 100/243] Update resource list --- generator/resources.json | 63 ++++++++++++++++++++++++++-------------- 1 file changed, 42 insertions(+), 21 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 6c8ed1ff48..7a4250b0b6 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -2440,7 +2440,8 @@ "2021-03-03-preview", "2021-03-31", "2021-07-01", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-09-01-preview" ], "Microsoft.Devices/IotHubs/certificates": [ "2017-07-01", @@ -2462,7 +2463,8 @@ "2021-03-03-preview", "2021-03-31", "2021-07-01", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-09-01-preview" ], "Microsoft.Devices/IotHubs/eventHubEndpoints/ConsumerGroups": [ "2016-02-03", @@ -2486,7 +2488,8 @@ "2021-03-03-preview", "2021-03-31", "2021-07-01", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-09-01-preview" ], "Microsoft.Devices/iotHubs/privateEndpointConnections": [ "2020-03-01", @@ -2500,7 +2503,8 @@ "2021-03-03-preview", "2021-03-31", "2021-07-01", - "2021-07-01-preview" + "2021-07-01-preview", + "2021-09-01-preview" ], "Microsoft.Devices/provisioningServices": [ "2017-08-21-preview", @@ -5830,7 +5834,8 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/backupEncryptionConfigs": [ "2020-10-01", @@ -5931,7 +5936,8 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/extendedInformation": [ "2016-06-01", @@ -5941,7 +5947,8 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/privateEndpointConnections": [ "2020-02-02", @@ -5963,7 +5970,8 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/replicationFabrics": [ "2016-08-10", @@ -5972,7 +5980,8 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings": [ "2016-08-10", @@ -5981,7 +5990,8 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers": [ "2016-08-10", @@ -5990,7 +6000,8 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems": [ "2018-01-10", @@ -5998,7 +6009,8 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems": [ "2016-08-10", @@ -6007,7 +6019,8 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings": [ "2016-08-10", @@ -6016,7 +6029,8 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders": [ "2018-01-10", @@ -6024,7 +6038,8 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings": [ "2016-08-10", @@ -6033,7 +6048,8 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters": [ "2016-08-10", @@ -6042,7 +6058,8 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/replicationPolicies": [ "2016-08-10", @@ -6051,14 +6068,16 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/replicationProtectionIntents": [ "2018-07-10", "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/replicationRecoveryPlans": [ "2016-08-10", @@ -6067,14 +6086,16 @@ "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RecoveryServices/vaults/replicationVaultSettings": [ "2018-07-10", "2021-02-10", "2021-03-01", "2021-04-01", - "2021-06-01" + "2021-06-01", + "2021-07-01" ], "Microsoft.RedHatOpenShift/openShiftClusters": [ "2020-04-30" From 8d2c67ed367c1065cedb3d006465e3e36984bb7f Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 24 Aug 2021 10:34:53 +0000 Subject: [PATCH 101/243] Autogenerate schemas --- .../Microsoft.Maintenance.json | 524 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 2 files changed, 527 insertions(+) create mode 100644 schemas/2021-09-01-preview/Microsoft.Maintenance.json diff --git a/schemas/2021-09-01-preview/Microsoft.Maintenance.json b/schemas/2021-09-01-preview/Microsoft.Maintenance.json new file mode 100644 index 0000000000..14ca613d72 --- /dev/null +++ b/schemas/2021-09-01-preview/Microsoft.Maintenance.json @@ -0,0 +1,524 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.Maintenance.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Maintenance", + "description": "Microsoft Maintenance Resource Types", + "resourceDefinitions": { + "maintenanceConfigurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "location": { + "type": "string", + "description": "Gets or sets location of the resource" + }, + "name": { + "type": "string", + "description": "Maintenance Configuration Name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MaintenanceConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for maintenance configuration" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets tags of the resource" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Maintenance/maintenanceConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Maintenance/maintenanceConfigurations" + } + }, + "extension_resourceDefinitions": { + "applyUpdates": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "default" + ] + } + }, + "required": [ + "name" + ], + "description": "Microsoft.Maintenance/applyUpdates" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "default" + ] + } + }, + "required": [ + "name" + ], + "description": "Microsoft.Maintenance/applyUpdates" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Maintenance/applyUpdates" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.Maintenance/applyUpdates" + }, + "configurationAssignments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "location": { + "type": "string", + "description": "Location of the resource" + }, + "name": { + "type": "string", + "description": "Configuration assignment name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConfigurationAssignmentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for configuration assignment" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Maintenance/configurationAssignments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Maintenance/configurationAssignments" + } + }, + "definitions": { + "ConfigurationAssignmentProperties": { + "type": "object", + "properties": { + "maintenanceConfigurationId": { + "type": "string", + "description": "The maintenance configuration Id" + }, + "resourceId": { + "type": "string", + "description": "The unique resourceId" + } + }, + "description": "Properties for configuration assignment" + }, + "InputLinuxParameters": { + "type": "object", + "properties": { + "classificationsToInclude": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Classification category of patches to be patched" + }, + "packageNameMasksToExclude": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Package names to be excluded for patching." + }, + "packageNameMasksToInclude": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Package names to be included for patching." + } + }, + "description": "Input properties for patching a Linux machine." + }, + "InputPatchConfiguration": { + "type": "object", + "properties": { + "linuxParameters": { + "oneOf": [ + { + "$ref": "#/definitions/InputLinuxParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input properties for patching a Linux machine." + }, + "rebootSetting": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NeverReboot", + "RebootIfRequired", + "AlwaysReboot" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed." + }, + "tasks": { + "oneOf": [ + { + "$ref": "#/definitions/SoftwareUpdateConfigurationTasks" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Task properties of the software update configuration." + }, + "windowsParameters": { + "oneOf": [ + { + "$ref": "#/definitions/InputWindowsParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input properties for patching a Windows machine." + } + }, + "description": "Input configuration for a patch run" + }, + "InputWindowsParameters": { + "type": "object", + "properties": { + "classificationsToInclude": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Classification category of patches to be patched" + }, + "excludeKbsRequiringReboot": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Exclude patches which need reboot" + }, + "kbNumbersToExclude": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Windows KBID to be excluded for patching." + }, + "kbNumbersToInclude": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Windows KBID to be included for patching." + } + }, + "description": "Input properties for patching a Windows machine." + }, + "MaintenanceConfigurationProperties": { + "type": "object", + "properties": { + "extensionProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets extensionProperties of the maintenanceConfiguration" + }, + "installPatches": { + "oneOf": [ + { + "$ref": "#/definitions/InputPatchConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input configuration for a patch run" + }, + "maintenanceScope": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Host", + "OSImage", + "Extension", + "InGuestPatch", + "SQLDB", + "SQLManagedInstance" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets maintenanceScope of the configuration." + }, + "maintenanceWindow": { + "oneOf": [ + { + "$ref": "#/definitions/MaintenanceWindow" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of a MaintenanceWindow" + }, + "namespace": { + "type": "string", + "description": "Gets or sets namespace of the resource" + }, + "visibility": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Custom", + "Public" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the visibility of the configuration. The default value is 'Custom'." + } + }, + "description": "Properties for maintenance configuration" + }, + "MaintenanceWindow": { + "type": "object", + "properties": { + "duration": { + "type": "string", + "description": "Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00." + }, + "expirationDateTime": { + "type": "string", + "description": "Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59." + }, + "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] [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", + "description": "Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone." + }, + "timeZone": { + "type": "string", + "description": "Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time." + } + }, + "description": "Definition of a MaintenanceWindow" + }, + "SoftwareUpdateConfigurationTasks": { + "type": "object", + "properties": { + "postTasks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TaskProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of post tasks. e.g. [{'source' :'runbook', 'taskScope': 'Resource', 'parameters': { 'arg1': 'value1'}}]" + }, + "preTasks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TaskProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of pre tasks. e.g. [{'source' :'runbook', 'taskScope': 'Global', 'parameters': { 'arg1': 'value1'}}]" + } + }, + "description": "Task properties of the software update configuration." + }, + "TaskProperties": { + "type": "object", + "properties": { + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the parameters of the task." + }, + "source": { + "type": "string", + "description": "Gets or sets the name of the runbook." + }, + "taskScope": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Global", + "Resource" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Global Task execute once when schedule trigger. Resource task execute for each VM." + } + }, + "description": "Task properties of the software update configuration." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index dab9f4d54d..ca00f05f93 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6979,6 +6979,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.Maintenance.json#/resourceDefinitions/maintenanceConfigurations" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.Maintenance.json#/resourceDefinitions/maintenanceConfigurations" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-06-01-preview/Microsoft.ManagedNetwork.json#/resourceDefinitions/managedNetworks" }, From 3a8379d49bb25fc110bd3d5708cd846405fa3295 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 24 Aug 2021 10:35:07 +0000 Subject: [PATCH 102/243] Update resource list --- generator/resources.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generator/resources.json b/generator/resources.json index 7a4250b0b6..d959fd596e 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3809,7 +3809,8 @@ "2020-04-01", "2020-07-01-preview", "2021-04-01-preview", - "2021-05-01" + "2021-05-01", + "2021-09-01-preview" ], "Microsoft.ManagedIdentity/userAssignedIdentities": [ "2015-08-31-preview", From 38cd72853f0a06f67c413074daafe58a73d756ca Mon Sep 17 00:00:00 2001 From: Theodore Chang Date: Tue, 24 Aug 2021 20:11:21 -0400 Subject: [PATCH 103/243] add compute 2021-07-01 and 2021-04-01 --- .../Microsoft.Compute.Extensions.json | 2321 +++++ schemas/2021-04-01/Microsoft.Compute.json | 6716 +++++++++++++ .../Microsoft.Compute.Extensions.json | 2321 +++++ schemas/2021-07-01/Microsoft.Compute.json | 8370 +++++++++++++++++ 4 files changed, 19728 insertions(+) create mode 100644 schemas/2021-04-01/Microsoft.Compute.Extensions.json create mode 100644 schemas/2021-04-01/Microsoft.Compute.json create mode 100644 schemas/2021-07-01/Microsoft.Compute.Extensions.json create mode 100644 schemas/2021-07-01/Microsoft.Compute.json diff --git a/schemas/2021-04-01/Microsoft.Compute.Extensions.json b/schemas/2021-04-01/Microsoft.Compute.Extensions.json new file mode 100644 index 0000000000..187da2fe28 --- /dev/null +++ b/schemas/2021-04-01/Microsoft.Compute.Extensions.json @@ -0,0 +1,2321 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Compute.Extensions", + "description": "Microsoft Compute Extensions Resource Types", + "resourceDefinitions": { + "virtualMachines_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine extension." + }, + "properties": { + "anyOf": [ + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/chefClient" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/eset" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/customScript" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux" + } + ] + }, + "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.Compute/virtualMachines/extensions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines/extensions" + }, + "virtualMachineScaleSets_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the VM scale set extension." + }, + "properties": { + "anyOf": [ + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/chefClient" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/eset" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/customScript" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachineScaleSets/extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/extensions" + } + }, + "definitions": { + "genericExtension": { + "type": "object", + "properties": { + "publisher": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Publisher" + }, + "type": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Type" + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Type handler version" + }, + "settings": { + "oneOf": [ + { + "type": "object" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Microsoft.Compute/extensions - Settings" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "settings" + ] + }, + "iaaSDiagnostics": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Diagnostics" + ] + }, + "type": { + "enum": [ + "IaaSDiagnostics" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "xmlCfg": { + "type": "string" + }, + "StorageAccount": { + "type": "string" + } + }, + "required": [ + "xmlCfg", + "StorageAccount" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "storageAccountEndPoint": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey", + "storageAccountEndPoint" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "iaaSAntimalware": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Security" + ] + }, + "type": { + "enum": [ + "IaaSAntimalware" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "AntimalwareEnabled": { + "type": "boolean" + }, + "Exclusions": { + "type": "object", + "properties": { + "Paths": { + "type": "string" + }, + "Extensions": { + "type": "string" + }, + "Processes": { + "type": "string" + } + }, + "required": [ + "Paths", + "Extensions", + "Processes" + ] + }, + "RealtimeProtectionEnabled": { + "enum": [ + "true", + "false" + ] + }, + "ScheduledScanSettings": { + "type": "object", + "properties": { + "isEnabled": { + "enum": [ + "true", + "false" + ] + }, + "scanType": { + "type": "string" + }, + "day": { + "type": "string" + }, + "time": { + "type": "string" + } + }, + "required": [ + "isEnabled", + "scanType", + "day", + "time" + ] + } + }, + "required": [ + "AntimalwareEnabled", + "Exclusions", + "RealtimeProtectionEnabled", + "ScheduledScanSettings" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "customScriptExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "CustomScriptExtension" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + }, + "commandToExecute": { + "type": "string" + } + }, + "required": [ + "commandToExecute" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "customScriptForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "CustomScriptForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "commandToExecute": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + }, + "required": [ + "commandToExecute" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "linuxDiagnostic": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "LinuxDiagnostic" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "enableSyslog": { + "type": "string" + }, + "mdsdHttpProxy": { + "type": "string" + }, + "perCfg": { + "type": "array" + }, + "fileCfg": { + "type": "array" + }, + "xmlCfg": { + "type": "string" + }, + "ladCfg": { + "type": "object" + }, + "syslogCfg": { + "type": "string" + }, + "eventVolume": { + "type": "string" + }, + "mdsdCfg": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "mdsdHttpProxy": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "storageAccountEndPoint": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "vmAccessForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "VMAccessForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "check_disk": { + "type": "boolean" + }, + "repair_disk": { + "type": "boolean" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + }, + "ssh_key": { + "type": "string" + }, + "reset_ssh": { + "type": "string" + }, + "remove_user": { + "type": "string" + }, + "expiration": { + "type": "string" + } + }, + "required": [ + "username", + "password", + "ssh_key", + "reset_ssh", + "remove_user", + "expiration" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "bgInfo": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "bginfo" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + }, + "vmAccessAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "VMAccessAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "username": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "dscExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Powershell" + ] + }, + "type": { + "enum": [ + "DSC" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "modulesUrl": { + "type": "string" + }, + "configurationFunction": { + "type": "string" + }, + "properties": { + "type": "string" + }, + "wmfVersion": { + "type": "string" + }, + "privacy": { + "type": "object", + "properties": { + "dataCollection": { + "type": "string" + } + } + } + }, + "required": [ + "modulesUrl", + "configurationFunction" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "dataBlobUri": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "acronisBackupLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Acronis.Backup" + ] + }, + "type": { + "enum": [ + "AcronisBackupLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "absURL": { + "type": "string" + } + }, + "required": [ + "absURL" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "userLogin": { + "type": "string" + }, + "userPassword": { + "type": "string" + } + }, + "required": [ + "userLogin", + "userPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "acronisBackup": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Acronis.Backup" + ] + }, + "type": { + "enum": [ + "AcronisBackup" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "absURL": { + "type": "string" + } + }, + "required": [ + "absURL" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "userLogin": { + "type": "string" + }, + "userPassword": { + "type": "string" + } + }, + "required": [ + "userLogin", + "userPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "linuxChefClient": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Chef.Bootstrap.WindowsAzure" + ] + }, + "type": { + "enum": [ + "LinuxChefClient" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "bootstrap_version": { + "type": "string" + }, + "bootstrap_options": { + "type": "object", + "properties": { + "chef_node_name": { + "type": "string" + }, + "chef_server_url": { + "type": "string" + }, + "validation_client_name": { + "type": "string" + }, + "node_ssl_verify_mode": { + "type": "string" + }, + "environment": { + "type": "string" + } + }, + "required": [ + "chef_node_name", + "chef_server_url", + "validation_client_name", + "node_ssl_verify_mode", + "environment" + ] + }, + "runlist": { + "type": "string" + }, + "client_rb": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "validation_key": { + "type": "string" + }, + "chef_server_crt": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "validation_key", + "chef_server_crt", + "secret" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "chefClient": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Chef.Bootstrap.WindowsAzure" + ] + }, + "type": { + "enum": [ + "ChefClient" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "bootstrap_options": { + "type": "object", + "properties": { + "chef_node_name": { + "type": "string" + }, + "chef_server_url": { + "type": "string" + }, + "validation_client_name": { + "type": "string" + }, + "node_ssl_verify_mode": { + "type": "string" + }, + "environment": { + "type": "string" + } + }, + "required": [ + "chef_node_name", + "chef_server_url", + "validation_client_name", + "node_ssl_verify_mode", + "environment" + ] + }, + "runlist": { + "type": "string" + }, + "client_rb": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "validation_key": { + "type": "string" + }, + "chef_server_crt": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "validation_key", + "chef_server_crt", + "secret" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "datadogLinuxAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Datadog.Agent" + ] + }, + "type": { + "enum": [ + "DatadogLinuxAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + } + }, + "required": [ + "api_key" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "datadogWindowsAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Datadog.Agent" + ] + }, + "type": { + "enum": [ + "DatadogWindowsAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + } + }, + "required": [ + "api_key" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "dockerExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Extensions" + ] + }, + "type": { + "enum": [ + "DockerExtension" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "docker": { + "type": "object", + "properties": { + "port": { + "type": "string" + } + }, + "required": [ + "port" + ] + } + }, + "required": [ + "docker" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "certs": { + "type": "object", + "properties": { + "ca": { + "type": "string" + }, + "cert": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "ca", + "cert", + "key" + ] + } + }, + "required": [ + "certs" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "dynatraceLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "dynatrace.ruxit" + ] + }, + "type": { + "enum": [ + "ruxitAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "tenantId", + "token" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "dynatraceWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "dynatrace.ruxit" + ] + }, + "type": { + "enum": [ + "ruxitAgentWindows" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "tenantId", + "token" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "eset": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "ESET" + ] + }, + "type": { + "enum": [ + "FileSecurity" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "LicenseKey": { + "type": "string" + }, + "Install-RealtimeProtection": { + "type": "boolean" + }, + "Install-ProtocolFiltering": { + "type": "boolean" + }, + "Install-DeviceControl": { + "type": "boolean" + }, + "Enable-Cloud": { + "type": "boolean" + }, + "Enable-PUA": { + "type": "boolean" + }, + "ERAAgentCfgUrl": { + "type": "string" + } + }, + "required": [ + "LicenseKey", + "Install-RealtimeProtection", + "Install-ProtocolFiltering", + "Install-DeviceControl", + "Enable-Cloud", + "Enable-PUA", + "ERAAgentCfgUrl" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "hpeSecurityApplicationDefender": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "HPE.Security.ApplicationDefender" + ] + }, + "type": { + "enum": [ + "DotnetAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "protectedSettings": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "serverURL": { + "type": "string" + } + }, + "required": [ + "key", + "serverURL" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "protectedSettings" + ] + }, + "puppetAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Puppet" + ] + }, + "type": { + "enum": [ + "PuppetAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "protectedSettings": { + "type": "object", + "properties": { + "PUPPET_MASTER_SERVER": { + "type": "string" + } + }, + "required": [ + "PUPPET_MASTER_SERVER" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "protectedSettings" + ] + }, + "site24x7LinuxServerExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7LinuxServerExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnlinuxserver" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "site24x7WindowsServerExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7WindowsServerExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnwindowsserver" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "site24x7ApmInsightExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7ApmInsightExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnapminsightclassic" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "trendMicroDSALinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "TrendMicro.DeepSecurity" + ] + }, + "type": { + "enum": [ + "TrendMicroDSALinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "DSMname": { + "type": "string" + }, + "DSMport": { + "type": "string" + }, + "policyNameorID": { + "type": "string" + } + }, + "required": [ + "DSMname", + "DSMport" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "tenantID": { + "type": "string" + }, + "tenantPassword": { + "type": "string" + } + }, + "required": [ + "tenantID", + "tenantPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "trendMicroDSA": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "TrendMicro.DeepSecurity" + ] + }, + "type": { + "enum": [ + "TrendMicroDSA" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "DSMname": { + "type": "string" + }, + "DSMport": { + "type": "string" + }, + "policyNameorID": { + "type": "string" + } + }, + "required": [ + "DSMname", + "DSMport" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "tenantID": { + "type": "string" + }, + "tenantPassword": { + "type": "string" + } + }, + "required": [ + "tenantID", + "tenantPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "bmcCtmAgentLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "ctm.bmc.com" + ] + }, + "type": { + "enum": [ + "BmcCtmAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "Control-M Server Name": { + "type": "string" + }, + "Agent Port": { + "type": "string" + }, + "Host Group": { + "type": "string" + }, + "User Account": { + "type": "string" + } + }, + "required": [ + "Control-M Server Name", + "Agent Port", + "Host Group", + "User Account" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "bmcCtmAgentWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "bmc.ctm" + ] + }, + "type": { + "enum": [ + "AgentWinExt" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "Control-M Server Name": { + "type": "string" + }, + "Agent Port": { + "type": "string" + }, + "Host Group": { + "type": "string" + } + }, + "required": [ + "Control-M Server Name", + "Agent Port", + "Host Group" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "OSPatchingForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "OSPatchingForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "disabled": { + "type": "boolean" + }, + "stop": { + "type": "boolean" + }, + "installDuration": { + "type": "string" + }, + "intervalOfWeeks": { + "type": "number" + }, + "dayOfWeek": { + "type": "string" + }, + "startTime": { + "type": "string" + }, + "rebootAfterPatch": { + "type": "string" + }, + "category": { + "type": "string" + }, + "oneoff": { + "type": "boolean" + }, + "local": { + "type": "boolean" + }, + "idleTestScript": { + "type": "string" + }, + "healthyTestScript": { + "type": "string" + }, + "distUpgradeList": { + "type": "string" + }, + "distUpgradeAll": { + "type": "boolean" + }, + "vmStatusTest": { + "type": "object" + } + }, + "required": [ + "disabled", + "stop" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "VMSnapshot": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.RecoveryServices" + ] + }, + "type": { + "enum": [ + "VMSnapshot" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "locale": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + }, + "objectStr": { + "type": "string" + }, + "logsBlobUri": { + "type": "string" + }, + "statusBlobUri": { + "type": "string" + }, + "commandStartTimeUTCTicks": { + "type": "string" + }, + "vmType": { + "type": "string" + } + }, + "required": [ + "locale", + "taskId", + "commandToExecute", + "objectStr", + "logsBlobUri", + "statusBlobUri", + "commandStartTimeUTCTicks", + "vmType" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "VMSnapshotLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.RecoveryServices" + ] + }, + "type": { + "enum": [ + "VMSnapshotLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "locale": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + }, + "objectStr": { + "type": "string" + }, + "logsBlobUri": { + "type": "string" + }, + "statusBlobUri": { + "type": "string" + }, + "commandStartTimeUTCTicks": { + "type": "string" + }, + "vmType": { + "type": "string" + } + }, + "required": [ + "locale", + "taskId", + "commandToExecute", + "objectStr", + "logsBlobUri", + "statusBlobUri", + "commandStartTimeUTCTicks", + "vmType" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "customScript": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Extensions" + ] + }, + "type": { + "enum": [ + "CustomScript" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "fileUris" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey", + "commandToExecute" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "networkWatcherAgentWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.NetworkWatcher" + ] + }, + "type": { + "enum": [ + "NetworkWatcherAgentWindows" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + }, + "networkWatcherAgentLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.NetworkWatcher" + ] + }, + "type": { + "enum": [ + "NetworkWatcherAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + } + } +} diff --git a/schemas/2021-04-01/Microsoft.Compute.json b/schemas/2021-04-01/Microsoft.Compute.json new file mode 100644 index 0000000000..a27df2266e --- /dev/null +++ b/schemas/2021-04-01/Microsoft.Compute.json @@ -0,0 +1,6716 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Compute", + "description": "Microsoft Compute Resource Types", + "resourceDefinitions": { + "availabilitySets": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the availability set." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AvailabilitySetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance view of a resource." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name." + }, + "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.Compute/availabilitySets" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/availabilitySets" + }, + "capacityReservationGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the capacity reservation group." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "capacity reservation group Properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/capacityReservationGroups_capacityReservations_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.Compute/capacityReservationGroups" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/capacityReservationGroups" + }, + "capacityReservationGroups_capacityReservations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the capacity reservation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Capacity reservation." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name." + }, + "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.Compute/capacityReservationGroups/capacityReservations" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations" + }, + "hostGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the dedicated host group." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DedicatedHostGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Dedicated Host Group Properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/hostGroups_hosts_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.Compute/hostGroups" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/hostGroups" + }, + "hostGroups_hosts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the dedicated host ." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DedicatedHostProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the dedicated host." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name." + }, + "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.Compute/hostGroups/hosts" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Compute/hostGroups/hosts" + }, + "images": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-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." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the image." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ImageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of an Image." + }, + "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.Compute/images" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/images" + }, + "proximityPlacementGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the proximity placement group." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProximityPlacementGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Proximity Placement Group." + }, + "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.Compute/proximityPlacementGroups" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/proximityPlacementGroups" + }, + "restorePointCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the restore point collection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The restore point collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/restorePointCollections_restorePoints_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.Compute/restorePointCollections" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/restorePointCollections" + }, + "restorePointCollections_restorePoints": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the restore point." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The restore point properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/restorePointCollections/restorePoints" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/restorePointCollections/restorePoints" + }, + "sshPublicKeys": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the SSH public key." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SshPublicKeyResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the SSH public key." + }, + "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.Compute/sshPublicKeys" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/sshPublicKeys" + }, + "virtualMachines": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-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/VirtualMachineIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the virtual machine." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine." + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/Plan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/virtualMachines_extensions_childResource" + }, + { + "$ref": "#/definitions/virtualMachines_runCommands_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.Compute/virtualMachines" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The virtual machine zones." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines" + }, + "virtualMachineScaleSets": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-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/VirtualMachineScaleSetIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the virtual machine scale set." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the VM scale set to create or update." + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/Plan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Scale Set." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource" + }, + { + "$ref": "#/definitions/virtualMachineScaleSets_virtualmachines_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name." + }, + "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.Compute/virtualMachineScaleSets" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set" + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets" + }, + "virtualMachineScaleSets_virtualmachines": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The instance ID of the virtual machine." + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/Plan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a virtual machine scale set virtual machine." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource" + }, + { + "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_runCommands_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.Compute/virtualMachineScaleSets/virtualmachines" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines" + }, + "virtualMachineScaleSets_virtualMachines_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the virtual machine extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Extension." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions" + }, + "virtualMachineScaleSets_virtualMachines_runCommands": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine run command." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine run command." + }, + "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.Compute/virtualMachineScaleSets/virtualMachines/runCommands" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands" + }, + "virtualMachines_runCommands": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine run command." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine run command." + }, + "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.Compute/virtualMachines/runCommands" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines/runCommands" + } + }, + "definitions": { + "AdditionalCapabilities": { + "type": "object", + "properties": { + "ultraSSDEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled." + } + }, + "description": "Enables or disables a capability on the virtual machine or virtual machine scale set." + }, + "AdditionalUnattendContent": { + "type": "object", + "properties": { + "componentName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Microsoft-Windows-Shell-Setup" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup." + }, + "content": { + "type": "string", + "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted." + }, + "passName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OobeSystem" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The pass name. Currently, the only allowable value is OobeSystem." + }, + "settingName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AutoLogon", + "FirstLogonCommands" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon." + } + }, + "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied." + }, + "ApiEntityReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..." + } + }, + "description": "The API entity reference." + }, + "AutomaticOSUpgradePolicy": { + "type": "object", + "properties": { + "disableAutomaticRollback": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether OS image rollback feature should be disabled. Default value is false." + }, + "enableAutomaticOSUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.

If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true." + } + }, + "description": "The configuration parameters used for performing automatic OS upgrade." + }, + "AutomaticRepairsPolicy": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false." + }, + "gracePeriod": { + "type": "string", + "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M)." + } + }, + "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set." + }, + "AvailabilitySetProperties": { + "type": "object", + "properties": { + "platformFaultDomainCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Fault Domain count." + }, + "platformUpdateDomainCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Update Domain count." + }, + "proximityPlacementGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "virtualMachines": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of references to all virtual machines in the availability set." + } + }, + "description": "The instance view of a resource." + }, + "BillingProfile": { + "type": "object", + "properties": { + "maxPrice": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.

This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.

The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.

Possible values are:

- Any decimal value greater than zero. Example: 0.01538

-1 – indicates default price to be up-to on-demand.

You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.

Minimum api-version: 2019-03-01." + } + }, + "description": "Specifies the billing related details of a Azure Spot VM or VMSS.

Minimum api-version: 2019-03-01." + }, + "BootDiagnostics": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether boot diagnostics should be enabled on the Virtual Machine." + }, + "storageUri": { + "type": "string", + "description": "Uri of the storage account to use for placing the console output and screenshot.

If storageUri is not specified while enabling boot diagnostics, managed storage will be used." + } + }, + "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

You can easily view the output of your console log.

Azure also enables you to see a screenshot of the VM from the hypervisor." + }, + "CapacityReservationGroupProperties": { + "type": "object", + "properties": {}, + "description": "capacity reservation group Properties." + }, + "capacityReservationGroups_capacityReservations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the capacity reservation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Capacity reservation." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name." + }, + "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": [ + "capacityReservations" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations" + }, + "CapacityReservationProfile": { + "type": "object", + "properties": { + "capacityReservationGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "The parameters of a capacity reservation Profile." + }, + "CapacityReservationProperties": { + "type": "object", + "properties": {}, + "description": "Properties of the Capacity reservation." + }, + "DataDisk": { + "type": "object", + "properties": { + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None for Standard storage. ReadOnly for Premium storage**." + }, + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FromImage", + "Empty", + "Attach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies how the virtual machine should be created.

Possible values are:

**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.

**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described." + }, + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether data disk should be deleted or detached upon VM deletion.

Possible values:

**Delete** If this value is used, the data disk is deleted when VM is deleted.

**Detach** If this value is used, the data disk is retained after VM is deleted.

The default value is set to **detach**." + }, + "detachOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ForceDetach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**.

detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior.

This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

This value cannot be larger than 1023 GB" + }, + "image": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a managed disk." + }, + "name": { + "type": "string", + "description": "The disk name." + }, + "toBeDetached": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset" + }, + "vhd": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "writeAcceleratorEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + } + }, + "required": [ + "createOption", + "lun" + ], + "description": "Describes a data disk." + }, + "DedicatedHostGroupProperties": { + "type": "object", + "properties": { + "platformFaultDomainCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of fault domains that the host group can span." + }, + "supportAutomaticPlacement": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.

Minimum api-version: 2020-06-01." + } + }, + "required": [ + "platformFaultDomainCount" + ], + "description": "Dedicated Host Group Properties." + }, + "DedicatedHostProperties": { + "type": "object", + "properties": { + "autoReplaceOnFailure": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided." + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Windows_Server_Hybrid", + "Windows_Server_Perpetual" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.

Possible values are:

**None**

**Windows_Server_Hybrid**

**Windows_Server_Perpetual**

Default: **None**." + }, + "platformFaultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Fault domain of the dedicated host within a dedicated host group." + } + }, + "description": "Properties of the dedicated host." + }, + "DiagnosticsProfile": { + "type": "object", + "properties": { + "bootDiagnostics": { + "oneOf": [ + { + "$ref": "#/definitions/BootDiagnostics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

You can easily view the output of your console log.

Azure also enables you to see a screenshot of the VM from the hypervisor." + } + }, + "description": "Specifies the boot diagnostic settings state.

Minimum api-version: 2015-06-15." + }, + "DiffDiskSettings": { + "type": "object", + "properties": { + "option": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Local" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the ephemeral disk settings for operating system disk." + }, + "placement": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CacheDisk", + "ResourceDisk" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the ephemeral disk placement for operating system disk.

Possible values are:

**CacheDisk**

**ResourceDisk**

Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used.

Refer to VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk." + } + }, + "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.

NOTE: The ephemeral disk settings can only be specified for managed disk." + }, + "DiskEncryptionSetParameters": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + }, + "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.

NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details." + }, + "DiskEncryptionSettings": { + "type": "object", + "properties": { + "diskEncryptionKey": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultSecretReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a reference to Key Vault Secret" + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether disk encryption should be enabled on the virtual machine." + }, + "keyEncryptionKey": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultKeyReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a reference to Key Vault Key" + } + }, + "description": "Describes a Encryption Settings for a Disk" + }, + "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." + }, + "HardwareProfile": { + "type": "object", + "properties": { + "vmSize": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic_A0", + "Basic_A1", + "Basic_A2", + "Basic_A3", + "Basic_A4", + "Standard_A0", + "Standard_A1", + "Standard_A2", + "Standard_A3", + "Standard_A4", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A9", + "Standard_A10", + "Standard_A11", + "Standard_A1_v2", + "Standard_A2_v2", + "Standard_A4_v2", + "Standard_A8_v2", + "Standard_A2m_v2", + "Standard_A4m_v2", + "Standard_A8m_v2", + "Standard_B1s", + "Standard_B1ms", + "Standard_B2s", + "Standard_B2ms", + "Standard_B4ms", + "Standard_B8ms", + "Standard_D1", + "Standard_D2", + "Standard_D3", + "Standard_D4", + "Standard_D11", + "Standard_D12", + "Standard_D13", + "Standard_D14", + "Standard_D1_v2", + "Standard_D2_v2", + "Standard_D3_v2", + "Standard_D4_v2", + "Standard_D5_v2", + "Standard_D2_v3", + "Standard_D4_v3", + "Standard_D8_v3", + "Standard_D16_v3", + "Standard_D32_v3", + "Standard_D64_v3", + "Standard_D2s_v3", + "Standard_D4s_v3", + "Standard_D8s_v3", + "Standard_D16s_v3", + "Standard_D32s_v3", + "Standard_D64s_v3", + "Standard_D11_v2", + "Standard_D12_v2", + "Standard_D13_v2", + "Standard_D14_v2", + "Standard_D15_v2", + "Standard_DS1", + "Standard_DS2", + "Standard_DS3", + "Standard_DS4", + "Standard_DS11", + "Standard_DS12", + "Standard_DS13", + "Standard_DS14", + "Standard_DS1_v2", + "Standard_DS2_v2", + "Standard_DS3_v2", + "Standard_DS4_v2", + "Standard_DS5_v2", + "Standard_DS11_v2", + "Standard_DS12_v2", + "Standard_DS13_v2", + "Standard_DS14_v2", + "Standard_DS15_v2", + "Standard_DS13-4_v2", + "Standard_DS13-2_v2", + "Standard_DS14-8_v2", + "Standard_DS14-4_v2", + "Standard_E2_v3", + "Standard_E4_v3", + "Standard_E8_v3", + "Standard_E16_v3", + "Standard_E32_v3", + "Standard_E64_v3", + "Standard_E2s_v3", + "Standard_E4s_v3", + "Standard_E8s_v3", + "Standard_E16s_v3", + "Standard_E32s_v3", + "Standard_E64s_v3", + "Standard_E32-16_v3", + "Standard_E32-8s_v3", + "Standard_E64-32s_v3", + "Standard_E64-16s_v3", + "Standard_F1", + "Standard_F2", + "Standard_F4", + "Standard_F8", + "Standard_F16", + "Standard_F1s", + "Standard_F2s", + "Standard_F4s", + "Standard_F8s", + "Standard_F16s", + "Standard_F2s_v2", + "Standard_F4s_v2", + "Standard_F8s_v2", + "Standard_F16s_v2", + "Standard_F32s_v2", + "Standard_F64s_v2", + "Standard_F72s_v2", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5", + "Standard_GS1", + "Standard_GS2", + "Standard_GS3", + "Standard_GS4", + "Standard_GS5", + "Standard_GS4-8", + "Standard_GS4-4", + "Standard_GS5-16", + "Standard_GS5-8", + "Standard_H8", + "Standard_H16", + "Standard_H8m", + "Standard_H16m", + "Standard_H16r", + "Standard_H16mr", + "Standard_L4s", + "Standard_L8s", + "Standard_L16s", + "Standard_L32s", + "Standard_M64s", + "Standard_M64ms", + "Standard_M128s", + "Standard_M128ms", + "Standard_M64-32ms", + "Standard_M64-16ms", + "Standard_M128-64ms", + "Standard_M128-32ms", + "Standard_NC6", + "Standard_NC12", + "Standard_NC24", + "Standard_NC24r", + "Standard_NC6s_v2", + "Standard_NC12s_v2", + "Standard_NC24s_v2", + "Standard_NC24rs_v2", + "Standard_NC6s_v3", + "Standard_NC12s_v3", + "Standard_NC24s_v3", + "Standard_NC24rs_v3", + "Standard_ND6s", + "Standard_ND12s", + "Standard_ND24s", + "Standard_ND24rs", + "Standard_NV6", + "Standard_NV12", + "Standard_NV24" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the size of the virtual machine.

The enum data type is currently deprecated and will be removed by December 23rd 2023.

Recommended way to get the list of available sizes is using these APIs:

[List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)

[List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list)

[List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes).

The available VM sizes depend on region and availability set." + } + }, + "description": "Specifies the hardware settings for the virtual machine." + }, + "hostGroups_hosts_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the dedicated host ." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DedicatedHostProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the dedicated host." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name." + }, + "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": [ + "hosts" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Compute/hostGroups/hosts" + }, + "ImageDataDisk": { + "type": "object", + "properties": { + "blobUri": { + "type": "string", + "description": "The Virtual Hard Disk." + }, + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None for Standard storage. ReadOnly for Premium storage**." + }, + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.

NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.

This value cannot be larger than 1023 GB" + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "snapshot": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk." + } + }, + "required": [ + "lun" + ], + "description": "Describes a data disk." + }, + "ImageOSDisk": { + "type": "object", + "properties": { + "blobUri": { + "type": "string", + "description": "The Virtual Hard Disk." + }, + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None for Standard storage. ReadOnly for Premium storage**." + }, + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.

NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.

This value cannot be larger than 1023 GB" + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "osState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Generalized", + "Specialized" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The OS State." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.

Possible values are:

**Windows**

**Linux**." + }, + "snapshot": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk." + } + }, + "required": [ + "osState", + "osType" + ], + "description": "Describes an Operating System disk." + }, + "ImageProperties": { + "type": "object", + "properties": { + "hyperVGeneration": { + "oneOf": [ + { + "type": "string", + "enum": [ + "V1", + "V2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource." + }, + "sourceVirtualMachine": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ImageStorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a storage profile." + } + }, + "description": "Describes the properties of an Image." + }, + "ImageReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + }, + "offer": { + "type": "string", + "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine." + }, + "publisher": { + "type": "string", + "description": "The image publisher." + }, + "sku": { + "type": "string", + "description": "The image SKU." + }, + "version": { + "type": "string", + "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available." + } + }, + "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set." + }, + "ImageStorageProfile": { + "type": "object", + "properties": { + "dataDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ImageDataDisk" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the parameters that are used to add a data disk to a virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)." + }, + "osDisk": { + "oneOf": [ + { + "$ref": "#/definitions/ImageOSDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes an Operating System disk." + }, + "zoneResilient": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS)." + } + }, + "description": "Describes a storage profile." + }, + "InstanceViewStatus": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The status code." + }, + "displayStatus": { + "type": "string", + "description": "The short localizable label for the status." + }, + "level": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Info", + "Warning", + "Error" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The level code." + }, + "message": { + "type": "string", + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "The time of the status." + } + }, + "description": "Instance view status." + }, + "KeyVaultKeyReference": { + "type": "object", + "properties": { + "keyUrl": { + "type": "string", + "description": "The URL referencing a key encryption key in Key Vault." + }, + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "keyUrl", + "sourceVault" + ], + "description": "Describes a reference to Key Vault Key" + }, + "KeyVaultSecretReference": { + "type": "object", + "properties": { + "secretUrl": { + "type": "string", + "description": "The URL referencing a secret in a Key Vault." + }, + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "secretUrl", + "sourceVault" + ], + "description": "Describes a reference to Key Vault Secret" + }, + "LinuxConfiguration": { + "type": "object", + "properties": { + "disablePasswordAuthentication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether password authentication should be disabled." + }, + "patchSettings": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxPatchSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies settings related to VM Guest Patching on Linux." + }, + "provisionVMAgent": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.

When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later." + }, + "ssh": { + "oneOf": [ + { + "$ref": "#/definitions/SshConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SSH configuration for Linux based VMs running on Azure" + } + }, + "description": "Specifies the Linux operating system settings on the virtual machine.

For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros)." + }, + "LinuxPatchSettings": { + "type": "object", + "properties": { + "assessmentMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true." + }, + "patchMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**ImageDefault** - The virtual machine's default patching configuration is used.

**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true." + } + }, + "description": "Specifies settings related to VM Guest Patching on Linux." + }, + "ManagedDiskParameters": { + "type": "object", + "properties": { + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.

NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details." + }, + "id": { + "type": "string", + "description": "Resource Id" + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk." + } + }, + "description": "The parameters of a managed disk." + }, + "NetworkInterfaceReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkInterfaceReferenceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a network interface reference properties." + } + }, + "description": "Describes a network interface reference." + }, + "NetworkInterfaceReferenceProperties": { + "type": "object", + "properties": { + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the network interface when the VM is deleted." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + } + }, + "description": "Describes a network interface reference properties." + }, + "NetworkProfile": { + "type": "object", + "properties": { + "networkApiVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "2020-11-01" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations." + }, + "networkInterfaceConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the networking configurations that will be used to create the virtual machine networking resources." + }, + "networkInterfaces": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterfaceReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine." + } + }, + "description": "Specifies the network interfaces or the networking configuration of the virtual machine." + }, + "OSDisk": { + "type": "object", + "properties": { + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements.

Possible values are:

**None**

**ReadOnly**

**ReadWrite**

Default: **None** for Standard storage. **ReadOnly** for Premium storage." + }, + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FromImage", + "Empty", + "Attach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies how the virtual machine should be created.

Possible values are:

**Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.

**FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described." + }, + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether OS Disk should be deleted or detached upon VM deletion.

Possible values:

**Delete** If this value is used, the OS disk is deleted when VM is deleted.

**Detach** If this value is used, the os disk is retained after VM is deleted.

The default value is set to **detach**. For an ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for ephemeral OS Disk." + }, + "diffDiskSettings": { + "oneOf": [ + { + "$ref": "#/definitions/DiffDiskSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.

NOTE: The ephemeral disk settings can only be specified for managed disk." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

This value cannot be larger than 1023 GB" + }, + "encryptionSettings": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a Encryption Settings for a Disk" + }, + "image": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a managed disk." + }, + "name": { + "type": "string", + "description": "The disk name." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.

Possible values are:

**Windows**

**Linux**." + }, + "vhd": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "writeAcceleratorEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + } + }, + "required": [ + "createOption" + ], + "description": "Specifies information about the operating system disk used by the virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)." + }, + "OSProfile": { + "type": "object", + "properties": { + "adminPassword": { + "type": "string", + "description": "Specifies the password of the administrator account.

**Minimum-length (Windows):** 8 characters

**Minimum-length (Linux):** 6 characters

**Max-length (Windows):** 123 characters

**Max-length (Linux):** 72 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!\"

For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)

For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)" + }, + "adminUsername": { + "type": "string", + "description": "Specifies the name of the administrator account.

This property cannot be updated after the VM is created.

**Windows-only 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 (Linux):** 1 character

**Max-length (Linux):** 64 characters

**Max-length (Windows):** 20 characters." + }, + "allowExtensionOperations": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether extension operations should be allowed on the virtual machine.

This may only be set to False when no extensions are present on the virtual machine." + }, + "computerName": { + "type": "string", + "description": "Specifies the host OS name of the virtual machine.

This name cannot be updated after the VM is created.

**Max-length (Windows):** 15 characters

**Max-length (Linux):** 64 characters.

For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules)." + }, + "customData": { + "type": "string", + "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.

**Note: Do not pass any secrets or passwords in customData property**

This property cannot be updated after the VM is created.

customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/)

For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)" + }, + "linuxConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Linux operating system settings on the virtual machine.

For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros)." + }, + "requireGuestProvisionSignal": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the guest provision signal is required to infer provision success of the virtual machine. **Note: This property is for private testing only, and all customers must not set the property to false.**" + }, + "secrets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)." + }, + "windowsConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/WindowsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies Windows operating system settings on the virtual machine." + } + }, + "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned." + }, + "PatchSettings": { + "type": "object", + "properties": { + "assessmentMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true." + }, + "enableHotpatching": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'." + }, + "patchMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Manual", + "AutomaticByOS", + "AutomaticByPlatform" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false

**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.

**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true." + } + }, + "description": "Specifies settings related to VM Guest Patching on Windows." + }, + "Plan": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The plan ID." + }, + "product": { + "type": "string", + "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element." + }, + "promotionCode": { + "type": "string", + "description": "The promotion code." + }, + "publisher": { + "type": "string", + "description": "The publisher ID." + } + }, + "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**." + }, + "ProximityPlacementGroupProperties": { + "type": "object", + "properties": { + "colocationStatus": { + "oneOf": [ + { + "$ref": "#/definitions/InstanceViewStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Instance view status." + }, + "proximityPlacementGroupType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "Ultra" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the type of the proximity placement group.

Possible values are:

**Standard** : Co-locate resources within an Azure region or Availability Zone.

**Ultra** : For future use." + } + }, + "description": "Describes the properties of a Proximity Placement Group." + }, + "PublicIPAddressSku": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic", + "Standard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify public IP sku name." + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Regional", + "Global" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify public IP sku tier." + } + }, + "description": "Describes the public IP Sku" + }, + "RestorePointCollectionProperties": { + "type": "object", + "properties": { + "source": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointCollectionSourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the source resource that this restore point collection is created from." + } + }, + "description": "The restore point collection properties." + }, + "RestorePointCollectionSourceProperties": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id of the source resource used to create this restore point collection" + } + }, + "description": "The properties of the source resource that this restore point collection is created from." + }, + "restorePointCollections_restorePoints_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the restore point." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The restore point properties." + }, + "type": { + "type": "string", + "enum": [ + "restorePoints" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/restorePointCollections/restorePoints" + }, + "RestorePointProperties": { + "type": "object", + "properties": { + "excludeDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ApiEntityReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included." + } + }, + "description": "The restore point properties." + }, + "RollingUpgradePolicy": { + "type": "object", + "properties": { + "enableCrossZoneUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size." + }, + "maxBatchInstancePercent": { + "oneOf": [ + { + "type": "integer", + "minimum": 5, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%." + }, + "maxUnhealthyInstancePercent": { + "oneOf": [ + { + "type": "integer", + "minimum": 5, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%." + }, + "maxUnhealthyUpgradedInstancePercent": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%." + }, + "pauseTimeBetweenBatches": { + "type": "string", + "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S)." + }, + "prioritizeUnhealthyInstances": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Upgrade all unhealthy instances in a scale set before any healthy instances." + } + }, + "description": "The configuration parameters used while performing a rolling upgrade." + }, + "RunCommandInputParameter": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The run command parameter name." + }, + "value": { + "type": "string", + "description": "The run command parameter value." + } + }, + "required": [ + "name", + "value" + ], + "description": "Describes the properties of a run command parameter." + }, + "ScaleInPolicy": { + "type": "object", + "properties": { + "rules": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Default", + "OldestVM", + "NewestVM" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The rules to be followed when scaling-in a virtual machine scale set.

Possible values are:

**Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.

**OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.

**NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.

" + } + }, + "description": "Describes a scale-in policy for a virtual machine scale set." + }, + "ScheduledEventsProfile": { + "type": "object", + "properties": { + "terminateNotificationProfile": { + "oneOf": [ + { + "$ref": "#/definitions/TerminateNotificationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "SecurityProfile": { + "type": "object", + "properties": { + "encryptionAtHost": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.

Default: The Encryption at host will be disabled unless this property is set to true for the resource." + }, + "securityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TrustedLaunch" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings.

Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch." + }, + "uefiSettings": { + "oneOf": [ + { + "$ref": "#/definitions/UefiSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.

Minimum api-version: 2020-12-01" + } + }, + "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set." + }, + "Sku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the number of virtual machines in the scale set." + }, + "name": { + "type": "string", + "description": "The sku name." + }, + "tier": { + "type": "string", + "description": "Specifies the tier of virtual machines in a scale set.

Possible Values:

**Standard**

**Basic**" + } + }, + "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name." + }, + "SpotRestorePolicy": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints" + }, + "restoreTimeout": { + "type": "string", + "description": "Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances" + } + }, + "description": "Specifies the Spot-Try-Restore properties for the virtual machine scale set.

With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint." + }, + "SshConfiguration": { + "type": "object", + "properties": { + "publicKeys": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SshPublicKey" + } + }, + { + "$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." + } + }, + "description": "SSH configuration for Linux based VMs running on Azure" + }, + "SshPublicKey": { + "type": "object", + "properties": { + "keyData": { + "type": "string", + "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)." + }, + "path": { + "type": "string", + "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys" + } + }, + "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed." + }, + "SshPublicKeyResourceProperties": { + "type": "object", + "properties": { + "publicKey": { + "type": "string", + "description": "SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format." + } + }, + "description": "Properties of the SSH public key." + }, + "StorageProfile": { + "type": "object", + "properties": { + "dataDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataDisk" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the parameters that are used to add a data disk to a virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)." + }, + "imageReference": { + "oneOf": [ + { + "$ref": "#/definitions/ImageReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set." + }, + "osDisk": { + "oneOf": [ + { + "$ref": "#/definitions/OSDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies information about the operating system disk used by the virtual machine.

For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)." + } + }, + "description": "Specifies the storage settings for the virtual machine disks." + }, + "SubResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + } + }, + "TerminateNotificationProfile": { + "type": "object", + "properties": { + "enable": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the Terminate Scheduled event is enabled or disabled." + }, + "notBeforeTimeout": { + "type": "string", + "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)" + } + } + }, + "UefiSettings": { + "type": "object", + "properties": { + "secureBootEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether secure boot should be enabled on the virtual machine.

Minimum api-version: 2020-12-01" + }, + "vTpmEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether vTPM should be enabled on the virtual machine.

Minimum api-version: 2020-12-01" + } + }, + "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.

Minimum api-version: 2020-12-01" + }, + "UpgradePolicy": { + "type": "object", + "properties": { + "automaticOSUpgradePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/AutomaticOSUpgradePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration parameters used for performing automatic OS upgrade." + }, + "mode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Automatic", + "Manual", + "Rolling" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mode of an upgrade to virtual machines in the scale set.

Possible values are:

**Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.

**Automatic** - All virtual machines in the scale set are automatically updated at the same time." + }, + "rollingUpgradePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/RollingUpgradePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration parameters used while performing a rolling upgrade." + } + }, + "description": "Describes an upgrade policy - automatic, manual, or rolling." + }, + "UserAssignedIdentitiesValue": { + "type": "object", + "properties": {} + }, + "VaultCertificate": { + "type": "object", + "properties": { + "certificateStore": { + "type": "string", + "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted." + }, + "certificateUrl": { + "type": "string", + "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:

{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)." + } + }, + "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM." + }, + "VaultSecretGroup": { + "type": "object", + "properties": { + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "vaultCertificates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultCertificate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of key vault references in SourceVault which contain certificates." + } + }, + "description": "Describes a set of certificates which are all in the same Key Vault." + }, + "VirtualHardDisk": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "description": "Specifies the virtual hard disk's uri." + } + }, + "description": "Describes the uri of a disk." + }, + "VirtualMachineExtensionInstanceView": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The virtual machine extension name." + }, + "statuses": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource status information." + }, + "substatuses": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource status information." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "description": "The instance view of a virtual machine extension." + }, + "VirtualMachineExtensionProperties": { + "type": "object", + "properties": { + "autoUpgradeMinorVersion": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "enableAutomaticUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available." + }, + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "instanceView": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineExtensionInstanceView" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance view of a virtual machine extension." + }, + "protectedSettings": { + "type": "object", + "properties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "settings": { + "type": "object", + "properties": {}, + "description": "Json formatted public settings for the extension." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "description": "Describes the properties of a Virtual Machine Extension." + }, + "VirtualMachineIdentity": { + "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": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentitiesValue" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the virtual machine." + }, + "VirtualMachineIpTag": { + "type": "object", + "properties": { + "ipTagType": { + "type": "string", + "description": "IP tag type. Example: FirstPartyUsage." + }, + "tag": { + "type": "string", + "description": "IP tag associated with the public IP. Example: SQL, Storage etc." + } + }, + "description": "Contains the IP tag associated with the public IP address." + }, + "VirtualMachineNetworkInterfaceConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The network interface configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine network profile's IP configuration." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machine network interface configurations." + }, + "VirtualMachineNetworkInterfaceConfigurationProperties": { + "type": "object", + "properties": { + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the network interface when the VM is deleted." + }, + "dnsSettings": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceDnsSettingsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines network configuration's DNS settings." + }, + "dscpConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is accelerated networking-enabled." + }, + "enableFpga": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is FPGA networking-enabled." + }, + "enableIPForwarding": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether IP forwarding enabled on this NIC." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the IP configurations of the network interface." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + } + }, + "required": [ + "ipConfigurations" + ], + "description": "Describes a virtual machine network profile's IP configuration." + }, + "VirtualMachineNetworkInterfaceDnsSettingsConfiguration": { + "type": "object", + "properties": { + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of DNS servers IP addresses" + } + }, + "description": "Describes a virtual machines network configuration's DNS settings." + }, + "VirtualMachineNetworkInterfaceIPConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The IP configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine network interface IP configuration properties." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machine network profile's IP configuration." + }, + "VirtualMachineNetworkInterfaceIPConfigurationProperties": { + "type": "object", + "properties": { + "applicationGatewayBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway." + }, + "applicationSecurityGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of references to application security group." + }, + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer]." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + }, + "privateIPAddressVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + }, + "publicIPAddressConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachinePublicIPAddressConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration" + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Describes a virtual machine network interface IP configuration properties." + }, + "VirtualMachineProperties": { + "type": "object", + "properties": { + "additionalCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/AdditionalCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables or disables a capability on the virtual machine or virtual machine scale set." + }, + "availabilitySet": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "billingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/BillingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the billing related details of a Azure Spot VM or VMSS.

Minimum api-version: 2019-03-01." + }, + "capacityReservation": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a capacity reservation Profile." + }, + "diagnosticsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the boot diagnostic settings state.

Minimum api-version: 2015-06-15." + }, + "evictionPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Deallocate", + "Delete" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.

For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.

For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview." + }, + "extensionsTimeBudget": { + "type": "string", + "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).

Minimum api-version: 2020-06-01" + }, + "hardwareProfile": { + "oneOf": [ + { + "$ref": "#/definitions/HardwareProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the hardware settings for the virtual machine." + }, + "host": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "hostGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "licenseType": { + "type": "string", + "description": "Specifies that the image or disk that is being used was licensed on-premises.

Possible values for Windows Server operating system are:

Windows_Client

Windows_Server

Possible values for Linux Server operating system are:

RHEL_BYOS (for RHEL)

SLES_BYOS (for SUSE)

For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

Minimum api-version: 2015-06-15" + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the network interfaces or the networking configuration of the virtual machine." + }, + "osProfile": { + "oneOf": [ + { + "$ref": "#/definitions/OSProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned." + }, + "platformFaultDomain": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.
  • This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.
  • The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' > 1.
  • This property cannot be updated once the Virtual Machine is created.
  • Fault domain assignment can be viewed in the Virtual Machine Instance View.

    Minimum api‐version: 2020‐12‐01" + }, + "priority": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Regular", + "Low", + "Spot" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the priority for the virtual machine.

    Minimum api-version: 2019-03-01." + }, + "proximityPlacementGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "scheduledEventsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduledEventsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set." + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/StorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage settings for the virtual machine disks." + }, + "userData": { + "type": "string", + "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.

    Minimum api-version: 2021-03-01" + }, + "virtualMachineScaleSet": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Describes the properties of a Virtual Machine." + }, + "VirtualMachinePublicIPAddressConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The publicIP address configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachinePublicIPAddressConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIPAddressSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the public IP Sku" + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration" + }, + "VirtualMachinePublicIPAddressConfigurationProperties": { + "type": "object", + "properties": { + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the public IP address when the VM is deleted." + }, + "dnsSettings": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachinePublicIPAddressDnsSettingsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines network configuration's DNS settings." + }, + "idleTimeoutInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The idle timeout of the public IP address." + }, + "ipTags": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineIpTag" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of IP tags associated with the public IP address." + }, + "publicIPAddressVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + }, + "publicIPAllocationMethod": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Dynamic", + "Static" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify the public IP allocation type." + }, + "publicIPPrefix": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration" + }, + "VirtualMachinePublicIPAddressDnsSettingsConfiguration": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID." + } + }, + "required": [ + "domainNameLabel" + ], + "description": "Describes a virtual machines network configuration's DNS settings." + }, + "VirtualMachineRunCommandProperties": { + "type": "object", + "properties": { + "asyncExecution": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete." + }, + "errorBlobUri": { + "type": "string", + "description": "Specifies the Azure storage blob where script error stream will be uploaded." + }, + "outputBlobUri": { + "type": "string", + "description": "Specifies the Azure storage blob where script output stream will be uploaded." + }, + "parameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RunCommandInputParameter" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters used by the script." + }, + "protectedParameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RunCommandInputParameter" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters used by the script." + }, + "runAsPassword": { + "type": "string", + "description": "Specifies the user account password on the VM when executing the run command." + }, + "runAsUser": { + "type": "string", + "description": "Specifies the user account on the VM when executing the run command." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandScriptSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the script sources for run command." + }, + "timeoutInSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The timeout in seconds to execute the run command." + } + }, + "description": "Describes the properties of a Virtual Machine run command." + }, + "VirtualMachineRunCommandScriptSource": { + "type": "object", + "properties": { + "commandId": { + "type": "string", + "description": "Specifies a commandId of predefined built-in script." + }, + "script": { + "type": "string", + "description": "Specifies the script content to be executed on the VM." + }, + "scriptUri": { + "type": "string", + "description": "Specifies the script download location." + } + }, + "description": "Describes the script sources for run command." + }, + "VirtualMachineScaleSetDataDisk": { + "type": "object", + "properties": { + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements.

    Possible values are:

    **None**

    **ReadOnly**

    **ReadWrite**

    Default: **None for Standard storage. ReadOnly for Premium storage**." + }, + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FromImage", + "Empty", + "Attach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The create option." + }, + "diskIOPSReadWrite": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB." + }, + "diskMBpsReadWrite": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

    This value cannot be larger than 1023 GB" + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameters of a ScaleSet managed disk." + }, + "name": { + "type": "string", + "description": "The disk name." + }, + "writeAcceleratorEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + } + }, + "required": [ + "createOption", + "lun" + ], + "description": "Describes a virtual machine scale set data disk." + }, + "VirtualMachineScaleSetExtension": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the extension." + }, + "properties": { + "anyOf": [ + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/chefClient" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/eset" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/customScript" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux" + } + ] + } + }, + "description": "Describes a Virtual Machine Scale Set Extension." + }, + "VirtualMachineScaleSetExtensionProfile": { + "type": "object", + "properties": { + "extensions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetExtension" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The virtual machine scale set child extension resources." + }, + "extensionsTimeBudget": { + "type": "string", + "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).

    Minimum api-version: 2020-06-01" + } + }, + "description": "Describes a virtual machine scale set extension profile." + }, + "VirtualMachineScaleSetExtensionProperties": { + "type": "object", + "properties": { + "autoUpgradeMinorVersion": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "enableAutomaticUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available." + }, + "forceUpdateTag": { + "type": "string", + "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed." + }, + "protectedSettings": { + "type": "object", + "properties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "provisionAfterExtensions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of extension names after which this extension needs to be provisioned." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "settings": { + "type": "object", + "properties": {}, + "description": "Json formatted public settings for the extension." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + }, + "VirtualMachineScaleSetIdentity": { + "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": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the virtual machine scale set." + }, + "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue": { + "type": "object", + "properties": {} + }, + "VirtualMachineScaleSetIPConfiguration": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + }, + "name": { + "type": "string", + "description": "The IP configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set network profile's IP configuration properties." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machine scale set network profile's IP configuration." + }, + "VirtualMachineScaleSetIPConfigurationProperties": { + "type": "object", + "properties": { + "applicationGatewayBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway." + }, + "applicationSecurityGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of references to application security group." + }, + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer." + }, + "loadBalancerInboundNatPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + }, + "privateIPAddressVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + }, + "publicIPAddressConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration" + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/ApiEntityReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The API entity reference." + } + }, + "description": "Describes a virtual machine scale set network profile's IP configuration properties." + }, + "VirtualMachineScaleSetIpTag": { + "type": "object", + "properties": { + "ipTagType": { + "type": "string", + "description": "IP tag type. Example: FirstPartyUsage." + }, + "tag": { + "type": "string", + "description": "IP tag associated with the public IP. Example: SQL, Storage etc." + } + }, + "description": "Contains the IP tag associated with the public IP address." + }, + "VirtualMachineScaleSetManagedDiskParameters": { + "type": "object", + "properties": { + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.

    NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk." + } + }, + "description": "Describes the parameters of a ScaleSet managed disk." + }, + "VirtualMachineScaleSetNetworkConfiguration": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + }, + "name": { + "type": "string", + "description": "The network configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set network profile's IP configuration." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machine scale set network profile's network configurations." + }, + "VirtualMachineScaleSetNetworkConfigurationDnsSettings": { + "type": "object", + "properties": { + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of DNS servers IP addresses" + } + }, + "description": "Describes a virtual machines scale sets network configuration's DNS settings." + }, + "VirtualMachineScaleSetNetworkConfigurationProperties": { + "type": "object", + "properties": { + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the network interface when the VM is deleted." + }, + "dnsSettings": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines scale sets network configuration's DNS settings." + }, + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is accelerated networking-enabled." + }, + "enableFpga": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is FPGA networking-enabled." + }, + "enableIPForwarding": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether IP forwarding enabled on this NIC." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the IP configurations of the network interface." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + } + }, + "required": [ + "ipConfigurations" + ], + "description": "Describes a virtual machine scale set network profile's IP configuration." + }, + "VirtualMachineScaleSetNetworkProfile": { + "type": "object", + "properties": { + "healthProbe": { + "oneOf": [ + { + "$ref": "#/definitions/ApiEntityReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The API entity reference." + }, + "networkApiVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "2020-11-01" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'." + }, + "networkInterfaceConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of network configurations." + } + }, + "description": "Describes a virtual machine scale set network profile." + }, + "VirtualMachineScaleSetOSDisk": { + "type": "object", + "properties": { + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements.

    Possible values are:

    **None**

    **ReadOnly**

    **ReadWrite**

    Default: **None for Standard storage. ReadOnly for Premium storage**." + }, + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FromImage", + "Empty", + "Attach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies how the virtual machines in the scale set should be created.

    The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described." + }, + "diffDiskSettings": { + "oneOf": [ + { + "$ref": "#/definitions/DiffDiskSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.

    NOTE: The ephemeral disk settings can only be specified for managed disk." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

    This value cannot be larger than 1023 GB" + }, + "image": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameters of a ScaleSet managed disk." + }, + "name": { + "type": "string", + "description": "The disk name." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.

    Possible values are:

    **Windows**

    **Linux**." + }, + "vhdContainers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the container urls that are used to store operating system disks for the scale set." + }, + "writeAcceleratorEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + } + }, + "required": [ + "createOption" + ], + "description": "Describes a virtual machine scale set operating system disk." + }, + "VirtualMachineScaleSetOSProfile": { + "type": "object", + "properties": { + "adminPassword": { + "type": "string", + "description": "Specifies the password of the administrator account.

    **Minimum-length (Windows):** 8 characters

    **Minimum-length (Linux):** 6 characters

    **Max-length (Windows):** 123 characters

    **Max-length (Linux):** 72 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!\"

    For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)

    For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)" + }, + "adminUsername": { + "type": "string", + "description": "Specifies the name of the administrator account.

    **Windows-only 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 (Linux):** 1 character

    **Max-length (Linux):** 64 characters

    **Max-length (Windows):** 20 characters" + }, + "computerNamePrefix": { + "type": "string", + "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long." + }, + "customData": { + "type": "string", + "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.

    For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)" + }, + "linuxConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Linux operating system settings on the virtual machine.

    For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros)." + }, + "secrets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)." + }, + "windowsConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/WindowsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies Windows operating system settings on the virtual machine." + } + }, + "description": "Describes a virtual machine scale set OS profile." + }, + "VirtualMachineScaleSetProperties": { + "type": "object", + "properties": { + "additionalCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/AdditionalCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables or disables a capability on the virtual machine or virtual machine scale set." + }, + "automaticRepairsPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/AutomaticRepairsPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set." + }, + "doNotRunExtensionsOnOverprovisionedVMs": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs." + }, + "hostGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "orchestrationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Uniform", + "Flexible" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the orchestration mode for the virtual machine scale set." + }, + "overprovision": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned." + }, + "platformFaultDomainCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Fault Domain count for each placement group." + }, + "proximityPlacementGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "scaleInPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ScaleInPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a scale-in policy for a virtual machine scale set." + }, + "singlePlacementGroup": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true." + }, + "spotRestorePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/SpotRestorePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Spot-Try-Restore properties for the virtual machine scale set.

    With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint." + }, + "upgradePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/UpgradePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes an upgrade policy - automatic, manual, or rolling." + }, + "virtualMachineProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set virtual machine profile." + }, + "zoneBalance": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set." + } + }, + "description": "Describes the properties of a Virtual Machine Scale Set." + }, + "VirtualMachineScaleSetPublicIPAddressConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The publicIP address configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIPAddressSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the public IP Sku" + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration" + }, + "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created" + } + }, + "required": [ + "domainNameLabel" + ], + "description": "Describes a virtual machines scale sets network configuration's DNS settings." + }, + "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": { + "type": "object", + "properties": { + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the public IP when the VM is deleted." + }, + "dnsSettings": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines scale sets network configuration's DNS settings." + }, + "idleTimeoutInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The idle timeout of the public IP address." + }, + "ipTags": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetIpTag" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of IP tags associated with the public IP address." + }, + "publicIPAddressVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + }, + "publicIPPrefix": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration" + }, + "VirtualMachineScaleSetStorageProfile": { + "type": "object", + "properties": { + "dataDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetDataDisk" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.

    For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)." + }, + "imageReference": { + "oneOf": [ + { + "$ref": "#/definitions/ImageReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set." + }, + "osDisk": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetOSDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set operating system disk." + } + }, + "description": "Describes a virtual machine scale set storage profile." + }, + "virtualMachineScaleSets_extensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the VM scale set extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + }, + "type": { + "type": "string", + "enum": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/extensions" + }, + "virtualMachineScaleSets_virtualmachines_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The instance ID of the virtual machine." + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/Plan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a virtual machine scale set virtual machine." + }, + "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": [ + "virtualmachines" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines" + }, + "virtualMachineScaleSets_virtualMachines_extensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the virtual machine extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Extension." + }, + "type": { + "type": "string", + "enum": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions" + }, + "virtualMachineScaleSets_virtualMachines_runCommands_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine run command." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine run command." + }, + "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": [ + "runCommands" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands" + }, + "VirtualMachineScaleSetVMNetworkProfileConfiguration": { + "type": "object", + "properties": { + "networkInterfaceConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of network configurations." + } + }, + "description": "Describes a virtual machine scale set VM network profile." + }, + "VirtualMachineScaleSetVMProfile": { + "type": "object", + "properties": { + "billingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/BillingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the billing related details of a Azure Spot VM or VMSS.

    Minimum api-version: 2019-03-01." + }, + "capacityReservation": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a capacity reservation Profile." + }, + "diagnosticsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the boot diagnostic settings state.

    Minimum api-version: 2015-06-15." + }, + "evictionPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Deallocate", + "Delete" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.

    For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.

    For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview." + }, + "extensionProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set extension profile." + }, + "licenseType": { + "type": "string", + "description": "Specifies that the image or disk that is being used was licensed on-premises.

    Possible values for Windows Server operating system are:

    Windows_Client

    Windows_Server

    Possible values for Linux Server operating system are:

    RHEL_BYOS (for RHEL)

    SLES_BYOS (for SUSE)

    For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

    [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

    Minimum api-version: 2015-06-15" + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set network profile." + }, + "osProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetOSProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set OS profile." + }, + "priority": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Regular", + "Low", + "Spot" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the priority for the virtual machines in the scale set.

    Minimum api-version: 2017-10-30-preview." + }, + "scheduledEventsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduledEventsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set." + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set storage profile." + }, + "userData": { + "type": "string", + "description": "UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here.

    Minimum api-version: 2021-03-01" + } + }, + "description": "Describes a virtual machine scale set virtual machine profile." + }, + "VirtualMachineScaleSetVMProperties": { + "type": "object", + "properties": { + "additionalCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/AdditionalCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables or disables a capability on the virtual machine or virtual machine scale set." + }, + "availabilitySet": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "diagnosticsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the boot diagnostic settings state.

    Minimum api-version: 2015-06-15." + }, + "hardwareProfile": { + "oneOf": [ + { + "$ref": "#/definitions/HardwareProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the hardware settings for the virtual machine." + }, + "licenseType": { + "type": "string", + "description": "Specifies that the image or disk that is being used was licensed on-premises.

    Possible values for Windows Server operating system are:

    Windows_Client

    Windows_Server

    Possible values for Linux Server operating system are:

    RHEL_BYOS (for RHEL)

    SLES_BYOS (for SUSE)

    For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

    [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

    Minimum api-version: 2015-06-15" + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the network interfaces or the networking configuration of the virtual machine." + }, + "networkProfileConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set VM network profile." + }, + "osProfile": { + "oneOf": [ + { + "$ref": "#/definitions/OSProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned." + }, + "protectionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The protection policy of a virtual machine scale set VM." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set." + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/StorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage settings for the virtual machine disks." + }, + "userData": { + "type": "string", + "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.

    Minimum api-version: 2021-03-01" + } + }, + "description": "Describes the properties of a virtual machine scale set virtual machine." + }, + "VirtualMachineScaleSetVMProtectionPolicy": { + "type": "object", + "properties": { + "protectFromScaleIn": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation." + }, + "protectFromScaleSetActions": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM." + } + }, + "description": "The protection policy of a virtual machine scale set VM." + }, + "virtualMachines_extensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine extension." + }, + "properties": { + "anyOf": [ + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/chefClient" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/eset" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/customScript" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux" + } + ] + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines/extensions" + }, + "virtualMachines_runCommands_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine run command." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine run command." + }, + "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": [ + "runCommands" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines/runCommands" + }, + "WindowsConfiguration": { + "type": "object", + "properties": { + "additionalUnattendContent": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalUnattendContent" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup." + }, + "enableAutomaticUpdates": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true.

    For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning." + }, + "patchSettings": { + "oneOf": [ + { + "$ref": "#/definitions/PatchSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies settings related to VM Guest Patching on Windows." + }, + "provisionVMAgent": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.

    When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later." + }, + "timeZone": { + "type": "string", + "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\".

    Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones)." + }, + "winRM": { + "oneOf": [ + { + "$ref": "#/definitions/WinRMConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes Windows Remote Management configuration of the VM" + } + }, + "description": "Specifies Windows operating system settings on the virtual machine." + }, + "WinRMConfiguration": { + "type": "object", + "properties": { + "listeners": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/WinRMListener" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Windows Remote Management listeners" + } + }, + "description": "Describes Windows Remote Management configuration of the VM" + }, + "WinRMListener": { + "type": "object", + "properties": { + "certificateUrl": { + "type": "string", + "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:

    {
    \"data\":\"\",
    \"dataType\":\"pfx\",
    \"password\":\"\"
    }
    To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Http", + "Https" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the protocol of WinRM listener.

    Possible values are:
    **http**

    **https**." + } + }, + "description": "Describes Protocol and thumbprint of Windows Remote Management listener" + } + } +} diff --git a/schemas/2021-07-01/Microsoft.Compute.Extensions.json b/schemas/2021-07-01/Microsoft.Compute.Extensions.json new file mode 100644 index 0000000000..fdb906edb9 --- /dev/null +++ b/schemas/2021-07-01/Microsoft.Compute.Extensions.json @@ -0,0 +1,2321 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Compute.Extensions", + "description": "Microsoft Compute Extensions Resource Types", + "resourceDefinitions": { + "virtualMachines_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine extension." + }, + "properties": { + "anyOf": [ + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/chefClient" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/eset" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/customScript" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux" + } + ] + }, + "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.Compute/virtualMachines/extensions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines/extensions" + }, + "virtualMachineScaleSets_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the VM scale set extension." + }, + "properties": { + "anyOf": [ + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/chefClient" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/eset" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/customScript" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachineScaleSets/extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/extensions" + } + }, + "definitions": { + "genericExtension": { + "type": "object", + "properties": { + "publisher": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Publisher" + }, + "type": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Type" + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1, + "description": "Microsoft.Compute/extensions - Type handler version" + }, + "settings": { + "oneOf": [ + { + "type": "object" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Microsoft.Compute/extensions - Settings" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "settings" + ] + }, + "iaaSDiagnostics": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Diagnostics" + ] + }, + "type": { + "enum": [ + "IaaSDiagnostics" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "xmlCfg": { + "type": "string" + }, + "StorageAccount": { + "type": "string" + } + }, + "required": [ + "xmlCfg", + "StorageAccount" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "storageAccountEndPoint": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey", + "storageAccountEndPoint" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "iaaSAntimalware": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Security" + ] + }, + "type": { + "enum": [ + "IaaSAntimalware" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "AntimalwareEnabled": { + "type": "boolean" + }, + "Exclusions": { + "type": "object", + "properties": { + "Paths": { + "type": "string" + }, + "Extensions": { + "type": "string" + }, + "Processes": { + "type": "string" + } + }, + "required": [ + "Paths", + "Extensions", + "Processes" + ] + }, + "RealtimeProtectionEnabled": { + "enum": [ + "true", + "false" + ] + }, + "ScheduledScanSettings": { + "type": "object", + "properties": { + "isEnabled": { + "enum": [ + "true", + "false" + ] + }, + "scanType": { + "type": "string" + }, + "day": { + "type": "string" + }, + "time": { + "type": "string" + } + }, + "required": [ + "isEnabled", + "scanType", + "day", + "time" + ] + } + }, + "required": [ + "AntimalwareEnabled", + "Exclusions", + "RealtimeProtectionEnabled", + "ScheduledScanSettings" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "customScriptExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "CustomScriptExtension" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + }, + "commandToExecute": { + "type": "string" + } + }, + "required": [ + "commandToExecute" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "customScriptForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "CustomScriptForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "commandToExecute": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + }, + "required": [ + "commandToExecute" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "linuxDiagnostic": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "LinuxDiagnostic" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "enableSyslog": { + "type": "string" + }, + "mdsdHttpProxy": { + "type": "string" + }, + "perCfg": { + "type": "array" + }, + "fileCfg": { + "type": "array" + }, + "xmlCfg": { + "type": "string" + }, + "ladCfg": { + "type": "object" + }, + "syslogCfg": { + "type": "string" + }, + "eventVolume": { + "type": "string" + }, + "mdsdCfg": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "mdsdHttpProxy": { + "type": "string" + }, + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "storageAccountEndPoint": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "vmAccessForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "VMAccessForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "check_disk": { + "type": "boolean" + }, + "repair_disk": { + "type": "boolean" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + }, + "ssh_key": { + "type": "string" + }, + "reset_ssh": { + "type": "string" + }, + "remove_user": { + "type": "string" + }, + "expiration": { + "type": "string" + } + }, + "required": [ + "username", + "password", + "ssh_key", + "reset_ssh", + "remove_user", + "expiration" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "bgInfo": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "bginfo" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + }, + "vmAccessAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Compute" + ] + }, + "type": { + "enum": [ + "VMAccessAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "username": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "password": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "dscExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Powershell" + ] + }, + "type": { + "enum": [ + "DSC" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "modulesUrl": { + "type": "string" + }, + "configurationFunction": { + "type": "string" + }, + "properties": { + "type": "string" + }, + "wmfVersion": { + "type": "string" + }, + "privacy": { + "type": "object", + "properties": { + "dataCollection": { + "type": "string" + } + } + } + }, + "required": [ + "modulesUrl", + "configurationFunction" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "dataBlobUri": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "acronisBackupLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Acronis.Backup" + ] + }, + "type": { + "enum": [ + "AcronisBackupLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "absURL": { + "type": "string" + } + }, + "required": [ + "absURL" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "userLogin": { + "type": "string" + }, + "userPassword": { + "type": "string" + } + }, + "required": [ + "userLogin", + "userPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "acronisBackup": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Acronis.Backup" + ] + }, + "type": { + "enum": [ + "AcronisBackup" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "absURL": { + "type": "string" + } + }, + "required": [ + "absURL" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "userLogin": { + "type": "string" + }, + "userPassword": { + "type": "string" + } + }, + "required": [ + "userLogin", + "userPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "linuxChefClient": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Chef.Bootstrap.WindowsAzure" + ] + }, + "type": { + "enum": [ + "LinuxChefClient" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "bootstrap_version": { + "type": "string" + }, + "bootstrap_options": { + "type": "object", + "properties": { + "chef_node_name": { + "type": "string" + }, + "chef_server_url": { + "type": "string" + }, + "validation_client_name": { + "type": "string" + }, + "node_ssl_verify_mode": { + "type": "string" + }, + "environment": { + "type": "string" + } + }, + "required": [ + "chef_node_name", + "chef_server_url", + "validation_client_name", + "node_ssl_verify_mode", + "environment" + ] + }, + "runlist": { + "type": "string" + }, + "client_rb": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "validation_key": { + "type": "string" + }, + "chef_server_crt": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "validation_key", + "chef_server_crt", + "secret" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "chefClient": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Chef.Bootstrap.WindowsAzure" + ] + }, + "type": { + "enum": [ + "ChefClient" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "bootstrap_options": { + "type": "object", + "properties": { + "chef_node_name": { + "type": "string" + }, + "chef_server_url": { + "type": "string" + }, + "validation_client_name": { + "type": "string" + }, + "node_ssl_verify_mode": { + "type": "string" + }, + "environment": { + "type": "string" + } + }, + "required": [ + "chef_node_name", + "chef_server_url", + "validation_client_name", + "node_ssl_verify_mode", + "environment" + ] + }, + "runlist": { + "type": "string" + }, + "client_rb": { + "type": "string" + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "validation_key": { + "type": "string" + }, + "chef_server_crt": { + "type": "string" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "validation_key", + "chef_server_crt", + "secret" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "datadogLinuxAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Datadog.Agent" + ] + }, + "type": { + "enum": [ + "DatadogLinuxAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + } + }, + "required": [ + "api_key" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "datadogWindowsAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Datadog.Agent" + ] + }, + "type": { + "enum": [ + "DatadogWindowsAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "api_key": { + "type": "string" + } + }, + "required": [ + "api_key" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "dockerExtension": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Extensions" + ] + }, + "type": { + "enum": [ + "DockerExtension" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "docker": { + "type": "object", + "properties": { + "port": { + "type": "string" + } + }, + "required": [ + "port" + ] + } + }, + "required": [ + "docker" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "certs": { + "type": "object", + "properties": { + "ca": { + "type": "string" + }, + "cert": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "required": [ + "ca", + "cert", + "key" + ] + } + }, + "required": [ + "certs" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "dynatraceLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "dynatrace.ruxit" + ] + }, + "type": { + "enum": [ + "ruxitAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "tenantId", + "token" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "dynatraceWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "dynatrace.ruxit" + ] + }, + "type": { + "enum": [ + "ruxitAgentWindows" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "tenantId": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "tenantId", + "token" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "eset": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "ESET" + ] + }, + "type": { + "enum": [ + "FileSecurity" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "LicenseKey": { + "type": "string" + }, + "Install-RealtimeProtection": { + "type": "boolean" + }, + "Install-ProtocolFiltering": { + "type": "boolean" + }, + "Install-DeviceControl": { + "type": "boolean" + }, + "Enable-Cloud": { + "type": "boolean" + }, + "Enable-PUA": { + "type": "boolean" + }, + "ERAAgentCfgUrl": { + "type": "string" + } + }, + "required": [ + "LicenseKey", + "Install-RealtimeProtection", + "Install-ProtocolFiltering", + "Install-DeviceControl", + "Enable-Cloud", + "Enable-PUA", + "ERAAgentCfgUrl" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "hpeSecurityApplicationDefender": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "HPE.Security.ApplicationDefender" + ] + }, + "type": { + "enum": [ + "DotnetAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "protectedSettings": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "serverURL": { + "type": "string" + } + }, + "required": [ + "key", + "serverURL" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "protectedSettings" + ] + }, + "puppetAgent": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Puppet" + ] + }, + "type": { + "enum": [ + "PuppetAgent" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "protectedSettings": { + "type": "object", + "properties": { + "PUPPET_MASTER_SERVER": { + "type": "string" + } + }, + "required": [ + "PUPPET_MASTER_SERVER" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "protectedSettings" + ] + }, + "site24x7LinuxServerExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7LinuxServerExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnlinuxserver" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "site24x7WindowsServerExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7WindowsServerExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnwindowsserver" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "site24x7ApmInsightExtn": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Site24x7" + ] + }, + "type": { + "enum": [ + "Site24x7ApmInsightExtn" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "site24x7AgentType": { + "enum": [ + "azurevmextnapminsightclassic" + ] + } + } + }, + "protectedSettings": { + "type": "object", + "properties": { + "site24x7LicenseKey": { + "type": "string" + } + }, + "required": [ + "site24x7LicenseKey" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "trendMicroDSALinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "TrendMicro.DeepSecurity" + ] + }, + "type": { + "enum": [ + "TrendMicroDSALinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "DSMname": { + "type": "string" + }, + "DSMport": { + "type": "string" + }, + "policyNameorID": { + "type": "string" + } + }, + "required": [ + "DSMname", + "DSMport" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "tenantID": { + "type": "string" + }, + "tenantPassword": { + "type": "string" + } + }, + "required": [ + "tenantID", + "tenantPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "trendMicroDSA": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "TrendMicro.DeepSecurity" + ] + }, + "type": { + "enum": [ + "TrendMicroDSA" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "DSMname": { + "type": "string" + }, + "DSMport": { + "type": "string" + }, + "policyNameorID": { + "type": "string" + } + }, + "required": [ + "DSMname", + "DSMport" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "tenantID": { + "type": "string" + }, + "tenantPassword": { + "type": "string" + } + }, + "required": [ + "tenantID", + "tenantPassword" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "bmcCtmAgentLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "ctm.bmc.com" + ] + }, + "type": { + "enum": [ + "BmcCtmAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "Control-M Server Name": { + "type": "string" + }, + "Agent Port": { + "type": "string" + }, + "Host Group": { + "type": "string" + }, + "User Account": { + "type": "string" + } + }, + "required": [ + "Control-M Server Name", + "Agent Port", + "Host Group", + "User Account" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "bmcCtmAgentWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "bmc.ctm" + ] + }, + "type": { + "enum": [ + "AgentWinExt" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "Control-M Server Name": { + "type": "string" + }, + "Agent Port": { + "type": "string" + }, + "Host Group": { + "type": "string" + } + }, + "required": [ + "Control-M Server Name", + "Agent Port", + "Host Group" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "OSPatchingForLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.OSTCExtensions" + ] + }, + "type": { + "enum": [ + "OSPatchingForLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "disabled": { + "type": "boolean" + }, + "stop": { + "type": "boolean" + }, + "installDuration": { + "type": "string" + }, + "intervalOfWeeks": { + "type": "number" + }, + "dayOfWeek": { + "type": "string" + }, + "startTime": { + "type": "string" + }, + "rebootAfterPatch": { + "type": "string" + }, + "category": { + "type": "string" + }, + "oneoff": { + "type": "boolean" + }, + "local": { + "type": "boolean" + }, + "idleTestScript": { + "type": "string" + }, + "healthyTestScript": { + "type": "string" + }, + "distUpgradeList": { + "type": "string" + }, + "distUpgradeAll": { + "type": "boolean" + }, + "vmStatusTest": { + "type": "object" + } + }, + "required": [ + "disabled", + "stop" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + } + } + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "VMSnapshot": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.RecoveryServices" + ] + }, + "type": { + "enum": [ + "VMSnapshot" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "locale": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + }, + "objectStr": { + "type": "string" + }, + "logsBlobUri": { + "type": "string" + }, + "statusBlobUri": { + "type": "string" + }, + "commandStartTimeUTCTicks": { + "type": "string" + }, + "vmType": { + "type": "string" + } + }, + "required": [ + "locale", + "taskId", + "commandToExecute", + "objectStr", + "logsBlobUri", + "statusBlobUri", + "commandStartTimeUTCTicks", + "vmType" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "VMSnapshotLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.RecoveryServices" + ] + }, + "type": { + "enum": [ + "VMSnapshotLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "locale": { + "type": "string" + }, + "taskId": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + }, + "objectStr": { + "type": "string" + }, + "logsBlobUri": { + "type": "string" + }, + "statusBlobUri": { + "type": "string" + }, + "commandStartTimeUTCTicks": { + "type": "string" + }, + "vmType": { + "type": "string" + } + }, + "required": [ + "locale", + "taskId", + "commandToExecute", + "objectStr", + "logsBlobUri", + "statusBlobUri", + "commandStartTimeUTCTicks", + "vmType" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings" + ] + }, + "customScript": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.Extensions" + ] + }, + "type": { + "enum": [ + "CustomScript" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + }, + "settings": { + "type": "object", + "properties": { + "fileUris": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "fileUris" + ] + }, + "protectedSettings": { + "type": "object", + "properties": { + "storageAccountName": { + "type": "string" + }, + "storageAccountKey": { + "type": "string" + }, + "commandToExecute": { + "type": "string" + } + }, + "required": [ + "storageAccountName", + "storageAccountKey", + "commandToExecute" + ] + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion", + "settings", + "protectedSettings" + ] + }, + "networkWatcherAgentWindows": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.NetworkWatcher" + ] + }, + "type": { + "enum": [ + "NetworkWatcherAgentWindows" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + }, + "networkWatcherAgentLinux": { + "type": "object", + "properties": { + "publisher": { + "enum": [ + "Microsoft.Azure.NetworkWatcher" + ] + }, + "type": { + "enum": [ + "NetworkWatcherAgentLinux" + ] + }, + "typeHandlerVersion": { + "type": "string", + "minLength": 1 + }, + "autoUpgradeMinorVersion": { + "type": "boolean" + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion", + "autoUpgradeMinorVersion" + ] + } + } +} diff --git a/schemas/2021-07-01/Microsoft.Compute.json b/schemas/2021-07-01/Microsoft.Compute.json new file mode 100644 index 0000000000..27232b1d4c --- /dev/null +++ b/schemas/2021-07-01/Microsoft.Compute.json @@ -0,0 +1,8370 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Compute", + "description": "Microsoft Compute Resource Types", + "resourceDefinitions": { + "availabilitySets": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the availability set." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AvailabilitySetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance view of a resource." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name." + }, + "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.Compute/availabilitySets" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/availabilitySets" + }, + "capacityReservationGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the capacity reservation group." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "capacity reservation group Properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/capacityReservationGroups_capacityReservations_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.Compute/capacityReservationGroups" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/capacityReservationGroups" + }, + "capacityReservationGroups_capacityReservations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the capacity reservation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Capacity reservation." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name." + }, + "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.Compute/capacityReservationGroups/capacityReservations" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations" + }, + "galleries": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Shared Image Gallery." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/galleries_images_childResource" + }, + { + "$ref": "#/definitions/galleries_applications_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.Compute/galleries" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries" + }, + "galleries_applications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery Application Definition." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/galleries_applications_versions_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.Compute/galleries/applications" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/applications" + }, + "galleries_applications_versions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationVersionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image version." + }, + "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.Compute/galleries/applications/versions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/applications/versions" + }, + "galleries_images": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image definition." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/galleries_images_versions_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.Compute/galleries/images" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/images" + }, + "galleries_images_versions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image version." + }, + "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.Compute/galleries/images/versions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/images/versions" + }, + "hostGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the dedicated host group." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DedicatedHostGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Dedicated Host Group Properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/hostGroups_hosts_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.Compute/hostGroups" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/hostGroups" + }, + "hostGroups_hosts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the dedicated host ." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DedicatedHostProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the dedicated host." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name." + }, + "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.Compute/hostGroups/hosts" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Compute/hostGroups/hosts" + }, + "images": { + "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." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the image." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ImageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of an Image." + }, + "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.Compute/images" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/images" + }, + "proximityPlacementGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the proximity placement group." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProximityPlacementGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Proximity Placement Group." + }, + "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.Compute/proximityPlacementGroups" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/proximityPlacementGroups" + }, + "restorePointCollections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the restore point collection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointCollectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The restore point collection properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/restorePointCollections_restorePoints_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.Compute/restorePointCollections" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/restorePointCollections" + }, + "restorePointCollections_restorePoints": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the restore point." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The restore point properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/restorePointCollections/restorePoints" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/restorePointCollections/restorePoints" + }, + "sshPublicKeys": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the SSH public key." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SshPublicKeyResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the SSH public key." + }, + "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.Compute/sshPublicKeys" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/sshPublicKeys" + }, + "virtualMachines": { + "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/VirtualMachineIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the virtual machine." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine." + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/Plan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/virtualMachines_extensions_childResource" + }, + { + "$ref": "#/definitions/virtualMachines_runCommands_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.Compute/virtualMachines" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The virtual machine zones." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines" + }, + "virtualMachineScaleSets": { + "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/VirtualMachineScaleSetIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the virtual machine scale set." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the VM scale set to create or update." + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/Plan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Scale Set." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/virtualMachineScaleSets_extensions_childResource" + }, + { + "$ref": "#/definitions/virtualMachineScaleSets_virtualmachines_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name." + }, + "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.Compute/virtualMachineScaleSets" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set" + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets" + }, + "virtualMachineScaleSets_virtualmachines": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The instance ID of the virtual machine." + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/Plan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a virtual machine scale set virtual machine." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_extensions_childResource" + }, + { + "$ref": "#/definitions/virtualMachineScaleSets_virtualMachines_runCommands_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.Compute/virtualMachineScaleSets/virtualmachines" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines" + }, + "virtualMachineScaleSets_virtualMachines_extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the virtual machine extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Extension." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions" + }, + "virtualMachineScaleSets_virtualMachines_runCommands": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine run command." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine run command." + }, + "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.Compute/virtualMachineScaleSets/virtualMachines/runCommands" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands" + }, + "virtualMachines_runCommands": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine run command." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine run command." + }, + "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.Compute/virtualMachines/runCommands" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines/runCommands" + } + }, + "definitions": { + "AdditionalCapabilities": { + "type": "object", + "properties": { + "hibernationEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag that enables or disables hibernation capability on the VM." + }, + "ultraSSDEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled." + } + }, + "description": "Enables or disables a capability on the virtual machine or virtual machine scale set." + }, + "AdditionalUnattendContent": { + "type": "object", + "properties": { + "componentName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Microsoft-Windows-Shell-Setup" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup." + }, + "content": { + "type": "string", + "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted." + }, + "passName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OobeSystem" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The pass name. Currently, the only allowable value is OobeSystem." + }, + "settingName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AutoLogon", + "FirstLogonCommands" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon." + } + }, + "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied." + }, + "ApiEntityReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..." + } + }, + "description": "The API entity reference." + }, + "ApplicationProfile": { + "type": "object", + "properties": { + "galleryApplications": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VMGalleryApplication" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the gallery applications that should be made available to the VM/VMSS" + } + }, + "description": "Contains the list of gallery applications that should be made available to the VM/VMSS" + }, + "AutomaticOSUpgradePolicy": { + "type": "object", + "properties": { + "disableAutomaticRollback": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether OS image rollback feature should be disabled. Default value is false." + }, + "enableAutomaticOSUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.

    If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true." + } + }, + "description": "The configuration parameters used for performing automatic OS upgrade." + }, + "AutomaticRepairsPolicy": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false." + }, + "gracePeriod": { + "type": "string", + "description": "The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M)." + } + }, + "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set." + }, + "AvailabilitySetProperties": { + "type": "object", + "properties": { + "platformFaultDomainCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Fault Domain count." + }, + "platformUpdateDomainCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Update Domain count." + }, + "proximityPlacementGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "virtualMachines": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of references to all virtual machines in the availability set." + } + }, + "description": "The instance view of a resource." + }, + "BillingProfile": { + "type": "object", + "properties": { + "maxPrice": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars.

    This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price.

    The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.

    Possible values are:

    - Any decimal value greater than zero. Example: 0.01538

    -1 – indicates default price to be up-to on-demand.

    You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you.

    Minimum api-version: 2019-03-01." + } + }, + "description": "Specifies the billing related details of a Azure Spot VM or VMSS.

    Minimum api-version: 2019-03-01." + }, + "BootDiagnostics": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether boot diagnostics should be enabled on the Virtual Machine." + }, + "storageUri": { + "type": "string", + "description": "Uri of the storage account to use for placing the console output and screenshot.

    If storageUri is not specified while enabling boot diagnostics, managed storage will be used." + } + }, + "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

    You can easily view the output of your console log.

    Azure also enables you to see a screenshot of the VM from the hypervisor." + }, + "CapacityReservationGroupProperties": { + "type": "object", + "properties": {}, + "description": "capacity reservation group Properties." + }, + "capacityReservationGroups_capacityReservations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the capacity reservation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Capacity reservation." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name." + }, + "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": [ + "capacityReservations" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Compute/capacityReservationGroups/capacityReservations" + }, + "CapacityReservationProfile": { + "type": "object", + "properties": { + "capacityReservationGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "The parameters of a capacity reservation Profile." + }, + "CapacityReservationProperties": { + "type": "object", + "properties": {}, + "description": "Properties of the Capacity reservation." + }, + "DataDisk": { + "type": "object", + "properties": { + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements.

    Possible values are:

    **None**

    **ReadOnly**

    **ReadWrite**

    Default: **None for Standard storage. ReadOnly for Premium storage**." + }, + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FromImage", + "Empty", + "Attach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies how the virtual machine should be created.

    Possible values are:

    **Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.

    **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described." + }, + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether data disk should be deleted or detached upon VM deletion.

    Possible values:

    **Delete** If this value is used, the data disk is deleted when VM is deleted.

    **Detach** If this value is used, the data disk is retained after VM is deleted.

    The default value is set to **detach**." + }, + "detachOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ForceDetach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**.

    detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior.

    This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

    This value cannot be larger than 1023 GB" + }, + "image": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a managed disk." + }, + "name": { + "type": "string", + "description": "The disk name." + }, + "toBeDetached": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset" + }, + "vhd": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "writeAcceleratorEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + } + }, + "required": [ + "createOption", + "lun" + ], + "description": "Describes a data disk." + }, + "DataDiskImageEncryption": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "A relative URI containing the resource ID of the disk encryption set." + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine." + } + }, + "required": [ + "lun" + ], + "description": "Contains encryption settings for a data disk image." + }, + "DedicatedHostGroupProperties": { + "type": "object", + "properties": { + "platformFaultDomainCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of fault domains that the host group can span." + }, + "supportAutomaticPlacement": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided.

    Minimum api-version: 2020-06-01." + } + }, + "required": [ + "platformFaultDomainCount" + ], + "description": "Dedicated Host Group Properties." + }, + "DedicatedHostProperties": { + "type": "object", + "properties": { + "autoReplaceOnFailure": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided." + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Windows_Server_Hybrid", + "Windows_Server_Perpetual" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.

    Possible values are:

    **None**

    **Windows_Server_Hybrid**

    **Windows_Server_Perpetual**

    Default: **None**." + }, + "platformFaultDomain": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Fault domain of the dedicated host within a dedicated host group." + } + }, + "description": "Properties of the dedicated host." + }, + "DiagnosticsProfile": { + "type": "object", + "properties": { + "bootDiagnostics": { + "oneOf": [ + { + "$ref": "#/definitions/BootDiagnostics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status.

    You can easily view the output of your console log.

    Azure also enables you to see a screenshot of the VM from the hypervisor." + } + }, + "description": "Specifies the boot diagnostic settings state.

    Minimum api-version: 2015-06-15." + }, + "DiffDiskSettings": { + "type": "object", + "properties": { + "option": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Local" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the ephemeral disk settings for operating system disk." + }, + "placement": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CacheDisk", + "ResourceDisk" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the ephemeral disk placement for operating system disk.

    Possible values are:

    **CacheDisk**

    **ResourceDisk**

    Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used.

    Refer to VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk." + } + }, + "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.

    NOTE: The ephemeral disk settings can only be specified for managed disk." + }, + "Disallowed": { + "type": "object", + "properties": { + "diskTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of disk types." + } + }, + "description": "Describes the disallowed disk types." + }, + "DiskEncryptionSetParameters": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + }, + "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.

    NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details." + }, + "DiskEncryptionSettings": { + "type": "object", + "properties": { + "diskEncryptionKey": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultSecretReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a reference to Key Vault Secret" + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether disk encryption should be enabled on the virtual machine." + }, + "keyEncryptionKey": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultKeyReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a reference to Key Vault Key" + } + }, + "description": "Describes a Encryption Settings for a Disk" + }, + "EncryptionImages": { + "type": "object", + "properties": { + "dataDiskImages": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataDiskImageEncryption" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of encryption specifications for data disk images." + }, + "osDiskImage": { + "oneOf": [ + { + "$ref": "#/definitions/OSDiskImageEncryption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains encryption settings for an OS disk image." + } + }, + "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact." + }, + "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." + }, + "galleries_applications_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery Application Definition." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "applications" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/applications" + }, + "galleries_applications_versions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationVersionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image version." + }, + "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": [ + "versions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/applications/versions" + }, + "galleries_images_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image definition." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "images" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/images" + }, + "galleries_images_versions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a gallery image version." + }, + "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": [ + "versions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/galleries/images/versions" + }, + "GalleryApplicationProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The description of this gallery Application Definition resource. This property is updatable." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable." + }, + "eula": { + "type": "string", + "description": "The Eula agreement for the gallery Application Definition." + }, + "privacyStatementUri": { + "type": "string", + "description": "The privacy statement uri." + }, + "releaseNoteUri": { + "type": "string", + "description": "The release note uri." + }, + "supportedOSType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows you to specify the supported type of the OS that application is built for.

    Possible values are:

    **Windows**

    **Linux**." + } + }, + "required": [ + "supportedOSType" + ], + "description": "Describes the properties of a gallery Application Definition." + }, + "GalleryApplicationVersionProperties": { + "type": "object", + "properties": { + "publishingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The publishing profile of a gallery image version." + } + }, + "required": [ + "publishingProfile" + ], + "description": "Describes the properties of a gallery image version." + }, + "GalleryApplicationVersionPublishingProfile": { + "type": "object", + "properties": { + "enableHealthCheck": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. Whether or not this application reports health." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable." + }, + "excludeFromLatest": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version." + }, + "manageActions": { + "oneOf": [ + { + "$ref": "#/definitions/UserArtifactManage" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "replicaCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable." + }, + "replicationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Full", + "Shallow" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/UserArtifactSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source image from which the Image Version is going to be created." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Standard_ZRS", + "Premium_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type to be used to store the image. This property is not updatable." + }, + "targetRegions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TargetRegion" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target regions where the Image Version is going to be replicated to. This property is updatable." + } + }, + "required": [ + "source" + ], + "description": "The publishing profile of a gallery image version." + }, + "GalleryArtifactVersionSource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource." + }, + "uri": { + "type": "string", + "description": "The uri of the gallery artifact version source. Currently used to specify vhd/blob source." + } + }, + "description": "The gallery artifact version source." + }, + "GalleryDataDiskImage": { + "type": "object", + "properties": { + "hostCaching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'." + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryArtifactVersionSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The gallery artifact version source." + } + }, + "required": [ + "lun" + ], + "description": "This is the data disk image." + }, + "GalleryIdentifier": { + "type": "object", + "properties": {}, + "description": "Describes the gallery unique name." + }, + "GalleryImageFeature": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the gallery image feature." + }, + "value": { + "type": "string", + "description": "The value of the gallery image feature." + } + }, + "description": "A feature for gallery image." + }, + "GalleryImageIdentifier": { + "type": "object", + "properties": { + "offer": { + "type": "string", + "description": "The name of the gallery image definition offer." + }, + "publisher": { + "type": "string", + "description": "The name of the gallery image definition publisher." + }, + "sku": { + "type": "string", + "description": "The name of the gallery image definition SKU." + } + }, + "required": [ + "offer", + "publisher", + "sku" + ], + "description": "This is the gallery image definition identifier." + }, + "GalleryImageProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The description of this gallery image definition resource. This property is updatable." + }, + "disallowed": { + "oneOf": [ + { + "$ref": "#/definitions/Disallowed" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the disallowed disk types." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable." + }, + "eula": { + "type": "string", + "description": "The Eula agreement for the gallery image definition." + }, + "features": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryImageFeature" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of gallery image features." + }, + "hyperVGeneration": { + "oneOf": [ + { + "type": "string", + "enum": [ + "V1", + "V2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only." + }, + "identifier": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageIdentifier" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the gallery image definition identifier." + }, + "osState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Generalized", + "Specialized" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.

    Possible values are:

    **Windows**

    **Linux**." + }, + "privacyStatementUri": { + "type": "string", + "description": "The privacy statement uri." + }, + "purchasePlan": { + "oneOf": [ + { + "$ref": "#/definitions/ImagePurchasePlan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the gallery image definition purchase plan. This is used by marketplace images." + }, + "recommended": { + "oneOf": [ + { + "$ref": "#/definitions/RecommendedMachineConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable." + }, + "releaseNoteUri": { + "type": "string", + "description": "The release note uri." + } + }, + "required": [ + "identifier", + "osState", + "osType" + ], + "description": "Describes the properties of a gallery image definition." + }, + "GalleryImageVersionProperties": { + "type": "object", + "properties": { + "publishingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionPublishingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The publishing profile of a gallery image Version." + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryImageVersionStorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the storage profile of a Gallery Image Version." + } + }, + "required": [ + "storageProfile" + ], + "description": "Describes the properties of a gallery image version." + }, + "GalleryImageVersionPublishingProfile": { + "type": "object", + "properties": { + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable." + }, + "excludeFromLatest": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version." + }, + "replicaCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable." + }, + "replicationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Full", + "Shallow" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional parameter which specifies the mode to be used for replication. This property is not updatable." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Standard_ZRS", + "Premium_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type to be used to store the image. This property is not updatable." + }, + "targetRegions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TargetRegion" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target regions where the Image Version is going to be replicated to. This property is updatable." + } + }, + "description": "The publishing profile of a gallery image Version." + }, + "GalleryImageVersionStorageProfile": { + "type": "object", + "properties": { + "dataDiskImages": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryDataDiskImage" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of data disk images." + }, + "osDiskImage": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryOSDiskImage" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is the OS disk image." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryArtifactVersionSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The gallery artifact version source." + } + }, + "description": "This is the storage profile of a Gallery Image Version." + }, + "GalleryOSDiskImage": { + "type": "object", + "properties": { + "hostCaching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryArtifactVersionSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The gallery artifact version source." + } + }, + "description": "This is the OS disk image." + }, + "GalleryProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The description of this Shared Image Gallery resource. This property is updatable." + }, + "identifier": { + "oneOf": [ + { + "$ref": "#/definitions/GalleryIdentifier" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the gallery unique name." + }, + "sharingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SharingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile for gallery sharing to subscription or tenant" + }, + "softDeletePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/SoftDeletePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains information about the soft deletion policy of the gallery." + } + }, + "description": "Describes the properties of a Shared Image Gallery." + }, + "HardwareProfile": { + "type": "object", + "properties": { + "vmSize": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic_A0", + "Basic_A1", + "Basic_A2", + "Basic_A3", + "Basic_A4", + "Standard_A0", + "Standard_A1", + "Standard_A2", + "Standard_A3", + "Standard_A4", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A9", + "Standard_A10", + "Standard_A11", + "Standard_A1_v2", + "Standard_A2_v2", + "Standard_A4_v2", + "Standard_A8_v2", + "Standard_A2m_v2", + "Standard_A4m_v2", + "Standard_A8m_v2", + "Standard_B1s", + "Standard_B1ms", + "Standard_B2s", + "Standard_B2ms", + "Standard_B4ms", + "Standard_B8ms", + "Standard_D1", + "Standard_D2", + "Standard_D3", + "Standard_D4", + "Standard_D11", + "Standard_D12", + "Standard_D13", + "Standard_D14", + "Standard_D1_v2", + "Standard_D2_v2", + "Standard_D3_v2", + "Standard_D4_v2", + "Standard_D5_v2", + "Standard_D2_v3", + "Standard_D4_v3", + "Standard_D8_v3", + "Standard_D16_v3", + "Standard_D32_v3", + "Standard_D64_v3", + "Standard_D2s_v3", + "Standard_D4s_v3", + "Standard_D8s_v3", + "Standard_D16s_v3", + "Standard_D32s_v3", + "Standard_D64s_v3", + "Standard_D11_v2", + "Standard_D12_v2", + "Standard_D13_v2", + "Standard_D14_v2", + "Standard_D15_v2", + "Standard_DS1", + "Standard_DS2", + "Standard_DS3", + "Standard_DS4", + "Standard_DS11", + "Standard_DS12", + "Standard_DS13", + "Standard_DS14", + "Standard_DS1_v2", + "Standard_DS2_v2", + "Standard_DS3_v2", + "Standard_DS4_v2", + "Standard_DS5_v2", + "Standard_DS11_v2", + "Standard_DS12_v2", + "Standard_DS13_v2", + "Standard_DS14_v2", + "Standard_DS15_v2", + "Standard_DS13-4_v2", + "Standard_DS13-2_v2", + "Standard_DS14-8_v2", + "Standard_DS14-4_v2", + "Standard_E2_v3", + "Standard_E4_v3", + "Standard_E8_v3", + "Standard_E16_v3", + "Standard_E32_v3", + "Standard_E64_v3", + "Standard_E2s_v3", + "Standard_E4s_v3", + "Standard_E8s_v3", + "Standard_E16s_v3", + "Standard_E32s_v3", + "Standard_E64s_v3", + "Standard_E32-16_v3", + "Standard_E32-8s_v3", + "Standard_E64-32s_v3", + "Standard_E64-16s_v3", + "Standard_F1", + "Standard_F2", + "Standard_F4", + "Standard_F8", + "Standard_F16", + "Standard_F1s", + "Standard_F2s", + "Standard_F4s", + "Standard_F8s", + "Standard_F16s", + "Standard_F2s_v2", + "Standard_F4s_v2", + "Standard_F8s_v2", + "Standard_F16s_v2", + "Standard_F32s_v2", + "Standard_F64s_v2", + "Standard_F72s_v2", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5", + "Standard_GS1", + "Standard_GS2", + "Standard_GS3", + "Standard_GS4", + "Standard_GS5", + "Standard_GS4-8", + "Standard_GS4-4", + "Standard_GS5-16", + "Standard_GS5-8", + "Standard_H8", + "Standard_H16", + "Standard_H8m", + "Standard_H16m", + "Standard_H16r", + "Standard_H16mr", + "Standard_L4s", + "Standard_L8s", + "Standard_L16s", + "Standard_L32s", + "Standard_M64s", + "Standard_M64ms", + "Standard_M128s", + "Standard_M128ms", + "Standard_M64-32ms", + "Standard_M64-16ms", + "Standard_M128-64ms", + "Standard_M128-32ms", + "Standard_NC6", + "Standard_NC12", + "Standard_NC24", + "Standard_NC24r", + "Standard_NC6s_v2", + "Standard_NC12s_v2", + "Standard_NC24s_v2", + "Standard_NC24rs_v2", + "Standard_NC6s_v3", + "Standard_NC12s_v3", + "Standard_NC24s_v3", + "Standard_NC24rs_v3", + "Standard_ND6s", + "Standard_ND12s", + "Standard_ND24s", + "Standard_ND24rs", + "Standard_NV6", + "Standard_NV12", + "Standard_NV24" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the size of the virtual machine.

    The enum data type is currently deprecated and will be removed by December 23rd 2023.

    Recommended way to get the list of available sizes is using these APIs:

    [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes)

    [List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list)

    [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes).

    The available VM sizes depend on region and availability set." + }, + "vmSizeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/VMSizeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies VM Size Property settings on the virtual machine." + } + }, + "description": "Specifies the hardware settings for the virtual machine." + }, + "hostGroups_hosts_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the dedicated host ." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DedicatedHostProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the dedicated host." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name." + }, + "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": [ + "hosts" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.Compute/hostGroups/hosts" + }, + "ImageDataDisk": { + "type": "object", + "properties": { + "blobUri": { + "type": "string", + "description": "The Virtual Hard Disk." + }, + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements.

    Possible values are:

    **None**

    **ReadOnly**

    **ReadWrite**

    Default: **None for Standard storage. ReadOnly for Premium storage**." + }, + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.

    NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.

    This value cannot be larger than 1023 GB" + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "snapshot": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk." + } + }, + "required": [ + "lun" + ], + "description": "Describes a data disk." + }, + "ImageOSDisk": { + "type": "object", + "properties": { + "blobUri": { + "type": "string", + "description": "The Virtual Hard Disk." + }, + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements.

    Possible values are:

    **None**

    **ReadOnly**

    **ReadWrite**

    Default: **None for Standard storage. ReadOnly for Premium storage**." + }, + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.

    NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image.

    This value cannot be larger than 1023 GB" + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "osState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Generalized", + "Specialized" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The OS State." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.

    Possible values are:

    **Windows**

    **Linux**." + }, + "snapshot": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk." + } + }, + "required": [ + "osState", + "osType" + ], + "description": "Describes an Operating System disk." + }, + "ImageProperties": { + "type": "object", + "properties": { + "hyperVGeneration": { + "oneOf": [ + { + "type": "string", + "enum": [ + "V1", + "V2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource." + }, + "sourceVirtualMachine": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ImageStorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a storage profile." + } + }, + "description": "Describes the properties of an Image." + }, + "ImagePurchasePlan": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The plan ID." + }, + "product": { + "type": "string", + "description": "The product ID." + }, + "publisher": { + "type": "string", + "description": "The publisher ID." + } + }, + "description": "Describes the gallery image definition purchase plan. This is used by marketplace images." + }, + "ImageReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + }, + "offer": { + "type": "string", + "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine." + }, + "publisher": { + "type": "string", + "description": "The image publisher." + }, + "sharedGalleryImageId": { + "type": "string", + "description": "Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call." + }, + "sku": { + "type": "string", + "description": "The image SKU." + }, + "version": { + "type": "string", + "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available." + } + }, + "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set." + }, + "ImageStorageProfile": { + "type": "object", + "properties": { + "dataDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ImageDataDisk" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the parameters that are used to add a data disk to a virtual machine.

    For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)." + }, + "osDisk": { + "oneOf": [ + { + "$ref": "#/definitions/ImageOSDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes an Operating System disk." + }, + "zoneResilient": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS)." + } + }, + "description": "Describes a storage profile." + }, + "InstanceViewStatus": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The status code." + }, + "displayStatus": { + "type": "string", + "description": "The short localizable label for the status." + }, + "level": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Info", + "Warning", + "Error" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The level code." + }, + "message": { + "type": "string", + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "The time of the status." + } + }, + "description": "Instance view status." + }, + "KeyVaultKeyReference": { + "type": "object", + "properties": { + "keyUrl": { + "type": "string", + "description": "The URL referencing a key encryption key in Key Vault." + }, + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "keyUrl", + "sourceVault" + ], + "description": "Describes a reference to Key Vault Key" + }, + "KeyVaultSecretReference": { + "type": "object", + "properties": { + "secretUrl": { + "type": "string", + "description": "The URL referencing a secret in a Key Vault." + }, + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "secretUrl", + "sourceVault" + ], + "description": "Describes a reference to Key Vault Secret" + }, + "LinuxConfiguration": { + "type": "object", + "properties": { + "disablePasswordAuthentication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether password authentication should be disabled." + }, + "patchSettings": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxPatchSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies settings related to VM Guest Patching on Linux." + }, + "provisionVMAgent": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.

    When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later." + }, + "ssh": { + "oneOf": [ + { + "$ref": "#/definitions/SshConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SSH configuration for Linux based VMs running on Azure" + } + }, + "description": "Specifies the Linux operating system settings on the virtual machine.

    For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros)." + }, + "LinuxPatchSettings": { + "type": "object", + "properties": { + "assessmentMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.

    Possible values are:

    **ImageDefault** - You control the timing of patch assessments on a virtual machine.

    **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true." + }, + "patchMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

    Possible values are:

    **ImageDefault** - The virtual machine's default patching configuration is used.

    **AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true." + } + }, + "description": "Specifies settings related to VM Guest Patching on Linux." + }, + "ManagedDiskParameters": { + "type": "object", + "properties": { + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.

    NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details." + }, + "id": { + "type": "string", + "description": "Resource Id" + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk." + } + }, + "description": "The parameters of a managed disk." + }, + "NetworkInterfaceReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkInterfaceReferenceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a network interface reference properties." + } + }, + "description": "Describes a network interface reference." + }, + "NetworkInterfaceReferenceProperties": { + "type": "object", + "properties": { + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the network interface when the VM is deleted." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + } + }, + "description": "Describes a network interface reference properties." + }, + "NetworkProfile": { + "type": "object", + "properties": { + "networkApiVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "2020-11-01" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations." + }, + "networkInterfaceConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the networking configurations that will be used to create the virtual machine networking resources." + }, + "networkInterfaces": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterfaceReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine." + } + }, + "description": "Specifies the network interfaces or the networking configuration of the virtual machine." + }, + "OSDisk": { + "type": "object", + "properties": { + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements.

    Possible values are:

    **None**

    **ReadOnly**

    **ReadWrite**

    Default: **None** for Standard storage. **ReadOnly** for Premium storage." + }, + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FromImage", + "Empty", + "Attach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies how the virtual machine should be created.

    Possible values are:

    **Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.

    **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described." + }, + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether OS Disk should be deleted or detached upon VM deletion.

    Possible values:

    **Delete** If this value is used, the OS disk is deleted when VM is deleted.

    **Detach** If this value is used, the os disk is retained after VM is deleted.

    The default value is set to **detach**. For an ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for ephemeral OS Disk." + }, + "diffDiskSettings": { + "oneOf": [ + { + "$ref": "#/definitions/DiffDiskSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.

    NOTE: The ephemeral disk settings can only be specified for managed disk." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

    This value cannot be larger than 1023 GB" + }, + "encryptionSettings": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a Encryption Settings for a Disk" + }, + "image": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a managed disk." + }, + "name": { + "type": "string", + "description": "The disk name." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.

    Possible values are:

    **Windows**

    **Linux**." + }, + "vhd": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "writeAcceleratorEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + } + }, + "required": [ + "createOption" + ], + "description": "Specifies information about the operating system disk used by the virtual machine.

    For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)." + }, + "OSDiskImageEncryption": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "A relative URI containing the resource ID of the disk encryption set." + } + }, + "description": "Contains encryption settings for an OS disk image." + }, + "OSProfile": { + "type": "object", + "properties": { + "adminPassword": { + "type": "string", + "description": "Specifies the password of the administrator account.

    **Minimum-length (Windows):** 8 characters

    **Minimum-length (Linux):** 6 characters

    **Max-length (Windows):** 123 characters

    **Max-length (Linux):** 72 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!\"

    For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)

    For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)" + }, + "adminUsername": { + "type": "string", + "description": "Specifies the name of the administrator account.

    This property cannot be updated after the VM is created.

    **Windows-only 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 (Linux):** 1 character

    **Max-length (Linux):** 64 characters

    **Max-length (Windows):** 20 characters." + }, + "allowExtensionOperations": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether extension operations should be allowed on the virtual machine.

    This may only be set to False when no extensions are present on the virtual machine." + }, + "computerName": { + "type": "string", + "description": "Specifies the host OS name of the virtual machine.

    This name cannot be updated after the VM is created.

    **Max-length (Windows):** 15 characters

    **Max-length (Linux):** 64 characters.

    For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules)." + }, + "customData": { + "type": "string", + "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.

    **Note: Do not pass any secrets or passwords in customData property**

    This property cannot be updated after the VM is created.

    customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/)

    For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)" + }, + "linuxConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Linux operating system settings on the virtual machine.

    For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros)." + }, + "requireGuestProvisionSignal": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the guest provision signal is required to infer provision success of the virtual machine. **Note: This property is for private testing only, and all customers must not set the property to false.**" + }, + "secrets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)." + }, + "windowsConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/WindowsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies Windows operating system settings on the virtual machine." + } + }, + "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned." + }, + "PatchSettings": { + "type": "object", + "properties": { + "assessmentMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.

    Possible values are:

    **ImageDefault** - You control the timing of patch assessments on a virtual machine.

    **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true." + }, + "enableHotpatching": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'." + }, + "patchMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Manual", + "AutomaticByOS", + "AutomaticByPlatform" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

    Possible values are:

    **Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false

    **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.

    **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true." + } + }, + "description": "Specifies settings related to VM Guest Patching on Windows." + }, + "Plan": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The plan ID." + }, + "product": { + "type": "string", + "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element." + }, + "promotionCode": { + "type": "string", + "description": "The promotion code." + }, + "publisher": { + "type": "string", + "description": "The publisher ID." + } + }, + "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**." + }, + "ProximityPlacementGroupProperties": { + "type": "object", + "properties": { + "colocationStatus": { + "oneOf": [ + { + "$ref": "#/definitions/InstanceViewStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Instance view status." + }, + "proximityPlacementGroupType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "Ultra" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the type of the proximity placement group.

    Possible values are:

    **Standard** : Co-locate resources within an Azure region or Availability Zone.

    **Ultra** : For future use." + } + }, + "description": "Describes the properties of a Proximity Placement Group." + }, + "PublicIPAddressSku": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic", + "Standard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify public IP sku name." + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Regional", + "Global" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify public IP sku tier." + } + }, + "description": "Describes the public IP Sku" + }, + "RecommendedMachineConfiguration": { + "type": "object", + "properties": { + "memory": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRange" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the resource range." + }, + "vCPUs": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRange" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the resource range." + } + }, + "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable." + }, + "ResourceRange": { + "type": "object", + "properties": { + "max": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of the resource." + }, + "min": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum number of the resource." + } + }, + "description": "Describes the resource range." + }, + "RestorePointCollectionProperties": { + "type": "object", + "properties": { + "source": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointCollectionSourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the source resource that this restore point collection is created from." + } + }, + "description": "The restore point collection properties." + }, + "RestorePointCollectionSourceProperties": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id of the source resource used to create this restore point collection" + } + }, + "description": "The properties of the source resource that this restore point collection is created from." + }, + "restorePointCollections_restorePoints_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the restore point." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePointProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The restore point properties." + }, + "type": { + "type": "string", + "enum": [ + "restorePoints" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/restorePointCollections/restorePoints" + }, + "RestorePointProperties": { + "type": "object", + "properties": { + "excludeDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ApiEntityReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included." + } + }, + "description": "The restore point properties." + }, + "RollingUpgradePolicy": { + "type": "object", + "properties": { + "enableCrossZoneUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size." + }, + "maxBatchInstancePercent": { + "oneOf": [ + { + "type": "integer", + "minimum": 5, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%." + }, + "maxUnhealthyInstancePercent": { + "oneOf": [ + { + "type": "integer", + "minimum": 5, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%." + }, + "maxUnhealthyUpgradedInstancePercent": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%." + }, + "pauseTimeBetweenBatches": { + "type": "string", + "description": "The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S)." + }, + "prioritizeUnhealthyInstances": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Upgrade all unhealthy instances in a scale set before any healthy instances." + } + }, + "description": "The configuration parameters used while performing a rolling upgrade." + }, + "RunCommandInputParameter": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The run command parameter name." + }, + "value": { + "type": "string", + "description": "The run command parameter value." + } + }, + "required": [ + "name", + "value" + ], + "description": "Describes the properties of a run command parameter." + }, + "ScaleInPolicy": { + "type": "object", + "properties": { + "forceDeletion": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)" + }, + "rules": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Default", + "OldestVM", + "NewestVM" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The rules to be followed when scaling-in a virtual machine scale set.

    Possible values are:

    **Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in.

    **OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal.

    **NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.

    " + } + }, + "description": "Describes a scale-in policy for a virtual machine scale set." + }, + "ScheduledEventsProfile": { + "type": "object", + "properties": { + "terminateNotificationProfile": { + "oneOf": [ + { + "$ref": "#/definitions/TerminateNotificationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "SecurityProfile": { + "type": "object", + "properties": { + "encryptionAtHost": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself.

    Default: The Encryption at host will be disabled unless this property is set to true for the resource." + }, + "securityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TrustedLaunch" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings.

    Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch." + }, + "uefiSettings": { + "oneOf": [ + { + "$ref": "#/definitions/UefiSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.

    Minimum api-version: 2020-12-01" + } + }, + "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set." + }, + "SharingProfile": { + "type": "object", + "properties": { + "permissions": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Private", + "Groups" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows you to specify the permission of sharing gallery.

    Possible values are:

    **Private**

    **Groups**." + } + }, + "description": "Profile for gallery sharing to subscription or tenant" + }, + "Sku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the number of virtual machines in the scale set." + }, + "name": { + "type": "string", + "description": "The sku name." + }, + "tier": { + "type": "string", + "description": "Specifies the tier of virtual machines in a scale set.

    Possible Values:

    **Standard**

    **Basic**" + } + }, + "description": "Describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name." + }, + "SoftDeletePolicy": { + "type": "object", + "properties": { + "isSoftDeleteEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time." + } + }, + "description": "Contains information about the soft deletion policy of the gallery." + }, + "SpotRestorePolicy": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints" + }, + "restoreTimeout": { + "type": "string", + "description": "Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances" + } + }, + "description": "Specifies the Spot-Try-Restore properties for the virtual machine scale set.

    With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint." + }, + "SshConfiguration": { + "type": "object", + "properties": { + "publicKeys": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SshPublicKey" + } + }, + { + "$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." + } + }, + "description": "SSH configuration for Linux based VMs running on Azure" + }, + "SshPublicKey": { + "type": "object", + "properties": { + "keyData": { + "type": "string", + "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.

    For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)." + }, + "path": { + "type": "string", + "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys" + } + }, + "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed." + }, + "SshPublicKeyResourceProperties": { + "type": "object", + "properties": { + "publicKey": { + "type": "string", + "description": "SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format." + } + }, + "description": "Properties of the SSH public key." + }, + "StorageProfile": { + "type": "object", + "properties": { + "dataDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataDisk" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the parameters that are used to add a data disk to a virtual machine.

    For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)." + }, + "imageReference": { + "oneOf": [ + { + "$ref": "#/definitions/ImageReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set." + }, + "osDisk": { + "oneOf": [ + { + "$ref": "#/definitions/OSDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies information about the operating system disk used by the virtual machine.

    For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)." + } + }, + "description": "Specifies the storage settings for the virtual machine disks." + }, + "SubResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + } + }, + "TargetRegion": { + "type": "object", + "properties": { + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionImages" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact." + }, + "name": { + "type": "string", + "description": "The name of the region." + }, + "regionalReplicaCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of replicas of the Image Version to be created per region. This property is updatable." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Standard_ZRS", + "Premium_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type to be used to store the image. This property is not updatable." + } + }, + "required": [ + "name" + ], + "description": "Describes the target region information." + }, + "TerminateNotificationProfile": { + "type": "object", + "properties": { + "enable": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the Terminate Scheduled event is enabled or disabled." + }, + "notBeforeTimeout": { + "type": "string", + "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)" + } + } + }, + "UefiSettings": { + "type": "object", + "properties": { + "secureBootEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether secure boot should be enabled on the virtual machine.

    Minimum api-version: 2020-12-01" + }, + "vTpmEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether vTPM should be enabled on the virtual machine.

    Minimum api-version: 2020-12-01" + } + }, + "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine.

    Minimum api-version: 2020-12-01" + }, + "UpgradePolicy": { + "type": "object", + "properties": { + "automaticOSUpgradePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/AutomaticOSUpgradePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration parameters used for performing automatic OS upgrade." + }, + "mode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Automatic", + "Manual", + "Rolling" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mode of an upgrade to virtual machines in the scale set.

    Possible values are:

    **Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.

    **Automatic** - All virtual machines in the scale set are automatically updated at the same time." + }, + "rollingUpgradePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/RollingUpgradePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration parameters used while performing a rolling upgrade." + } + }, + "description": "Describes an upgrade policy - automatic, manual, or rolling." + }, + "UserArtifactManage": { + "type": "object", + "properties": { + "install": { + "type": "string", + "description": "Required. The path and arguments to install the gallery application. This is limited to 4096 characters." + }, + "remove": { + "type": "string", + "description": "Required. The path and arguments to remove the gallery application. This is limited to 4096 characters." + }, + "update": { + "type": "string", + "description": "Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters." + } + }, + "required": [ + "install", + "remove" + ] + }, + "UserArtifactSource": { + "type": "object", + "properties": { + "defaultConfigurationLink": { + "type": "string", + "description": "Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob." + }, + "mediaLink": { + "type": "string", + "description": "Required. The mediaLink of the artifact, must be a readable storage page blob." + } + }, + "required": [ + "mediaLink" + ], + "description": "The source image from which the Image Version is going to be created." + }, + "UserAssignedIdentitiesValue": { + "type": "object", + "properties": {} + }, + "VaultCertificate": { + "type": "object", + "properties": { + "certificateStore": { + "type": "string", + "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.

    For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted." + }, + "certificateUrl": { + "type": "string", + "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:

    {
    \"data\":\"\",
    \"dataType\":\"pfx\",
    \"password\":\"\"
    }
    To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)." + } + }, + "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM." + }, + "VaultSecretGroup": { + "type": "object", + "properties": { + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "vaultCertificates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultCertificate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of key vault references in SourceVault which contain certificates." + } + }, + "description": "Describes a set of certificates which are all in the same Key Vault." + }, + "VirtualHardDisk": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "description": "Specifies the virtual hard disk's uri." + } + }, + "description": "Describes the uri of a disk." + }, + "VirtualMachineExtensionInstanceView": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The virtual machine extension name." + }, + "statuses": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource status information." + }, + "substatuses": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource status information." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "description": "The instance view of a virtual machine extension." + }, + "VirtualMachineExtensionProperties": { + "type": "object", + "properties": { + "autoUpgradeMinorVersion": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "enableAutomaticUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available." + }, + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "instanceView": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineExtensionInstanceView" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance view of a virtual machine extension." + }, + "protectedSettings": { + "type": "object", + "properties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "settings": { + "type": "object", + "properties": {}, + "description": "Json formatted public settings for the extension." + }, + "suppressFailures": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "description": "Describes the properties of a Virtual Machine Extension." + }, + "VirtualMachineIdentity": { + "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": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentitiesValue" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the virtual machine." + }, + "VirtualMachineIpTag": { + "type": "object", + "properties": { + "ipTagType": { + "type": "string", + "description": "IP tag type. Example: FirstPartyUsage." + }, + "tag": { + "type": "string", + "description": "IP tag associated with the public IP. Example: SQL, Storage etc." + } + }, + "description": "Contains the IP tag associated with the public IP address." + }, + "VirtualMachineNetworkInterfaceConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The network interface configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine network profile's IP configuration." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machine network interface configurations." + }, + "VirtualMachineNetworkInterfaceConfigurationProperties": { + "type": "object", + "properties": { + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the network interface when the VM is deleted." + }, + "dnsSettings": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceDnsSettingsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines network configuration's DNS settings." + }, + "dscpConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is accelerated networking-enabled." + }, + "enableFpga": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is FPGA networking-enabled." + }, + "enableIPForwarding": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether IP forwarding enabled on this NIC." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the IP configurations of the network interface." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + } + }, + "required": [ + "ipConfigurations" + ], + "description": "Describes a virtual machine network profile's IP configuration." + }, + "VirtualMachineNetworkInterfaceDnsSettingsConfiguration": { + "type": "object", + "properties": { + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of DNS servers IP addresses" + } + }, + "description": "Describes a virtual machines network configuration's DNS settings." + }, + "VirtualMachineNetworkInterfaceIPConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The IP configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine network interface IP configuration properties." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machine network profile's IP configuration." + }, + "VirtualMachineNetworkInterfaceIPConfigurationProperties": { + "type": "object", + "properties": { + "applicationGatewayBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway." + }, + "applicationSecurityGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of references to application security group." + }, + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer]." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + }, + "privateIPAddressVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + }, + "publicIPAddressConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachinePublicIPAddressConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration" + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Describes a virtual machine network interface IP configuration properties." + }, + "VirtualMachineProperties": { + "type": "object", + "properties": { + "additionalCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/AdditionalCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables or disables a capability on the virtual machine or virtual machine scale set." + }, + "applicationProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains the list of gallery applications that should be made available to the VM/VMSS" + }, + "availabilitySet": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "billingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/BillingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the billing related details of a Azure Spot VM or VMSS.

    Minimum api-version: 2019-03-01." + }, + "capacityReservation": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a capacity reservation Profile." + }, + "diagnosticsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the boot diagnostic settings state.

    Minimum api-version: 2015-06-15." + }, + "evictionPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Deallocate", + "Delete" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.

    For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.

    For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview." + }, + "extensionsTimeBudget": { + "type": "string", + "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).

    Minimum api-version: 2020-06-01" + }, + "hardwareProfile": { + "oneOf": [ + { + "$ref": "#/definitions/HardwareProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the hardware settings for the virtual machine." + }, + "host": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "hostGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "licenseType": { + "type": "string", + "description": "Specifies that the image or disk that is being used was licensed on-premises.

    Possible values for Windows Server operating system are:

    Windows_Client

    Windows_Server

    Possible values for Linux Server operating system are:

    RHEL_BYOS (for RHEL)

    SLES_BYOS (for SUSE)

    For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

    [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

    Minimum api-version: 2015-06-15" + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the network interfaces or the networking configuration of the virtual machine." + }, + "osProfile": { + "oneOf": [ + { + "$ref": "#/definitions/OSProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned." + }, + "platformFaultDomain": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.
  • This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.
  • The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' > 1.
  • This property cannot be updated once the Virtual Machine is created.
  • Fault domain assignment can be viewed in the Virtual Machine Instance View.

    Minimum api‐version: 2020‐12‐01" + }, + "priority": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Regular", + "Low", + "Spot" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the priority for the virtual machine.

    Minimum api-version: 2019-03-01." + }, + "proximityPlacementGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "scheduledEventsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduledEventsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set." + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/StorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage settings for the virtual machine disks." + }, + "userData": { + "type": "string", + "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.

    Minimum api-version: 2021-03-01" + }, + "virtualMachineScaleSet": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Describes the properties of a Virtual Machine." + }, + "VirtualMachinePublicIPAddressConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The publicIP address configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachinePublicIPAddressConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIPAddressSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the public IP Sku" + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration" + }, + "VirtualMachinePublicIPAddressConfigurationProperties": { + "type": "object", + "properties": { + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the public IP address when the VM is deleted." + }, + "dnsSettings": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachinePublicIPAddressDnsSettingsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines network configuration's DNS settings." + }, + "idleTimeoutInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The idle timeout of the public IP address." + }, + "ipTags": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineIpTag" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of IP tags associated with the public IP address." + }, + "publicIPAddressVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + }, + "publicIPAllocationMethod": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Dynamic", + "Static" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify the public IP allocation type." + }, + "publicIPPrefix": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration" + }, + "VirtualMachinePublicIPAddressDnsSettingsConfiguration": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID." + } + }, + "required": [ + "domainNameLabel" + ], + "description": "Describes a virtual machines network configuration's DNS settings." + }, + "VirtualMachineRunCommandProperties": { + "type": "object", + "properties": { + "asyncExecution": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete." + }, + "errorBlobUri": { + "type": "string", + "description": "Specifies the Azure storage blob where script error stream will be uploaded." + }, + "outputBlobUri": { + "type": "string", + "description": "Specifies the Azure storage blob where script output stream will be uploaded." + }, + "parameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RunCommandInputParameter" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters used by the script." + }, + "protectedParameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RunCommandInputParameter" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters used by the script." + }, + "runAsPassword": { + "type": "string", + "description": "Specifies the user account password on the VM when executing the run command." + }, + "runAsUser": { + "type": "string", + "description": "Specifies the user account on the VM when executing the run command." + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandScriptSource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the script sources for run command." + }, + "timeoutInSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The timeout in seconds to execute the run command." + } + }, + "description": "Describes the properties of a Virtual Machine run command." + }, + "VirtualMachineRunCommandScriptSource": { + "type": "object", + "properties": { + "commandId": { + "type": "string", + "description": "Specifies a commandId of predefined built-in script." + }, + "script": { + "type": "string", + "description": "Specifies the script content to be executed on the VM." + }, + "scriptUri": { + "type": "string", + "description": "Specifies the script download location." + } + }, + "description": "Describes the script sources for run command." + }, + "VirtualMachineScaleSetDataDisk": { + "type": "object", + "properties": { + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements.

    Possible values are:

    **None**

    **ReadOnly**

    **ReadWrite**

    Default: **None for Standard storage. ReadOnly for Premium storage**." + }, + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FromImage", + "Empty", + "Attach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The create option." + }, + "diskIOPSReadWrite": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB." + }, + "diskMBpsReadWrite": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

    This value cannot be larger than 1023 GB" + }, + "lun": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameters of a ScaleSet managed disk." + }, + "name": { + "type": "string", + "description": "The disk name." + }, + "writeAcceleratorEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + } + }, + "required": [ + "createOption", + "lun" + ], + "description": "Describes a virtual machine scale set data disk." + }, + "VirtualMachineScaleSetExtension": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the extension." + }, + "properties": { + "anyOf": [ + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/chefClient" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/eset" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/customScript" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux" + } + ] + } + }, + "description": "Describes a Virtual Machine Scale Set Extension." + }, + "VirtualMachineScaleSetExtensionProfile": { + "type": "object", + "properties": { + "extensions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetExtension" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The virtual machine scale set child extension resources." + }, + "extensionsTimeBudget": { + "type": "string", + "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M).

    Minimum api-version: 2020-06-01" + } + }, + "description": "Describes a virtual machine scale set extension profile." + }, + "VirtualMachineScaleSetExtensionProperties": { + "type": "object", + "properties": { + "autoUpgradeMinorVersion": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "enableAutomaticUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available." + }, + "forceUpdateTag": { + "type": "string", + "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed." + }, + "protectedSettings": { + "type": "object", + "properties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "provisionAfterExtensions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of extension names after which this extension needs to be provisioned." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "settings": { + "type": "object", + "properties": {}, + "description": "Json formatted public settings for the extension." + }, + "suppressFailures": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + }, + "VirtualMachineScaleSetIdentity": { + "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": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the virtual machine scale set." + }, + "VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue": { + "type": "object", + "properties": {} + }, + "VirtualMachineScaleSetIPConfiguration": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + }, + "name": { + "type": "string", + "description": "The IP configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set network profile's IP configuration properties." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machine scale set network profile's IP configuration." + }, + "VirtualMachineScaleSetIPConfigurationProperties": { + "type": "object", + "properties": { + "applicationGatewayBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway." + }, + "applicationSecurityGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of references to application security group." + }, + "loadBalancerBackendAddressPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer." + }, + "loadBalancerInboundNatPools": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer." + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + }, + "privateIPAddressVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + }, + "publicIPAddressConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration" + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/ApiEntityReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The API entity reference." + } + }, + "description": "Describes a virtual machine scale set network profile's IP configuration properties." + }, + "VirtualMachineScaleSetIpTag": { + "type": "object", + "properties": { + "ipTagType": { + "type": "string", + "description": "IP tag type. Example: FirstPartyUsage." + }, + "tag": { + "type": "string", + "description": "IP tag associated with the public IP. Example: SQL, Storage etc." + } + }, + "description": "Contains the IP tag associated with the public IP address." + }, + "VirtualMachineScaleSetManagedDiskParameters": { + "type": "object", + "properties": { + "diskEncryptionSet": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionSetParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk.

    NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details." + }, + "storageAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk." + } + }, + "description": "Describes the parameters of a ScaleSet managed disk." + }, + "VirtualMachineScaleSetNetworkConfiguration": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + }, + "name": { + "type": "string", + "description": "The network configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set network profile's IP configuration." + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machine scale set network profile's network configurations." + }, + "VirtualMachineScaleSetNetworkConfigurationDnsSettings": { + "type": "object", + "properties": { + "dnsServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of DNS servers IP addresses" + } + }, + "description": "Describes a virtual machines scale sets network configuration's DNS settings." + }, + "VirtualMachineScaleSetNetworkConfigurationProperties": { + "type": "object", + "properties": { + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the network interface when the VM is deleted." + }, + "dnsSettings": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines scale sets network configuration's DNS settings." + }, + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is accelerated networking-enabled." + }, + "enableFpga": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is FPGA networking-enabled." + }, + "enableIPForwarding": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether IP forwarding enabled on this NIC." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the IP configurations of the network interface." + }, + "networkSecurityGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + } + }, + "required": [ + "ipConfigurations" + ], + "description": "Describes a virtual machine scale set network profile's IP configuration." + }, + "VirtualMachineScaleSetNetworkProfile": { + "type": "object", + "properties": { + "healthProbe": { + "oneOf": [ + { + "$ref": "#/definitions/ApiEntityReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The API entity reference." + }, + "networkApiVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "2020-11-01" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'." + }, + "networkInterfaceConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of network configurations." + } + }, + "description": "Describes a virtual machine scale set network profile." + }, + "VirtualMachineScaleSetOSDisk": { + "type": "object", + "properties": { + "caching": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the caching requirements.

    Possible values are:

    **None**

    **ReadOnly**

    **ReadWrite**

    Default: **None for Standard storage. ReadOnly for Premium storage**." + }, + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FromImage", + "Empty", + "Attach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies how the virtual machines in the scale set should be created.

    The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described." + }, + "diffDiskSettings": { + "oneOf": [ + { + "$ref": "#/definitions/DiffDiskSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk.

    NOTE: The ephemeral disk settings can only be specified for managed disk." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

    This value cannot be larger than 1023 GB" + }, + "image": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualHardDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the uri of a disk." + }, + "managedDisk": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the parameters of a ScaleSet managed disk." + }, + "name": { + "type": "string", + "description": "The disk name." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD.

    Possible values are:

    **Windows**

    **Linux**." + }, + "vhdContainers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the container urls that are used to store operating system disks for the scale set." + }, + "writeAcceleratorEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + } + }, + "required": [ + "createOption" + ], + "description": "Describes a virtual machine scale set operating system disk." + }, + "VirtualMachineScaleSetOSProfile": { + "type": "object", + "properties": { + "adminPassword": { + "type": "string", + "description": "Specifies the password of the administrator account.

    **Minimum-length (Windows):** 8 characters

    **Minimum-length (Linux):** 6 characters

    **Max-length (Windows):** 123 characters

    **Max-length (Linux):** 72 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!\"

    For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)

    For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)" + }, + "adminUsername": { + "type": "string", + "description": "Specifies the name of the administrator account.

    **Windows-only 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 (Linux):** 1 character

    **Max-length (Linux):** 64 characters

    **Max-length (Windows):** 20 characters" + }, + "computerNamePrefix": { + "type": "string", + "description": "Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long." + }, + "customData": { + "type": "string", + "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes.

    For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)" + }, + "linuxConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Linux operating system settings on the virtual machine.

    For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros)." + }, + "secrets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)." + }, + "windowsConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/WindowsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies Windows operating system settings on the virtual machine." + } + }, + "description": "Describes a virtual machine scale set OS profile." + }, + "VirtualMachineScaleSetProperties": { + "type": "object", + "properties": { + "additionalCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/AdditionalCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables or disables a capability on the virtual machine or virtual machine scale set." + }, + "automaticRepairsPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/AutomaticRepairsPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the configuration parameters for automatic repairs on the virtual machine scale set." + }, + "doNotRunExtensionsOnOverprovisionedVMs": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs." + }, + "hostGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "orchestrationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Uniform", + "Flexible" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the orchestration mode for the virtual machine scale set." + }, + "overprovision": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the Virtual Machine Scale Set should be overprovisioned." + }, + "platformFaultDomainCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Fault Domain count for each placement group." + }, + "proximityPlacementGroup": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "scaleInPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ScaleInPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a scale-in policy for a virtual machine scale set." + }, + "singlePlacementGroup": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true." + }, + "spotRestorePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/SpotRestorePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Spot-Try-Restore properties for the virtual machine scale set.

    With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint." + }, + "upgradePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/UpgradePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes an upgrade policy - automatic, manual, or rolling." + }, + "virtualMachineProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set virtual machine profile." + }, + "zoneBalance": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set." + } + }, + "description": "Describes the properties of a Virtual Machine Scale Set." + }, + "VirtualMachineScaleSetPublicIPAddressConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The publicIP address configuration name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/PublicIPAddressSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the public IP Sku" + } + }, + "required": [ + "name" + ], + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration" + }, + "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created" + } + }, + "required": [ + "domainNameLabel" + ], + "description": "Describes a virtual machines scale sets network configuration's DNS settings." + }, + "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": { + "type": "object", + "properties": { + "deleteOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Detach" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify what happens to the public IP when the VM is deleted." + }, + "dnsSettings": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machines scale sets network configuration's DNS settings." + }, + "idleTimeoutInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The idle timeout of the public IP address." + }, + "ipTags": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetIpTag" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of IP tags associated with the public IP address." + }, + "publicIPAddressVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + }, + "publicIPPrefix": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration" + }, + "VirtualMachineScaleSetStorageProfile": { + "type": "object", + "properties": { + "dataDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetDataDisk" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the parameters that are used to add data disks to the virtual machines in the scale set.

    For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)." + }, + "imageReference": { + "oneOf": [ + { + "$ref": "#/definitions/ImageReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set." + }, + "osDisk": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetOSDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set operating system disk." + } + }, + "description": "Describes a virtual machine scale set storage profile." + }, + "virtualMachineScaleSets_extensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the VM scale set extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + }, + "type": { + "type": "string", + "enum": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/extensions" + }, + "virtualMachineScaleSets_virtualmachines_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The instance ID of the virtual machine." + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/Plan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a virtual machine scale set virtual machine." + }, + "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": [ + "virtualmachines" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualmachines" + }, + "virtualMachineScaleSets_virtualMachines_extensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the virtual machine extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Extension." + }, + "type": { + "type": "string", + "enum": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions" + }, + "virtualMachineScaleSets_virtualMachines_runCommands_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine run command." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine run command." + }, + "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": [ + "runCommands" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands" + }, + "VirtualMachineScaleSetVMNetworkProfileConfiguration": { + "type": "object", + "properties": { + "networkInterfaceConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of network configurations." + } + }, + "description": "Describes a virtual machine scale set VM network profile." + }, + "VirtualMachineScaleSetVMProfile": { + "type": "object", + "properties": { + "applicationProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains the list of gallery applications that should be made available to the VM/VMSS" + }, + "billingProfile": { + "oneOf": [ + { + "$ref": "#/definitions/BillingProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the billing related details of a Azure Spot VM or VMSS.

    Minimum api-version: 2019-03-01." + }, + "capacityReservation": { + "oneOf": [ + { + "$ref": "#/definitions/CapacityReservationProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters of a capacity reservation Profile." + }, + "diagnosticsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the boot diagnostic settings state.

    Minimum api-version: 2015-06-15." + }, + "evictionPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Deallocate", + "Delete" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set.

    For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01.

    For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview." + }, + "extensionProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set extension profile." + }, + "licenseType": { + "type": "string", + "description": "Specifies that the image or disk that is being used was licensed on-premises.

    Possible values for Windows Server operating system are:

    Windows_Client

    Windows_Server

    Possible values for Linux Server operating system are:

    RHEL_BYOS (for RHEL)

    SLES_BYOS (for SUSE)

    For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

    [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

    Minimum api-version: 2015-06-15" + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set network profile." + }, + "osProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetOSProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set OS profile." + }, + "priority": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Regular", + "Low", + "Spot" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the priority for the virtual machines in the scale set.

    Minimum api-version: 2017-10-30-preview." + }, + "scheduledEventsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduledEventsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set." + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set storage profile." + }, + "userData": { + "type": "string", + "description": "UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here.

    Minimum api-version: 2021-03-01" + } + }, + "description": "Describes a virtual machine scale set virtual machine profile." + }, + "VirtualMachineScaleSetVMProperties": { + "type": "object", + "properties": { + "additionalCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/AdditionalCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables or disables a capability on the virtual machine or virtual machine scale set." + }, + "availabilitySet": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "diagnosticsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the boot diagnostic settings state.

    Minimum api-version: 2015-06-15." + }, + "hardwareProfile": { + "oneOf": [ + { + "$ref": "#/definitions/HardwareProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the hardware settings for the virtual machine." + }, + "licenseType": { + "type": "string", + "description": "Specifies that the image or disk that is being used was licensed on-premises.

    Possible values for Windows Server operating system are:

    Windows_Client

    Windows_Server

    Possible values for Linux Server operating system are:

    RHEL_BYOS (for RHEL)

    SLES_BYOS (for SUSE)

    For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

    [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

    Minimum api-version: 2015-06-15" + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the network interfaces or the networking configuration of the virtual machine." + }, + "networkProfileConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMNetworkProfileConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a virtual machine scale set VM network profile." + }, + "osProfile": { + "oneOf": [ + { + "$ref": "#/definitions/OSProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned." + }, + "protectionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineScaleSetVMProtectionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The protection policy of a virtual machine scale set VM." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set." + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/StorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the storage settings for the virtual machine disks." + }, + "userData": { + "type": "string", + "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here.

    Minimum api-version: 2021-03-01" + } + }, + "description": "Describes the properties of a virtual machine scale set virtual machine." + }, + "VirtualMachineScaleSetVMProtectionPolicy": { + "type": "object", + "properties": { + "protectFromScaleIn": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation." + }, + "protectFromScaleSetActions": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM." + } + }, + "description": "The protection policy of a virtual machine scale set VM." + }, + "virtualMachines_extensions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine extension." + }, + "properties": { + "anyOf": [ + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/genericExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSDiagnostics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/iaaSAntimalware" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/customScriptForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxDiagnostic" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/bgInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/vmAccessAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dscExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackupLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/acronisBackup" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/linuxChefClient" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/chefClient" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogLinuxAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/datadogWindowsAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dockerExtension" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/dynatraceWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/eset" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/hpeSecurityApplicationDefender" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/puppetAgent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7LinuxServerExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7WindowsServerExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/site24x7ApmInsightExtn" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSALinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/trendMicroDSA" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/bmcCtmAgentWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/OSPatchingForLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshot" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/VMSnapshotLinux" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/customScript" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentWindows" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/definitions/networkWatcherAgentLinux" + } + ] + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines/extensions" + }, + "virtualMachines_runCommands_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the virtual machine run command." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineRunCommandProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine run command." + }, + "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": [ + "runCommands" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Compute/virtualMachines/runCommands" + }, + "VMGalleryApplication": { + "type": "object", + "properties": { + "configurationReference": { + "type": "string", + "description": "Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided" + }, + "order": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional, Specifies the order in which the packages have to be installed" + }, + "packageReferenceId": { + "type": "string", + "description": "Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}" + }, + "tags": { + "type": "string", + "description": "Optional, Specifies a passthrough value for more generic context." + } + }, + "required": [ + "packageReferenceId" + ], + "description": "Specifies the required information to reference a compute gallery application version" + }, + "VMSizeProperties": { + "type": "object", + "properties": { + "vCPUsAvailable": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the number of vCPUs available for the VM.

    When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list) ." + }, + "vCPUsPerCore": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the vCPU to physical core ratio.

    When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list)

    Setting this property to 1 also means that hyper-threading is disabled." + } + }, + "description": "Specifies VM Size Property settings on the virtual machine." + }, + "WindowsConfiguration": { + "type": "object", + "properties": { + "additionalUnattendContent": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalUnattendContent" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup." + }, + "enableAutomaticUpdates": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true.

    For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning." + }, + "patchSettings": { + "oneOf": [ + { + "$ref": "#/definitions/PatchSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies settings related to VM Guest Patching on Windows." + }, + "provisionVMAgent": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine.

    When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later." + }, + "timeZone": { + "type": "string", + "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\".

    Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones)." + }, + "winRM": { + "oneOf": [ + { + "$ref": "#/definitions/WinRMConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes Windows Remote Management configuration of the VM" + } + }, + "description": "Specifies Windows operating system settings on the virtual machine." + }, + "WinRMConfiguration": { + "type": "object", + "properties": { + "listeners": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/WinRMListener" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Windows Remote Management listeners" + } + }, + "description": "Describes Windows Remote Management configuration of the VM" + }, + "WinRMListener": { + "type": "object", + "properties": { + "certificateUrl": { + "type": "string", + "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:

    {
    \"data\":\"\",
    \"dataType\":\"pfx\",
    \"password\":\"\"
    }
    To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Http", + "Https" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the protocol of WinRM listener.

    Possible values are:
    **http**

    **https**." + } + }, + "description": "Describes Protocol and thumbprint of Windows Remote Management listener" + } + } +} From 51286cf6b1b70009a20ff89db2c5233b24adbf1b Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 25 Aug 2021 02:01:07 +0000 Subject: [PATCH 104/243] CodeGen from PR 15722 in Azure/azure-rest-api-specs Removing readonly for isVerified property as it is no more readonly property (#15722) --- schemas/2021-07-01-preview/Microsoft.Devices.json | 11 +++++++++++ schemas/2021-07-01/Microsoft.Devices.json | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/schemas/2021-07-01-preview/Microsoft.Devices.json b/schemas/2021-07-01-preview/Microsoft.Devices.json index 289dca9977..ed1c548007 100644 --- a/schemas/2021-07-01-preview/Microsoft.Devices.json +++ b/schemas/2021-07-01-preview/Microsoft.Devices.json @@ -275,6 +275,17 @@ "certificate": { "type": "string", "description": "The certificate content" + }, + "isVerified": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether certificate has been verified." } }, "description": "The description of an X509 CA Certificate." diff --git a/schemas/2021-07-01/Microsoft.Devices.json b/schemas/2021-07-01/Microsoft.Devices.json index 28319ee1d9..b8ba43fe69 100644 --- a/schemas/2021-07-01/Microsoft.Devices.json +++ b/schemas/2021-07-01/Microsoft.Devices.json @@ -275,6 +275,17 @@ "certificate": { "type": "string", "description": "The certificate content" + }, + "isVerified": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether certificate has been verified." } }, "description": "The description of an X509 CA Certificate." From b933c84bb65e193528a055c13ef940929f3b64a3 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 25 Aug 2021 02:37:04 +0000 Subject: [PATCH 105/243] CodeGen from PR 15763 in Azure/azure-rest-api-specs [Hub Generated] Public private branch 'raonon-MixedReality-UpdateResourceResponse' (#15763) * Updated response payload to include missing properties * Reverted Identity property * Updated stable/2020_05_01/proxy.json to include missing object properties Co-authored-by: Raymond Ononiwu --- .../Microsoft.MixedReality.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/schemas/2021-03-01-preview/Microsoft.MixedReality.json b/schemas/2021-03-01-preview/Microsoft.MixedReality.json index 298bb84d22..b8527e5895 100644 --- a/schemas/2021-03-01-preview/Microsoft.MixedReality.json +++ b/schemas/2021-03-01-preview/Microsoft.MixedReality.json @@ -23,6 +23,17 @@ } ] }, + "kind": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource model definition representing SKU" + }, "location": { "type": "string", "description": "The geo-location where the resource lives" @@ -41,6 +52,17 @@ ], "description": "Name of an Mixed Reality Account." }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, "properties": { "oneOf": [ { @@ -52,6 +74,17 @@ ], "description": "Common Properties shared by Mixed Reality Accounts" }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource model definition representing SKU" + }, "tags": { "oneOf": [ { From daded120ae0356c71260b4212d2513b2ce7929ee Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 25 Aug 2021 05:53:17 +0000 Subject: [PATCH 106/243] CodeGen from PR 15636 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.Insights to add version preview/2018-05-01-preview (#15636) * 2018-05-01-preview * change version * delete file added by mistake * fix version of examples * reference webTests_API in readme Co-authored-by: Gustavo Lima --- .../Microsoft.Insights.Application.json | 389 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 2 files changed, 392 insertions(+) diff --git a/schemas/2018-05-01-preview/Microsoft.Insights.Application.json b/schemas/2018-05-01-preview/Microsoft.Insights.Application.json index 4939fb282a..269e7efc3a 100644 --- a/schemas/2018-05-01-preview/Microsoft.Insights.Application.json +++ b/schemas/2018-05-01-preview/Microsoft.Insights.Application.json @@ -120,6 +120,80 @@ "type" ], "description": "Microsoft.Insights/components/ProactiveDetectionConfigs" + }, + "webtests": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-05-01-preview" + ] + }, + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ping", + "multistep" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The kind of WebTest that this web test watches. Choices are ping and multistep." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the Application Insights WebTest resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WebTestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata describing a web test for an Azure 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.Insights/webtests" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Insights/webtests" } }, "definitions": { @@ -431,6 +505,321 @@ "type" ], "description": "Microsoft.Insights/components/ProactiveDetectionConfigs" + }, + "HeaderField": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": "The name of the header." + }, + "value": { + "type": "string", + "description": "The value of the header." + } + }, + "description": "A header to add to the WebTest." + }, + "WebTestGeolocation": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "description": "Location ID for the WebTest to run from." + } + }, + "description": "Geo-physical location to run a WebTest from. You must specify one or more locations for the test to run from." + }, + "WebTestProperties": { + "type": "object", + "properties": { + "Configuration": { + "oneOf": [ + { + "$ref": "#/definitions/WebTestPropertiesConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An XML configuration specification for a WebTest." + }, + "Description": { + "type": "string", + "description": "User defined description for this WebTest." + }, + "Enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Is the test actively being monitored." + }, + "Frequency": { + "oneOf": [ + { + "type": "integer", + "default": "300" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Interval in seconds between test runs for this WebTest. Default value is 300." + }, + "Kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ping", + "multistep", + "basic", + "standard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The kind of web test this is, valid choices are ping, multistep, basic, and standard." + }, + "Locations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/WebTestGeolocation" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of where to physically run the tests from to give global coverage for accessibility of your application." + }, + "Name": { + "type": "string", + "description": "User defined name if this WebTest." + }, + "Request": { + "oneOf": [ + { + "$ref": "#/definitions/WebTestPropertiesRequest" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The collection of request properties" + }, + "RetryEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allow for retries should this WebTest fail." + }, + "SyntheticMonitorId": { + "type": "string", + "description": "Unique ID of this WebTest. This is typically the same value as the Name field." + }, + "Timeout": { + "oneOf": [ + { + "type": "integer", + "default": "30" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Seconds until this WebTest will timeout and fail. Default value is 30." + }, + "ValidationRules": { + "oneOf": [ + { + "$ref": "#/definitions/WebTestPropertiesValidationRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The collection of validation rule properties" + } + }, + "required": [ + "Kind", + "Locations", + "Name", + "SyntheticMonitorId" + ], + "description": "Metadata describing a web test for an Azure resource." + }, + "WebTestPropertiesConfiguration": { + "type": "object", + "properties": { + "WebTest": { + "type": "string", + "description": "The XML specification of a WebTest to run against an application." + } + }, + "description": "An XML configuration specification for a WebTest." + }, + "WebTestPropertiesRequest": { + "type": "object", + "properties": { + "FollowRedirects": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Follow redirects for this web test." + }, + "Headers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/HeaderField" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of headers and their values to add to the WebTest call." + }, + "HttpVerb": { + "type": "string", + "description": "Http verb to use for this web test." + }, + "ParseDependentRequests": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parse Dependent request for this WebTest." + }, + "RequestBody": { + "type": "string", + "description": "Base64 encoded string body to send with this web test." + }, + "RequestUrl": { + "type": "string", + "description": "Url location to test." + } + }, + "description": "The collection of request properties" + }, + "WebTestPropertiesValidationRules": { + "type": "object", + "properties": { + "ContentValidation": { + "oneOf": [ + { + "$ref": "#/definitions/WebTestPropertiesValidationRulesContentValidation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The collection of content validation properties" + }, + "ExpectedHttpStatusCode": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Validate that the WebTest returns the http status code provided." + }, + "IgnoreHttpsStatusCode": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "When set, validation will ignore the status code." + }, + "SSLCertRemainingLifetimeCheck": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A number of days to check still remain before the the existing SSL cert expires. Value must be positive and the SSLCheck must be set to true." + }, + "SSLCheck": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Checks to see if the SSL cert is still valid." + } + }, + "description": "The collection of validation rule properties" + }, + "WebTestPropertiesValidationRulesContentValidation": { + "type": "object", + "properties": { + "ContentMatch": { + "type": "string", + "description": "Content to look for in the return of the WebTest. Must not be null or empty." + }, + "IgnoreCase": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "When set, this value makes the ContentMatch validation case insensitive." + }, + "PassIfTextFound": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "When true, validation will pass if there is a match for the ContentMatch string. If false, validation will fail if there is a match" + } + }, + "description": "The collection of content validation properties" } } } \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 738f393a77..ce37ba6009 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6403,6 +6403,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-05-01-preview/Microsoft.Insights.Application.json#/resourceDefinitions/components_ProactiveDetectionConfigs" }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-05-01-preview/Microsoft.Insights.Application.json#/resourceDefinitions/webtests" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-06-17-preview/Microsoft.Insights.Application.json#/resourceDefinitions/workbooks" }, From 3eb47aeb89ed8564bf683c2b52a5ae29e2429f0e Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 25 Aug 2021 08:42:17 +0000 Subject: [PATCH 107/243] Update resource list --- generator/resources.json | 1 + 1 file changed, 1 insertion(+) diff --git a/generator/resources.json b/generator/resources.json index d959fd596e..c4f8adaf8f 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3440,6 +3440,7 @@ "Microsoft.Insights/webtests": [ "2014-04-01", "2015-05-01", + "2018-05-01-preview", "2020-10-05-preview" ], "Microsoft.Intune/locations/androidPolicies": [ From 4971a1f3648c2c3c26affa5eb795fcdea25a7d73 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 25 Aug 2021 13:45:47 +0000 Subject: [PATCH 108/243] 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 +++ .../2021-06-01-preview/Microsoft.Synapse.json | 132 + schemas/2021-06-01/Microsoft.Synapse.json | 5687 +++++++++++++++++ schemas/common/autogeneratedResources.json | 131 +- 8 files changed, 8027 insertions(+), 2407 deletions(-) delete mode 100644 schemas/2018-02-02/Microsoft.Migrate.json delete 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 create mode 100644 schemas/2021-06-01/Microsoft.Synapse.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 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 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/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 a237c4572d..4fccba6e97 100644 --- a/schemas/2021-06-01-preview/Microsoft.Synapse.json +++ b/schemas/2021-06-01-preview/Microsoft.Synapse.json @@ -148,6 +148,9 @@ { "$ref": "#/definitions/workspaces_managedIdentitySqlControlSettings_childResource" }, + { + "$ref": "#/definitions/workspaces_azureADOnlyAuthentications_childResource" + }, { "$ref": "#/definitions/workspaces_kustoPools_childResource" } @@ -278,6 +281,53 @@ ], "description": "Microsoft.Synapse/workspaces/auditingSettings" }, + "workspaces_azureADOnlyAuthentications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01-preview" + ] + }, + "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": "Azure Active Directory Only Authentication properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Synapse/workspaces/azureADOnlyAuthentications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications" + }, "workspaces_bigDataPools": { "type": "object", "properties": { @@ -1991,6 +2041,26 @@ }, "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": "Azure Active Directory Only Authentication properties" + }, "AzureSku": { "type": "object", "properties": { @@ -2529,9 +2599,24 @@ "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" @@ -5125,6 +5210,11 @@ "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" @@ -5800,6 +5890,48 @@ ], "description": "Microsoft.Synapse/workspaces/auditingSettings" }, + "workspaces_azureADOnlyAuthentications_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01-preview" + ] + }, + "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": "Azure Active Directory Only Authentication properties" + }, + "type": { + "type": "string", + "enum": [ + "azureADOnlyAuthentications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications" + }, "workspaces_bigDataPools_childResource": { "type": "object", "properties": { 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 3bafd007d1..b56de74e5d 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7022,43 +7022,16 @@ "$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/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" + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" }, { - "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" }, { - "$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" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" - }, - { - "$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" @@ -11137,6 +11110,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" }, @@ -11149,6 +11215,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.Synapse.json#/resourceDefinitions/workspaces_auditingSettings" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.Synapse.json#/resourceDefinitions/workspaces_azureADOnlyAuthentications" + }, { "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.Synapse.json#/resourceDefinitions/workspaces_bigDataPools" }, From 1c1f63012e7fd88932debe1b13339fed2f132f48 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 25 Aug 2021 13:46:00 +0000 Subject: [PATCH 109/243] Update resource list --- generator/resources.json | 77 +++++++++++++++++++++------------------- 1 file changed, 40 insertions(+), 37 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index c4f8adaf8f..b37b2e68ef 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3940,44 +3940,13 @@ "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/migrateProjects/solutions": [ - "2018-09-01-preview" - ], - "Microsoft.Migrate/projects": [ - "2018-02-02" - ], - "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" @@ -7322,6 +7291,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces": [ @@ -7330,6 +7300,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/administrators": [ @@ -7338,6 +7309,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/auditingSettings": [ @@ -7346,6 +7318,11 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", + "2021-06-01-preview" + ], + "Microsoft.Synapse/workspaces/azureADOnlyAuthentications": [ + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/bigDataPools": [ @@ -7354,6 +7331,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/encryptionProtector": [ @@ -7361,6 +7339,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/extendedAuditingSettings": [ @@ -7369,6 +7348,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/firewallRules": [ @@ -7377,6 +7357,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/integrationRuntimes": [ @@ -7385,6 +7366,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/keys": [ @@ -7393,6 +7375,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/kustoPools": [ @@ -7424,6 +7407,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/privateEndpointConnections": [ @@ -7432,6 +7416,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/securityAlertPolicies": [ @@ -7440,6 +7425,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/sqlAdministrators": [ @@ -7448,6 +7434,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/sqlDatabases": [ @@ -7460,6 +7447,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/sqlPools/auditingSettings": [ @@ -7468,6 +7456,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies": [ @@ -7476,6 +7465,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies/rules": [ @@ -7484,6 +7474,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/sqlPools/extendedAuditingSettings": [ @@ -7492,6 +7483,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/sqlPools/geoBackupPolicies": [ @@ -7500,6 +7492,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/sqlPools/maintenancewindows": [ @@ -7508,6 +7501,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/sqlPools/metadataSync": [ @@ -7516,6 +7510,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns/sensitivityLabels": [ @@ -7524,6 +7519,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/sqlPools/securityAlertPolicies": [ @@ -7532,6 +7528,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/sqlPools/transparentDataEncryption": [ @@ -7540,6 +7537,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments": [ @@ -7548,6 +7546,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments/rules/baselines": [ @@ -7556,6 +7555,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/sqlPools/workloadGroups": [ @@ -7564,6 +7564,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/sqlPools/workloadGroups/workloadClassifiers": [ @@ -7572,6 +7573,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.Synapse/workspaces/vulnerabilityAssessments": [ @@ -7580,6 +7582,7 @@ "2021-03-01", "2021-04-01-preview", "2021-05-01", + "2021-06-01", "2021-06-01-preview" ], "Microsoft.TimeSeriesInsights/environments": [ From fd5950df7788b63b47be0654b20bea192f0e90d9 Mon Sep 17 00:00:00 2001 From: Theodore Chang Date: Wed, 25 Aug 2021 14:35:08 -0400 Subject: [PATCH 110/243] deploymentTemplate --- schemas/2019-04-01/deploymentTemplate.json | 48 ++++++++++++++++++++-- 1 file changed, 44 insertions(+), 4 deletions(-) diff --git a/schemas/2019-04-01/deploymentTemplate.json b/schemas/2019-04-01/deploymentTemplate.json index 43dfea3a21..b150d07b25 100644 --- a/schemas/2019-04-01/deploymentTemplate.json +++ b/schemas/2019-04-01/deploymentTemplate.json @@ -581,14 +581,14 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_dataconnections" }, { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_principalassignments" }, { "$ref": "https://schema.management.azure.com/schemas/2020-09-18/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_principalassignments" }, - { "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Kusto.json#/resourceDefinitions/clusters" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Kusto.json#/resourceDefinitions/clusters" }, { "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases" }, { "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_dataconnections" }, { "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Kusto.json#/resourceDefinitions/clusters_attacheddatabaseconfigurations" }, { "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Kusto.json#/resourceDefinitions/clusters_dataconnections" }, { "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Kusto.json#/resourceDefinitions/clusters_principalassignments" }, { "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_principalassignments" }, - { "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_scripts" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Kusto.json#/resourceDefinitions/clusters_databases_scripts" }, { "$ref": "https://schema.management.azure.com/schemas/2015-11-01/Microsoft.Network.json#/resourceDefinitions/trafficManagerProfiles" }, { "$ref": "https://schema.management.azure.com/schemas/2017-03-01/Microsoft.Network.json#/resourceDefinitions/trafficManagerProfiles" }, { "$ref": "https://schema.management.azure.com/schemas/2017-05-01/Microsoft.Network.json#/resourceDefinitions/trafficManagerProfiles" }, @@ -2038,8 +2038,48 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualMachines_runCommands" }, { "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachines_runCommands" }, { "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/resourceDefinitions/virtualMachines_extensions" }, - { "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/resourceDefinitions/virtualMachineScaleSets_extensions" } - + { "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.Compute.Extensions.json#/resourceDefinitions/virtualMachineScaleSets_extensions" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.json#/resourceDefinitions/availabilitySets" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.json#/resourceDefinitions/capacityReservationGroups" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.json#/resourceDefinitions/capacityReservationGroups_capacityReservations" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.json#/resourceDefinitions/hostGroups" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.json#/resourceDefinitions/hostGroups_hosts" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.json#/resourceDefinitions/images" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.json#/resourceDefinitions/proximityPlacementGroups" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.json#/resourceDefinitions/restorePointCollections" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.json#/resourceDefinitions/restorePointCollections_restorePoints" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.json#/resourceDefinitions/sshPublicKeys" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachines" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualmachines" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualMachines_extensions" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualMachines_runCommands" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachines_runCommands" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/resourceDefinitions/virtualMachines_extensions" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Compute.Extensions.json#/resourceDefinitions/virtualMachineScaleSets_extensions" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/availabilitySets" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/capacityReservationGroups" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/capacityReservationGroups_capacityReservations" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/galleries" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/galleries_applications" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/galleries_applications_versions" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/galleries_images" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/galleries_images_versions" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/hostGroups" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/hostGroups_hosts" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/images" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/proximityPlacementGroups" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/restorePointCollections" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/restorePointCollections_restorePoints" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/sshPublicKeys" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachines" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualmachines" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualMachines_extensions" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachineScaleSets_virtualMachines_runCommands" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.json#/resourceDefinitions/virtualMachines_runCommands" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/resourceDefinitions/virtualMachines_extensions" }, + { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Compute.Extensions.json#/resourceDefinitions/virtualMachineScaleSets_extensions" } ] } ] From 5faeac027600930f380df61c0173db15fb43449a Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 26 Aug 2021 02:07:19 +0000 Subject: [PATCH 111/243] CodeGen from PR 15797 in Azure/azure-rest-api-specs Revert "[Hub Generated] Review request for Microsoft.Devices to add version preview/2021-09-01-preview (#15428)" (#15797) This reverts commit 21056051e0ceb137195559aeff9df03f56a5d9af. --- .../2021-09-01-preview/Microsoft.Devices.json | 1798 ----------------- schemas/common/autogeneratedResources.json | 12 - 2 files changed, 1810 deletions(-) delete mode 100644 schemas/2021-09-01-preview/Microsoft.Devices.json diff --git a/schemas/2021-09-01-preview/Microsoft.Devices.json b/schemas/2021-09-01-preview/Microsoft.Devices.json deleted file mode 100644 index 8e61d063f9..0000000000 --- a/schemas/2021-09-01-preview/Microsoft.Devices.json +++ /dev/null @@ -1,1798 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.Devices.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Devices", - "description": "Microsoft Devices Resource Types", - "resourceDefinitions": { - "IotHubs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention." - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ArmIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "type": "string", - "description": "The resource location." - }, - "name": { - "type": "string", - "description": "The name of the IoT hub." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/IotHubProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of an IoT hub." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/IotHubs_certificates_childResource" - }, - { - "$ref": "#/definitions/iotHubs_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/IotHubSkuInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about the SKU of the IoT hub." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Devices/IotHubs" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "sku", - "type" - ], - "description": "Microsoft.Devices/IotHubs" - }, - "IotHubs_certificates": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[A-Za-z0-9-._]{1,64}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the certificate" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CertificateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The description of an X509 CA Certificate." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Devices/IotHubs/certificates" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Devices/IotHubs/certificates" - }, - "IotHubs_eventHubEndpoints_ConsumerGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the consumer group to add." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/EventHubConsumerGroupName" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The EventHub consumer group name." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Devices/IotHubs/eventHubEndpoints/ConsumerGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Devices/IotHubs/eventHubEndpoints/ConsumerGroups" - }, - "iotHubs_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-01-preview" - ] - }, - "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": "The properties of a private endpoint connection" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Devices/iotHubs/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Devices/iotHubs/privateEndpointConnections" - } - }, - "definitions": { - "ArmIdentity": { - "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": "The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ArmUserIdentity" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - } - }, - "ArmUserIdentity": { - "type": "object", - "properties": {} - }, - "CertificateProperties": { - "type": "object", - "properties": { - "certificate": { - "type": "string", - "description": "The certificate content" - } - }, - "description": "The description of an X509 CA Certificate." - }, - "CloudToDeviceProperties": { - "type": "object", - "properties": { - "defaultTtlAsIso8601": { - "type": "string", - "format": "duration", - "description": "The default time to live for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." - }, - "feedback": { - "oneOf": [ - { - "$ref": "#/definitions/FeedbackProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the feedback queue for cloud-to-device messages." - }, - "maxDeliveryCount": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max delivery count for cloud-to-device messages in the device queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." - } - }, - "description": "The IoT hub cloud-to-device messaging properties." - }, - "EncryptionPropertiesDescription": { - "type": "object", - "properties": { - "keySource": { - "type": "string", - "description": "The source of the key." - }, - "keyVaultProperties": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/KeyVaultKeyProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the KeyVault key." - } - }, - "description": "The encryption properties for the IoT hub." - }, - "EnrichmentProperties": { - "type": "object", - "properties": { - "endpointNames": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of endpoints for which the enrichment is applied to the message." - }, - "key": { - "type": "string", - "description": "The key or name for the enrichment property." - }, - "value": { - "type": "string", - "description": "The value for the enrichment property." - } - }, - "required": [ - "endpointNames", - "key", - "value" - ], - "description": "The properties of an enrichment that your IoT hub applies to messages delivered to endpoints." - }, - "EventHubConsumerGroupName": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "EventHub consumer group name" - } - }, - "required": [ - "name" - ], - "description": "The EventHub consumer group name." - }, - "EventHubProperties": { - "type": "object", - "properties": { - "partitionCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages." - }, - "retentionTimeInDays": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages" - } - }, - "description": "The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub." - }, - "FallbackRouteProperties": { - "type": "object", - "properties": { - "condition": { - "type": "string", - "description": "The condition which is evaluated in order to apply the fallback route. If the condition is not provided it will evaluate to true by default. For grammar, See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language" - }, - "endpointNames": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of endpoints to which the messages that satisfy the condition are routed to. Currently only 1 endpoint is allowed." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Used to specify whether the fallback route is enabled." - }, - "name": { - "type": "string", - "description": "The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique." - }, - "source": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Invalid", - "DeviceMessages", - "TwinChangeEvents", - "DeviceLifecycleEvents", - "DeviceJobLifecycleEvents", - "DigitalTwinChangeEvents", - "DeviceConnectionStateEvents" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The source to which the routing rule is to be applied to. For example, DeviceMessages." - } - }, - "required": [ - "endpointNames", - "isEnabled", - "source" - ], - "description": "The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint." - }, - "FeedbackProperties": { - "type": "object", - "properties": { - "lockDurationAsIso8601": { - "type": "string", - "format": "duration", - "description": "The lock duration for the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." - }, - "maxDeliveryCount": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of times the IoT hub attempts to deliver a message on the feedback queue. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." - }, - "ttlAsIso8601": { - "type": "string", - "format": "duration", - "description": "The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#cloud-to-device-messages." - } - }, - "description": "The properties of the feedback queue for cloud-to-device messages." - }, - "IotHubProperties": { - "type": "object", - "properties": { - "allowedFqdnList": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of allowed FQDNs(Fully Qualified Domain Name) for egress from Iot Hub." - }, - "authorizationPolicies": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SharedAccessSignatureAuthorizationRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The shared access policies you can use to secure a connection to the IoT hub." - }, - "cloudToDevice": { - "oneOf": [ - { - "$ref": "#/definitions/CloudToDeviceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The IoT hub cloud-to-device messaging properties." - }, - "comments": { - "type": "string", - "description": "IoT hub comments." - }, - "deviceStreams": { - "oneOf": [ - { - "$ref": "#/definitions/IotHubPropertiesDeviceStreams" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The device streams properties of iothub." - }, - "disableDeviceSAS": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If true, all device(including Edge devices but excluding modules) scoped SAS keys cannot be used for authentication." - }, - "disableLocalAuth": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If true, SAS tokens with Iot hub scoped SAS keys cannot be used for authentication." - }, - "disableModuleSAS": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If true, all module scoped SAS keys cannot be used for authentication." - }, - "enableFileUploadNotifications": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If True, file upload notifications are enabled." - }, - "encryption": { - "oneOf": [ - { - "$ref": "#/definitions/EncryptionPropertiesDescription" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The encryption properties for the IoT hub." - }, - "eventHubEndpoints": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/EventHubProperties" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub." - }, - "features": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "DeviceManagement" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The capabilities and features enabled for the IoT hub." - }, - "ipFilterRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IpFilterRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The IP filter rules." - }, - "messagingEndpoints": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/MessagingEndpointProperties" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The messaging endpoint properties for the file upload notification queue." - }, - "minTlsVersion": { - "type": "string", - "description": "Specifies the minimum TLS version to support for this hub. Can be set to \"1.2\" to have clients that use a TLS version below 1.2 to be rejected." - }, - "networkRuleSets": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkRuleSetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Network Rule Set Properties of IotHub" - }, - "privateEndpointConnections": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connections created on this IotHub" - }, - "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." - }, - "restrictOutboundNetworkAccess": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If true, egress from IotHub will be restricted to only the allowed FQDNs that are configured via allowedFqdnList." - }, - "routing": { - "oneOf": [ - { - "$ref": "#/definitions/RoutingProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging" - }, - "storageEndpoints": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/StorageEndpointProperties" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown." - } - }, - "description": "The properties of an IoT hub." - }, - "IotHubPropertiesDeviceStreams": { - "type": "object", - "properties": { - "streamingEndpoints": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Device Streams Endpoints." - } - }, - "description": "The device streams properties of iothub." - }, - "IotHubSkuInfo": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "F1", - "S1", - "S2", - "S3", - "B1", - "B2", - "B3" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the SKU." - } - }, - "required": [ - "name" - ], - "description": "Information about the SKU of the IoT hub." - }, - "IotHubs_certificates_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[A-Za-z0-9-._]{1,64}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the certificate" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CertificateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The description of an X509 CA Certificate." - }, - "type": { - "type": "string", - "enum": [ - "certificates" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Devices/IotHubs/certificates" - }, - "iotHubs_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-01-preview" - ] - }, - "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": "The properties of a private endpoint connection" - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Devices/iotHubs/privateEndpointConnections" - }, - "IpFilterRule": { - "type": "object", - "properties": { - "action": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Accept", - "Reject" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The desired action for requests captured by this rule." - }, - "filterName": { - "type": "string", - "description": "The name of the IP filter rule." - }, - "ipMask": { - "type": "string", - "description": "A string that contains the IP address range in CIDR notation for the rule." - } - }, - "required": [ - "action", - "filterName", - "ipMask" - ], - "description": "The IP filter rules for the IoT hub." - }, - "KeyVaultKeyProperties": { - "type": "object", - "properties": { - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the Managed identity." - }, - "keyIdentifier": { - "type": "string", - "description": "The identifier of the key." - } - }, - "description": "The properties of the KeyVault key." - }, - "ManagedIdentity": { - "type": "object", - "properties": { - "userAssignedIdentity": { - "type": "string", - "description": "The user assigned identity." - } - }, - "description": "The properties of the Managed identity." - }, - "MessagingEndpointProperties": { - "type": "object", - "properties": { - "lockDurationAsIso8601": { - "type": "string", - "format": "duration", - "description": "The lock duration. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload." - }, - "maxDeliveryCount": { - "oneOf": [ - { - "type": "integer", - "minimum": 1, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of times the IoT hub attempts to deliver a message. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload." - }, - "ttlAsIso8601": { - "type": "string", - "format": "duration", - "description": "The period of time for which a message is available to consume before it is expired by the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload." - } - }, - "description": "The properties of the messaging endpoints used by this IoT hub." - }, - "NetworkRuleSetIpRule": { - "type": "object", - "properties": { - "action": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Allow" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "IP Filter Action." - }, - "filterName": { - "type": "string", - "description": "Name of the IP filter rule." - }, - "ipMask": { - "type": "string", - "description": "A string that contains the IP address range in CIDR notation for the rule." - } - }, - "required": [ - "filterName", - "ipMask" - ], - "description": "IP Rule to be applied as part of Network Rule Set" - }, - "NetworkRuleSetProperties": { - "type": "object", - "properties": { - "applyToBuiltInEventHubEndpoint": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If True, then Network Rule Set is also applied to BuiltIn EventHub EndPoint of IotHub" - }, - "defaultAction": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Deny", - "Allow" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default Action for Network Rule Set." - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkRuleSetIpRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of IP Rules" - } - }, - "required": [ - "applyToBuiltInEventHubEndpoint", - "ipRules" - ], - "description": "Network Rule Set Properties of IotHub" - }, - "PrivateEndpoint": { - "type": "object", - "properties": {}, - "description": "The private endpoint property of a private endpoint connection" - }, - "PrivateEndpointConnection": { - "type": "object", - "properties": { - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of a private endpoint connection" - } - }, - "required": [ - "properties" - ], - "description": "The private endpoint connection of an IotHub" - }, - "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 property of a private endpoint connection" - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The current state of a private endpoint connection" - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "The properties of a private endpoint connection" - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "Actions required for a private endpoint connection" - }, - "description": { - "type": "string", - "description": "The description for the current state of a private endpoint connection" - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected", - "Disconnected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The status of a private endpoint connection." - } - }, - "required": [ - "description", - "status" - ], - "description": "The current state of a private endpoint connection" - }, - "RouteProperties": { - "type": "object", - "properties": { - "condition": { - "type": "string", - "description": "The condition that is evaluated to apply the routing rule. If no condition is provided, it evaluates to true by default. For grammar, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-query-language" - }, - "endpointNames": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of endpoints to which messages that satisfy the condition are routed. Currently only one endpoint is allowed." - }, - "isEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Used to specify whether a route is enabled." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[A-Za-z0-9-._]{1,64}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the route. The name can only include alphanumeric characters, periods, underscores, hyphens, has a maximum length of 64 characters, and must be unique." - }, - "source": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Invalid", - "DeviceMessages", - "TwinChangeEvents", - "DeviceLifecycleEvents", - "DeviceJobLifecycleEvents", - "DigitalTwinChangeEvents", - "DeviceConnectionStateEvents" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The source that the routing rule is to be applied to, such as DeviceMessages." - } - }, - "required": [ - "endpointNames", - "isEnabled", - "name", - "source" - ], - "description": "The properties of a routing rule that your IoT hub uses to route messages to endpoints." - }, - "RoutingEndpoints": { - "type": "object", - "properties": { - "eventHubs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/RoutingEventHubProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Event Hubs endpoints that IoT hub routes messages to, based on the routing rules. This list does not include the built-in Event Hubs endpoint." - }, - "serviceBusQueues": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/RoutingServiceBusQueueEndpointProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Service Bus queue endpoints that IoT hub routes the messages to, based on the routing rules." - }, - "serviceBusTopics": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/RoutingServiceBusTopicEndpointProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of Service Bus topic endpoints that the IoT hub routes the messages to, based on the routing rules." - }, - "storageContainers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/RoutingStorageContainerProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of storage container endpoints that IoT hub routes messages to, based on the routing rules." - } - }, - "description": "The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs." - }, - "RoutingEventHubProperties": { - "type": "object", - "properties": { - "authenticationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "keyBased", - "identityBased" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Method used to authenticate against the event hub endpoint." - }, - "connectionString": { - "type": "string", - "description": "The connection string of the event hub endpoint. " - }, - "endpointUri": { - "type": "string", - "description": "The url of the event hub endpoint. It must include the protocol sb://" - }, - "entityPath": { - "type": "string", - "description": "Event hub name on the event hub namespace" - }, - "id": { - "type": "string", - "description": "Id of the event hub endpoint" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the Managed identity." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[A-Za-z0-9-._]{1,64}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types." - }, - "resourceGroup": { - "type": "string", - "description": "The name of the resource group of the event hub endpoint." - }, - "subscriptionId": { - "type": "string", - "description": "The subscription identifier of the event hub endpoint." - } - }, - "required": [ - "name" - ], - "description": "The properties related to an event hub endpoint." - }, - "RoutingProperties": { - "type": "object", - "properties": { - "endpoints": { - "oneOf": [ - { - "$ref": "#/definitions/RoutingEndpoints" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties related to the custom endpoints to which your IoT hub routes messages based on the routing rules. A maximum of 10 custom endpoints are allowed across all endpoint types for paid hubs and only 1 custom endpoint is allowed across all endpoint types for free hubs." - }, - "enrichments": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EnrichmentProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user-provided enrichments that the IoT hub applies to messages to be delivered to built-in and custom endpoints. See: https://aka.ms/telemetryoneventgrid" - }, - "fallbackRoute": { - "oneOf": [ - { - "$ref": "#/definitions/FallbackRouteProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the fallback route. IoT Hub uses these properties when it routes messages to the fallback endpoint." - }, - "routes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/RouteProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of user-provided routing rules that the IoT hub uses to route messages to built-in and custom endpoints. A maximum of 100 routing rules are allowed for paid hubs and a maximum of 5 routing rules are allowed for free hubs." - } - }, - "description": "The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging" - }, - "RoutingServiceBusQueueEndpointProperties": { - "type": "object", - "properties": { - "authenticationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "keyBased", - "identityBased" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Method used to authenticate against the service bus queue endpoint." - }, - "connectionString": { - "type": "string", - "description": "The connection string of the service bus queue endpoint." - }, - "endpointUri": { - "type": "string", - "description": "The url of the service bus queue endpoint. It must include the protocol sb://" - }, - "entityPath": { - "type": "string", - "description": "Queue name on the service bus namespace" - }, - "id": { - "type": "string", - "description": "Id of the service bus queue endpoint" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the Managed identity." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[A-Za-z0-9-._]{1,64}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual queue name." - }, - "resourceGroup": { - "type": "string", - "description": "The name of the resource group of the service bus queue endpoint." - }, - "subscriptionId": { - "type": "string", - "description": "The subscription identifier of the service bus queue endpoint." - } - }, - "required": [ - "name" - ], - "description": "The properties related to service bus queue endpoint types." - }, - "RoutingServiceBusTopicEndpointProperties": { - "type": "object", - "properties": { - "authenticationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "keyBased", - "identityBased" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Method used to authenticate against the service bus topic endpoint." - }, - "connectionString": { - "type": "string", - "description": "The connection string of the service bus topic endpoint." - }, - "endpointUri": { - "type": "string", - "description": "The url of the service bus topic endpoint. It must include the protocol sb://" - }, - "entityPath": { - "type": "string", - "description": "Queue name on the service bus topic" - }, - "id": { - "type": "string", - "description": "Id of the service bus topic endpoint" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the Managed identity." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[A-Za-z0-9-._]{1,64}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types. The name need not be the same as the actual topic name." - }, - "resourceGroup": { - "type": "string", - "description": "The name of the resource group of the service bus topic endpoint." - }, - "subscriptionId": { - "type": "string", - "description": "The subscription identifier of the service bus topic endpoint." - } - }, - "required": [ - "name" - ], - "description": "The properties related to service bus topic endpoint types." - }, - "RoutingStorageContainerProperties": { - "type": "object", - "properties": { - "authenticationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "keyBased", - "identityBased" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Method used to authenticate against the storage endpoint." - }, - "batchFrequencyInSeconds": { - "oneOf": [ - { - "type": "integer", - "minimum": 60, - "maximum": 720 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Time interval at which blobs are written to storage. Value should be between 60 and 720 seconds. Default value is 300 seconds." - }, - "connectionString": { - "type": "string", - "description": "The connection string of the storage account." - }, - "containerName": { - "type": "string", - "description": "The name of storage container in the storage account." - }, - "encoding": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Avro", - "AvroDeflate", - "JSON" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Encoding that is used to serialize messages to blobs. Supported values are 'avro', 'avrodeflate', and 'JSON'. Default value is 'avro'." - }, - "endpointUri": { - "type": "string", - "description": "The url of the storage endpoint. It must include the protocol https://" - }, - "fileNameFormat": { - "type": "string", - "description": "File name format for the blob. Default format is {iothub}/{partition}/{YYYY}/{MM}/{DD}/{HH}/{mm}. All parameters are mandatory but can be reordered." - }, - "id": { - "type": "string", - "description": "Id of the storage container endpoint" - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the Managed identity." - }, - "maxChunkSizeInBytes": { - "oneOf": [ - { - "type": "integer", - "minimum": 10485760, - "maximum": 524288000 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Maximum number of bytes for each blob written to storage. Value should be between 10485760(10MB) and 524288000(500MB). Default value is 314572800(300MB)." - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[A-Za-z0-9-._]{1,64}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types." - }, - "resourceGroup": { - "type": "string", - "description": "The name of the resource group of the storage account." - }, - "subscriptionId": { - "type": "string", - "description": "The subscription identifier of the storage account." - } - }, - "required": [ - "containerName", - "name" - ], - "description": "The properties related to a storage container endpoint." - }, - "SharedAccessSignatureAuthorizationRule": { - "type": "object", - "properties": { - "keyName": { - "type": "string", - "description": "The name of the shared access policy." - }, - "primaryKey": { - "type": "string", - "description": "The primary key." - }, - "rights": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RegistryRead", - "RegistryWrite", - "ServiceConnect", - "DeviceConnect", - "RegistryRead, RegistryWrite", - "RegistryRead, ServiceConnect", - "RegistryRead, DeviceConnect", - "RegistryWrite, ServiceConnect", - "RegistryWrite, DeviceConnect", - "ServiceConnect, DeviceConnect", - "RegistryRead, RegistryWrite, ServiceConnect", - "RegistryRead, RegistryWrite, DeviceConnect", - "RegistryRead, ServiceConnect, DeviceConnect", - "RegistryWrite, ServiceConnect, DeviceConnect", - "RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The permissions assigned to the shared access policy." - }, - "secondaryKey": { - "type": "string", - "description": "The secondary key." - } - }, - "required": [ - "keyName", - "rights" - ], - "description": "The properties of an IoT hub shared access policy." - }, - "StorageEndpointProperties": { - "type": "object", - "properties": { - "authenticationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "keyBased", - "identityBased" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies authentication type being used for connecting to the storage account." - }, - "connectionString": { - "type": "string", - "description": "The connection string for the Azure Storage account to which files are uploaded." - }, - "containerName": { - "type": "string", - "description": "The name of the root container where you upload files. The container need not exist but should be creatable using the connectionString specified." - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the Managed identity." - }, - "sasTtlAsIso8601": { - "type": "string", - "format": "duration", - "description": "The period of time for which the SAS URI generated by IoT Hub for file upload is valid. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload#file-upload-notification-configuration-options." - } - }, - "required": [ - "connectionString", - "containerName" - ], - "description": "The properties of the Azure Storage endpoint for file upload." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index ce37ba6009..ce503e0aa9 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -4285,18 +4285,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Devices.json#/resourceDefinitions/iotHubs_privateEndpointConnections" }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.Devices.json#/resourceDefinitions/IotHubs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.Devices.json#/resourceDefinitions/IotHubs_certificates" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.Devices.json#/resourceDefinitions/IotHubs_eventHubEndpoints_ConsumerGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.Devices.json#/resourceDefinitions/iotHubs_privateEndpointConnections" - }, { "$ref": "https://schema.management.azure.com/schemas/2017-08-21-preview/Microsoft.Devices.Provisioning.json#/resourceDefinitions/provisioningServices" }, From 8b67f0b2de6e441a89e39b027343addb903de5ec Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 26 Aug 2021 02:35:02 +0000 Subject: [PATCH 112/243] CodeGen from PR 15783 in Azure/azure-rest-api-specs updated readme.python.md for Service Bus and Event Hub for 2021-06-01-preview (#15783) Co-authored-by: v-ajnava From 38bd1d1aff954f301526197e6fabccc2e41e3693 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 26 Aug 2021 02:36:04 +0000 Subject: [PATCH 113/243] CodeGen from PR 15783 in Azure/azure-rest-api-specs updated readme.python.md for Service Bus and Event Hub for 2021-06-01-preview (#15783) Co-authored-by: v-ajnava From bf9360a32d0364928887b44d55662dd24d0d805b Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 26 Aug 2021 05:23:11 +0000 Subject: [PATCH 114/243] CodeGen from PR 15458 in Azure/azure-rest-api-specs Add rotation permission (#15458) * Add rotation permission * Update keys.json Remove required from lifetimeActions * Change to expiryTime --- schemas/2021-06-01-preview/Microsoft.KeyVault.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schemas/2021-06-01-preview/Microsoft.KeyVault.json b/schemas/2021-06-01-preview/Microsoft.KeyVault.json index 7dc0b6bd4e..d107a5b820 100644 --- a/schemas/2021-06-01-preview/Microsoft.KeyVault.json +++ b/schemas/2021-06-01-preview/Microsoft.KeyVault.json @@ -1273,7 +1273,8 @@ "restore", "recover", "purge", - "release" + "release", + "rotate" ] } }, From 594c02343a243c93848991786e83eacc14016e37 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 26 Aug 2021 05:53:24 +0000 Subject: [PATCH 115/243] CodeGen from PR 15626 in Azure/azure-rest-api-specs [DataFactory]Support AmazonRdsForOracle Connector (#15626) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * (Do Not Merge)【DataFactory】Support AmazonRdsForOracle Connector * update --- schemas/2018-06-01/Microsoft.DataFactory.json | 180 ++++++++++++++++++ 1 file changed, 180 insertions(+) diff --git a/schemas/2018-06-01/Microsoft.DataFactory.json b/schemas/2018-06-01/Microsoft.DataFactory.json index a28367cb20..c75c18d4d9 100644 --- a/schemas/2018-06-01/Microsoft.DataFactory.json +++ b/schemas/2018-06-01/Microsoft.DataFactory.json @@ -893,6 +893,177 @@ ], "description": "A copy activity Amazon Marketplace Web Service source." }, + "AmazonRdsForLinkedServiceTypeProperties": { + "type": "object", + "properties": { + "connectionString": { + "type": "object", + "properties": {}, + "description": "The connection string. Type: string, SecureString or AzureKeyVaultSecretReference." + }, + "encryptedCredential": { + "type": "object", + "properties": {}, + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." + }, + "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." + } + }, + "required": [ + "connectionString" + ], + "description": "AmazonRdsForOracle database linked service properties." + }, + "AmazonRdsForOracleLinkedService": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "AmazonRdsForOracle" + ] + }, + "typeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/AmazonRdsForLinkedServiceTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AmazonRdsForOracle database linked service properties." + } + }, + "required": [ + "type", + "typeProperties" + ], + "description": "AmazonRdsForOracle database." + }, + "AmazonRdsForOraclePartitionSettings": { + "type": "object", + "properties": { + "partitionColumnName": { + "type": "object", + "properties": {}, + "description": "The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + }, + "partitionLowerBound": { + "type": "object", + "properties": {}, + "description": "The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + }, + "partitionNames": { + "type": "object", + "properties": {}, + "description": "Names of the physical partitions of AmazonRdsForOracle table. " + }, + "partitionUpperBound": { + "type": "object", + "properties": {}, + "description": "The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)." + } + }, + "description": "The settings that will be leveraged for AmazonRdsForOracle source partitioning." + }, + "AmazonRdsForOracleSource": { + "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)." + }, + "oracleReaderQuery": { + "type": "object", + "properties": {}, + "description": "AmazonRdsForOracle reader query. Type: string (or Expression with resultType string)." + }, + "partitionOption": { + "type": "object", + "properties": {}, + "description": "The partition mechanism that will be used for AmazonRdsForOracle read in parallel. Type: string (or Expression with resultType string)." + }, + "partitionSettings": { + "oneOf": [ + { + "$ref": "#/definitions/AmazonRdsForOraclePartitionSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The settings that will be leveraged for AmazonRdsForOracle source partitioning." + }, + "queryTimeout": { + "type": "object", + "properties": {}, + "description": "Query timeout. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))." + }, + "type": { + "type": "string", + "enum": [ + "AmazonRdsForOracleSource" + ] + } + }, + "required": [ + "type" + ], + "description": "A copy activity AmazonRdsForOracle source." + }, + "AmazonRdsForOracleTableDataset": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "AmazonRdsForOracleTable" + ] + }, + "typeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/AmazonRdsForOracleTableDatasetTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AmazonRdsForOracle dataset properties." + } + }, + "required": [ + "type" + ], + "description": "The AmazonRdsForOracle database dataset." + }, + "AmazonRdsForOracleTableDatasetTypeProperties": { + "type": "object", + "properties": { + "schema": { + "type": "object", + "properties": {}, + "description": "The schema name of the AmazonRdsForOracle database. Type: string (or Expression with resultType string)." + }, + "table": { + "type": "object", + "properties": {}, + "description": "The table name of the AmazonRdsForOracle database. Type: string (or Expression with resultType string)." + } + }, + "description": "AmazonRdsForOracle dataset properties." + }, "AmazonRedshiftLinkedService": { "type": "object", "properties": { @@ -7230,6 +7401,9 @@ { "$ref": "#/definitions/OracleSource" }, + { + "$ref": "#/definitions/AmazonRdsForOracleSource" + }, { "$ref": "#/definitions/WebSource" }, @@ -8719,6 +8893,9 @@ { "$ref": "#/definitions/OracleTableDataset" }, + { + "$ref": "#/definitions/AmazonRdsForOracleTableDataset" + }, { "$ref": "#/definitions/TeradataTableDataset" }, @@ -17149,6 +17326,9 @@ { "$ref": "#/definitions/OracleLinkedService" }, + { + "$ref": "#/definitions/AmazonRdsForOracleLinkedService" + }, { "$ref": "#/definitions/AzureMySqlLinkedService" }, From 8b16bcbebf123e882dfbe4a3c9195fd5900fc339 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 26 Aug 2021 06:32:40 +0000 Subject: [PATCH 116/243] CodeGen from PR 14956 in Azure/azure-rest-api-specs Add New Api 2021-06-22 (#14956) * Added Base for 2021-06-22 * Changes For New Api-Version * Updated SystemData * Updated Swagger Definition * Address PR Review Comments * Updated Error Response Format * Supress Lint Errors * Fix Breaking Changes * Add Supression For HRWG Response Body * Fix LintErrors * Updated hybridRunbookWorkerGroup.json * PR Review comments * Fix LinDiff Warnings * Fix LintDiff Warnings * Fix LintDiff Warnings Co-authored-by: Bhargava Chary Chollaty --- schemas/2021-06-22/Microsoft.Automation.json | 465 +++++++++++++++++++ schemas/common/autogeneratedResources.json | 9 + 2 files changed, 474 insertions(+) create mode 100644 schemas/2021-06-22/Microsoft.Automation.json diff --git a/schemas/2021-06-22/Microsoft.Automation.json b/schemas/2021-06-22/Microsoft.Automation.json new file mode 100644 index 0000000000..d31dcc9cc4 --- /dev/null +++ b/schemas/2021-06-22/Microsoft.Automation.json @@ -0,0 +1,465 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-06-22/Microsoft.Automation.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Automation", + "description": "Microsoft Automation Resource Types", + "resourceDefinitions": { + "automationAccounts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-22" + ] + }, + "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": "Gets or sets the location of the resource." + }, + "name": { + "type": "string", + "description": "The name of the automation account." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AutomationAccountCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update account properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/automationAccounts_hybridRunbookWorkerGroups_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the tags attached to the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts" + }, + "automationAccounts_hybridRunbookWorkerGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-22" + ] + }, + "credential": { + "oneOf": [ + { + "$ref": "#/definitions/RunAsCredentialAssociationProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of RunAs credential to use for hybrid worker." + }, + "name": { + "type": "string", + "description": "The hybrid runbook worker group name" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/automationAccounts_hybridRunbookWorkerGroups_hybridRunbookWorkers_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups" + }, + "automationAccounts_hybridRunbookWorkerGroups_hybridRunbookWorkers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-22" + ] + }, + "name": { + "type": "string", + "description": "The hybrid runbook worker id" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HybridRunbookWorkerCreateOrUpdateParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update hybrid runbook worker operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/hybridRunbookWorkers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/hybridRunbookWorkers" + } + }, + "definitions": { + "AutomationAccountCreateOrUpdateProperties": { + "type": "object", + "properties": { + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The encryption settings for automation account" + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The account SKU." + } + }, + "description": "The parameters supplied to the create or update account properties." + }, + "automationAccounts_hybridRunbookWorkerGroups_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-22" + ] + }, + "credential": { + "oneOf": [ + { + "$ref": "#/definitions/RunAsCredentialAssociationProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Definition of RunAs credential to use for hybrid worker." + }, + "name": { + "type": "string", + "description": "The hybrid runbook worker group name" + }, + "type": { + "type": "string", + "enum": [ + "hybridRunbookWorkerGroups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups" + }, + "automationAccounts_hybridRunbookWorkerGroups_hybridRunbookWorkers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-22" + ] + }, + "name": { + "type": "string", + "description": "The hybrid runbook worker id" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HybridRunbookWorkerCreateOrUpdateParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters supplied to the create or update hybrid runbook worker operation." + }, + "type": { + "type": "string", + "enum": [ + "hybridRunbookWorkers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/hybridRunbookWorkers" + }, + "Componentssgqdofschemasidentitypropertiesuserassignedidentitiesadditionalproperties": { + "type": "object", + "properties": {} + }, + "EncryptionProperties": { + "type": "object", + "properties": { + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionPropertiesIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User identity used for CMK." + }, + "keySource": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Microsoft.Automation", + "Microsoft.Keyvault" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encryption Key Source." + }, + "keyVaultProperties": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings concerning key vault encryption for a configuration store." + } + }, + "description": "The encryption settings for automation account" + }, + "EncryptionPropertiesIdentity": { + "type": "object", + "properties": { + "userAssignedIdentity": { + "type": "object", + "properties": {}, + "description": "The user identity used for CMK. It will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "User identity used for CMK." + }, + "HybridRunbookWorkerCreateOrUpdateParameters": { + "type": "object", + "properties": { + "vmResourceId": { + "type": "string", + "description": "Azure Resource Manager Id for a virtual machine." + } + }, + "description": "The parameters supplied to the create or update hybrid runbook worker operation." + }, + "Identity": { + "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": "The identity type." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/Componentssgqdofschemasidentitypropertiesuserassignedidentitiesadditionalproperties" + }, + "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: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the resource." + }, + "KeyVaultProperties": { + "type": "object", + "properties": { + "keyName": { + "type": "string", + "description": "The name of key used to encrypt data." + }, + "keyvaultUri": { + "type": "string", + "description": "The URI of the key vault key used to encrypt data." + }, + "keyVersion": { + "type": "string", + "description": "The key version of the key used to encrypt data." + } + }, + "description": "Settings concerning key vault encryption for a configuration store." + }, + "RunAsCredentialAssociationProperty": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the credential." + } + }, + "description": "Definition of RunAs credential to use for hybrid worker." + }, + "Sku": { + "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." + }, + "family": { + "type": "string", + "description": "Gets or sets the SKU family." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Free", + "Basic" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the SKU name of the account." + } + }, + "required": [ + "name" + ], + "description": "The account SKU." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index ce503e0aa9..0566369d0f 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -1780,6 +1780,15 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-01-13-preview/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_watchers" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-22/Microsoft.Automation.json#/resourceDefinitions/automationAccounts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-22/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_hybridRunbookWorkerGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-22/Microsoft.Automation.json#/resourceDefinitions/automationAccounts_hybridRunbookWorkerGroups_hybridRunbookWorkers" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.AutonomousDevelopmentPlatform.json#/resourceDefinitions/accounts" }, From 588164b7b7dc217fba9b58899cbe8b7f3e3cb392 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 26 Aug 2021 08:34:02 +0000 Subject: [PATCH 117/243] Update resource list --- generator/resources.json | 108 ++++++++++++++++++++++++++++----------- 1 file changed, 78 insertions(+), 30 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index b37b2e68ef..a2065326dc 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -850,7 +850,8 @@ "Microsoft.Automation/automationAccounts": [ "2015-10-31", "2019-06-01", - "2020-01-13-preview" + "2020-01-13-preview", + "2021-06-22" ], "Microsoft.Automation/automationAccounts/certificates": [ "2015-10-31", @@ -882,6 +883,12 @@ "2019-06-01", "2020-01-13-preview" ], + "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups": [ + "2021-06-22" + ], + "Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/hybridRunbookWorkers": [ + "2021-06-22" + ], "Microsoft.Automation/automationAccounts/jobSchedules": [ "2015-10-31", "2019-06-01", @@ -1387,7 +1394,17 @@ "2019-07-01", "2020-06-01", "2020-12-01", - "2021-03-01" + "2021-03-01", + "2021-04-01", + "2021-07-01" + ], + "Microsoft.Compute/capacityReservationGroups": [ + "2021-04-01", + "2021-07-01" + ], + "Microsoft.Compute/capacityReservationGroups/capacityReservations": [ + "2021-04-01", + "2021-07-01" ], "Microsoft.Compute/cloudServices": [ "2020-10-01-preview", @@ -1417,37 +1434,46 @@ "Microsoft.Compute/galleries": [ "2018-06-01", "2019-03-01", - "2020-09-30" + "2020-09-30", + "2021-07-01" ], "Microsoft.Compute/galleries/applications": [ - "2020-09-30" + "2020-09-30", + "2021-07-01" ], "Microsoft.Compute/galleries/applications/versions": [ - "2020-09-30" + "2020-09-30", + "2021-07-01" ], "Microsoft.Compute/galleries/images": [ "2018-06-01", "2019-03-01", - "2020-09-30" + "2020-09-30", + "2021-07-01" ], "Microsoft.Compute/galleries/images/versions": [ "2018-06-01", "2019-03-01", - "2020-09-30" + "2020-09-30", + "2021-07-01" ], "Microsoft.Compute/hostGroups": [ "2019-03-01", "2019-07-01", "2020-06-01", "2020-12-01", - "2021-03-01" + "2021-03-01", + "2021-04-01", + "2021-07-01" ], "Microsoft.Compute/hostGroups/hosts": [ "2019-03-01", "2019-07-01", "2020-06-01", "2020-12-01", - "2021-03-01" + "2021-03-01", + "2021-04-01", + "2021-07-01" ], "Microsoft.Compute/images": [ "2016-04-30-preview", @@ -1459,20 +1485,28 @@ "2019-07-01", "2020-06-01", "2020-12-01", - "2021-03-01" + "2021-03-01", + "2021-04-01", + "2021-07-01" ], "Microsoft.Compute/proximityPlacementGroups": [ "2019-03-01", "2019-07-01", "2020-06-01", "2020-12-01", - "2021-03-01" + "2021-03-01", + "2021-04-01", + "2021-07-01" ], "Microsoft.Compute/restorePointCollections": [ - "2021-03-01" + "2021-03-01", + "2021-04-01", + "2021-07-01" ], "Microsoft.Compute/restorePointCollections/restorePoints": [ - "2021-03-01" + "2021-03-01", + "2021-04-01", + "2021-07-01" ], "Microsoft.Compute/snapshots": [ "2016-04-30-preview", @@ -1486,7 +1520,9 @@ "Microsoft.Compute/sshPublicKeys": [ "2020-06-01", "2020-12-01", - "2021-03-01" + "2021-03-01", + "2021-04-01", + "2021-07-01" ], "Microsoft.Compute/virtualMachineScaleSets": [ "2015-05-01-preview", @@ -1500,7 +1536,9 @@ "2019-07-01", "2020-06-01", "2020-12-01", - "2021-03-01" + "2021-03-01", + "2021-04-01", + "2021-07-01" ], "Microsoft.Compute/virtualMachineScaleSets/extensions": [ "2017-12-01", @@ -1510,25 +1548,33 @@ "2019-07-01", "2020-06-01", "2020-12-01", - "2021-03-01" + "2021-03-01", + "2021-04-01", + "2021-07-01" ], "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions": [ "2019-07-01", "2020-06-01", "2020-12-01", - "2021-03-01" + "2021-03-01", + "2021-04-01", + "2021-07-01" ], "Microsoft.Compute/virtualMachineScaleSets/virtualMachines/runCommands": [ "2020-06-01", "2020-12-01", - "2021-03-01" + "2021-03-01", + "2021-04-01", + "2021-07-01" ], "Microsoft.Compute/virtualMachineScaleSets/virtualmachines": [ "2019-03-01", "2019-07-01", "2020-06-01", "2020-12-01", - "2021-03-01" + "2021-03-01", + "2021-04-01", + "2021-07-01" ], "Microsoft.Compute/virtualMachines": [ "2015-05-01-preview", @@ -1542,7 +1588,9 @@ "2019-07-01", "2020-06-01", "2020-12-01", - "2021-03-01" + "2021-03-01", + "2021-04-01", + "2021-07-01" ], "Microsoft.Compute/virtualMachines/extensions": [ "2015-05-01-preview", @@ -1557,12 +1605,16 @@ "2019-07-01", "2020-06-01", "2020-12-01", - "2021-03-01" + "2021-03-01", + "2021-04-01", + "2021-07-01" ], "Microsoft.Compute/virtualMachines/runCommands": [ "2020-06-01", "2020-12-01", - "2021-03-01" + "2021-03-01", + "2021-04-01", + "2021-07-01" ], "Microsoft.Confluent/agreements": [ "2020-03-01", @@ -2440,8 +2492,7 @@ "2021-03-03-preview", "2021-03-31", "2021-07-01", - "2021-07-01-preview", - "2021-09-01-preview" + "2021-07-01-preview" ], "Microsoft.Devices/IotHubs/certificates": [ "2017-07-01", @@ -2463,8 +2514,7 @@ "2021-03-03-preview", "2021-03-31", "2021-07-01", - "2021-07-01-preview", - "2021-09-01-preview" + "2021-07-01-preview" ], "Microsoft.Devices/IotHubs/eventHubEndpoints/ConsumerGroups": [ "2016-02-03", @@ -2488,8 +2538,7 @@ "2021-03-03-preview", "2021-03-31", "2021-07-01", - "2021-07-01-preview", - "2021-09-01-preview" + "2021-07-01-preview" ], "Microsoft.Devices/iotHubs/privateEndpointConnections": [ "2020-03-01", @@ -2503,8 +2552,7 @@ "2021-03-03-preview", "2021-03-31", "2021-07-01", - "2021-07-01-preview", - "2021-09-01-preview" + "2021-07-01-preview" ], "Microsoft.Devices/provisioningServices": [ "2017-08-21-preview", From 49af1f216e63f5eb0fe8bf4fe4cc547f68b4b95c Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 26 Aug 2021 10:34:58 +0000 Subject: [PATCH 118/243] 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 | 35 +- 7 files changed, 2410 insertions(+), 2115 deletions(-) create mode 100644 schemas/2018-02-02/Microsoft.Migrate.json create 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 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 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-09-01-preview/Microsoft.Maintenance.json b/schemas/2021-09-01-preview/Microsoft.Maintenance.json index 14ca613d72..d7fb5b4106 100644 --- a/schemas/2021-09-01-preview/Microsoft.Maintenance.json +++ b/schemas/2021-09-01-preview/Microsoft.Maintenance.json @@ -244,9 +244,9 @@ { "type": "string", "enum": [ - "NeverReboot", - "RebootIfRequired", - "AlwaysReboot" + "IfRequired", + "Never", + "Always" ] }, { diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index d5f737eec1..9d4a498ab0 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7019,16 +7019,43 @@ "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Maps.json#/resourceDefinitions/accounts_creators" }, { - "$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" }, { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups" }, { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/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/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$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" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" + }, + { + "$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 5a1c4a06f4974f146f9914b8a210066fbe964226 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 26 Aug 2021 10:35:13 +0000 Subject: [PATCH 119/243] Update resource list --- generator/resources.json | 43 ++++++++++++++++++++++++++++++++++------ 1 file changed, 37 insertions(+), 6 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index a2065326dc..968b172aae 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3988,13 +3988,44 @@ "Microsoft.Media/mediaServices/transforms/jobs": [ "2018-07-01" ], - "Microsoft.Migrate/moveCollections": [ - "2019-10-01-preview", - "2021-01-01" + "Microsoft.Migrate/assessmentProjects": [ + "2019-10-01" ], - "Microsoft.Migrate/moveCollections/moveResources": [ - "2019-10-01-preview", - "2021-01-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/migrateProjects/solutions": [ + "2018-09-01-preview" + ], + "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 795204139cbe4524a7640385dc29d4e7462e167d Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 27 Aug 2021 10:01:42 +0000 Subject: [PATCH 120/243] CodeGen from PR 15213 in Azure/azure-rest-api-specs [NetAppFiles] s360 fixes to 2021-01 (#15213) * Apply s360 fixes * Fix typo * Rename op, add example * Remove snapshotpolicy listVolumes false positive, fix description for snapshotNamne property all versions * ReplicationSceheduled is no longer required in ReplicationObject Co-authored-by: Audunn Baldvinsson --- schemas/2019-05-01/Microsoft.NetApp.json | 4 ++-- schemas/2019-06-01/Microsoft.NetApp.json | 4 ++-- schemas/2019-07-01/Microsoft.NetApp.json | 4 ++-- schemas/2019-08-01/Microsoft.NetApp.json | 4 ++-- schemas/2019-10-01/Microsoft.NetApp.json | 4 ++-- schemas/2019-11-01/Microsoft.NetApp.json | 4 ++-- schemas/2020-02-01/Microsoft.NetApp.json | 4 ++-- schemas/2020-03-01/Microsoft.NetApp.json | 4 ++-- schemas/2020-05-01/Microsoft.NetApp.json | 8 +++---- schemas/2020-06-01/Microsoft.NetApp.json | 8 +++---- schemas/2020-07-01/Microsoft.NetApp.json | 8 +++---- schemas/2020-08-01/Microsoft.NetApp.json | 8 +++---- schemas/2020-09-01/Microsoft.NetApp.json | 8 +++---- schemas/2020-11-01/Microsoft.NetApp.json | 8 +++---- schemas/2020-12-01/Microsoft.NetApp.json | 8 +++---- schemas/2021-02-01/Microsoft.NetApp.json | 8 +++---- schemas/2021-04-01/Microsoft.NetApp.json | 27 ++++++++++++++++++------ schemas/2021-06-01/Microsoft.NetApp.json | 3 +-- 18 files changed, 70 insertions(+), 56 deletions(-) diff --git a/schemas/2019-05-01/Microsoft.NetApp.json b/schemas/2019-05-01/Microsoft.NetApp.json index c6c0f8943d..1663cbe1f6 100644 --- a/schemas/2019-05-01/Microsoft.NetApp.json +++ b/schemas/2019-05-01/Microsoft.NetApp.json @@ -196,7 +196,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -526,7 +526,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ diff --git a/schemas/2019-06-01/Microsoft.NetApp.json b/schemas/2019-06-01/Microsoft.NetApp.json index 88cd7fbaf7..3e2e857010 100644 --- a/schemas/2019-06-01/Microsoft.NetApp.json +++ b/schemas/2019-06-01/Microsoft.NetApp.json @@ -196,7 +196,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -479,7 +479,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ diff --git a/schemas/2019-07-01/Microsoft.NetApp.json b/schemas/2019-07-01/Microsoft.NetApp.json index 86bb52f3ac..b56d770fbb 100644 --- a/schemas/2019-07-01/Microsoft.NetApp.json +++ b/schemas/2019-07-01/Microsoft.NetApp.json @@ -196,7 +196,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -479,7 +479,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ diff --git a/schemas/2019-08-01/Microsoft.NetApp.json b/schemas/2019-08-01/Microsoft.NetApp.json index f5d3d57c5b..0a806da0fd 100644 --- a/schemas/2019-08-01/Microsoft.NetApp.json +++ b/schemas/2019-08-01/Microsoft.NetApp.json @@ -226,7 +226,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -586,7 +586,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ diff --git a/schemas/2019-10-01/Microsoft.NetApp.json b/schemas/2019-10-01/Microsoft.NetApp.json index 5aa41f2a2a..86db982db1 100644 --- a/schemas/2019-10-01/Microsoft.NetApp.json +++ b/schemas/2019-10-01/Microsoft.NetApp.json @@ -226,7 +226,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -539,7 +539,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ diff --git a/schemas/2019-11-01/Microsoft.NetApp.json b/schemas/2019-11-01/Microsoft.NetApp.json index 5abbe3652d..18220aa980 100644 --- a/schemas/2019-11-01/Microsoft.NetApp.json +++ b/schemas/2019-11-01/Microsoft.NetApp.json @@ -246,7 +246,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -569,7 +569,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ diff --git a/schemas/2020-02-01/Microsoft.NetApp.json b/schemas/2020-02-01/Microsoft.NetApp.json index 43d621804c..2f36a223f2 100644 --- a/schemas/2020-02-01/Microsoft.NetApp.json +++ b/schemas/2020-02-01/Microsoft.NetApp.json @@ -246,7 +246,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -585,7 +585,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ diff --git a/schemas/2020-03-01/Microsoft.NetApp.json b/schemas/2020-03-01/Microsoft.NetApp.json index 6a0f12fd8b..afb9fbab2f 100644 --- a/schemas/2020-03-01/Microsoft.NetApp.json +++ b/schemas/2020-03-01/Microsoft.NetApp.json @@ -246,7 +246,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -585,7 +585,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ diff --git a/schemas/2020-05-01/Microsoft.NetApp.json b/schemas/2020-05-01/Microsoft.NetApp.json index 52415c38a8..313e36a0ec 100644 --- a/schemas/2020-05-01/Microsoft.NetApp.json +++ b/schemas/2020-05-01/Microsoft.NetApp.json @@ -358,7 +358,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -402,7 +402,7 @@ }, "name": { "type": "string", - "description": "The name of the snapshot policy target" + "description": "The name of the snapshot policy" }, "properties": { "oneOf": [ @@ -1209,7 +1209,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -1253,7 +1253,7 @@ }, "name": { "type": "string", - "description": "The name of the snapshot policy target" + "description": "The name of the snapshot policy" }, "properties": { "oneOf": [ diff --git a/schemas/2020-06-01/Microsoft.NetApp.json b/schemas/2020-06-01/Microsoft.NetApp.json index 87204ce97f..defe090ada 100644 --- a/schemas/2020-06-01/Microsoft.NetApp.json +++ b/schemas/2020-06-01/Microsoft.NetApp.json @@ -358,7 +358,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -402,7 +402,7 @@ }, "name": { "type": "string", - "description": "The name of the snapshot policy target" + "description": "The name of the snapshot policy" }, "properties": { "oneOf": [ @@ -1211,7 +1211,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -1255,7 +1255,7 @@ }, "name": { "type": "string", - "description": "The name of the snapshot policy target" + "description": "The name of the snapshot policy" }, "properties": { "oneOf": [ diff --git a/schemas/2020-07-01/Microsoft.NetApp.json b/schemas/2020-07-01/Microsoft.NetApp.json index 6c15d67875..81858bdc8e 100644 --- a/schemas/2020-07-01/Microsoft.NetApp.json +++ b/schemas/2020-07-01/Microsoft.NetApp.json @@ -358,7 +358,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -402,7 +402,7 @@ }, "name": { "type": "string", - "description": "The name of the snapshot policy target" + "description": "The name of the snapshot policy" }, "properties": { "oneOf": [ @@ -1232,7 +1232,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -1276,7 +1276,7 @@ }, "name": { "type": "string", - "description": "The name of the snapshot policy target" + "description": "The name of the snapshot policy" }, "properties": { "oneOf": [ diff --git a/schemas/2020-08-01/Microsoft.NetApp.json b/schemas/2020-08-01/Microsoft.NetApp.json index aa717cfe4f..6961c7814b 100644 --- a/schemas/2020-08-01/Microsoft.NetApp.json +++ b/schemas/2020-08-01/Microsoft.NetApp.json @@ -358,7 +358,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -402,7 +402,7 @@ }, "name": { "type": "string", - "description": "The name of the snapshot policy target" + "description": "The name of the snapshot policy" }, "properties": { "oneOf": [ @@ -1232,7 +1232,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -1276,7 +1276,7 @@ }, "name": { "type": "string", - "description": "The name of the snapshot policy target" + "description": "The name of the snapshot policy" }, "properties": { "oneOf": [ diff --git a/schemas/2020-09-01/Microsoft.NetApp.json b/schemas/2020-09-01/Microsoft.NetApp.json index 5c3038e962..84616cbded 100644 --- a/schemas/2020-09-01/Microsoft.NetApp.json +++ b/schemas/2020-09-01/Microsoft.NetApp.json @@ -358,7 +358,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -402,7 +402,7 @@ }, "name": { "type": "string", - "description": "The name of the snapshot policy target" + "description": "The name of the snapshot policy" }, "properties": { "oneOf": [ @@ -1246,7 +1246,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -1290,7 +1290,7 @@ }, "name": { "type": "string", - "description": "The name of the snapshot policy target" + "description": "The name of the snapshot policy" }, "properties": { "oneOf": [ diff --git a/schemas/2020-11-01/Microsoft.NetApp.json b/schemas/2020-11-01/Microsoft.NetApp.json index a00239fd1c..6b3861e88e 100644 --- a/schemas/2020-11-01/Microsoft.NetApp.json +++ b/schemas/2020-11-01/Microsoft.NetApp.json @@ -358,7 +358,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -402,7 +402,7 @@ }, "name": { "type": "string", - "description": "The name of the snapshot policy target" + "description": "The name of the snapshot policy" }, "properties": { "oneOf": [ @@ -1286,7 +1286,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -1330,7 +1330,7 @@ }, "name": { "type": "string", - "description": "The name of the snapshot policy target" + "description": "The name of the snapshot policy" }, "properties": { "oneOf": [ diff --git a/schemas/2020-12-01/Microsoft.NetApp.json b/schemas/2020-12-01/Microsoft.NetApp.json index cc5411f726..1ebc2d2ae9 100644 --- a/schemas/2020-12-01/Microsoft.NetApp.json +++ b/schemas/2020-12-01/Microsoft.NetApp.json @@ -358,7 +358,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -402,7 +402,7 @@ }, "name": { "type": "string", - "description": "The name of the snapshot policy target" + "description": "The name of the snapshot policy" }, "properties": { "oneOf": [ @@ -1287,7 +1287,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -1331,7 +1331,7 @@ }, "name": { "type": "string", - "description": "The name of the snapshot policy target" + "description": "The name of the snapshot policy" }, "properties": { "oneOf": [ diff --git a/schemas/2021-02-01/Microsoft.NetApp.json b/schemas/2021-02-01/Microsoft.NetApp.json index 3b32e8371a..a2195b6bec 100644 --- a/schemas/2021-02-01/Microsoft.NetApp.json +++ b/schemas/2021-02-01/Microsoft.NetApp.json @@ -358,7 +358,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -402,7 +402,7 @@ }, "name": { "type": "string", - "description": "The name of the snapshot policy target" + "description": "The name of the snapshot policy" }, "properties": { "oneOf": [ @@ -1299,7 +1299,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -1343,7 +1343,7 @@ }, "name": { "type": "string", - "description": "The name of the snapshot policy target" + "description": "The name of the snapshot policy" }, "properties": { "oneOf": [ diff --git a/schemas/2021-04-01/Microsoft.NetApp.json b/schemas/2021-04-01/Microsoft.NetApp.json index ba7ee89cc8..654724186d 100644 --- a/schemas/2021-04-01/Microsoft.NetApp.json +++ b/schemas/2021-04-01/Microsoft.NetApp.json @@ -358,7 +358,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -402,7 +402,7 @@ }, "name": { "type": "string", - "description": "The name of the snapshot policy target" + "description": "The name of the snapshot policy" }, "properties": { "oneOf": [ @@ -1328,7 +1328,7 @@ }, "name": { "type": "string", - "description": "The name of the mount target" + "description": "The name of the snapshot" }, "properties": { "oneOf": [ @@ -1372,7 +1372,7 @@ }, "name": { "type": "string", - "description": "The name of the snapshot policy target" + "description": "The name of the snapshot policy" }, "properties": { "oneOf": [ @@ -1431,6 +1431,21 @@ ], "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": [ { @@ -1530,8 +1545,7 @@ } }, "required": [ - "remoteVolumeResourceId", - "replicationSchedule" + "remoteVolumeResourceId" ], "description": "Replication properties" }, @@ -1902,6 +1916,7 @@ "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": { diff --git a/schemas/2021-06-01/Microsoft.NetApp.json b/schemas/2021-06-01/Microsoft.NetApp.json index c50c991b92..e1517241e1 100644 --- a/schemas/2021-06-01/Microsoft.NetApp.json +++ b/schemas/2021-06-01/Microsoft.NetApp.json @@ -1509,8 +1509,7 @@ } }, "required": [ - "remoteVolumeResourceId", - "replicationSchedule" + "remoteVolumeResourceId" ], "description": "Replication properties" }, From e41d03c29d3e74e20e0dca064204e0069e218d43 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 27 Aug 2021 11:40:16 +0000 Subject: [PATCH 121/243] CodeGen from PR 15819 in Azure/azure-rest-api-specs Adding DisableLocalAuth property in PUT payload (#15819) * Adding diable local auth in PUT payload * Adding diable local auth in PUT payload Co-authored-by: Sekhar Samala --- schemas/2021-06-22/Microsoft.Automation.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/schemas/2021-06-22/Microsoft.Automation.json b/schemas/2021-06-22/Microsoft.Automation.json index d31dcc9cc4..afb8bb0da3 100644 --- a/schemas/2021-06-22/Microsoft.Automation.json +++ b/schemas/2021-06-22/Microsoft.Automation.json @@ -175,6 +175,17 @@ "AutomationAccountCreateOrUpdateProperties": { "type": "object", "properties": { + "disableLocalAuth": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether requests using non-AAD authentication are blocked" + }, "encryption": { "oneOf": [ { From 05b23ae5fd330bc8d6c3a5249896823455b62c67 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 27 Aug 2021 13:50:17 +0000 Subject: [PATCH 122/243] Update resource list --- generator/resources.json | 43 ++++++---------------------------------- 1 file changed, 6 insertions(+), 37 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 968b172aae..a2065326dc 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3988,44 +3988,13 @@ "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/migrateProjects/solutions": [ - "2018-09-01-preview" - ], - "Microsoft.Migrate/projects": [ - "2018-02-02" - ], - "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" From 57fbe73068227fdea49c3cf74411adc401e7f84c Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 28 Aug 2021 10:25:27 +0000 Subject: [PATCH 123/243] 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 -------------- schemas/common/autogeneratedResources.json | 35 +- 6 files changed, 2407 insertions(+), 2112 deletions(-) create mode 100644 schemas/2018-02-02/Microsoft.Migrate.json create 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 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 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/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index d5f737eec1..9d4a498ab0 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7019,16 +7019,43 @@ "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Maps.json#/resourceDefinitions/accounts_creators" }, { - "$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" }, { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups" }, { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/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/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$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" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" + }, + { + "$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 7f99e325e5a0a468fae49e9df8a44570b77baaff Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 28 Aug 2021 10:25:39 +0000 Subject: [PATCH 124/243] Update resource list --- generator/resources.json | 43 ++++++++++++++++++++++++++++++++++------ 1 file changed, 37 insertions(+), 6 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index a2065326dc..968b172aae 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3988,13 +3988,44 @@ "Microsoft.Media/mediaServices/transforms/jobs": [ "2018-07-01" ], - "Microsoft.Migrate/moveCollections": [ - "2019-10-01-preview", - "2021-01-01" + "Microsoft.Migrate/assessmentProjects": [ + "2019-10-01" ], - "Microsoft.Migrate/moveCollections/moveResources": [ - "2019-10-01-preview", - "2021-01-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/migrateProjects/solutions": [ + "2018-09-01-preview" + ], + "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 13d65d52dbb0dff395e4e34563ca706ad9bda0fe Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 28 Aug 2021 13:38:32 +0000 Subject: [PATCH 125/243] 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 ++++++++++++++ schemas/common/autogeneratedResources.json | 35 +- 6 files changed, 2112 insertions(+), 2407 deletions(-) delete mode 100644 schemas/2018-02-02/Microsoft.Migrate.json delete 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 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 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 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/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 9d4a498ab0..d5f737eec1 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7019,43 +7019,16 @@ "$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/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" + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" }, { - "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" }, { - "$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" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" - }, - { - "$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" From 60c1d95b93f5c3b66e0d4a04f1d269d698fadd9e Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 28 Aug 2021 13:38:44 +0000 Subject: [PATCH 126/243] Update resource list --- generator/resources.json | 43 ++++++---------------------------------- 1 file changed, 6 insertions(+), 37 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 968b172aae..a2065326dc 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3988,44 +3988,13 @@ "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/migrateProjects/solutions": [ - "2018-09-01-preview" - ], - "Microsoft.Migrate/projects": [ - "2018-02-02" - ], - "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" From b791336acf7084143da9de888d408bc4b5ac5126 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sun, 29 Aug 2021 10:33:19 +0000 Subject: [PATCH 127/243] 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 -------------- schemas/common/autogeneratedResources.json | 35 +- 6 files changed, 2407 insertions(+), 2112 deletions(-) create mode 100644 schemas/2018-02-02/Microsoft.Migrate.json create 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 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 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/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index d5f737eec1..9d4a498ab0 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7019,16 +7019,43 @@ "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Maps.json#/resourceDefinitions/accounts_creators" }, { - "$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" }, { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups" }, { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/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/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$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" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" + }, + { + "$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 5a56619f58b873c6c29d9894d921d8c9a9c793cb Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sun, 29 Aug 2021 10:33:34 +0000 Subject: [PATCH 128/243] Update resource list --- generator/resources.json | 43 ++++++++++++++++++++++++++++++++++------ 1 file changed, 37 insertions(+), 6 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index a2065326dc..968b172aae 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3988,13 +3988,44 @@ "Microsoft.Media/mediaServices/transforms/jobs": [ "2018-07-01" ], - "Microsoft.Migrate/moveCollections": [ - "2019-10-01-preview", - "2021-01-01" + "Microsoft.Migrate/assessmentProjects": [ + "2019-10-01" ], - "Microsoft.Migrate/moveCollections/moveResources": [ - "2019-10-01-preview", - "2021-01-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/migrateProjects/solutions": [ + "2018-09-01-preview" + ], + "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 bbd9c62a39f99f2d669f38dcd614ccc1f9d27a2e Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sun, 29 Aug 2021 13:57:36 +0000 Subject: [PATCH 129/243] 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 ++++++++++++++ schemas/common/autogeneratedResources.json | 35 +- 6 files changed, 2112 insertions(+), 2407 deletions(-) delete mode 100644 schemas/2018-02-02/Microsoft.Migrate.json delete 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 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 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 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/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 9d4a498ab0..d5f737eec1 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7019,43 +7019,16 @@ "$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/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" + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" }, { - "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" }, { - "$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" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" - }, - { - "$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" From a5aeb04f80efe89ae204d1e2f1619be48a4e4c75 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sun, 29 Aug 2021 13:57:49 +0000 Subject: [PATCH 130/243] Update resource list --- generator/resources.json | 43 ++++++---------------------------------- 1 file changed, 6 insertions(+), 37 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 968b172aae..a2065326dc 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3988,44 +3988,13 @@ "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/migrateProjects/solutions": [ - "2018-09-01-preview" - ], - "Microsoft.Migrate/projects": [ - "2018-02-02" - ], - "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" From c8d832fbefca8f673914d3a20af246d2985210d5 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Mon, 30 Aug 2021 10:35:06 +0000 Subject: [PATCH 131/243] 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 -------------- schemas/common/autogeneratedResources.json | 35 +- 6 files changed, 2407 insertions(+), 2112 deletions(-) create mode 100644 schemas/2018-02-02/Microsoft.Migrate.json create 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 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 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/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index d5f737eec1..9d4a498ab0 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7019,16 +7019,43 @@ "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Maps.json#/resourceDefinitions/accounts_creators" }, { - "$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" }, { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups" }, { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/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/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$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" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" + }, + { + "$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 e73b517d8e405038b2cd5b59946da32b17107c7f Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Mon, 30 Aug 2021 10:35:21 +0000 Subject: [PATCH 132/243] Update resource list --- generator/resources.json | 43 ++++++++++++++++++++++++++++++++++------ 1 file changed, 37 insertions(+), 6 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index a2065326dc..968b172aae 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3988,13 +3988,44 @@ "Microsoft.Media/mediaServices/transforms/jobs": [ "2018-07-01" ], - "Microsoft.Migrate/moveCollections": [ - "2019-10-01-preview", - "2021-01-01" + "Microsoft.Migrate/assessmentProjects": [ + "2019-10-01" ], - "Microsoft.Migrate/moveCollections/moveResources": [ - "2019-10-01-preview", - "2021-01-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/migrateProjects/solutions": [ + "2018-09-01-preview" + ], + "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 181b41354e3dd8e0963f191eb6c9015f9c4deb74 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 31 Aug 2021 07:17:27 +0000 Subject: [PATCH 133/243] CodeGen from PR 15468 in Azure/azure-rest-api-specs [Datafactory]subnet id support for swift injection of azure-ssis IR (#15468) * Add blockchain to latest profile * Add additional types * subnet id support for swift injection of azure-ssis IR * fix undesired changes * change desired files * remove change * correct message Co-authored-by: Mark Cowlishaw --- schemas/2018-06-01/Microsoft.DataFactory.json | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/schemas/2018-06-01/Microsoft.DataFactory.json b/schemas/2018-06-01/Microsoft.DataFactory.json index c75c18d4d9..6851372f19 100644 --- a/schemas/2018-06-01/Microsoft.DataFactory.json +++ b/schemas/2018-06-01/Microsoft.DataFactory.json @@ -16395,6 +16395,16 @@ }, "description": "The compute resource properties for managed integration runtime." }, + "IntegrationRuntimeCustomerVirtualNetwork": { + "type": "object", + "properties": { + "subnetId": { + "type": "string", + "description": "The ID of subnet to which Azure-SSIS integration runtime will join." + } + }, + "description": "The definition and properties of virtual network to which Azure-SSIS integration runtime will join." + }, "IntegrationRuntimeCustomSetupScriptProperties": { "type": "object", "properties": { @@ -18025,6 +18035,17 @@ ], "description": "The compute resource properties for managed integration runtime." }, + "customerVirtualNetwork": { + "oneOf": [ + { + "$ref": "#/definitions/IntegrationRuntimeCustomerVirtualNetwork" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The definition and properties of virtual network to which Azure-SSIS integration runtime will join." + }, "ssisProperties": { "oneOf": [ { From 86cea55181c9f5e0cc838c7fcd36f0ba7906a3bd Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 31 Aug 2021 07:31:06 +0000 Subject: [PATCH 134/243] CodeGen from PR 15233 in Azure/azure-rest-api-specs Service Bus and EventHub : 2021-06-01-preview - Added optional Properties (#15233) * removing min/max, adding maxMessageSizeInKilobytes to queues and topics * reverted maxSizeInMegabytes type to int32 * fixed the typo * reverted topic maxSizeInMegabytes to int32 --- schemas/2021-06-01-preview/Microsoft.EventHub.json | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/schemas/2021-06-01-preview/Microsoft.EventHub.json b/schemas/2021-06-01-preview/Microsoft.EventHub.json index 4b49f54f0d..b7c5ddc3d6 100644 --- a/schemas/2021-06-01-preview/Microsoft.EventHub.json +++ b/schemas/2021-06-01-preview/Microsoft.EventHub.json @@ -496,9 +496,7 @@ "intervalInSeconds": { "oneOf": [ { - "type": "integer", - "minimum": 60, - "maximum": 900 + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -509,9 +507,7 @@ "sizeLimitInBytes": { "oneOf": [ { - "type": "integer", - "minimum": 10485760, - "maximum": 524288000 + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -663,9 +659,7 @@ "maximumThroughputUnits": { "oneOf": [ { - "type": "integer", - "minimum": 0, - "maximum": 20 + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" From 7cd71546daa35ef2aae617c99cc76786654659cb Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 31 Aug 2021 10:32:27 +0000 Subject: [PATCH 135/243] Autogenerate schemas --- schemas/2021-05-01/Microsoft.DBforMySQL.json | 616 +++++++++++++++++++ schemas/common/autogeneratedResources.json | 9 + 2 files changed, 625 insertions(+) create mode 100644 schemas/2021-05-01/Microsoft.DBforMySQL.json diff --git a/schemas/2021-05-01/Microsoft.DBforMySQL.json b/schemas/2021-05-01/Microsoft.DBforMySQL.json new file mode 100644 index 0000000000..9447555855 --- /dev/null +++ b/schemas/2021-05-01/Microsoft.DBforMySQL.json @@ -0,0 +1,616 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.DBforMySQL", + "description": "Microsoft DBforMySQL Resource Types", + "resourceDefinitions": { + "flexibleServers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-05-01" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the server." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ServerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a server." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/flexibleServers_firewallRules_childResource" + }, + { + "$ref": "#/definitions/flexibleServers_databases_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Billing information related properties of a server." + }, + "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.DBforMySQL/flexibleServers" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.DBforMySQL/flexibleServers" + }, + "flexibleServers_databases": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-05-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": "The properties of a database." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DBforMySQL/flexibleServers/databases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DBforMySQL/flexibleServers/databases" + }, + "flexibleServers_firewallRules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-05-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the server firewall rule." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/FirewallRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a server firewall rule." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DBforMySQL/flexibleServers/firewallRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DBforMySQL/flexibleServers/firewallRules" + } + }, + "definitions": { + "Backup": { + "type": "object", + "properties": { + "backupRetentionDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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": "Whether or not geo redundant backup is enabled." + } + }, + "description": "Storage Profile properties of a server" + }, + "DatabaseProperties": { + "type": "object", + "properties": { + "charset": { + "type": "string", + "description": "The charset of the database." + }, + "collation": { + "type": "string", + "description": "The collation of the database." + } + }, + "description": "The properties of a database." + }, + "FirewallRuleProperties": { + "type": "object", + "properties": { + "endIpAddress": { + "oneOf": [ + { + "type": "string", + "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The end IP address of the server firewall rule. Must be IPv4 format." + }, + "startIpAddress": { + "oneOf": [ + { + "type": "string", + "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The start IP address of the server firewall rule. Must be IPv4 format." + } + }, + "required": [ + "endIpAddress", + "startIpAddress" + ], + "description": "The properties of a server firewall rule." + }, + "flexibleServers_databases_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-05-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": "The properties of a database." + }, + "type": { + "type": "string", + "enum": [ + "databases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DBforMySQL/flexibleServers/databases" + }, + "flexibleServers_firewallRules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-05-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the server firewall rule." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/FirewallRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a server firewall rule." + }, + "type": { + "type": "string", + "enum": [ + "firewallRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DBforMySQL/flexibleServers/firewallRules" + }, + "HighAvailability": { + "type": "object", + "properties": { + "mode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "ZoneRedundant", + "SameZone" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "High availability mode for a server." + }, + "standbyAvailabilityZone": { + "type": "string", + "description": "Availability zone of the standby server." + } + }, + "description": "Network related properties of a server" + }, + "MaintenanceWindow": { + "type": "object", + "properties": { + "customWindow": { + "type": "string", + "description": "indicates whether custom window is enabled or disabled" + }, + "dayOfWeek": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "day of week for maintenance window" + }, + "startHour": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "start hour for maintenance window" + }, + "startMinute": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "start minute for maintenance window" + } + }, + "description": "Maintenance window of a server." + }, + "Network": { + "type": "object", + "properties": { + "delegatedSubnetResourceId": { + "type": "string", + "description": "Delegated subnet resource id used to setup vnet for a server." + }, + "privateDnsZoneResourceId": { + "type": "string", + "description": "Private DNS zone resource id." + } + }, + "description": "Network related properties of a server" + }, + "ServerProperties": { + "type": "object", + "properties": { + "administratorLogin": { + "type": "string", + "description": "The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation)." + }, + "administratorLoginPassword": { + "type": "string", + "format": "password", + "description": "The password of the administrator login (required for server creation)." + }, + "availabilityZone": { + "type": "string", + "description": "availability Zone information of the server." + }, + "backup": { + "oneOf": [ + { + "$ref": "#/definitions/Backup" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage Profile properties of a server" + }, + "createMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Default", + "PointInTimeRestore", + "Replica", + "GeoRestore" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The mode to create a new MySQL server." + }, + "highAvailability": { + "oneOf": [ + { + "$ref": "#/definitions/HighAvailability" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network related properties of a server" + }, + "maintenanceWindow": { + "oneOf": [ + { + "$ref": "#/definitions/MaintenanceWindow" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maintenance window of a server." + }, + "network": { + "oneOf": [ + { + "$ref": "#/definitions/Network" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network related properties of a server" + }, + "replicationRole": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Source", + "Replica" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The replication role." + }, + "restorePointInTime": { + "type": "string", + "format": "date-time", + "description": "Restore point creation time (ISO8601 format), specifying the time to restore from." + }, + "sourceServerResourceId": { + "type": "string", + "description": "The source MySQL server id." + }, + "storage": { + "oneOf": [ + { + "$ref": "#/definitions/Storage" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage Profile properties of a server" + }, + "version": { + "oneOf": [ + { + "type": "string", + "enum": [ + "5.7", + "8.0.21" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Server version." + } + }, + "description": "The properties of a server." + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the sku, e.g. Standard_D32s_v3." + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Burstable", + "GeneralPurpose", + "MemoryOptimized" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tier of the particular SKU, e.g. GeneralPurpose." + } + }, + "required": [ + "name", + "tier" + ], + "description": "Billing information related properties of a server." + }, + "Storage": { + "type": "object", + "properties": { + "autoGrow": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable Storage Auto Grow or not." + }, + "iops": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage IOPS for a server." + }, + "storageSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Max storage size allowed for a server." + } + }, + "description": "Storage Profile properties of a server" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 9d4a498ab0..cd1b3b1efb 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -3736,6 +3736,15 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_keys" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_databases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers_firewallRules" + }, { "$ref": "https://schema.management.azure.com/schemas/2021-05-01-preview/Microsoft.DBforMySQL.json#/resourceDefinitions/flexibleServers" }, From 1b5555727ae0115f1cf8f74b0e6a3e622f7ba550 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 31 Aug 2021 10:32:41 +0000 Subject: [PATCH 136/243] Update resource list --- generator/resources.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/generator/resources.json b/generator/resources.json index 968b172aae..0c30953ec5 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -1817,14 +1817,17 @@ ], "Microsoft.DBForMySql/flexibleServers": [ "2020-07-01-preview", + "2021-05-01", "2021-05-01-preview" ], "Microsoft.DBForMySql/flexibleServers/databases": [ "2020-07-01-preview", + "2021-05-01", "2021-05-01-preview" ], "Microsoft.DBForMySql/flexibleServers/firewallRules": [ "2020-07-01-preview", + "2021-05-01", "2021-05-01-preview" ], "Microsoft.DBForMySql/flexibleServers/keys": [ From b90faaac452ec9a9e53aa5157ad546031f541b13 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 1 Sep 2021 01:47:55 +0000 Subject: [PATCH 137/243] CodeGen from PR 15871 in Azure/azure-rest-api-specs Add property enableNodePublicIp (#15871) Co-authored-by: Chris Jiang --- .../Microsoft.MachineLearningServices.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/schemas/2021-03-01-preview/Microsoft.MachineLearningServices.json b/schemas/2021-03-01-preview/Microsoft.MachineLearningServices.json index dd58eed844..2aeebeb82a 100644 --- a/schemas/2021-03-01-preview/Microsoft.MachineLearningServices.json +++ b/schemas/2021-03-01-preview/Microsoft.MachineLearningServices.json @@ -2832,6 +2832,18 @@ ], "description": "The Compute Instance Authorization type. Available values are personal (default)." }, + "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: 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." + }, "personalComputeInstanceSettings": { "oneOf": [ { From 6ad80bb523711923b4e059a02bac04f2b99bf4db Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 1 Sep 2021 03:30:34 +0000 Subject: [PATCH 138/243] CodeGen from PR 15836 in Azure/azure-rest-api-specs add RBAC to 2020-10-01-preview autogen (#15836) * add RBAC to 2020-10-01-preview autogen * fix example --- .../2018-09-01-preview/Microsoft.Authorization.Authz.json | 8 +------- .../2020-03-01-preview/Microsoft.Authorization.Authz.json | 8 +------- .../2020-04-01-preview/Microsoft.Authorization.Authz.json | 8 +------- .../2020-08-01-preview/Microsoft.Authorization.Authz.json | 8 +------- .../2020-10-01-preview/Microsoft.Authorization.Authz.json | 6 ------ 5 files changed, 4 insertions(+), 34 deletions(-) diff --git a/schemas/2018-09-01-preview/Microsoft.Authorization.Authz.json b/schemas/2018-09-01-preview/Microsoft.Authorization.Authz.json index 3e6dfb4d39..bec57b76ad 100644 --- a/schemas/2018-09-01-preview/Microsoft.Authorization.Authz.json +++ b/schemas/2018-09-01-preview/Microsoft.Authorization.Authz.json @@ -72,13 +72,7 @@ "User", "Group", "ServicePrincipal", - "Unknown", - "DirectoryRoleTemplate", - "ForeignGroup", - "Application", - "MSI", - "DirectoryObjectOrGroup", - "Everyone" + "ForeignGroup" ] }, { diff --git a/schemas/2020-03-01-preview/Microsoft.Authorization.Authz.json b/schemas/2020-03-01-preview/Microsoft.Authorization.Authz.json index c312ce4d2e..0f0421396a 100644 --- a/schemas/2020-03-01-preview/Microsoft.Authorization.Authz.json +++ b/schemas/2020-03-01-preview/Microsoft.Authorization.Authz.json @@ -84,13 +84,7 @@ "User", "Group", "ServicePrincipal", - "Unknown", - "DirectoryRoleTemplate", - "ForeignGroup", - "Application", - "MSI", - "DirectoryObjectOrGroup", - "Everyone" + "ForeignGroup" ] }, { diff --git a/schemas/2020-04-01-preview/Microsoft.Authorization.Authz.json b/schemas/2020-04-01-preview/Microsoft.Authorization.Authz.json index 809762de0c..7f23fb752a 100644 --- a/schemas/2020-04-01-preview/Microsoft.Authorization.Authz.json +++ b/schemas/2020-04-01-preview/Microsoft.Authorization.Authz.json @@ -88,13 +88,7 @@ "User", "Group", "ServicePrincipal", - "Unknown", - "DirectoryRoleTemplate", - "ForeignGroup", - "Application", - "MSI", - "DirectoryObjectOrGroup", - "Everyone" + "ForeignGroup" ] }, { diff --git a/schemas/2020-08-01-preview/Microsoft.Authorization.Authz.json b/schemas/2020-08-01-preview/Microsoft.Authorization.Authz.json index dabb894b5e..d44777a873 100644 --- a/schemas/2020-08-01-preview/Microsoft.Authorization.Authz.json +++ b/schemas/2020-08-01-preview/Microsoft.Authorization.Authz.json @@ -77,13 +77,7 @@ "User", "Group", "ServicePrincipal", - "Unknown", - "DirectoryRoleTemplate", - "ForeignGroup", - "Application", - "MSI", - "DirectoryObjectOrGroup", - "Everyone" + "ForeignGroup" ] }, { diff --git a/schemas/2020-10-01-preview/Microsoft.Authorization.Authz.json b/schemas/2020-10-01-preview/Microsoft.Authorization.Authz.json index 669d581f75..fb89becfe0 100644 --- a/schemas/2020-10-01-preview/Microsoft.Authorization.Authz.json +++ b/schemas/2020-10-01-preview/Microsoft.Authorization.Authz.json @@ -194,13 +194,7 @@ "User", "Group", "ServicePrincipal", - "Unknown", - "DirectoryRoleTemplate", "ForeignGroup", - "Application", - "MSI", - "DirectoryObjectOrGroup", - "Everyone", "Device" ] }, From 64c600514b9e5ad4d3b59c3c05991e328a48e076 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 1 Sep 2021 13:49:50 +0000 Subject: [PATCH 139/243] 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.ServiceBus.json | 27 +- schemas/2021-06-01/Microsoft.Synapse.json | 21 + schemas/common/autogeneratedResources.json | 35 +- 8 files changed, 2156 insertions(+), 2411 deletions(-) delete mode 100644 schemas/2018-02-02/Microsoft.Migrate.json delete 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 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 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 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/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.ServiceBus.json b/schemas/2021-06-01-preview/Microsoft.ServiceBus.json index e0714929d6..3b7e8c1c31 100644 --- a/schemas/2021-06-01-preview/Microsoft.ServiceBus.json +++ b/schemas/2021-06-01-preview/Microsoft.ServiceBus.json @@ -1776,6 +1776,17 @@ ], "description": "The maximum delivery count. A message is automatically deadlettered after this number of deliveries. default value is 10." }, + "maxMessageSizeInKilobytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum size (in KB) of the message payload that can be accepted by the queue. This property is only used in Premium today and default is 1024." + }, "maxSizeInMegabytes": { "oneOf": [ { @@ -2070,6 +2081,17 @@ ], "description": "Value that indicates whether the topic to be partitioned across multiple message brokers is enabled." }, + "maxMessageSizeInKilobytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum size (in KB) of the message payload that can be accepted by the topic. This property is only used in Premium today and default is 1024." + }, "maxSizeInMegabytes": { "oneOf": [ { @@ -2134,10 +2156,7 @@ "compatibilityLevel": { "oneOf": [ { - "type": "integer", - "minimum": 20, - "maximum": 20, - "default": "20" + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" diff --git a/schemas/2021-06-01/Microsoft.Synapse.json b/schemas/2021-06-01/Microsoft.Synapse.json index 3725fc5db5..21eab7c95d 100644 --- a/schemas/2021-06-01/Microsoft.Synapse.json +++ b/schemas/2021-06-01/Microsoft.Synapse.json @@ -2627,6 +2627,16 @@ }, "description": "The compute resource properties for managed integration runtime." }, + "IntegrationRuntimeCustomerVirtualNetwork": { + "type": "object", + "properties": { + "subnetId": { + "type": "string", + "description": "The ID of subnet to which Azure-SSIS integration runtime will join." + } + }, + "description": "The definition and properties of virtual network to which Azure-SSIS integration runtime will join." + }, "IntegrationRuntimeCustomSetupScriptProperties": { "type": "object", "properties": { @@ -3287,6 +3297,17 @@ ], "description": "The compute resource properties for managed integration runtime." }, + "customerVirtualNetwork": { + "oneOf": [ + { + "$ref": "#/definitions/IntegrationRuntimeCustomerVirtualNetwork" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The definition and properties of virtual network to which Azure-SSIS integration runtime will join." + }, "ssisProperties": { "oneOf": [ { diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index cd1b3b1efb..74e1503bdd 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7028,43 +7028,16 @@ "$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/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" + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" }, { - "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" }, { - "$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" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" - }, - { - "$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" From 84a14b8bd3376524c1040c6f9ac0ccd7973b9c96 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 1 Sep 2021 13:50:02 +0000 Subject: [PATCH 140/243] Update resource list --- generator/resources.json | 43 ++++++---------------------------------- 1 file changed, 6 insertions(+), 37 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 0c30953ec5..93d9f570e5 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3991,44 +3991,13 @@ "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/migrateProjects/solutions": [ - "2018-09-01-preview" - ], - "Microsoft.Migrate/projects": [ - "2018-02-02" - ], - "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" From fd935d4aa2469ddd121a497e828553f124782b25 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 2 Sep 2021 01:46:52 +0000 Subject: [PATCH 141/243] CodeGen from PR 15246 in Azure/azure-rest-api-specs Monitor privatelinkscopes accessmodesettings - api version 2021-07 preview (#15246) * new api-version clone * use common types * Update privateLinkScopes_API.json * Update privateLinkScopes_API.json * add new access mode settings * Update privateLinkScopes_API.json * access mode * access mode * PEs common type * Update privateLinkScopes_API.json * make access mode settings required * Update privateLinkScopes_API.json * add required property to example --- .../Microsoft.Insights.json | 45 +- .../Microsoft.Insights.json | 445 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 9 + 3 files changed, 497 insertions(+), 2 deletions(-) create mode 100644 schemas/2021-07-01-preview/Microsoft.Insights.json diff --git a/schemas/2021-02-01-preview/Microsoft.Insights.json b/schemas/2021-02-01-preview/Microsoft.Insights.json index cd1534c569..491ed08eea 100644 --- a/schemas/2021-02-01-preview/Microsoft.Insights.json +++ b/schemas/2021-02-01-preview/Microsoft.Insights.json @@ -80,6 +80,41 @@ } }, "definitions": { + "Actions": { + "type": "object", + "properties": { + "actionGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Action Group resource Ids to invoke when the alert fires." + }, + "customProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an alert payload." + } + }, + "description": "Actions to invoke when the alert fires." + }, "Condition": { "type": "object", "properties": { @@ -272,8 +307,14 @@ "type": "object", "properties": { "actions": { - "type": "object", - "properties": {}, + "oneOf": [ + { + "$ref": "#/definitions/Actions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], "description": "Actions to invoke when the alert fires." }, "autoMitigate": { diff --git a/schemas/2021-07-01-preview/Microsoft.Insights.json b/schemas/2021-07-01-preview/Microsoft.Insights.json new file mode 100644 index 0000000000..7dc5efd91d --- /dev/null +++ b/schemas/2021-07-01-preview/Microsoft.Insights.json @@ -0,0 +1,445 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Insights.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "microsoft.insights", + "description": "microsoft insights Resource Types", + "resourceDefinitions": { + "privateLinkScopes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the Azure Monitor PrivateLinkScope resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AzureMonitorPrivateLinkScopeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties that define a Azure Monitor PrivateLinkScope resource." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/privateLinkScopes_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/privateLinkScopes_scopedResources_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.insights/privateLinkScopes" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "microsoft.insights/privateLinkScopes" + }, + "privateLinkScopes_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "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 the PrivateEndpointConnectProperties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Insights/privateLinkScopes/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Insights/privateLinkScopes/privateEndpointConnections" + }, + "privateLinkScopes_scopedResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the scoped resource object." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScopedResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a private link scoped resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Insights/privateLinkScopes/scopedResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Insights/privateLinkScopes/scopedResources" + } + }, + "definitions": { + "AccessModeSettings": { + "type": "object", + "properties": { + "exclusions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AccessModeSettingsExclusion" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of exclusions that override the default access mode settings for specific private endpoint connections." + }, + "ingestionAccessMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Open", + "PrivateOnly" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the default access mode of ingestion through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array." + }, + "queryAccessMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Open", + "PrivateOnly" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the default access mode of queries through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array." + } + }, + "required": [ + "ingestionAccessMode", + "queryAccessMode" + ], + "description": "Properties that define the scope private link mode settings." + }, + "AccessModeSettingsExclusion": { + "type": "object", + "properties": { + "ingestionAccessMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Open", + "PrivateOnly" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion." + }, + "privateEndpointConnectionName": { + "type": "string", + "description": "The private endpoint connection name associated to the private endpoint on which we want to apply the specific access mode settings." + }, + "queryAccessMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Open", + "PrivateOnly" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the access mode of queries through the specified private endpoint connection in the exclusion." + } + }, + "description": "Properties that define the scope private link mode settings exclusion item. This setting applies to a specific private endpoint connection and overrides the default settings for that private endpoint connection." + }, + "AzureMonitorPrivateLinkScopeProperties": { + "type": "object", + "properties": { + "accessModeSettings": { + "oneOf": [ + { + "$ref": "#/definitions/AccessModeSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties that define the scope private link mode settings." + } + }, + "required": [ + "accessModeSettings" + ], + "description": "Properties that define a Azure Monitor PrivateLinkScope resource." + }, + "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." + }, + "privateLinkScopes_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "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 the PrivateEndpointConnectProperties." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Insights/privateLinkScopes/privateEndpointConnections" + }, + "privateLinkScopes_scopedResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the scoped resource object." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScopedResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a private link scoped resource." + }, + "type": { + "type": "string", + "enum": [ + "scopedResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Insights/privateLinkScopes/scopedResources" + }, + "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." + }, + "ScopedResourceProperties": { + "type": "object", + "properties": { + "linkedResourceId": { + "type": "string", + "description": "The resource id of the scoped Azure monitor resource." + } + }, + "description": "Properties of a private link scoped resource." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 0566369d0f..1dfb8a7cb9 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6505,6 +6505,15 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Insights.json#/resourceDefinitions/dataCollectionRules" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Insights.json#/resourceDefinitions/privateLinkScopes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Insights.json#/resourceDefinitions/privateLinkScopes_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Insights.json#/resourceDefinitions/privateLinkScopes_scopedResources" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#/resourceDefinitions/iotApps" }, From 2eaaf1ffd888e69183e7632007005ad41f46a612 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 2 Sep 2021 03:17:19 +0000 Subject: [PATCH 142/243] CodeGen from PR 15507 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.Aadiam to add version preview/2017-04-01-preview (#15507) * Adds base for updating Microsoft.Aadiam from version stable/2017-04-01 to version 2017-04-01-preview * Updates readme * Updates API version in new specs and examples * Try to resolve ModelValidation errors * Another try for ModelValidation * Fix model validation * Remove breaking change * Try python fix * Fix python job failure --- .../2017-04-01-preview/Microsoft.Aadiam.json | 169 ++++++++++++++++++ .../2019-08-01/tenantDeploymentTemplate.json | 3 + 2 files changed, 172 insertions(+) create mode 100644 schemas/2017-04-01-preview/Microsoft.Aadiam.json diff --git a/schemas/2017-04-01-preview/Microsoft.Aadiam.json b/schemas/2017-04-01-preview/Microsoft.Aadiam.json new file mode 100644 index 0000000000..db589e3bc6 --- /dev/null +++ b/schemas/2017-04-01-preview/Microsoft.Aadiam.json @@ -0,0 +1,169 @@ +{ + "id": "https://schema.management.azure.com/schemas/2017-04-01-preview/Microsoft.Aadiam.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "microsoft.aadiam", + "description": "microsoft aadiam Resource Types", + "resourceDefinitions": {}, + "tenant_resourceDefinitions": { + "diagnosticSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the diagnostic setting." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The diagnostic settings." + }, + "type": { + "type": "string", + "enum": [ + "microsoft.aadiam/diagnosticSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "microsoft.aadiam/diagnosticSettings" + } + }, + "definitions": { + "DiagnosticSettings": { + "type": "object", + "properties": { + "eventHubAuthorizationRuleId": { + "type": "string", + "description": "The resource Id for the event hub authorization rule." + }, + "eventHubName": { + "type": "string", + "description": "The name of the event hub. If none is specified, the default event hub will be selected." + }, + "logs": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LogSettings" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of logs settings." + }, + "serviceBusRuleId": { + "type": "string", + "description": "The service bus rule Id of the diagnostic setting. This is here to maintain backwards compatibility." + }, + "storageAccountId": { + "type": "string", + "description": "The resource ID of the storage account to which you would like to send Diagnostic Logs." + }, + "workspaceId": { + "type": "string", + "description": "The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2" + } + }, + "description": "The diagnostic settings." + }, + "LogSettings": { + "type": "object", + "properties": { + "category": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AuditLogs", + "SignInLogs" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation." + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating whether this log is enabled." + }, + "retentionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/RetentionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the retention policy for the log." + } + }, + "required": [ + "enabled" + ], + "description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log." + }, + "RetentionPolicy": { + "type": "object", + "properties": { + "days": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of days for the retention in days. A value of 0 will retain the events indefinitely." + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating whether the retention policy is enabled." + } + }, + "required": [ + "days", + "enabled" + ], + "description": "Specifies the retention policy for the log." + } + } +} \ No newline at end of file diff --git a/schemas/2019-08-01/tenantDeploymentTemplate.json b/schemas/2019-08-01/tenantDeploymentTemplate.json index e7f1051bc5..17033da9dd 100644 --- a/schemas/2019-08-01/tenantDeploymentTemplate.json +++ b/schemas/2019-08-01/tenantDeploymentTemplate.json @@ -505,6 +505,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2017-04-01/Microsoft.Aadiam.json#/tenant_resourceDefinitions/diagnosticSettings" }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-04-01-preview/Microsoft.Aadiam.json#/tenant_resourceDefinitions/diagnosticSettings" + }, { "$ref": "https://schema.management.azure.com/schemas/2015-07-01/Microsoft.Authorization.Authz.json#/unknown_resourceDefinitions/roleAssignments" }, From 6e177f0b627b8f10547fd43287d90d57a63b8bb6 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 2 Sep 2021 08:41:27 +0000 Subject: [PATCH 143/243] Update resource list --- generator/resources.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generator/resources.json b/generator/resources.json index 93d9f570e5..0e6055cd2a 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -8478,7 +8478,8 @@ "2020-07-01-preview" ], "microsoft.aadiam/diagnosticSettings": [ - "2017-04-01" + "2017-04-01", + "2017-04-01-preview" ], "microsoft.aadiam/privateLinkForAzureAd": [ "2020-03-01-preview" From d3734561863c3e69531692fb63cceafeb193e71a Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 2 Sep 2021 09:19:19 +0000 Subject: [PATCH 144/243] Autogenerate schemas --- .../Microsoft.DesktopVirtualization.json | 2459 ----------------- schemas/common/autogeneratedResources.json | 27 - 2 files changed, 2486 deletions(-) delete mode 100644 schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json diff --git a/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json b/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 535120317e..0000000000 --- a/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,2459 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the application group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the host pool within the specified resource group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_sessionHostConfigurations_childResource" - }, - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - }, - { - "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "hostPools_msixPackages": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "hostPools_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "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.DesktopVirtualization/hostPools/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - }, - "hostPools_sessionHostConfigurations": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SessionHostConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Session host configurations of HostPool." - }, - "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.DesktopVirtualization/hostPools/sessionHostConfigurations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations" - }, - "scalingPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the scaling plan." - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Scaling plan properties." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the workspace" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - }, - "workspaces_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "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.DesktopVirtualization/workspaces/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "applicationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InBuilt", - "MsixApplication" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of Application." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "msixPackageApplicationId": { - "type": "string", - "description": "Specifies the package application Id for MSIX applications" - }, - "msixPackageFamilyName": { - "type": "string", - "description": "Specifies the package family name for MSIX applications" - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "CredentialsProperties": { - "type": "object", - "properties": { - "domainAdmin": { - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultCredentialProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Credentials kept in the keyvault." - }, - "localAdmin": { - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultCredentialProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Credentials kept in the keyvault." - } - }, - "description": "Credentials needed to create the virtual machine." - }, - "DomainInfoProperties": { - "type": "object", - "properties": { - "credentials": { - "oneOf": [ - { - "$ref": "#/definitions/CredentialsProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Credentials needed to create the virtual machine." - }, - "joinType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ActiveDirectory", - "AzureActiveDirectory" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of domain join done by the virtual machine." - }, - "mdmProviderGuid": { - "type": "string", - "description": "The MDM Provider GUID used during MDM enrollment for Azure AD joined virtual machines." - }, - "name": { - "type": "string", - "description": "The domain a virtual machine connected to a hostpool will join." - } - }, - "description": "Domain configurations of session hosts." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "sessionHostComponentUpdateConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/SessionHostComponentUpdateConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The session host configuration for updating agent, monitoring agent, and stack component." - }, - "ssoadfsAuthority": { - "type": "string", - "description": "URL to customer ADFS server for signing WVD SSO certificates." - }, - "ssoClientId": { - "type": "string", - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates." - }, - "ssoClientSecretKeyVaultPath": { - "type": "string", - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." - }, - "ssoSecretType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of single sign on Secret Type." - }, - "startVMOnConnect": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag to turn on/off StartVMOnConnect feature." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "hostPools_msixPackages_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "hostPools_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "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.DesktopVirtualization/hostPools/privateEndpointConnections" - }, - "hostPools_sessionHostConfigurations_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SessionHostConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Session host configurations of HostPool." - }, - "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": [ - "sessionHostConfigurations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations" - }, - "ImageInfoProperties": { - "type": "object", - "properties": { - "customId": { - "type": "string", - "description": "The resource id of the custom image or shared image. Image type must be CustomImage." - }, - "marketPlaceInfo": { - "oneOf": [ - { - "$ref": "#/definitions/MarketPlaceInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Image configurations of HostPool." - }, - "storageBlobUri": { - "type": "string", - "description": "The uri to the storage blob which contains the VHD. Image type must be StorageBlob." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Gallery", - "StorageBlob", - "CustomImage" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of image session hosts use in the hostpool." - } - }, - "description": "Image configurations of session host in a HostPool." - }, - "KeyVaultCredentialProperties": { - "type": "object", - "properties": { - "passwordKeyVaultResourceId": { - "type": "string", - "description": "The keyvault resource id to the keyvault secrets." - }, - "passwordSecretName": { - "type": "string", - "description": "The keyvault secret name the password is stored in." - }, - "userName": { - "type": "string", - "description": "The user name to the account." - } - }, - "description": "Credentials kept in the keyvault." - }, - "MaintenanceWindowProperties": { - "type": "object", - "properties": { - "dayOfWeek": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Day of the week." - }, - "hour": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The update start hour of the day. (0 - 23)" - } - }, - "description": "Maintenance window starting hour and day of week." - }, - "MarketPlaceInfoProperties": { - "type": "object", - "properties": { - "exactVersion": { - "type": "string", - "description": "The exact version of the image." - }, - "offer": { - "type": "string", - "description": "The offer of the image." - }, - "publisher": { - "type": "string", - "description": "The publisher of the image." - }, - "sku": { - "type": "string", - "description": "The sku of the image." - } - }, - "description": "Image configurations of HostPool." - }, - "MigrationRequestProperties": { - "type": "object", - "properties": { - "migrationPath": { - "type": "string", - "description": "The path to the legacy object to migrate." - }, - "operation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Start", - "Revoke", - "Complete", - "Hide", - "Unhide" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of operation for migration." - } - }, - "description": "Properties for arm migration." - }, - "MsixPackageApplications": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Package Application Id, found in appxmanifest.xml." - }, - "appUserModelID": { - "type": "string", - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml." - }, - "description": { - "type": "string", - "description": "Description of Package Application." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name." - }, - "iconImageName": { - "type": "string", - "description": "User friendly name." - }, - "rawIcon": { - "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": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "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": "the icon a 64 bit string as a byte array." - } - }, - "description": "Schema for MSIX Package Application properties." - }, - "MsixPackageDependencies": { - "type": "object", - "properties": { - "dependencyName": { - "type": "string", - "description": "Name of package dependency." - }, - "minVersion": { - "type": "string", - "description": "Dependency version required." - }, - "publisher": { - "type": "string", - "description": "Name of dependency publisher." - } - }, - "description": "Schema for MSIX Package Dependencies properties." - }, - "MSIXPackageProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "User friendly Name to be displayed in the portal. " - }, - "imagePath": { - "type": "string", - "description": "VHD/CIM image path on Network Share." - }, - "isActive": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this version of the package the active one across the hostpool. " - }, - "isRegularRegistration": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies how to register Package in feed." - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "Date Package was last updated, found in the appxmanifest.xml. " - }, - "packageApplications": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageApplications" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package applications. " - }, - "packageDependencies": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package dependencies. " - }, - "packageFamilyName": { - "type": "string", - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. " - }, - "packageName": { - "type": "string", - "description": "Package Name from appxmanifest.xml. " - }, - "packageRelativePath": { - "type": "string", - "description": "Relative Path to the package inside the image. " - }, - "version": { - "type": "string", - "description": "Package Version found in the appxmanifest.xml. " - } - }, - "description": "Schema for MSIX Package properties." - }, - "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." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "None", - "Update" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of resetting the token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - } - }, - "ResourceModelWithAllowedPropertySetPlan": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "A user defined name of the 3rd Party Artifact that is being procured." - }, - "product": { - "type": "string", - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. " - }, - "promotionCode": { - "type": "string", - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." - }, - "publisher": { - "type": "string", - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" - }, - "version": { - "type": "string", - "description": "The version of the desired product/artifact." - } - }, - "required": [ - "name", - "product", - "publisher" - ] - }, - "ResourceModelWithAllowedPropertySetSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted." - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT." - } - }, - "required": [ - "name" - ] - }, - "ScalingHostPoolReference": { - "type": "object", - "properties": { - "hostPoolArmPath": { - "type": "string", - "description": "Arm path of referenced hostpool." - }, - "scalingPlanEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is the scaling plan enabled for this hostpool." - } - }, - "description": "Scaling plan reference to hostpool." - }, - "ScalingPlanProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of scaling plan." - }, - "exclusionTag": { - "type": "string", - "description": "Exclusion tag for scaling plan." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name of scaling plan." - }, - "hostPoolReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingHostPoolReference definitions." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "schedules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingSchedule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingSchedule definitions." - }, - "timeZone": { - "type": "string", - "description": "Timezone of the scaling plan." - } - }, - "description": "Scaling plan properties." - }, - "ScalingSchedule": { - "type": "object", - "properties": { - "daysOfWeek": { - "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": "Set of days of the week on which this schedule is active." - }, - "name": { - "type": "string", - "description": "Name of the scaling schedule." - }, - "offPeakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for off-peak period." - }, - "offPeakStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for off-peak period." - }, - "peakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for peak period." - }, - "peakStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for peak period." - }, - "rampDownCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp down period." - }, - "rampDownForceLogoffUsers": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should users be logged off forcefully from hosts." - }, - "rampDownLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp down period." - }, - "rampDownMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp down period." - }, - "rampDownNotificationMessage": { - "type": "string", - "description": "Notification message for users during ramp down period." - }, - "rampDownStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for ramp down period." - }, - "rampDownStopHostsWhen": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies when to stop hosts during ramp down period." - }, - "rampDownWaitTimeMinutes": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of minutes to wait to stop hosts during ramp down period." - }, - "rampUpCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp up period." - }, - "rampUpLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp up period." - }, - "rampUpMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp up period." - }, - "rampUpStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for ramp up period." - } - }, - "description": "Scaling plan schedule." - }, - "SecondaryWindowProperties": { - "type": "object", - "properties": { - "daysOfWeek": { - "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": "Set of days of the week on which this schedule is active." - }, - "hour": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The update start hour of the day. (0 - 23)" - } - }, - "description": "Secondary maintenance windows is a list of days at one specific hour. Maintenance windows are 2 hours long. We try to exercise this only when the primary window update fails." - }, - "SessionHostComponentUpdateConfigurationProperties": { - "type": "object", - "properties": { - "maintenanceType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Default", - "TenantAdminControlled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of maintenance for session host components." - }, - "maintenanceWindowTimeZone": { - "type": "string", - "description": "Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true." - }, - "primaryWindow": { - "oneOf": [ - { - "$ref": "#/definitions/MaintenanceWindowProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Maintenance window starting hour and day of week." - }, - "secondaryWindow": { - "oneOf": [ - { - "$ref": "#/definitions/SecondaryWindowProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Secondary maintenance windows is a list of days at one specific hour. Maintenance windows are 2 hours long. We try to exercise this only when the primary window update fails." - }, - "useSessionHostLocalTime": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether to use localTime of the virtual machine." - } - }, - "description": "The session host configuration for updating agent, monitoring agent, and stack component." - }, - "SessionHostConfigurationProperties": { - "type": "object", - "properties": { - "diskType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard_LRS", - "Premium_LRS", - "StandardSSD_LRS", - "UltraSSD_LRS" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The disk type used by virtual machine in hostpool session host." - }, - "domainInfo": { - "oneOf": [ - { - "$ref": "#/definitions/DomainInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Domain configurations of session hosts." - }, - "imageInfo": { - "oneOf": [ - { - "$ref": "#/definitions/ImageInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Image configurations of session host in a HostPool." - }, - "vmCustomConfigurationUri": { - "type": "string", - "description": "The uri to the storage blob containing scripts to be run on the virtual machine after provisioning." - }, - "vMSizeId": { - "type": "string", - "description": "The id of the size of a virtual machine connected to a hostpool." - } - }, - "description": "Session host configurations of HostPool." - }, - "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." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints." - } - }, - "description": "Schema for Workspace properties." - }, - "workspaces_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "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.DesktopVirtualization/workspaces/privateEndpointConnections" - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 74e1503bdd..91b2e2e42a 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -4045,33 +4045,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces_privateEndpointConnections" }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_sessionHostConfigurations" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces_privateEndpointConnections" - }, { "$ref": "https://schema.management.azure.com/schemas/2021-07-12/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" }, From b948dd16b86a64e6978cd1084438803a8aa4e2dc Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 2 Sep 2021 09:19:32 +0000 Subject: [PATCH 145/243] Update resource list --- generator/resources.json | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 0e6055cd2a..2125c74296 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -2298,7 +2298,6 @@ "2021-02-01-preview", "2021-03-09-preview", "2021-04-01-preview", - "2021-05-13-preview", "2021-07-12" ], "Microsoft.DesktopVirtualization/applicationGroups/applications": [ @@ -2313,7 +2312,6 @@ "2021-02-01-preview", "2021-03-09-preview", "2021-04-01-preview", - "2021-05-13-preview", "2021-07-12" ], "Microsoft.DesktopVirtualization/hostPools": [ @@ -2328,7 +2326,6 @@ "2021-02-01-preview", "2021-03-09-preview", "2021-04-01-preview", - "2021-05-13-preview", "2021-07-12" ], "Microsoft.DesktopVirtualization/hostPools/msixPackages": [ @@ -2340,15 +2337,10 @@ "2021-02-01-preview", "2021-03-09-preview", "2021-04-01-preview", - "2021-05-13-preview", "2021-07-12" ], "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections": [ - "2021-04-01-preview", - "2021-05-13-preview" - ], - "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations": [ - "2021-05-13-preview" + "2021-04-01-preview" ], "Microsoft.DesktopVirtualization/scalingPlans": [ "2020-11-10-preview", @@ -2356,7 +2348,6 @@ "2021-02-01-preview", "2021-03-09-preview", "2021-04-01-preview", - "2021-05-13-preview", "2021-07-12" ], "Microsoft.DesktopVirtualization/workspaces": [ @@ -2371,12 +2362,10 @@ "2021-02-01-preview", "2021-03-09-preview", "2021-04-01-preview", - "2021-05-13-preview", "2021-07-12" ], "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections": [ - "2021-04-01-preview", - "2021-05-13-preview" + "2021-04-01-preview" ], "Microsoft.DevOps/pipelines": [ "2019-07-01-preview", From 36b7adeb664bdf4f4373e55cdfe91ccf27adde0d Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 2 Sep 2021 10:33:33 +0000 Subject: [PATCH 146/243] 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/2020-05-01/Microsoft.Migrate.json | 231 +++ schemas/2021-01-01/Microsoft.Migrate.json | 1054 -------------- .../Microsoft.Insights.json | 445 ++++++ schemas/common/autogeneratedResources.json | 50 +- 8 files changed, 3098 insertions(+), 2112 deletions(-) create mode 100644 schemas/2018-02-02/Microsoft.Migrate.json create 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 create mode 100644 schemas/2020-05-01/Microsoft.Migrate.json delete mode 100644 schemas/2021-01-01/Microsoft.Migrate.json create mode 100644 schemas/2021-07-01-preview/Microsoft.Insights.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 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 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/2020-05-01/Microsoft.Migrate.json b/schemas/2020-05-01/Microsoft.Migrate.json new file mode 100644 index 0000000000..22a8f94955 --- /dev/null +++ b/schemas/2020-05-01/Microsoft.Migrate.json @@ -0,0 +1,231 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-05-01/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": [ + "2020-05-01" + ] + }, + "eTag": { + "type": "string", + "description": "For optimistic concurrency control." + }, + "location": { + "type": "string", + "description": "Azure location in which project is created." + }, + "name": { + "type": "string", + "description": "Migrate project name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a migrate project." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/migrateProjects_privateEndpointConnections_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects" + }, + "migrateProjects_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-01" + ] + }, + "eTag": { + "type": "string", + "description": "Gets the tag for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Private endpoint connection name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionStateRequestBodyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of Connection state request." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" + } + }, + "definitions": { + "ConnectionStateRequestBodyProperties": { + "type": "object", + "properties": { + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint connection state." + } + }, + "description": "Properties of Connection state request." + }, + "MigrateProjectProperties": { + "type": "object", + "properties": { + "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 state of public network access." + }, + "serviceEndpoint": { + "type": "string", + "description": "Service endpoint." + }, + "utilityStorageAccountId": { + "type": "string", + "description": "Utility storage account id." + } + }, + "description": "Properties of a migrate project." + }, + "migrateProjects_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-01" + ] + }, + "eTag": { + "type": "string", + "description": "Gets the tag for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Private endpoint connection name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionStateRequestBodyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of Connection state request." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "Action required." + }, + "description": { + "type": "string", + "description": "Description of the object." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private link connection state." + } + }, + "description": "Private endpoint connection state." + } + } +} \ 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-preview/Microsoft.Insights.json b/schemas/2021-07-01-preview/Microsoft.Insights.json new file mode 100644 index 0000000000..7dc5efd91d --- /dev/null +++ b/schemas/2021-07-01-preview/Microsoft.Insights.json @@ -0,0 +1,445 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Insights.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "microsoft.insights", + "description": "microsoft insights Resource Types", + "resourceDefinitions": { + "privateLinkScopes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the Azure Monitor PrivateLinkScope resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AzureMonitorPrivateLinkScopeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties that define a Azure Monitor PrivateLinkScope resource." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/privateLinkScopes_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/privateLinkScopes_scopedResources_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.insights/privateLinkScopes" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "microsoft.insights/privateLinkScopes" + }, + "privateLinkScopes_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "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 the PrivateEndpointConnectProperties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Insights/privateLinkScopes/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Insights/privateLinkScopes/privateEndpointConnections" + }, + "privateLinkScopes_scopedResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the scoped resource object." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScopedResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a private link scoped resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Insights/privateLinkScopes/scopedResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Insights/privateLinkScopes/scopedResources" + } + }, + "definitions": { + "AccessModeSettings": { + "type": "object", + "properties": { + "exclusions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AccessModeSettingsExclusion" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of exclusions that override the default access mode settings for specific private endpoint connections." + }, + "ingestionAccessMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Open", + "PrivateOnly" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the default access mode of ingestion through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array." + }, + "queryAccessMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Open", + "PrivateOnly" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the default access mode of queries through associated private endpoints in scope. If not specified default value is 'Open'. You can override this default setting for a specific private endpoint connection by adding an exclusion in the 'exclusions' array." + } + }, + "required": [ + "ingestionAccessMode", + "queryAccessMode" + ], + "description": "Properties that define the scope private link mode settings." + }, + "AccessModeSettingsExclusion": { + "type": "object", + "properties": { + "ingestionAccessMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Open", + "PrivateOnly" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the access mode of ingestion through the specified private endpoint connection in the exclusion." + }, + "privateEndpointConnectionName": { + "type": "string", + "description": "The private endpoint connection name associated to the private endpoint on which we want to apply the specific access mode settings." + }, + "queryAccessMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Open", + "PrivateOnly" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the access mode of queries through the specified private endpoint connection in the exclusion." + } + }, + "description": "Properties that define the scope private link mode settings exclusion item. This setting applies to a specific private endpoint connection and overrides the default settings for that private endpoint connection." + }, + "AzureMonitorPrivateLinkScopeProperties": { + "type": "object", + "properties": { + "accessModeSettings": { + "oneOf": [ + { + "$ref": "#/definitions/AccessModeSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties that define the scope private link mode settings." + } + }, + "required": [ + "accessModeSettings" + ], + "description": "Properties that define a Azure Monitor PrivateLinkScope resource." + }, + "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." + }, + "privateLinkScopes_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "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 the PrivateEndpointConnectProperties." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Insights/privateLinkScopes/privateEndpointConnections" + }, + "privateLinkScopes_scopedResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the scoped resource object." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScopedResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a private link scoped resource." + }, + "type": { + "type": "string", + "enum": [ + "scopedResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Insights/privateLinkScopes/scopedResources" + }, + "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." + }, + "ScopedResourceProperties": { + "type": "object", + "properties": { + "linkedResourceId": { + "type": "string", + "description": "The resource id of the scoped Azure monitor resource." + } + }, + "description": "Properties of a private link scoped resource." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 91b2e2e42a..9c2b7aba73 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6502,6 +6502,15 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Insights.json#/resourceDefinitions/dataCollectionRules" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Insights.json#/resourceDefinitions/privateLinkScopes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Insights.json#/resourceDefinitions/privateLinkScopes_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Insights.json#/resourceDefinitions/privateLinkScopes_scopedResources" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#/resourceDefinitions/iotApps" }, @@ -7001,16 +7010,49 @@ "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Maps.json#/resourceDefinitions/accounts_creators" }, { - "$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" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups" + }, + { + "$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" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" + }, + { + "$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-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$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" + "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" }, { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_privateEndpointConnections" }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" From 22cdaf9b671fbc0779ae8a79941110467fff3b98 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 2 Sep 2021 10:33:48 +0000 Subject: [PATCH 147/243] Update resource list --- generator/resources.json | 56 +++++++++++++++++++++++++++++++++------- 1 file changed, 47 insertions(+), 9 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 2125c74296..9696371277 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3467,10 +3467,12 @@ "2021-03-08" ], "Microsoft.Insights/privateLinkScopes/privateEndpointConnections": [ - "2019-10-17-preview" + "2019-10-17-preview", + "2021-07-01-preview" ], "Microsoft.Insights/privateLinkScopes/scopedResources": [ - "2019-10-17-preview" + "2019-10-17-preview", + "2021-07-01-preview" ], "Microsoft.Insights/scheduledQueryRules": [ "2018-04-16", @@ -3980,13 +3982,48 @@ "Microsoft.Media/mediaServices/transforms/jobs": [ "2018-07-01" ], - "Microsoft.Migrate/moveCollections": [ - "2019-10-01-preview", - "2021-01-01" + "Microsoft.Migrate/assessmentProjects": [ + "2019-10-01" ], - "Microsoft.Migrate/moveCollections/moveResources": [ - "2019-10-01-preview", - "2021-01-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", + "2020-05-01" + ], + "Microsoft.Migrate/migrateProjects/privateEndpointConnections": [ + "2020-05-01" + ], + "Microsoft.Migrate/migrateProjects/solutions": [ + "2018-09-01-preview" + ], + "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" @@ -8514,7 +8551,8 @@ "2018-06-01-preview" ], "microsoft.insights/privateLinkScopes": [ - "2019-10-17-preview" + "2019-10-17-preview", + "2021-07-01-preview" ], "microsoft.insights/workbooks": [ "2015-05-01", From 2160f215d7abb246baf3f636937e0d08e7585354 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 3 Sep 2021 00:51:06 +0000 Subject: [PATCH 148/243] CodeGen from PR 15889 in Azure/azure-rest-api-specs patch 0401 add patch property for workspace (#15889) --- .../Microsoft.DesktopVirtualization.json | 2459 ----------------- schemas/common/autogeneratedResources.json | 27 - 2 files changed, 2486 deletions(-) delete mode 100644 schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json diff --git a/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json b/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json deleted file mode 100644 index 535120317e..0000000000 --- a/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json +++ /dev/null @@ -1,2459 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.DesktopVirtualization", - "description": "Microsoft DesktopVirtualization Resource Types", - "resourceDefinitions": { - "applicationGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the application group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for ApplicationGroup properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/applicationGroups_applications_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups" - }, - "applicationGroups_applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/applicationGroups/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "hostPools": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the host pool within the specified resource group" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HostPoolProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of HostPool." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/hostPools_sessionHostConfigurations_childResource" - }, - { - "$ref": "#/definitions/hostPools_msixPackages_childResource" - }, - { - "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools" - }, - "hostPools_msixPackages": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/hostPools/msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "hostPools_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "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.DesktopVirtualization/hostPools/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" - }, - "hostPools_sessionHostConfigurations": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SessionHostConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Session host configurations of HostPool." - }, - "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.DesktopVirtualization/hostPools/sessionHostConfigurations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations" - }, - "scalingPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the scaling plan." - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScalingPlanProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Scaling plan properties." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/scalingPlans" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/scalingPlans" - }, - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "pattern": "^[-\\w\\._,\\(\\)]+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "managedBy": { - "type": "string", - "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource." - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 64, - "description": "The name of the workspace" - }, - "plan": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Workspace properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.DesktopVirtualization/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces" - }, - "workspaces_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "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.DesktopVirtualization/workspaces/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" - } - }, - "definitions": { - "ApplicationGroupProperties": { - "type": "object", - "properties": { - "applicationGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "RemoteApp", - "Desktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of ApplicationGroup." - }, - "description": { - "type": "string", - "description": "Description of ApplicationGroup." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of ApplicationGroup." - }, - "hostPoolArmPath": { - "type": "string", - "description": "HostPool arm path of ApplicationGroup." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - } - }, - "required": [ - "applicationGroupType", - "hostPoolArmPath" - ], - "description": "Schema for ApplicationGroup properties." - }, - "applicationGroups_applications_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 24, - "description": "The name of the application within the specified application group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for Application properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" - }, - "ApplicationProperties": { - "type": "object", - "properties": { - "applicationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "InBuilt", - "MsixApplication" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource Type of Application." - }, - "commandLineArguments": { - "type": "string", - "description": "Command Line Arguments for Application." - }, - "commandLineSetting": { - "oneOf": [ - { - "type": "string", - "enum": [ - "DoNotAllow", - "Allow", - "Require" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all." - }, - "description": { - "type": "string", - "description": "Description of Application." - }, - "filePath": { - "type": "string", - "description": "Specifies a path for the executable file for the application." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Application." - }, - "iconIndex": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Index of the icon." - }, - "iconPath": { - "type": "string", - "description": "Path to icon." - }, - "msixPackageApplicationId": { - "type": "string", - "description": "Specifies the package application Id for MSIX applications" - }, - "msixPackageFamilyName": { - "type": "string", - "description": "Specifies the package family name for MSIX applications" - }, - "showInPortal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." - } - }, - "required": [ - "commandLineSetting" - ], - "description": "Schema for Application properties." - }, - "CredentialsProperties": { - "type": "object", - "properties": { - "domainAdmin": { - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultCredentialProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Credentials kept in the keyvault." - }, - "localAdmin": { - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultCredentialProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Credentials kept in the keyvault." - } - }, - "description": "Credentials needed to create the virtual machine." - }, - "DomainInfoProperties": { - "type": "object", - "properties": { - "credentials": { - "oneOf": [ - { - "$ref": "#/definitions/CredentialsProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Credentials needed to create the virtual machine." - }, - "joinType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ActiveDirectory", - "AzureActiveDirectory" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of domain join done by the virtual machine." - }, - "mdmProviderGuid": { - "type": "string", - "description": "The MDM Provider GUID used during MDM enrollment for Azure AD joined virtual machines." - }, - "name": { - "type": "string", - "description": "The domain a virtual machine connected to a hostpool will join." - } - }, - "description": "Domain configurations of session hosts." - }, - "HostPoolProperties": { - "type": "object", - "properties": { - "customRdpProperty": { - "type": "string", - "description": "Custom rdp property of HostPool." - }, - "description": { - "type": "string", - "description": "Description of HostPool." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of HostPool." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "loadBalancerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst", - "Persistent" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the load balancer." - }, - "maxSessionLimit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The max session limit of HostPool." - }, - "migrationRequest": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationRequestProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties for arm migration." - }, - "personalDesktopAssignmentType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Automatic", - "Direct" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "PersonalDesktopAssignment type for HostPool." - }, - "preferredAppGroupType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Desktop", - "RailApplications" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of preferred application group type, default to Desktop Application Group." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints." - }, - "registrationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/RegistrationInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents a RegistrationInfo definition." - }, - "ring": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The ring number of HostPool." - }, - "sessionHostComponentUpdateConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/SessionHostComponentUpdateConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The session host configuration for updating agent, monitoring agent, and stack component." - }, - "ssoadfsAuthority": { - "type": "string", - "description": "URL to customer ADFS server for signing WVD SSO certificates." - }, - "ssoClientId": { - "type": "string", - "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates." - }, - "ssoClientSecretKeyVaultPath": { - "type": "string", - "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." - }, - "ssoSecretType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SharedKey", - "Certificate", - "SharedKeyInKeyVault", - "CertificateInKeyVault" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of single sign on Secret Type." - }, - "startVMOnConnect": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag to turn on/off StartVMOnConnect feature." - }, - "validationEnvironment": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is validation environment." - }, - "vmTemplate": { - "type": "string", - "description": "VM template for sessionhosts configuration within hostpool." - } - }, - "required": [ - "hostPoolType", - "loadBalancerType", - "preferredAppGroupType" - ], - "description": "Properties of HostPool." - }, - "hostPools_msixPackages_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "name": { - "type": "string", - "minLength": 3, - "maxLength": 100, - "description": "The version specific package full name of the MSIX package within specified hostpool" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MSIXPackageProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Schema for MSIX Package properties." - }, - "systemData": { - "oneOf": [ - { - "$ref": "#/definitions/SystemData" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Metadata pertaining to creation and last modification of the resource." - }, - "type": { - "type": "string", - "enum": [ - "msixPackages" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" - }, - "hostPools_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "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.DesktopVirtualization/hostPools/privateEndpointConnections" - }, - "hostPools_sessionHostConfigurations_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SessionHostConfigurationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Session host configurations of HostPool." - }, - "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": [ - "sessionHostConfigurations" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.DesktopVirtualization/hostPools/sessionHostConfigurations" - }, - "ImageInfoProperties": { - "type": "object", - "properties": { - "customId": { - "type": "string", - "description": "The resource id of the custom image or shared image. Image type must be CustomImage." - }, - "marketPlaceInfo": { - "oneOf": [ - { - "$ref": "#/definitions/MarketPlaceInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Image configurations of HostPool." - }, - "storageBlobUri": { - "type": "string", - "description": "The uri to the storage blob which contains the VHD. Image type must be StorageBlob." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Gallery", - "StorageBlob", - "CustomImage" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of image session hosts use in the hostpool." - } - }, - "description": "Image configurations of session host in a HostPool." - }, - "KeyVaultCredentialProperties": { - "type": "object", - "properties": { - "passwordKeyVaultResourceId": { - "type": "string", - "description": "The keyvault resource id to the keyvault secrets." - }, - "passwordSecretName": { - "type": "string", - "description": "The keyvault secret name the password is stored in." - }, - "userName": { - "type": "string", - "description": "The user name to the account." - } - }, - "description": "Credentials kept in the keyvault." - }, - "MaintenanceWindowProperties": { - "type": "object", - "properties": { - "dayOfWeek": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Day of the week." - }, - "hour": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The update start hour of the day. (0 - 23)" - } - }, - "description": "Maintenance window starting hour and day of week." - }, - "MarketPlaceInfoProperties": { - "type": "object", - "properties": { - "exactVersion": { - "type": "string", - "description": "The exact version of the image." - }, - "offer": { - "type": "string", - "description": "The offer of the image." - }, - "publisher": { - "type": "string", - "description": "The publisher of the image." - }, - "sku": { - "type": "string", - "description": "The sku of the image." - } - }, - "description": "Image configurations of HostPool." - }, - "MigrationRequestProperties": { - "type": "object", - "properties": { - "migrationPath": { - "type": "string", - "description": "The path to the legacy object to migrate." - }, - "operation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Start", - "Revoke", - "Complete", - "Hide", - "Unhide" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of operation for migration." - } - }, - "description": "Properties for arm migration." - }, - "MsixPackageApplications": { - "type": "object", - "properties": { - "appId": { - "type": "string", - "description": "Package Application Id, found in appxmanifest.xml." - }, - "appUserModelID": { - "type": "string", - "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml." - }, - "description": { - "type": "string", - "description": "Description of Package Application." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name." - }, - "iconImageName": { - "type": "string", - "description": "User friendly name." - }, - "rawIcon": { - "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": "the icon a 64 bit string as a byte array." - }, - "rawPng": { - "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": "the icon a 64 bit string as a byte array." - } - }, - "description": "Schema for MSIX Package Application properties." - }, - "MsixPackageDependencies": { - "type": "object", - "properties": { - "dependencyName": { - "type": "string", - "description": "Name of package dependency." - }, - "minVersion": { - "type": "string", - "description": "Dependency version required." - }, - "publisher": { - "type": "string", - "description": "Name of dependency publisher." - } - }, - "description": "Schema for MSIX Package Dependencies properties." - }, - "MSIXPackageProperties": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "User friendly Name to be displayed in the portal. " - }, - "imagePath": { - "type": "string", - "description": "VHD/CIM image path on Network Share." - }, - "isActive": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Make this version of the package the active one across the hostpool. " - }, - "isRegularRegistration": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies how to register Package in feed." - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "Date Package was last updated, found in the appxmanifest.xml. " - }, - "packageApplications": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageApplications" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package applications. " - }, - "packageDependencies": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/MsixPackageDependencies" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of package dependencies. " - }, - "packageFamilyName": { - "type": "string", - "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. " - }, - "packageName": { - "type": "string", - "description": "Package Name from appxmanifest.xml. " - }, - "packageRelativePath": { - "type": "string", - "description": "Relative Path to the package inside the image. " - }, - "version": { - "type": "string", - "description": "Package Version found in the appxmanifest.xml. " - } - }, - "description": "Schema for MSIX Package properties." - }, - "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." - }, - "RegistrationInfo": { - "type": "object", - "properties": { - "expirationTime": { - "type": "string", - "format": "date-time", - "description": "Expiration time of registration token." - }, - "registrationTokenOperation": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Delete", - "None", - "Update" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of resetting the token." - }, - "token": { - "type": "string", - "description": "The registration token base64 encoded string." - } - }, - "description": "Represents a RegistrationInfo definition." - }, - "ResourceModelWithAllowedPropertySetIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SystemAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The identity type." - } - } - }, - "ResourceModelWithAllowedPropertySetPlan": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "A user defined name of the 3rd Party Artifact that is being procured." - }, - "product": { - "type": "string", - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. " - }, - "promotionCode": { - "type": "string", - "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." - }, - "publisher": { - "type": "string", - "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" - }, - "version": { - "type": "string", - "description": "The version of the desired product/artifact." - } - }, - "required": [ - "name", - "product", - "publisher" - ] - }, - "ResourceModelWithAllowedPropertySetSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted." - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "name": { - "type": "string", - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT." - } - }, - "required": [ - "name" - ] - }, - "ScalingHostPoolReference": { - "type": "object", - "properties": { - "hostPoolArmPath": { - "type": "string", - "description": "Arm path of referenced hostpool." - }, - "scalingPlanEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is the scaling plan enabled for this hostpool." - } - }, - "description": "Scaling plan reference to hostpool." - }, - "ScalingPlanProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of scaling plan." - }, - "exclusionTag": { - "type": "string", - "description": "Exclusion tag for scaling plan." - }, - "friendlyName": { - "type": "string", - "description": "User friendly name of scaling plan." - }, - "hostPoolReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingHostPoolReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingHostPoolReference definitions." - }, - "hostPoolType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Personal", - "Pooled", - "BYODesktop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HostPool type for desktop." - }, - "schedules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScalingSchedule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of ScalingSchedule definitions." - }, - "timeZone": { - "type": "string", - "description": "Timezone of the scaling plan." - } - }, - "description": "Scaling plan properties." - }, - "ScalingSchedule": { - "type": "object", - "properties": { - "daysOfWeek": { - "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": "Set of days of the week on which this schedule is active." - }, - "name": { - "type": "string", - "description": "Name of the scaling schedule." - }, - "offPeakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for off-peak period." - }, - "offPeakStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for off-peak period." - }, - "peakLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for peak period." - }, - "peakStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for peak period." - }, - "rampDownCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp down period." - }, - "rampDownForceLogoffUsers": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Should users be logged off forcefully from hosts." - }, - "rampDownLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp down period." - }, - "rampDownMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp down period." - }, - "rampDownNotificationMessage": { - "type": "string", - "description": "Notification message for users during ramp down period." - }, - "rampDownStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for ramp down period." - }, - "rampDownStopHostsWhen": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ZeroSessions", - "ZeroActiveSessions" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies when to stop hosts during ramp down period." - }, - "rampDownWaitTimeMinutes": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of minutes to wait to stop hosts during ramp down period." - }, - "rampUpCapacityThresholdPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Capacity threshold for ramp up period." - }, - "rampUpLoadBalancingAlgorithm": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BreadthFirst", - "DepthFirst" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Load balancing algorithm for ramp up period." - }, - "rampUpMinimumHostsPct": { - "oneOf": [ - { - "type": "integer", - "minimum": 0, - "maximum": 100 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Minimum host percentage for ramp up period." - }, - "rampUpStartTime": { - "type": "string", - "format": "date-time", - "description": "Starting time for ramp up period." - } - }, - "description": "Scaling plan schedule." - }, - "SecondaryWindowProperties": { - "type": "object", - "properties": { - "daysOfWeek": { - "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": "Set of days of the week on which this schedule is active." - }, - "hour": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The update start hour of the day. (0 - 23)" - } - }, - "description": "Secondary maintenance windows is a list of days at one specific hour. Maintenance windows are 2 hours long. We try to exercise this only when the primary window update fails." - }, - "SessionHostComponentUpdateConfigurationProperties": { - "type": "object", - "properties": { - "maintenanceType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Default", - "TenantAdminControlled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of maintenance for session host components." - }, - "maintenanceWindowTimeZone": { - "type": "string", - "description": "Time zone for maintenance as defined in https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.findsystemtimezonebyid?view=net-5.0. Must be set if useLocalTime is true." - }, - "primaryWindow": { - "oneOf": [ - { - "$ref": "#/definitions/MaintenanceWindowProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Maintenance window starting hour and day of week." - }, - "secondaryWindow": { - "oneOf": [ - { - "$ref": "#/definitions/SecondaryWindowProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Secondary maintenance windows is a list of days at one specific hour. Maintenance windows are 2 hours long. We try to exercise this only when the primary window update fails." - }, - "useSessionHostLocalTime": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether to use localTime of the virtual machine." - } - }, - "description": "The session host configuration for updating agent, monitoring agent, and stack component." - }, - "SessionHostConfigurationProperties": { - "type": "object", - "properties": { - "diskType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard_LRS", - "Premium_LRS", - "StandardSSD_LRS", - "UltraSSD_LRS" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The disk type used by virtual machine in hostpool session host." - }, - "domainInfo": { - "oneOf": [ - { - "$ref": "#/definitions/DomainInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Domain configurations of session hosts." - }, - "imageInfo": { - "oneOf": [ - { - "$ref": "#/definitions/ImageInfoProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Image configurations of session host in a HostPool." - }, - "vmCustomConfigurationUri": { - "type": "string", - "description": "The uri to the storage blob containing scripts to be run on the virtual machine after provisioning." - }, - "vMSizeId": { - "type": "string", - "description": "The id of the size of a virtual machine connected to a hostpool." - } - }, - "description": "Session host configurations of HostPool." - }, - "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." - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "applicationGroupReferences": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of applicationGroup resource Ids." - }, - "description": { - "type": "string", - "description": "Description of Workspace." - }, - "friendlyName": { - "type": "string", - "description": "Friendly name of Workspace." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints." - } - }, - "description": "Schema for Workspace properties." - }, - "workspaces_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-13-preview" - ] - }, - "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.DesktopVirtualization/workspaces/privateEndpointConnections" - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 0566369d0f..3f71695c16 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -4021,33 +4021,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces_privateEndpointConnections" }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_sessionHostConfigurations" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-13-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces_privateEndpointConnections" - }, { "$ref": "https://schema.management.azure.com/schemas/2021-07-12/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" }, From 3ba94df87c6ec0c9908196da985575869a9fcc2f Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 3 Sep 2021 05:31:44 +0000 Subject: [PATCH 149/243] CodeGen from PR 14849 in Azure/azure-rest-api-specs Adding list reservations API to Microsoft.Capacity (#14849) * Adding reservations route to reservations resource manager * Fixing issues * fix casing * Lint fixes * Fixing up some lint issues * More lint fixes * Some more validation fixes * Adding in all of the other APIs to the new version * Fixing spell check scan * Fixing more Lint issues * A couple more custom words * Fixing systemData Lint error * Trying to fix Lint error * Taking out duplicate tag in readme.md * Changing operation name to fix go compile error * Fixing one more go issue * Fixing opertaion ID * Fixing S360 swagger issues * Adding custom word * Adding paths from preview versions into new stable version * Changing error response to use common definition * Revert "Changing error response to use common definition" This reverts commit 5a6c783eecd38a114acd855c3c57022ca3cc56bd. * Including the quota.json file in readme.md * Small changes to make to reduce the number of breaking changes. * Undoing changes to two enums * Fixing formatting issue --- .../2019-08-01/tenantDeploymentTemplate.json | 3 + schemas/2021-07-01/Microsoft.Capacity.json | 232 ++++++++++++++++++ 2 files changed, 235 insertions(+) create mode 100644 schemas/2021-07-01/Microsoft.Capacity.json diff --git a/schemas/2019-08-01/tenantDeploymentTemplate.json b/schemas/2019-08-01/tenantDeploymentTemplate.json index 17033da9dd..e787eba347 100644 --- a/schemas/2019-08-01/tenantDeploymentTemplate.json +++ b/schemas/2019-08-01/tenantDeploymentTemplate.json @@ -616,6 +616,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-10-01-preview/Microsoft.Capacity.json#/tenant_resourceDefinitions/reservationOrders" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Capacity.json#/tenant_resourceDefinitions/reservationOrders" + }, { "$ref": "https://schema.management.azure.com/schemas/2015-01-14-preview/Microsoft.Intune.json#/tenant_resourceDefinitions/locations_androidPolicies" }, diff --git a/schemas/2021-07-01/Microsoft.Capacity.json b/schemas/2021-07-01/Microsoft.Capacity.json new file mode 100644 index 0000000000..dd9ee39d94 --- /dev/null +++ b/schemas/2021-07-01/Microsoft.Capacity.json @@ -0,0 +1,232 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.Capacity.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Capacity", + "description": "Microsoft Capacity Resource Types", + "resourceDefinitions": {}, + "tenant_resourceDefinitions": { + "reservationOrders": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "location": { + "type": "string", + "description": "The Azure Region where the reserved resource lives." + }, + "name": { + "type": "string", + "description": "Order Id of the reservation" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PurchaseRequestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/SkuName" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Capacity/reservationOrders" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Capacity/reservationOrders" + } + }, + "definitions": { + "PurchaseRequestProperties": { + "type": "object", + "properties": { + "appliedScopes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of the subscriptions that the benefit will be applied. Do not specify if AppliedScopeType is Shared." + }, + "appliedScopeType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Single", + "Shared" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "billingPlan": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Upfront", + "Monthly" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "billingScopeId": { + "type": "string", + "description": "Subscription that will be charged for purchasing Reservation" + }, + "displayName": { + "type": "string", + "description": "Friendly name of the Reservation" + }, + "quantity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Quantity of the SKUs that are part of the Reservation. Must be greater than zero." + }, + "renew": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Setting this to true will automatically purchase a new reservation on the expiration date time." + }, + "reservedResourceProperties": { + "oneOf": [ + { + "$ref": "#/definitions/PurchaseRequestPropertiesReservedResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties specific to each reserved resource type. Not required if not applicable." + }, + "reservedResourceType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "VirtualMachines", + "SqlDatabases", + "SuseLinux", + "CosmosDb", + "RedHat", + "SqlDataWarehouse", + "VMwareCloudSimple", + "RedHatOsa", + "Databricks", + "AppService", + "ManagedDisk", + "BlockBlob", + "RedisCache", + "AzureDataExplorer", + "MySql", + "MariaDb", + "PostgreSql", + "DedicatedHost", + "SapHana", + "SqlAzureHybridBenefit", + "AVS", + "DataFactory", + "NetAppStorage", + "AzureFiles", + "SqlEdge" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "term": { + "oneOf": [ + { + "type": "string", + "enum": [ + "P1Y", + "P3Y", + "P5Y" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "PurchaseRequestPropertiesReservedResourceProperties": { + "type": "object", + "properties": { + "instanceFlexibility": { + "oneOf": [ + { + "type": "string", + "enum": [ + "On", + "Off" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Properties specific to each reserved resource type. Not required if not applicable." + }, + "SkuName": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + } + } +} \ No newline at end of file From 9bd80e130afd8d38de3ac4bbf67c9c974e7412be Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 3 Sep 2021 06:36:56 +0000 Subject: [PATCH 150/243] CodeGen from PR 15750 in Azure/azure-rest-api-specs Change SecurityAlertPolicyName from default to Default (#15750) * Change SecurityAlertPolicyName from default to Default * modify example files --- schemas/2020-11-01-preview/Microsoft.Sql.json | 16 ++++++++-------- schemas/2021-02-01-preview/Microsoft.Sql.json | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/schemas/2020-11-01-preview/Microsoft.Sql.json b/schemas/2020-11-01-preview/Microsoft.Sql.json index 7db77793ca..fc6202b866 100644 --- a/schemas/2020-11-01-preview/Microsoft.Sql.json +++ b/schemas/2020-11-01-preview/Microsoft.Sql.json @@ -587,7 +587,7 @@ "oneOf": [ { "type": "string", - "pattern": "^.*/default$" + "pattern": "^.*/Default$" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -950,7 +950,7 @@ "oneOf": [ { "type": "string", - "pattern": "^.*/default$" + "pattern": "^.*/Default$" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -1783,7 +1783,7 @@ "oneOf": [ { "type": "string", - "pattern": "^.*/default$" + "pattern": "^.*/Default$" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -2852,7 +2852,7 @@ "oneOf": [ { "type": "string", - "pattern": "^.*/default$" + "pattern": "^.*/Default$" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -5490,7 +5490,7 @@ "name": { "type": "string", "enum": [ - "default" + "Default" ], "description": "The name of the security alert policy." }, @@ -5736,7 +5736,7 @@ "name": { "type": "string", "enum": [ - "default" + "Default" ], "description": "The name of the security alert policy." }, @@ -7044,7 +7044,7 @@ "name": { "type": "string", "enum": [ - "default" + "Default" ], "description": "The name of the security alert policy." }, @@ -7989,7 +7989,7 @@ "name": { "type": "string", "enum": [ - "default" + "Default" ], "description": "The name of the threat detection policy." }, diff --git a/schemas/2021-02-01-preview/Microsoft.Sql.json b/schemas/2021-02-01-preview/Microsoft.Sql.json index dadde224c2..f494d5b9e2 100644 --- a/schemas/2021-02-01-preview/Microsoft.Sql.json +++ b/schemas/2021-02-01-preview/Microsoft.Sql.json @@ -587,7 +587,7 @@ "oneOf": [ { "type": "string", - "pattern": "^.*/default$" + "pattern": "^.*/Default$" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -950,7 +950,7 @@ "oneOf": [ { "type": "string", - "pattern": "^.*/default$" + "pattern": "^.*/Default$" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -1835,7 +1835,7 @@ "oneOf": [ { "type": "string", - "pattern": "^.*/default$" + "pattern": "^.*/Default$" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -2942,7 +2942,7 @@ "oneOf": [ { "type": "string", - "pattern": "^.*/default$" + "pattern": "^.*/Default$" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -5612,7 +5612,7 @@ "name": { "type": "string", "enum": [ - "default" + "Default" ], "description": "The name of the security alert policy." }, @@ -5858,7 +5858,7 @@ "name": { "type": "string", "enum": [ - "default" + "Default" ], "description": "The name of the security alert policy." }, @@ -7239,7 +7239,7 @@ "name": { "type": "string", "enum": [ - "default" + "Default" ], "description": "The name of the security alert policy." }, @@ -8222,7 +8222,7 @@ "name": { "type": "string", "enum": [ - "default" + "Default" ], "description": "The name of the threat detection policy." }, From 6226f029fe36817d17cad6e7a6b14250b390d79e Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 3 Sep 2021 08:32:11 +0000 Subject: [PATCH 151/243] Update resource list --- generator/resources.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generator/resources.json b/generator/resources.json index 9696371277..5d466dd167 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -1252,7 +1252,8 @@ ], "Microsoft.Capacity/reservationOrders": [ "2019-04-01", - "2020-10-01-preview" + "2020-10-01-preview", + "2021-07-01" ], "Microsoft.Capacity/resourceProviders/locations/serviceLimits": [ "2019-07-19-preview", From 1a50f15ec3de7f1c0cf2f3bfd6f52d7a84590503 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 3 Sep 2021 08:32:46 +0000 Subject: [PATCH 152/243] CodeGen from PR 15661 in Azure/azure-rest-api-specs [datafactory] add new connector amazon rds for sql server (#15661) * add new connector amazon rds for sql server * update for synapse * update latest synapse swagger api * fix --- schemas/2018-06-01/Microsoft.DataFactory.json | 185 ++++++++++++++++++ 1 file changed, 185 insertions(+) diff --git a/schemas/2018-06-01/Microsoft.DataFactory.json b/schemas/2018-06-01/Microsoft.DataFactory.json index 6851372f19..d513e17890 100644 --- a/schemas/2018-06-01/Microsoft.DataFactory.json +++ b/schemas/2018-06-01/Microsoft.DataFactory.json @@ -1064,6 +1064,182 @@ }, "description": "AmazonRdsForOracle dataset properties." }, + "AmazonRdsForSqlServerLinkedService": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "AmazonRdsForSqlServer" + ] + }, + "typeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/AmazonRdsForSqlServerLinkedServiceTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Amazon Rds for SQL Server linked service properties." + } + }, + "required": [ + "type", + "typeProperties" + ], + "description": "Amazon RDS for SQL Server linked service." + }, + "AmazonRdsForSqlServerLinkedServiceTypeProperties": { + "type": "object", + "properties": { + "alwaysEncryptedSettings": { + "oneOf": [ + { + "$ref": "#/definitions/SqlAlwaysEncryptedProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sql always encrypted properties." + }, + "connectionString": { + "type": "object", + "properties": {}, + "description": "The connection string. Type: string, SecureString or AzureKeyVaultSecretReference." + }, + "encryptedCredential": { + "type": "object", + "properties": {}, + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." + }, + "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." + }, + "userName": { + "type": "object", + "properties": {}, + "description": "The on-premises Windows authentication user name. Type: string (or Expression with resultType string)." + } + }, + "required": [ + "connectionString" + ], + "description": "Amazon Rds for SQL Server linked service properties." + }, + "AmazonRdsForSqlServerSource": { + "type": "object", + "properties": { + "partitionOption": { + "type": "object", + "properties": {}, + "description": "The partition mechanism that will be used for Sql read in parallel. Possible values include: \"None\", \"PhysicalPartitionsOfTable\", \"DynamicRange\"." + }, + "partitionSettings": { + "oneOf": [ + { + "$ref": "#/definitions/SqlPartitionSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The settings that will be leveraged for Sql source partitioning." + }, + "produceAdditionalTypes": { + "type": "object", + "properties": {}, + "description": "Which additional types to produce." + }, + "sqlReaderQuery": { + "type": "object", + "properties": {}, + "description": "SQL reader query. Type: string (or Expression with resultType string)." + }, + "sqlReaderStoredProcedureName": { + "type": "object", + "properties": {}, + "description": "Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string)." + }, + "storedProcedureParameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/StoredProcedureParameter" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Value and type setting for stored procedure parameters. Example: \"{Parameter1: {value: \"1\", type: \"int\"}}\"." + }, + "type": { + "type": "string", + "enum": [ + "AmazonRdsForSqlServerSource" + ] + } + }, + "required": [ + "type" + ], + "description": "A copy activity Amazon RDS for SQL Server source." + }, + "AmazonRdsForSqlServerTableDataset": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "AmazonRdsForSqlServerTable" + ] + }, + "typeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/AmazonRdsForSqlServerTableDatasetTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Amazon RDS for SQL Server dataset properties." + } + }, + "required": [ + "type" + ], + "description": "The Amazon RDS for SQL Server dataset." + }, + "AmazonRdsForSqlServerTableDatasetTypeProperties": { + "type": "object", + "properties": { + "schema": { + "type": "object", + "properties": {}, + "description": "The schema name of the SQL Server dataset. Type: string (or Expression with resultType string)." + }, + "table": { + "type": "object", + "properties": {}, + "description": "The table name of the SQL Server dataset. Type: string (or Expression with resultType string)." + } + }, + "description": "The Amazon RDS for SQL Server dataset properties." + }, "AmazonRedshiftLinkedService": { "type": "object", "properties": { @@ -8953,6 +9129,9 @@ { "$ref": "#/definitions/SqlServerTableDataset" }, + { + "$ref": "#/definitions/AmazonRdsForSqlServerTableDataset" + }, { "$ref": "#/definitions/RestResourceDataset" }, @@ -17291,6 +17470,9 @@ { "$ref": "#/definitions/SqlServerLinkedService" }, + { + "$ref": "#/definitions/AmazonRdsForSqlServerLinkedService" + }, { "$ref": "#/definitions/AzureSqlDatabaseLinkedService" }, @@ -27520,6 +27702,9 @@ { "$ref": "#/definitions/SqlServerSource" }, + { + "$ref": "#/definitions/AmazonRdsForSqlServerSource" + }, { "$ref": "#/definitions/AzureSqlSource" }, From c7505dedf640aa0164d857938a690a9b4d5a0358 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 3 Sep 2021 13:35:49 +0000 Subject: [PATCH 153/243] 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/2020-05-01/Microsoft.Migrate.json | 231 --- schemas/2020-12-01/Microsoft.Web.json | 984 ++----------- schemas/2021-01-01/Microsoft.Migrate.json | 1054 ++++++++++++++ schemas/2021-01-01/Microsoft.Web.json | 984 ++----------- schemas/2021-01-15/Microsoft.Web.json | 984 ++----------- schemas/2021-02-01/Microsoft.Web.json | 345 +---- schemas/2021-08-01/Microsoft.StoragePool.json | 410 ++++++ schemas/common/autogeneratedResources.json | 47 +- 12 files changed, 2894 insertions(+), 5575 deletions(-) delete mode 100644 schemas/2018-02-02/Microsoft.Migrate.json delete 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 delete mode 100644 schemas/2020-05-01/Microsoft.Migrate.json create mode 100644 schemas/2021-01-01/Microsoft.Migrate.json create mode 100644 schemas/2021-08-01/Microsoft.StoragePool.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 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 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-05-01/Microsoft.Migrate.json b/schemas/2020-05-01/Microsoft.Migrate.json deleted file mode 100644 index 22a8f94955..0000000000 --- a/schemas/2020-05-01/Microsoft.Migrate.json +++ /dev/null @@ -1,231 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-05-01/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": [ - "2020-05-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "location": { - "type": "string", - "description": "Azure location in which project is created." - }, - "name": { - "type": "string", - "description": "Migrate project name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a migrate project." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/migrateProjects_privateEndpointConnections_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects" - }, - "migrateProjects_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-01" - ] - }, - "eTag": { - "type": "string", - "description": "Gets the tag for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Private endpoint connection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionStateRequestBodyProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Connection state request." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" - } - }, - "definitions": { - "ConnectionStateRequestBodyProperties": { - "type": "object", - "properties": { - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection state." - } - }, - "description": "Properties of Connection state request." - }, - "MigrateProjectProperties": { - "type": "object", - "properties": { - "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 state of public network access." - }, - "serviceEndpoint": { - "type": "string", - "description": "Service endpoint." - }, - "utilityStorageAccountId": { - "type": "string", - "description": "Utility storage account id." - } - }, - "description": "Properties of a migrate project." - }, - "migrateProjects_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-01" - ] - }, - "eTag": { - "type": "string", - "description": "Gets the tag for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Private endpoint connection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionStateRequestBodyProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Connection state request." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "Action required." - }, - "description": { - "type": "string", - "description": "Description of the object." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Approved", - "Pending", - "Rejected", - "Disconnected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private link connection state." - } - }, - "description": "Private endpoint connection state." - } - } -} \ No newline at end of file diff --git a/schemas/2020-12-01/Microsoft.Web.json b/schemas/2020-12-01/Microsoft.Web.json index 0b1f890cae..d41d6b3c0e 100644 --- a/schemas/2020-12-01/Microsoft.Web.json +++ b/schemas/2020-12-01/Microsoft.Web.json @@ -4025,26 +4025,6 @@ }, "definitions": { "AllowedAudiencesValidation": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AllowedAudiencesValidationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AllowedAudiencesValidation resource specific properties" - } - } - }, - "AllowedAudiencesValidationProperties": { "type": "object", "properties": { "allowedAudiences": { @@ -4058,10 +4038,11 @@ { "$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": "AllowedAudiencesValidation resource specific properties" + "description": "The configuration settings of the Allowed Audiences validation flow." }, "ApiDefinitionInfo": { "type": "object", @@ -4084,27 +4065,6 @@ "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": { @@ -4141,30 +4101,9 @@ "description": "The configuration settings of the registration for the Apple provider" } }, - "description": "Apple resource specific properties" + "description": "The configuration settings of the Apple provider." }, "AppleRegistration": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AppleRegistrationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AppleRegistration resource specific properties" - } - }, - "description": "The configuration settings of the registration for the Apple provider" - }, - "AppleRegistrationProperties": { "type": "object", "properties": { "clientId": { @@ -4176,7 +4115,7 @@ "description": "The app setting name that contains the client secret." } }, - "description": "AppleRegistration resource specific properties" + "description": "The configuration settings of the registration for the Apple provider" }, "ApplicationLogsConfig": { "type": "object", @@ -4218,27 +4157,6 @@ "description": "Application logs configuration." }, "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": { @@ -4250,7 +4168,7 @@ "description": "The app setting name that contains the app secret." } }, - "description": "AppRegistration resource specific properties" + "description": "The configuration settings of the app registration for providers that have app ids and app secrets" }, "AppServiceEnvironment": { "type": "object", @@ -4499,27 +4417,6 @@ "description": "AseV3NetworkingConfiguration resource specific properties" }, "AuthPlatform": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AuthPlatformProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AuthPlatform resource specific properties" - } - }, - "description": "The configuration settings of the platform of App Service Authentication/Authorization." - }, - "AuthPlatformProperties": { "type": "object", "properties": { "configFilePath": { @@ -4542,7 +4439,7 @@ "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": "AuthPlatform resource specific properties" + "description": "The configuration settings of the platform of App Service Authentication/Authorization." }, "AutoHealActions": { "type": "object", @@ -4705,78 +4602,6 @@ "description": "Triggers for auto-heal." }, "AzureActiveDirectory": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureActiveDirectoryProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AzureActiveDirectory resource specific properties" - } - }, - "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" - } - ] - }, - "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" - }, - "AzureActiveDirectoryProperties": { "type": "object", "properties": { "enabled": { @@ -4835,36 +4660,54 @@ "description": "The configuration settings of the Azure Active Directory token validation flow." } }, - "description": "AzureActiveDirectory resource specific properties" + "description": "The configuration settings of the Azure Active directory provider." }, - "AzureActiveDirectoryRegistration": { + "AzureActiveDirectoryLogin": { "type": "object", "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." + "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." }, - "properties": { + "loginParameters": { "oneOf": [ { - "$ref": "#/definitions/AzureActiveDirectoryRegistrationProperties" + "type": "array", + "items": { + "type": "string" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "AzureActiveDirectoryRegistration resource specific properties" + "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": "The configuration settings of the Azure Active Directory app registration." + "description": "The configuration settings of the Azure Active Directory login flow." }, - "AzureActiveDirectoryRegistrationProperties": { + "AzureActiveDirectoryRegistration": { "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." @@ -4878,30 +4721,9 @@ "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" + "description": "The configuration settings of the Azure Active Directory app registration." }, "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": { @@ -4930,7 +4752,7 @@ "description": "The configuration settings of the checks that should be made while validating the JWT Claims." } }, - "description": "AzureActiveDirectoryValidation resource specific properties" + "description": "The configuration settings of the Azure Active Directory token validation flow." }, "AzureBlobStorageApplicationLogsConfig": { "type": "object", @@ -5004,27 +4826,6 @@ "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": { @@ -5050,30 +4851,9 @@ "description": "The configuration settings of the registration for the Azure Static Web Apps provider" } }, - "description": "AzureStaticWebApps resource specific properties" + "description": "The configuration settings of the Azure Static Web Apps provider." }, "AzureStaticWebAppsRegistration": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureStaticWebAppsRegistrationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AzureStaticWebAppsRegistration resource specific properties" - } - }, - "description": "The configuration settings of the registration for the Azure Static Web Apps provider" - }, - "AzureStaticWebAppsRegistrationProperties": { "type": "object", "properties": { "clientId": { @@ -5081,7 +4861,7 @@ "description": "The Client ID of the app used for login." } }, - "description": "AzureStaticWebAppsRegistration resource specific properties" + "description": "The configuration settings of the registration for the Azure Static Web Apps provider" }, "AzureStorageInfoValue": { "type": "object", @@ -5273,27 +5053,6 @@ "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": { @@ -5301,7 +5060,7 @@ "description": "The name of the app setting containing the SAS URL of the blob storage containing the tokens." } }, - "description": "BlobStorageTokenStore resource specific properties" + "description": "The configuration settings of the storage of the tokens if blob storage is used." }, "Capability": { "type": "object", @@ -5378,27 +5137,6 @@ "description": "Certificate resource specific properties" }, "ClientRegistration": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ClientRegistrationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ClientRegistration resource specific properties" - } - }, - "description": "The configuration settings of the app registration for providers that have client ids and client secrets" - }, - "ClientRegistrationProperties": { "type": "object", "properties": { "clientId": { @@ -5410,7 +5148,7 @@ "description": "The app setting name that contains the client secret." } }, - "description": "ClientRegistration resource specific properties" + "description": "The configuration settings of the app registration for providers that have client ids and client secrets" }, "CloningInfo": { "type": "object", @@ -5572,48 +5310,27 @@ "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": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CookieExpirationProperties" + "PostgreSQL" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "CookieExpiration resource specific properties" + "description": "Type of database." + }, + "value": { + "type": "string", + "description": "Value of pair." } }, - "description": "The configuration settings of the session cookie's expiration." + "required": [ + "type", + "value" + ], + "description": "Database connection string value to type pair." }, - "CookieExpirationProperties": { + "CookieExpiration": { "type": "object", "properties": { "convention": { @@ -5636,7 +5353,7 @@ "description": "The time after the request is made when the session cookie should expire." } }, - "description": "CookieExpiration resource specific properties" + "description": "The configuration settings of the session cookie's expiration." }, "CorsSettings": { "type": "object", @@ -5690,27 +5407,6 @@ "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": { @@ -5747,7 +5443,7 @@ "description": "The configuration settings of the app registration for the custom Open ID Connect provider." } }, - "description": "CustomOpenIdConnectProvider resource specific properties" + "description": "The configuration settings of the custom Open ID Connect provider." }, "DatabaseBackupSetting": { "type": "object", @@ -5882,27 +5578,6 @@ "description": "Routing rules in production experiments." }, "Facebook": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FacebookProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Facebook resource specific properties" - } - }, - "description": "The configuration settings of the Facebook provider." - }, - "FacebookProperties": { "type": "object", "properties": { "enabled": { @@ -5943,7 +5618,7 @@ "description": "The configuration settings of the app registration for providers that have app ids and app secrets" } }, - "description": "Facebook resource specific properties" + "description": "The configuration settings of the Facebook provider." }, "FileSystemApplicationLogsConfig": { "type": "object", @@ -6011,27 +5686,6 @@ "description": "Http logs to file system configuration." }, "FileSystemTokenStore": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FileSystemTokenStoreProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "FileSystemTokenStore resource specific properties" - } - }, - "description": "The configuration settings of the storage of the tokens if a file system is used." - }, - "FileSystemTokenStoreProperties": { "type": "object", "properties": { "directory": { @@ -6039,30 +5693,9 @@ "description": "The directory in which the tokens will be stored." } }, - "description": "FileSystemTokenStore resource specific properties" + "description": "The configuration settings of the storage of the tokens if a file system is used." }, "ForwardProxy": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ForwardProxyProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ForwardProxy resource specific properties" - } - }, - "description": "The configuration settings of a forward proxy used to make the requests." - }, - "ForwardProxyProperties": { "type": "object", "properties": { "convention": { @@ -6090,7 +5723,7 @@ "description": "The name of the header containing the scheme of the request." } }, - "description": "ForwardProxy resource specific properties" + "description": "The configuration settings of a forward proxy used to make the requests." }, "FunctionEnvelopeProperties": { "type": "object", @@ -6172,20 +5805,38 @@ "GitHub": { "type": "object", "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." + "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." }, - "properties": { + "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/GitHubProperties" + "$ref": "#/definitions/ClientRegistration" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "GitHub resource specific properties" + "description": "The configuration settings of the app registration for providers that have client ids and client secrets" } }, "description": "The configuration settings of the GitHub provider." @@ -6276,67 +5927,7 @@ }, "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": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GlobalValidationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "GlobalValidation resource specific properties" - } - }, - "description": "The configuration settings that determines the validation flow of users using App Service Authentication/Authorization." - }, - "GlobalValidationProperties": { "type": "object", "properties": { "excludedPaths": { @@ -6386,30 +5977,9 @@ "description": "The action to take when an unauthenticated client attempts to access the app." } }, - "description": "GlobalValidation resource specific properties" + "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": { @@ -6453,10 +6023,11 @@ { "$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" + "description": "The configuration settings of the Google provider." }, "HandlerMapping": { "type": "object", @@ -6856,27 +6427,6 @@ "description": "Http logs configuration." }, "HttpSettings": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HttpSettingsProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HttpSettings resource specific properties" - } - }, - "description": "The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization." - }, - "HttpSettingsProperties": { "type": "object", "properties": { "forwardProxy": { @@ -6913,30 +6463,9 @@ "description": "The configuration settings of the paths HTTP requests." } }, - "description": "HttpSettings resource specific properties" + "description": "The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization." }, "HttpSettingsRoutes": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HttpSettingsRoutesProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HttpSettingsRoutes resource specific properties" - } - }, - "description": "The configuration settings of the paths HTTP requests." - }, - "HttpSettingsRoutesProperties": { "type": "object", "properties": { "apiPrefix": { @@ -6944,7 +6473,7 @@ "description": "The prefix that should precede all the authentication/authorization paths." } }, - "description": "HttpSettingsRoutes resource specific properties" + "description": "The configuration settings of the paths HTTP requests." }, "HybridConnectionProperties": { "type": "object", @@ -6994,35 +6523,14 @@ "IdentifierProperties": { "type": "object", "properties": { - "id": { - "type": "string", - "description": "String representation of the identity." - } - }, - "description": "Identifier resource specific properties" - }, - "IdentityProviders": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/IdentityProvidersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "IdentityProviders resource specific properties" + "id": { + "type": "string", + "description": "String representation of the identity." } }, - "description": "The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization." + "description": "Identifier resource specific properties" }, - "IdentityProvidersProperties": { + "IdentityProviders": { "type": "object", "properties": { "apple": { @@ -7129,7 +6637,7 @@ "description": "The configuration settings of the Twitter provider." } }, - "description": "IdentityProviders resource specific properties" + "description": "The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization." }, "IpSecurityRestriction": { "type": "object", @@ -7229,27 +6737,6 @@ "description": "IP security restriction on an app." }, "JwtClaimChecks": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/JwtClaimChecksProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "JwtClaimChecks resource specific properties" - } - }, - "description": "The configuration settings of the checks that should be made while validating the JWT Claims." - }, - "JwtClaimChecksProperties": { "type": "object", "properties": { "allowedClientApplications": { @@ -7281,7 +6768,7 @@ "description": "The list of the allowed groups." } }, - "description": "JwtClaimChecks resource specific properties" + "description": "The configuration settings of the checks that should be made while validating the JWT Claims." }, "KubeEnvironmentProfile": { "type": "object", @@ -7294,27 +6781,6 @@ "description": "Specification for a Kubernetes Environment to use for this resource." }, "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": { @@ -7358,33 +6824,13 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] - } - }, - "description": "LegacyMicrosoftAccount resource specific properties" - }, - "Login": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/LoginProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } ], - "description": "Login resource specific properties" + "description": "The configuration settings of the Allowed Audiences validation flow." } }, - "description": "The configuration settings of the login flow of users using App Service Authentication/Authorization." + "description": "The configuration settings of the legacy Microsoft Account provider." }, - "LoginProperties": { + "Login": { "type": "object", "properties": { "allowedExternalRedirectUrls": { @@ -7457,30 +6903,9 @@ "description": "The configuration settings of the token store." } }, - "description": "Login resource specific properties" + "description": "The configuration settings of the login flow of users using App Service Authentication/Authorization." }, "LoginRoutes": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/LoginRoutesProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "LoginRoutes resource specific properties" - } - }, - "description": "The routes that specify the endpoints used for login and logout requests." - }, - "LoginRoutesProperties": { "type": "object", "properties": { "logoutEndpoint": { @@ -7488,30 +6913,9 @@ "description": "The endpoint at which a logout request should be made." } }, - "description": "LoginRoutes resource specific properties" + "description": "The routes that specify the endpoints used for login and logout requests." }, "LoginScopes": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/LoginScopesProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "LoginScopes resource specific properties" - } - }, - "description": "The configuration settings of the login flow, including the scopes that should be requested." - }, - "LoginScopesProperties": { "type": "object", "properties": { "scopes": { @@ -7529,7 +6933,7 @@ "description": "A list of the scopes that should be requested while authenticating." } }, - "description": "LoginScopes resource specific properties" + "description": "The configuration settings of the login flow, including the scopes that should be requested." }, "ManagedServiceIdentity": { "type": "object", @@ -7643,27 +7047,6 @@ "description": "Name value pair." }, "Nonce": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/NonceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Nonce resource specific properties" - } - }, - "description": "The configuration settings of the nonce used in the login flow." - }, - "NonceProperties": { "type": "object", "properties": { "nonceExpirationInterval": { @@ -7682,30 +7065,9 @@ "description": "false if the nonce should not be validated while completing the login flow; otherwise, true." } }, - "description": "Nonce resource specific properties" + "description": "The configuration settings of the nonce used in the login flow." }, "OpenIdConnectClientCredential": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OpenIdConnectClientCredentialProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "OpenIdConnectClientCredential resource specific properties" - } - }, - "description": "The authentication client credentials of the custom Open ID Connect provider." - }, - "OpenIdConnectClientCredentialProperties": { "type": "object", "properties": { "clientSecretSettingName": { @@ -7727,30 +7089,9 @@ "description": "The method that should be used to authenticate the user." } }, - "description": "OpenIdConnectClientCredential resource specific properties" + "description": "The authentication client credentials of the custom Open ID Connect provider." }, "OpenIdConnectConfig": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OpenIdConnectConfigProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "OpenIdConnectConfig resource specific properties" - } - }, - "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider." - }, - "OpenIdConnectConfigProperties": { "type": "object", "properties": { "authorizationEndpoint": { @@ -7774,30 +7115,9 @@ "description": "The endpoint that contains all the configuration endpoints for the provider." } }, - "description": "OpenIdConnectConfig resource specific properties" + "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider." }, "OpenIdConnectLogin": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OpenIdConnectLoginProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "OpenIdConnectLogin resource specific properties" - } - }, - "description": "The configuration settings of the login flow of the custom Open ID Connect provider." - }, - "OpenIdConnectLoginProperties": { "type": "object", "properties": { "nameClaimType": { @@ -7819,30 +7139,9 @@ "description": "A list of the scopes that should be requested while authenticating." } }, - "description": "OpenIdConnectLogin resource specific properties" + "description": "The configuration settings of the login flow of the custom Open ID Connect provider." }, "OpenIdConnectRegistration": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OpenIdConnectRegistrationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "OpenIdConnectRegistration resource specific properties" - } - }, - "description": "The configuration settings of the app registration for the custom Open ID Connect provider." - }, - "OpenIdConnectRegistrationProperties": { "type": "object", "properties": { "clientCredential": { @@ -7872,7 +7171,7 @@ "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider." } }, - "description": "OpenIdConnectRegistration resource specific properties" + "description": "The configuration settings of the app registration for the custom Open ID Connect provider." }, "PremierAddOnProperties": { "type": "object", @@ -12754,27 +12053,6 @@ "description": "SwiftVirtualNetwork resource specific properties" }, "TokenStore": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TokenStoreProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TokenStore resource specific properties" - } - }, - "description": "The configuration settings of the token store." - }, - "TokenStoreProperties": { "type": "object", "properties": { "azureBlobStorage": { @@ -12822,30 +12100,9 @@ "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": "TokenStore resource specific properties" + "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": { @@ -12871,30 +12128,9 @@ "description": "The configuration settings of the app registration for the Twitter provider." } }, - "description": "Twitter resource specific properties" + "description": "The configuration settings of the Twitter provider." }, "TwitterRegistration": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TwitterRegistrationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TwitterRegistration resource specific properties" - } - }, - "description": "The configuration settings of the app registration for the Twitter provider." - }, - "TwitterRegistrationProperties": { "type": "object", "properties": { "consumerKey": { @@ -12906,7 +12142,7 @@ "description": "The app setting name that contains the OAuth 1.0a consumer secret of the Twitter\napplication used for sign-in." } }, - "description": "TwitterRegistration resource specific properties" + "description": "The configuration settings of the app registration for the Twitter provider." }, "UserProperties": { "type": "object", 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-01-01/Microsoft.Web.json b/schemas/2021-01-01/Microsoft.Web.json index 5246e60dbd..09c9cbb0d0 100644 --- a/schemas/2021-01-01/Microsoft.Web.json +++ b/schemas/2021-01-01/Microsoft.Web.json @@ -4132,26 +4132,6 @@ }, "definitions": { "AllowedAudiencesValidation": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AllowedAudiencesValidationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AllowedAudiencesValidation resource specific properties" - } - } - }, - "AllowedAudiencesValidationProperties": { "type": "object", "properties": { "allowedAudiences": { @@ -4165,10 +4145,11 @@ { "$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": "AllowedAudiencesValidation resource specific properties" + "description": "The configuration settings of the Allowed Audiences validation flow." }, "ApiDefinitionInfo": { "type": "object", @@ -4191,27 +4172,6 @@ "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": { @@ -4248,30 +4208,9 @@ "description": "The configuration settings of the registration for the Apple provider" } }, - "description": "Apple resource specific properties" + "description": "The configuration settings of the Apple provider." }, "AppleRegistration": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AppleRegistrationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AppleRegistration resource specific properties" - } - }, - "description": "The configuration settings of the registration for the Apple provider" - }, - "AppleRegistrationProperties": { "type": "object", "properties": { "clientId": { @@ -4283,7 +4222,7 @@ "description": "The app setting name that contains the client secret." } }, - "description": "AppleRegistration resource specific properties" + "description": "The configuration settings of the registration for the Apple provider" }, "ApplicationLogsConfig": { "type": "object", @@ -4343,27 +4282,6 @@ } }, "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": { @@ -4375,7 +4293,7 @@ "description": "The app setting name that contains the app secret." } }, - "description": "AppRegistration resource specific properties" + "description": "The configuration settings of the app registration for providers that have app ids and app secrets" }, "AppServiceEnvironment": { "type": "object", @@ -4668,27 +4586,6 @@ "description": "AseV3NetworkingConfiguration resource specific properties" }, "AuthPlatform": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AuthPlatformProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AuthPlatform resource specific properties" - } - }, - "description": "The configuration settings of the platform of App Service Authentication/Authorization." - }, - "AuthPlatformProperties": { "type": "object", "properties": { "configFilePath": { @@ -4711,7 +4608,7 @@ "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": "AuthPlatform resource specific properties" + "description": "The configuration settings of the platform of App Service Authentication/Authorization." }, "AutoHealActions": { "type": "object", @@ -4874,78 +4771,6 @@ "description": "Triggers for auto-heal." }, "AzureActiveDirectory": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureActiveDirectoryProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AzureActiveDirectory resource specific properties" - } - }, - "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" - } - ] - }, - "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" - }, - "AzureActiveDirectoryProperties": { "type": "object", "properties": { "enabled": { @@ -5004,36 +4829,54 @@ "description": "The configuration settings of the Azure Active Directory token validation flow." } }, - "description": "AzureActiveDirectory resource specific properties" + "description": "The configuration settings of the Azure Active directory provider." }, - "AzureActiveDirectoryRegistration": { + "AzureActiveDirectoryLogin": { "type": "object", "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." + "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." }, - "properties": { + "loginParameters": { "oneOf": [ { - "$ref": "#/definitions/AzureActiveDirectoryRegistrationProperties" + "type": "array", + "items": { + "type": "string" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "AzureActiveDirectoryRegistration resource specific properties" + "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": "The configuration settings of the Azure Active Directory app registration." + "description": "The configuration settings of the Azure Active Directory login flow." }, - "AzureActiveDirectoryRegistrationProperties": { + "AzureActiveDirectoryRegistration": { "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." @@ -5047,30 +4890,9 @@ "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" + "description": "The configuration settings of the Azure Active Directory app registration." }, "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": { @@ -5099,7 +4921,7 @@ "description": "The configuration settings of the checks that should be made while validating the JWT Claims." } }, - "description": "AzureActiveDirectoryValidation resource specific properties" + "description": "The configuration settings of the Azure Active Directory token validation flow." }, "AzureBlobStorageApplicationLogsConfig": { "type": "object", @@ -5173,27 +4995,6 @@ "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": { @@ -5219,30 +5020,9 @@ "description": "The configuration settings of the registration for the Azure Static Web Apps provider" } }, - "description": "AzureStaticWebApps resource specific properties" + "description": "The configuration settings of the Azure Static Web Apps provider." }, "AzureStaticWebAppsRegistration": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureStaticWebAppsRegistrationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AzureStaticWebAppsRegistration resource specific properties" - } - }, - "description": "The configuration settings of the registration for the Azure Static Web Apps provider" - }, - "AzureStaticWebAppsRegistrationProperties": { "type": "object", "properties": { "clientId": { @@ -5250,7 +5030,7 @@ "description": "The Client ID of the app used for login." } }, - "description": "AzureStaticWebAppsRegistration resource specific properties" + "description": "The configuration settings of the registration for the Azure Static Web Apps provider" }, "AzureStorageInfoValue": { "type": "object", @@ -5442,27 +5222,6 @@ "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": { @@ -5470,7 +5229,7 @@ "description": "The name of the app setting containing the SAS URL of the blob storage containing the tokens." } }, - "description": "BlobStorageTokenStore resource specific properties" + "description": "The configuration settings of the storage of the tokens if blob storage is used." }, "Capability": { "type": "object", @@ -5547,27 +5306,6 @@ "description": "Certificate resource specific properties" }, "ClientRegistration": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ClientRegistrationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ClientRegistration resource specific properties" - } - }, - "description": "The configuration settings of the app registration for providers that have client ids and client secrets" - }, - "ClientRegistrationProperties": { "type": "object", "properties": { "clientId": { @@ -5579,7 +5317,7 @@ "description": "The app setting name that contains the client secret." } }, - "description": "ClientRegistration resource specific properties" + "description": "The configuration settings of the app registration for providers that have client ids and client secrets" }, "CloningInfo": { "type": "object", @@ -5741,48 +5479,27 @@ "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": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CookieExpirationProperties" + "PostgreSQL" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "CookieExpiration resource specific properties" + "description": "Type of database." + }, + "value": { + "type": "string", + "description": "Value of pair." } }, - "description": "The configuration settings of the session cookie's expiration." + "required": [ + "type", + "value" + ], + "description": "Database connection string value to type pair." }, - "CookieExpirationProperties": { + "CookieExpiration": { "type": "object", "properties": { "convention": { @@ -5805,7 +5522,7 @@ "description": "The time after the request is made when the session cookie should expire." } }, - "description": "CookieExpiration resource specific properties" + "description": "The configuration settings of the session cookie's expiration." }, "CorsSettings": { "type": "object", @@ -5859,27 +5576,6 @@ "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": { @@ -5916,7 +5612,7 @@ "description": "The configuration settings of the app registration for the custom Open ID Connect provider." } }, - "description": "CustomOpenIdConnectProvider resource specific properties" + "description": "The configuration settings of the custom Open ID Connect provider." }, "DatabaseBackupSetting": { "type": "object", @@ -6061,27 +5757,6 @@ "description": "Extended Location." }, "Facebook": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FacebookProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Facebook resource specific properties" - } - }, - "description": "The configuration settings of the Facebook provider." - }, - "FacebookProperties": { "type": "object", "properties": { "enabled": { @@ -6122,7 +5797,7 @@ "description": "The configuration settings of the app registration for providers that have app ids and app secrets" } }, - "description": "Facebook resource specific properties" + "description": "The configuration settings of the Facebook provider." }, "FileSystemApplicationLogsConfig": { "type": "object", @@ -6190,27 +5865,6 @@ "description": "Http logs to file system configuration." }, "FileSystemTokenStore": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FileSystemTokenStoreProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "FileSystemTokenStore resource specific properties" - } - }, - "description": "The configuration settings of the storage of the tokens if a file system is used." - }, - "FileSystemTokenStoreProperties": { "type": "object", "properties": { "directory": { @@ -6218,30 +5872,9 @@ "description": "The directory in which the tokens will be stored." } }, - "description": "FileSystemTokenStore resource specific properties" + "description": "The configuration settings of the storage of the tokens if a file system is used." }, "ForwardProxy": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ForwardProxyProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ForwardProxy resource specific properties" - } - }, - "description": "The configuration settings of a forward proxy used to make the requests." - }, - "ForwardProxyProperties": { "type": "object", "properties": { "convention": { @@ -6269,7 +5902,7 @@ "description": "The name of the header containing the scheme of the request." } }, - "description": "ForwardProxy resource specific properties" + "description": "The configuration settings of a forward proxy used to make the requests." }, "FrontEndConfiguration": { "type": "object", @@ -6370,20 +6003,38 @@ "GitHub": { "type": "object", "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." + "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." }, - "properties": { + "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/GitHubProperties" + "$ref": "#/definitions/ClientRegistration" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "GitHub resource specific properties" + "description": "The configuration settings of the app registration for providers that have client ids and client secrets" } }, "description": "The configuration settings of the GitHub provider." @@ -6474,67 +6125,7 @@ }, "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": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GlobalValidationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "GlobalValidation resource specific properties" - } - }, - "description": "The configuration settings that determines the validation flow of users using App Service Authentication/Authorization." - }, - "GlobalValidationProperties": { "type": "object", "properties": { "excludedPaths": { @@ -6584,30 +6175,9 @@ "description": "The action to take when an unauthenticated client attempts to access the app." } }, - "description": "GlobalValidation resource specific properties" + "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": { @@ -6651,10 +6221,11 @@ { "$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" + "description": "The configuration settings of the Google provider." }, "HandlerMapping": { "type": "object", @@ -7054,27 +6625,6 @@ "description": "Http logs configuration." }, "HttpSettings": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HttpSettingsProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HttpSettings resource specific properties" - } - }, - "description": "The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization." - }, - "HttpSettingsProperties": { "type": "object", "properties": { "forwardProxy": { @@ -7111,30 +6661,9 @@ "description": "The configuration settings of the paths HTTP requests." } }, - "description": "HttpSettings resource specific properties" + "description": "The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization." }, "HttpSettingsRoutes": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HttpSettingsRoutesProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HttpSettingsRoutes resource specific properties" - } - }, - "description": "The configuration settings of the paths HTTP requests." - }, - "HttpSettingsRoutesProperties": { "type": "object", "properties": { "apiPrefix": { @@ -7142,7 +6671,7 @@ "description": "The prefix that should precede all the authentication/authorization paths." } }, - "description": "HttpSettingsRoutes resource specific properties" + "description": "The configuration settings of the paths HTTP requests." }, "HybridConnectionProperties": { "type": "object", @@ -7192,35 +6721,14 @@ "IdentifierProperties": { "type": "object", "properties": { - "id": { - "type": "string", - "description": "String representation of the identity." - } - }, - "description": "Identifier resource specific properties" - }, - "IdentityProviders": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/IdentityProvidersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "IdentityProviders resource specific properties" + "id": { + "type": "string", + "description": "String representation of the identity." } }, - "description": "The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization." + "description": "Identifier resource specific properties" }, - "IdentityProvidersProperties": { + "IdentityProviders": { "type": "object", "properties": { "apple": { @@ -7327,7 +6835,7 @@ "description": "The configuration settings of the Twitter provider." } }, - "description": "IdentityProviders resource specific properties" + "description": "The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization." }, "IpSecurityRestriction": { "type": "object", @@ -7427,27 +6935,6 @@ "description": "IP security restriction on an app." }, "JwtClaimChecks": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/JwtClaimChecksProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "JwtClaimChecks resource specific properties" - } - }, - "description": "The configuration settings of the checks that should be made while validating the JWT Claims." - }, - "JwtClaimChecksProperties": { "type": "object", "properties": { "allowedClientApplications": { @@ -7479,7 +6966,7 @@ "description": "The list of the allowed groups." } }, - "description": "JwtClaimChecks resource specific properties" + "description": "The configuration settings of the checks that should be made while validating the JWT Claims." }, "KubeEnvironmentProfile": { "type": "object", @@ -7536,27 +7023,6 @@ "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": { @@ -7600,10 +7066,11 @@ { "$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" + "description": "The configuration settings of the legacy Microsoft Account provider." }, "LogAnalyticsConfiguration": { "type": "object", @@ -7617,27 +7084,6 @@ } }, "Login": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/LoginProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Login resource specific properties" - } - }, - "description": "The configuration settings of the login flow of users using App Service Authentication/Authorization." - }, - "LoginProperties": { "type": "object", "properties": { "allowedExternalRedirectUrls": { @@ -7710,30 +7156,9 @@ "description": "The configuration settings of the token store." } }, - "description": "Login resource specific properties" + "description": "The configuration settings of the login flow of users using App Service Authentication/Authorization." }, "LoginRoutes": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/LoginRoutesProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "LoginRoutes resource specific properties" - } - }, - "description": "The routes that specify the endpoints used for login and logout requests." - }, - "LoginRoutesProperties": { "type": "object", "properties": { "logoutEndpoint": { @@ -7741,30 +7166,9 @@ "description": "The endpoint at which a logout request should be made." } }, - "description": "LoginRoutes resource specific properties" + "description": "The routes that specify the endpoints used for login and logout requests." }, "LoginScopes": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/LoginScopesProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "LoginScopes resource specific properties" - } - }, - "description": "The configuration settings of the login flow, including the scopes that should be requested." - }, - "LoginScopesProperties": { "type": "object", "properties": { "scopes": { @@ -7782,7 +7186,7 @@ "description": "A list of the scopes that should be requested while authenticating." } }, - "description": "LoginScopes resource specific properties" + "description": "The configuration settings of the login flow, including the scopes that should be requested." }, "ManagedServiceIdentity": { "type": "object", @@ -7896,27 +7300,6 @@ "description": "Name value pair." }, "Nonce": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/NonceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Nonce resource specific properties" - } - }, - "description": "The configuration settings of the nonce used in the login flow." - }, - "NonceProperties": { "type": "object", "properties": { "nonceExpirationInterval": { @@ -7935,30 +7318,9 @@ "description": "false if the nonce should not be validated while completing the login flow; otherwise, true." } }, - "description": "Nonce resource specific properties" + "description": "The configuration settings of the nonce used in the login flow." }, "OpenIdConnectClientCredential": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OpenIdConnectClientCredentialProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "OpenIdConnectClientCredential resource specific properties" - } - }, - "description": "The authentication client credentials of the custom Open ID Connect provider." - }, - "OpenIdConnectClientCredentialProperties": { "type": "object", "properties": { "clientSecretSettingName": { @@ -7980,30 +7342,9 @@ "description": "The method that should be used to authenticate the user." } }, - "description": "OpenIdConnectClientCredential resource specific properties" + "description": "The authentication client credentials of the custom Open ID Connect provider." }, "OpenIdConnectConfig": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OpenIdConnectConfigProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "OpenIdConnectConfig resource specific properties" - } - }, - "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider." - }, - "OpenIdConnectConfigProperties": { "type": "object", "properties": { "authorizationEndpoint": { @@ -8027,30 +7368,9 @@ "description": "The endpoint that contains all the configuration endpoints for the provider." } }, - "description": "OpenIdConnectConfig resource specific properties" + "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider." }, "OpenIdConnectLogin": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OpenIdConnectLoginProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "OpenIdConnectLogin resource specific properties" - } - }, - "description": "The configuration settings of the login flow of the custom Open ID Connect provider." - }, - "OpenIdConnectLoginProperties": { "type": "object", "properties": { "nameClaimType": { @@ -8072,30 +7392,9 @@ "description": "A list of the scopes that should be requested while authenticating." } }, - "description": "OpenIdConnectLogin resource specific properties" + "description": "The configuration settings of the login flow of the custom Open ID Connect provider." }, "OpenIdConnectRegistration": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OpenIdConnectRegistrationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "OpenIdConnectRegistration resource specific properties" - } - }, - "description": "The configuration settings of the app registration for the custom Open ID Connect provider." - }, - "OpenIdConnectRegistrationProperties": { "type": "object", "properties": { "clientCredential": { @@ -8125,7 +7424,7 @@ "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider." } }, - "description": "OpenIdConnectRegistration resource specific properties" + "description": "The configuration settings of the app registration for the custom Open ID Connect provider." }, "PremierAddOnProperties": { "type": "object", @@ -13018,27 +12317,6 @@ "description": "SwiftVirtualNetwork resource specific properties" }, "TokenStore": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TokenStoreProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TokenStore resource specific properties" - } - }, - "description": "The configuration settings of the token store." - }, - "TokenStoreProperties": { "type": "object", "properties": { "azureBlobStorage": { @@ -13086,30 +12364,9 @@ "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": "TokenStore resource specific properties" + "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": { @@ -13135,30 +12392,9 @@ "description": "The configuration settings of the app registration for the Twitter provider." } }, - "description": "Twitter resource specific properties" + "description": "The configuration settings of the Twitter provider." }, "TwitterRegistration": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TwitterRegistrationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TwitterRegistration resource specific properties" - } - }, - "description": "The configuration settings of the app registration for the Twitter provider." - }, - "TwitterRegistrationProperties": { "type": "object", "properties": { "consumerKey": { @@ -13170,7 +12406,7 @@ "description": "The app setting name that contains the OAuth 1.0a consumer secret of the Twitter\napplication used for sign-in." } }, - "description": "TwitterRegistration resource specific properties" + "description": "The configuration settings of the app registration for the Twitter provider." }, "UserProperties": { "type": "object", diff --git a/schemas/2021-01-15/Microsoft.Web.json b/schemas/2021-01-15/Microsoft.Web.json index ae95d6ebc0..a57d3872ba 100644 --- a/schemas/2021-01-15/Microsoft.Web.json +++ b/schemas/2021-01-15/Microsoft.Web.json @@ -4185,26 +4185,6 @@ }, "definitions": { "AllowedAudiencesValidation": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AllowedAudiencesValidationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AllowedAudiencesValidation resource specific properties" - } - } - }, - "AllowedAudiencesValidationProperties": { "type": "object", "properties": { "allowedAudiences": { @@ -4218,10 +4198,11 @@ { "$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": "AllowedAudiencesValidation resource specific properties" + "description": "The configuration settings of the Allowed Audiences validation flow." }, "ApiDefinitionInfo": { "type": "object", @@ -4244,27 +4225,6 @@ "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": { @@ -4301,30 +4261,9 @@ "description": "The configuration settings of the registration for the Apple provider" } }, - "description": "Apple resource specific properties" + "description": "The configuration settings of the Apple provider." }, "AppleRegistration": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AppleRegistrationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AppleRegistration resource specific properties" - } - }, - "description": "The configuration settings of the registration for the Apple provider" - }, - "AppleRegistrationProperties": { "type": "object", "properties": { "clientId": { @@ -4336,7 +4275,7 @@ "description": "The app setting name that contains the client secret." } }, - "description": "AppleRegistration resource specific properties" + "description": "The configuration settings of the registration for the Apple provider" }, "ApplicationLogsConfig": { "type": "object", @@ -4396,27 +4335,6 @@ } }, "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": { @@ -4428,7 +4346,7 @@ "description": "The app setting name that contains the app secret." } }, - "description": "AppRegistration resource specific properties" + "description": "The configuration settings of the app registration for providers that have app ids and app secrets" }, "AppServiceEnvironment": { "type": "object", @@ -4732,27 +4650,6 @@ "description": "AseV3NetworkingConfiguration resource specific properties" }, "AuthPlatform": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AuthPlatformProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AuthPlatform resource specific properties" - } - }, - "description": "The configuration settings of the platform of App Service Authentication/Authorization." - }, - "AuthPlatformProperties": { "type": "object", "properties": { "configFilePath": { @@ -4775,7 +4672,7 @@ "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": "AuthPlatform resource specific properties" + "description": "The configuration settings of the platform of App Service Authentication/Authorization." }, "AutoHealActions": { "type": "object", @@ -4938,78 +4835,6 @@ "description": "Triggers for auto-heal." }, "AzureActiveDirectory": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureActiveDirectoryProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AzureActiveDirectory resource specific properties" - } - }, - "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" - } - ] - }, - "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" - }, - "AzureActiveDirectoryProperties": { "type": "object", "properties": { "enabled": { @@ -5068,36 +4893,54 @@ "description": "The configuration settings of the Azure Active Directory token validation flow." } }, - "description": "AzureActiveDirectory resource specific properties" + "description": "The configuration settings of the Azure Active directory provider." }, - "AzureActiveDirectoryRegistration": { + "AzureActiveDirectoryLogin": { "type": "object", "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." + "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." }, - "properties": { + "loginParameters": { "oneOf": [ { - "$ref": "#/definitions/AzureActiveDirectoryRegistrationProperties" + "type": "array", + "items": { + "type": "string" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "AzureActiveDirectoryRegistration resource specific properties" + "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": "The configuration settings of the Azure Active Directory app registration." + "description": "The configuration settings of the Azure Active Directory login flow." }, - "AzureActiveDirectoryRegistrationProperties": { + "AzureActiveDirectoryRegistration": { "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." @@ -5111,30 +4954,9 @@ "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" + "description": "The configuration settings of the Azure Active Directory app registration." }, "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": { @@ -5163,7 +4985,7 @@ "description": "The configuration settings of the checks that should be made while validating the JWT Claims." } }, - "description": "AzureActiveDirectoryValidation resource specific properties" + "description": "The configuration settings of the Azure Active Directory token validation flow." }, "AzureBlobStorageApplicationLogsConfig": { "type": "object", @@ -5237,27 +5059,6 @@ "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": { @@ -5283,30 +5084,9 @@ "description": "The configuration settings of the registration for the Azure Static Web Apps provider" } }, - "description": "AzureStaticWebApps resource specific properties" + "description": "The configuration settings of the Azure Static Web Apps provider." }, "AzureStaticWebAppsRegistration": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AzureStaticWebAppsRegistrationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AzureStaticWebAppsRegistration resource specific properties" - } - }, - "description": "The configuration settings of the registration for the Azure Static Web Apps provider" - }, - "AzureStaticWebAppsRegistrationProperties": { "type": "object", "properties": { "clientId": { @@ -5314,7 +5094,7 @@ "description": "The Client ID of the app used for login." } }, - "description": "AzureStaticWebAppsRegistration resource specific properties" + "description": "The configuration settings of the registration for the Azure Static Web Apps provider" }, "AzureStorageInfoValue": { "type": "object", @@ -5506,27 +5286,6 @@ "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": { @@ -5534,7 +5293,7 @@ "description": "The name of the app setting containing the SAS URL of the blob storage containing the tokens." } }, - "description": "BlobStorageTokenStore resource specific properties" + "description": "The configuration settings of the storage of the tokens if blob storage is used." }, "Capability": { "type": "object", @@ -5611,27 +5370,6 @@ "description": "Certificate resource specific properties" }, "ClientRegistration": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ClientRegistrationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ClientRegistration resource specific properties" - } - }, - "description": "The configuration settings of the app registration for providers that have client ids and client secrets" - }, - "ClientRegistrationProperties": { "type": "object", "properties": { "clientId": { @@ -5643,7 +5381,7 @@ "description": "The app setting name that contains the client secret." } }, - "description": "ClientRegistration resource specific properties" + "description": "The configuration settings of the app registration for providers that have client ids and client secrets" }, "CloningInfo": { "type": "object", @@ -5801,48 +5539,27 @@ "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": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CookieExpirationProperties" + "PostgreSQL" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "CookieExpiration resource specific properties" + "description": "Type of database." + }, + "value": { + "type": "string", + "description": "Value of pair." } }, - "description": "The configuration settings of the session cookie's expiration." + "required": [ + "type", + "value" + ], + "description": "Database connection string value to type pair." }, - "CookieExpirationProperties": { + "CookieExpiration": { "type": "object", "properties": { "convention": { @@ -5865,7 +5582,7 @@ "description": "The time after the request is made when the session cookie should expire." } }, - "description": "CookieExpiration resource specific properties" + "description": "The configuration settings of the session cookie's expiration." }, "CorsSettings": { "type": "object", @@ -5919,27 +5636,6 @@ "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": { @@ -5976,7 +5672,7 @@ "description": "The configuration settings of the app registration for the custom Open ID Connect provider." } }, - "description": "CustomOpenIdConnectProvider resource specific properties" + "description": "The configuration settings of the custom Open ID Connect provider." }, "DatabaseBackupSetting": { "type": "object", @@ -6121,27 +5817,6 @@ "description": "Extended Location." }, "Facebook": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FacebookProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Facebook resource specific properties" - } - }, - "description": "The configuration settings of the Facebook provider." - }, - "FacebookProperties": { "type": "object", "properties": { "enabled": { @@ -6182,7 +5857,7 @@ "description": "The configuration settings of the app registration for providers that have app ids and app secrets" } }, - "description": "Facebook resource specific properties" + "description": "The configuration settings of the Facebook provider." }, "FileSystemApplicationLogsConfig": { "type": "object", @@ -6250,27 +5925,6 @@ "description": "Http logs to file system configuration." }, "FileSystemTokenStore": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FileSystemTokenStoreProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "FileSystemTokenStore resource specific properties" - } - }, - "description": "The configuration settings of the storage of the tokens if a file system is used." - }, - "FileSystemTokenStoreProperties": { "type": "object", "properties": { "directory": { @@ -6278,30 +5932,9 @@ "description": "The directory in which the tokens will be stored." } }, - "description": "FileSystemTokenStore resource specific properties" + "description": "The configuration settings of the storage of the tokens if a file system is used." }, "ForwardProxy": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ForwardProxyProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ForwardProxy resource specific properties" - } - }, - "description": "The configuration settings of a forward proxy used to make the requests." - }, - "ForwardProxyProperties": { "type": "object", "properties": { "convention": { @@ -6329,7 +5962,7 @@ "description": "The name of the header containing the scheme of the request." } }, - "description": "ForwardProxy resource specific properties" + "description": "The configuration settings of a forward proxy used to make the requests." }, "FrontEndConfiguration": { "type": "object", @@ -6430,20 +6063,38 @@ "GitHub": { "type": "object", "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." + "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." }, - "properties": { + "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/GitHubProperties" + "$ref": "#/definitions/ClientRegistration" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "GitHub resource specific properties" + "description": "The configuration settings of the app registration for providers that have client ids and client secrets" } }, "description": "The configuration settings of the GitHub provider." @@ -6534,67 +6185,7 @@ }, "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": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GlobalValidationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "GlobalValidation resource specific properties" - } - }, - "description": "The configuration settings that determines the validation flow of users using App Service Authentication/Authorization." - }, - "GlobalValidationProperties": { "type": "object", "properties": { "excludedPaths": { @@ -6644,30 +6235,9 @@ "description": "The action to take when an unauthenticated client attempts to access the app." } }, - "description": "GlobalValidation resource specific properties" + "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": { @@ -6711,10 +6281,11 @@ { "$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" + "description": "The configuration settings of the Google provider." }, "HandlerMapping": { "type": "object", @@ -7114,27 +6685,6 @@ "description": "Http logs configuration." }, "HttpSettings": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HttpSettingsProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HttpSettings resource specific properties" - } - }, - "description": "The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization." - }, - "HttpSettingsProperties": { "type": "object", "properties": { "forwardProxy": { @@ -7171,30 +6721,9 @@ "description": "The configuration settings of the paths HTTP requests." } }, - "description": "HttpSettings resource specific properties" + "description": "The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization." }, "HttpSettingsRoutes": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HttpSettingsRoutesProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "HttpSettingsRoutes resource specific properties" - } - }, - "description": "The configuration settings of the paths HTTP requests." - }, - "HttpSettingsRoutesProperties": { "type": "object", "properties": { "apiPrefix": { @@ -7202,7 +6731,7 @@ "description": "The prefix that should precede all the authentication/authorization paths." } }, - "description": "HttpSettingsRoutes resource specific properties" + "description": "The configuration settings of the paths HTTP requests." }, "HybridConnectionProperties": { "type": "object", @@ -7252,35 +6781,14 @@ "IdentifierProperties": { "type": "object", "properties": { - "id": { - "type": "string", - "description": "String representation of the identity." - } - }, - "description": "Identifier resource specific properties" - }, - "IdentityProviders": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/IdentityProvidersProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "IdentityProviders resource specific properties" + "id": { + "type": "string", + "description": "String representation of the identity." } }, - "description": "The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization." + "description": "Identifier resource specific properties" }, - "IdentityProvidersProperties": { + "IdentityProviders": { "type": "object", "properties": { "apple": { @@ -7387,7 +6895,7 @@ "description": "The configuration settings of the Twitter provider." } }, - "description": "IdentityProviders resource specific properties" + "description": "The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization." }, "IpSecurityRestriction": { "type": "object", @@ -7487,27 +6995,6 @@ "description": "IP security restriction on an app." }, "JwtClaimChecks": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/JwtClaimChecksProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "JwtClaimChecks resource specific properties" - } - }, - "description": "The configuration settings of the checks that should be made while validating the JWT Claims." - }, - "JwtClaimChecksProperties": { "type": "object", "properties": { "allowedClientApplications": { @@ -7539,7 +7026,7 @@ "description": "The list of the allowed groups." } }, - "description": "JwtClaimChecks resource specific properties" + "description": "The configuration settings of the checks that should be made while validating the JWT Claims." }, "KubeEnvironmentProfile": { "type": "object", @@ -7596,27 +7083,6 @@ "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": { @@ -7660,10 +7126,11 @@ { "$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" + "description": "The configuration settings of the legacy Microsoft Account provider." }, "LogAnalyticsConfiguration": { "type": "object", @@ -7677,27 +7144,6 @@ } }, "Login": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/LoginProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Login resource specific properties" - } - }, - "description": "The configuration settings of the login flow of users using App Service Authentication/Authorization." - }, - "LoginProperties": { "type": "object", "properties": { "allowedExternalRedirectUrls": { @@ -7770,30 +7216,9 @@ "description": "The configuration settings of the token store." } }, - "description": "Login resource specific properties" + "description": "The configuration settings of the login flow of users using App Service Authentication/Authorization." }, "LoginRoutes": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/LoginRoutesProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "LoginRoutes resource specific properties" - } - }, - "description": "The routes that specify the endpoints used for login and logout requests." - }, - "LoginRoutesProperties": { "type": "object", "properties": { "logoutEndpoint": { @@ -7801,30 +7226,9 @@ "description": "The endpoint at which a logout request should be made." } }, - "description": "LoginRoutes resource specific properties" + "description": "The routes that specify the endpoints used for login and logout requests." }, "LoginScopes": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/LoginScopesProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "LoginScopes resource specific properties" - } - }, - "description": "The configuration settings of the login flow, including the scopes that should be requested." - }, - "LoginScopesProperties": { "type": "object", "properties": { "scopes": { @@ -7842,7 +7246,7 @@ "description": "A list of the scopes that should be requested while authenticating." } }, - "description": "LoginScopes resource specific properties" + "description": "The configuration settings of the login flow, including the scopes that should be requested." }, "ManagedServiceIdentity": { "type": "object", @@ -7956,27 +7360,6 @@ "description": "Name value pair." }, "Nonce": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/NonceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Nonce resource specific properties" - } - }, - "description": "The configuration settings of the nonce used in the login flow." - }, - "NonceProperties": { "type": "object", "properties": { "nonceExpirationInterval": { @@ -7995,30 +7378,9 @@ "description": "false if the nonce should not be validated while completing the login flow; otherwise, true." } }, - "description": "Nonce resource specific properties" + "description": "The configuration settings of the nonce used in the login flow." }, "OpenIdConnectClientCredential": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OpenIdConnectClientCredentialProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "OpenIdConnectClientCredential resource specific properties" - } - }, - "description": "The authentication client credentials of the custom Open ID Connect provider." - }, - "OpenIdConnectClientCredentialProperties": { "type": "object", "properties": { "clientSecretSettingName": { @@ -8040,30 +7402,9 @@ "description": "The method that should be used to authenticate the user." } }, - "description": "OpenIdConnectClientCredential resource specific properties" + "description": "The authentication client credentials of the custom Open ID Connect provider." }, "OpenIdConnectConfig": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OpenIdConnectConfigProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "OpenIdConnectConfig resource specific properties" - } - }, - "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider." - }, - "OpenIdConnectConfigProperties": { "type": "object", "properties": { "authorizationEndpoint": { @@ -8087,30 +7428,9 @@ "description": "The endpoint that contains all the configuration endpoints for the provider." } }, - "description": "OpenIdConnectConfig resource specific properties" + "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider." }, "OpenIdConnectLogin": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OpenIdConnectLoginProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "OpenIdConnectLogin resource specific properties" - } - }, - "description": "The configuration settings of the login flow of the custom Open ID Connect provider." - }, - "OpenIdConnectLoginProperties": { "type": "object", "properties": { "nameClaimType": { @@ -8132,30 +7452,9 @@ "description": "A list of the scopes that should be requested while authenticating." } }, - "description": "OpenIdConnectLogin resource specific properties" + "description": "The configuration settings of the login flow of the custom Open ID Connect provider." }, "OpenIdConnectRegistration": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/OpenIdConnectRegistrationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "OpenIdConnectRegistration resource specific properties" - } - }, - "description": "The configuration settings of the app registration for the custom Open ID Connect provider." - }, - "OpenIdConnectRegistrationProperties": { "type": "object", "properties": { "clientCredential": { @@ -8185,7 +7484,7 @@ "description": "The configuration settings of the endpoints used for the custom Open ID Connect provider." } }, - "description": "OpenIdConnectRegistration resource specific properties" + "description": "The configuration settings of the app registration for the custom Open ID Connect provider." }, "PremierAddOnProperties": { "type": "object", @@ -13123,27 +12422,6 @@ "description": "SwiftVirtualNetwork resource specific properties" }, "TokenStore": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TokenStoreProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TokenStore resource specific properties" - } - }, - "description": "The configuration settings of the token store." - }, - "TokenStoreProperties": { "type": "object", "properties": { "azureBlobStorage": { @@ -13191,30 +12469,9 @@ "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": "TokenStore resource specific properties" + "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": { @@ -13240,30 +12497,9 @@ "description": "The configuration settings of the app registration for the Twitter provider." } }, - "description": "Twitter resource specific properties" + "description": "The configuration settings of the Twitter provider." }, "TwitterRegistration": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/TwitterRegistrationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TwitterRegistration resource specific properties" - } - }, - "description": "The configuration settings of the app registration for the Twitter provider." - }, - "TwitterRegistrationProperties": { "type": "object", "properties": { "consumerKey": { @@ -13275,7 +12511,7 @@ "description": "The app setting name that contains the OAuth 1.0a consumer secret of the Twitter\napplication used for sign-in." } }, - "description": "TwitterRegistration resource specific properties" + "description": "The configuration settings of the app registration for the Twitter provider." }, "UserAssignedIdentity": { "type": "object", diff --git a/schemas/2021-02-01/Microsoft.Web.json b/schemas/2021-02-01/Microsoft.Web.json index f4b3883830..77c5e2528f 100644 --- a/schemas/2021-02-01/Microsoft.Web.json +++ b/schemas/2021-02-01/Microsoft.Web.json @@ -4205,27 +4205,6 @@ "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": { @@ -4257,7 +4236,7 @@ "description": "The list of the allowed identities." } }, - "description": "AllowedPrincipals resource specific properties" + "description": "The configuration settings of the Azure Active Directory allowed principals." }, "ApiDefinitionInfo": { "type": "object", @@ -4280,27 +4259,6 @@ "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": { @@ -4337,7 +4295,7 @@ "description": "The configuration settings of the registration for the Apple provider" } }, - "description": "Apple resource specific properties" + "description": "The configuration settings of the Apple provider." }, "AppleRegistration": { "type": "object", @@ -4411,27 +4369,6 @@ } }, "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": { @@ -4443,7 +4380,7 @@ "description": "The app setting name that contains the app secret." } }, - "description": "AppRegistration resource specific properties" + "description": "The configuration settings of the app registration for providers that have app ids and app secrets" }, "AppServiceEnvironment": { "type": "object", @@ -5027,27 +4964,6 @@ "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": { @@ -5076,30 +4992,9 @@ "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" + "description": "The configuration settings of the Azure Active Directory login flow." }, "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": { @@ -5127,30 +5022,9 @@ "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" + "description": "The configuration settings of the Azure Active Directory app registration." }, "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": { @@ -5190,7 +5064,7 @@ "description": "The configuration settings of the checks that should be made while validating the JWT Claims." } }, - "description": "AzureActiveDirectoryValidation resource specific properties" + "description": "The configuration settings of the Azure Active Directory token validation flow." }, "AzureBlobStorageApplicationLogsConfig": { "type": "object", @@ -5264,27 +5138,6 @@ "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": { @@ -5310,7 +5163,7 @@ "description": "The configuration settings of the registration for the Azure Static Web Apps provider" } }, - "description": "AzureStaticWebApps resource specific properties" + "description": "The configuration settings of the Azure Static Web Apps provider." }, "AzureStaticWebAppsRegistration": { "type": "object", @@ -5512,27 +5365,6 @@ "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": { @@ -5540,7 +5372,7 @@ "description": "The name of the app setting containing the SAS URL of the blob storage containing the tokens." } }, - "description": "BlobStorageTokenStore resource specific properties" + "description": "The configuration settings of the storage of the tokens if blob storage is used." }, "Capability": { "type": "object", @@ -5883,27 +5715,6 @@ "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": { @@ -5940,7 +5751,7 @@ "description": "The configuration settings of the app registration for the custom Open ID Connect provider." } }, - "description": "CustomOpenIdConnectProvider resource specific properties" + "description": "The configuration settings of the custom Open ID Connect provider." }, "DatabaseBackupSetting": { "type": "object", @@ -6362,20 +6173,38 @@ "GitHub": { "type": "object", "properties": { - "kind": { - "type": "string", - "description": "Kind of resource." + "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." }, - "properties": { + "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/GitHubProperties" + "$ref": "#/definitions/ClientRegistration" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "GitHub resource specific properties" + "description": "The configuration settings of the app registration for providers that have client ids and client secrets" } }, "description": "The configuration settings of the GitHub provider." @@ -6466,45 +6295,6 @@ }, "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": { @@ -6558,27 +6348,6 @@ "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": { @@ -6626,7 +6395,7 @@ "description": "The configuration settings of the Allowed Audiences validation flow." } }, - "description": "Google resource specific properties" + "description": "The configuration settings of the Google provider." }, "HandlerMapping": { "type": "object", @@ -7424,27 +7193,6 @@ "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": { @@ -7492,7 +7240,7 @@ "description": "The configuration settings of the Allowed Audiences validation flow." } }, - "description": "LegacyMicrosoftAccount resource specific properties" + "description": "The configuration settings of the legacy Microsoft Account provider." }, "LogAnalyticsConfiguration": { "type": "object", @@ -12834,27 +12582,6 @@ "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": { @@ -12880,7 +12607,7 @@ "description": "The configuration settings of the app registration for the Twitter provider." } }, - "description": "Twitter resource specific properties" + "description": "The configuration settings of the Twitter provider." }, "TwitterRegistration": { "type": "object", diff --git a/schemas/2021-08-01/Microsoft.StoragePool.json b/schemas/2021-08-01/Microsoft.StoragePool.json new file mode 100644 index 0000000000..ce9834ff5c --- /dev/null +++ b/schemas/2021-08-01/Microsoft.StoragePool.json @@ -0,0 +1,410 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.StoragePool.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.StoragePool", + "description": "Microsoft StoragePool Resource Types", + "resourceDefinitions": { + "diskPools": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives." + }, + "managedBy": { + "type": "string", + "description": "Azure resource id. Indicates if this resource is managed by another Azure resource." + }, + "managedByExtended": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Azure resource ids that manage this resource." + }, + "name": { + "type": "string", + "description": "The name of the Disk Pool." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DiskPoolCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for Disk Pool create or update request." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/diskPools_iscsiTargets_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku for ARM 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.StoragePool/diskPools" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.StoragePool/diskPools" + }, + "diskPools_iscsiTargets": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "managedBy": { + "type": "string", + "description": "Azure resource id. Indicates if this resource is managed by another Azure resource." + }, + "managedByExtended": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Azure resource ids that manage this resource." + }, + "name": { + "type": "string", + "description": "The name of the iSCSI Target." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IscsiTargetCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for iSCSI Target create or update request." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.StoragePool/diskPools/iscsiTargets" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.StoragePool/diskPools/iscsiTargets" + } + }, + "definitions": { + "Acl": { + "type": "object", + "properties": { + "initiatorIqn": { + "type": "string", + "description": "iSCSI initiator IQN (iSCSI Qualified Name); example: \"iqn.2005-03.org.iscsi:client\"." + }, + "mappedLuns": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of LUN names mapped to the ACL." + } + }, + "required": [ + "initiatorIqn", + "mappedLuns" + ], + "description": "Access Control List (ACL) for an iSCSI Target; defines LUN masking policy" + }, + "Disk": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Unique Azure Resource ID of the Managed Disk." + } + }, + "required": [ + "id" + ], + "description": "Azure Managed Disk to attach to the Disk Pool." + }, + "DiskPoolCreateProperties": { + "type": "object", + "properties": { + "additionalCapabilities": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of additional capabilities for a Disk Pool." + }, + "availabilityZones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Logical zone for Disk Pool resource; example: [\"1\"]." + }, + "disks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Disk" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Azure Managed Disks to attach to a Disk Pool." + }, + "subnetId": { + "type": "string", + "description": "Azure Resource ID of a Subnet for the Disk Pool." + } + }, + "required": [ + "subnetId" + ], + "description": "Properties for Disk Pool create or update request." + }, + "diskPools_iscsiTargets_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "managedBy": { + "type": "string", + "description": "Azure resource id. Indicates if this resource is managed by another Azure resource." + }, + "managedByExtended": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Azure resource ids that manage this resource." + }, + "name": { + "type": "string", + "description": "The name of the iSCSI Target." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IscsiTargetCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for iSCSI Target create or update request." + }, + "type": { + "type": "string", + "enum": [ + "iscsiTargets" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.StoragePool/diskPools/iscsiTargets" + }, + "IscsiLun": { + "type": "object", + "properties": { + "managedDiskAzureResourceId": { + "type": "string", + "description": "Azure Resource ID of the Managed Disk." + }, + "name": { + "type": "string", + "description": "User defined name for iSCSI LUN; example: \"lun0\"" + } + }, + "required": [ + "managedDiskAzureResourceId", + "name" + ], + "description": "LUN to expose the Azure Managed Disk." + }, + "IscsiTargetCreateProperties": { + "type": "object", + "properties": { + "aclMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Dynamic", + "Static" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Mode for Target connectivity." + }, + "luns": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IscsiLun" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of LUNs to be exposed through iSCSI Target." + }, + "staticAcls": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Acl" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Access Control List (ACL) for an iSCSI Target; defines LUN masking policy" + }, + "targetIqn": { + "type": "string", + "description": "iSCSI Target IQN (iSCSI Qualified Name); example: \"iqn.2005-03.org.iscsi:server\"." + } + }, + "required": [ + "aclMode" + ], + "description": "Properties for iSCSI Target create or update request." + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Sku name" + }, + "tier": { + "type": "string", + "description": "Sku tier" + } + }, + "required": [ + "name" + ], + "description": "Sku for ARM resource" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 9c2b7aba73..51b4bc20e6 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7010,49 +7010,16 @@ "$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/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" + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" }, { - "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" }, { - "$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" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" - }, - { - "$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/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_privateEndpointConnections" + "$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" @@ -10384,6 +10351,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.StoragePool.json#/resourceDefinitions/diskPools_iscsiTargets" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.StoragePool.json#/resourceDefinitions/diskPools" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.StoragePool.json#/resourceDefinitions/diskPools_iscsiTargets" + }, { "$ref": "https://schema.management.azure.com/schemas/2017-06-05-preview/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices" }, From ed013d2a17af69da7549e218e0ff8114c011260a Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 3 Sep 2021 13:36:02 +0000 Subject: [PATCH 154/243] Update resource list --- generator/resources.json | 53 ++++++++-------------------------------- 1 file changed, 10 insertions(+), 43 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 5d466dd167..24ad528cb3 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3983,48 +3983,13 @@ "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", - "2020-05-01" - ], - "Microsoft.Migrate/migrateProjects/privateEndpointConnections": [ - "2020-05-01" - ], - "Microsoft.Migrate/migrateProjects/solutions": [ - "2018-09-01-preview" - ], - "Microsoft.Migrate/projects": [ - "2018-02-02" - ], - "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" @@ -7247,11 +7212,13 @@ ], "Microsoft.StoragePool/diskPools": [ "2020-03-15-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.StoragePool/diskPools/iscsiTargets": [ "2020-03-15-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-08-01" ], "Microsoft.StorageSync/storageSyncServices": [ "2017-06-05-preview", From 2df7e32196e19a3fd23b2ecf0f1fc2b829aa2607 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 4 Sep 2021 10:32:28 +0000 Subject: [PATCH 155/243] 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/2020-05-01/Microsoft.Migrate.json | 231 +++ schemas/2021-01-01/Microsoft.Migrate.json | 1054 -------------- schemas/common/autogeneratedResources.json | 41 +- 7 files changed, 2644 insertions(+), 2112 deletions(-) create mode 100644 schemas/2018-02-02/Microsoft.Migrate.json create 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 create mode 100644 schemas/2020-05-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 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 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/2020-05-01/Microsoft.Migrate.json b/schemas/2020-05-01/Microsoft.Migrate.json new file mode 100644 index 0000000000..22a8f94955 --- /dev/null +++ b/schemas/2020-05-01/Microsoft.Migrate.json @@ -0,0 +1,231 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-05-01/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": [ + "2020-05-01" + ] + }, + "eTag": { + "type": "string", + "description": "For optimistic concurrency control." + }, + "location": { + "type": "string", + "description": "Azure location in which project is created." + }, + "name": { + "type": "string", + "description": "Migrate project name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a migrate project." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/migrateProjects_privateEndpointConnections_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects" + }, + "migrateProjects_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-01" + ] + }, + "eTag": { + "type": "string", + "description": "Gets the tag for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Private endpoint connection name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionStateRequestBodyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of Connection state request." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" + } + }, + "definitions": { + "ConnectionStateRequestBodyProperties": { + "type": "object", + "properties": { + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint connection state." + } + }, + "description": "Properties of Connection state request." + }, + "MigrateProjectProperties": { + "type": "object", + "properties": { + "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 state of public network access." + }, + "serviceEndpoint": { + "type": "string", + "description": "Service endpoint." + }, + "utilityStorageAccountId": { + "type": "string", + "description": "Utility storage account id." + } + }, + "description": "Properties of a migrate project." + }, + "migrateProjects_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-01" + ] + }, + "eTag": { + "type": "string", + "description": "Gets the tag for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Private endpoint connection name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionStateRequestBodyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of Connection state request." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "Action required." + }, + "description": { + "type": "string", + "description": "Description of the object." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private link connection state." + } + }, + "description": "Private endpoint connection state." + } + } +} \ 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 51b4bc20e6..e48cab9df0 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7010,16 +7010,49 @@ "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Maps.json#/resourceDefinitions/accounts_creators" }, { - "$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" }, { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups" }, { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/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/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$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" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" + }, + { + "$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/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_privateEndpointConnections" }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" From 82487c81691512c0ae93bf6076425713883abcdd Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 4 Sep 2021 10:32:42 +0000 Subject: [PATCH 156/243] Update resource list --- generator/resources.json | 47 +++++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 6 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 24ad528cb3..9d0f68cfc6 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3983,13 +3983,48 @@ "Microsoft.Media/mediaServices/transforms/jobs": [ "2018-07-01" ], - "Microsoft.Migrate/moveCollections": [ - "2019-10-01-preview", - "2021-01-01" + "Microsoft.Migrate/assessmentProjects": [ + "2019-10-01" ], - "Microsoft.Migrate/moveCollections/moveResources": [ - "2019-10-01-preview", - "2021-01-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", + "2020-05-01" + ], + "Microsoft.Migrate/migrateProjects/privateEndpointConnections": [ + "2020-05-01" + ], + "Microsoft.Migrate/migrateProjects/solutions": [ + "2018-09-01-preview" + ], + "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 ad8d34c34038a21f1195f4d52c82c15b020a4bb3 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 7 Sep 2021 09:19:36 +0000 Subject: [PATCH 157/243] Autogenerate schemas --- schemas/2018-06-01/Microsoft.DataFactory.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/schemas/2018-06-01/Microsoft.DataFactory.json b/schemas/2018-06-01/Microsoft.DataFactory.json index d513e17890..7a1b2928c2 100644 --- a/schemas/2018-06-01/Microsoft.DataFactory.json +++ b/schemas/2018-06-01/Microsoft.DataFactory.json @@ -25966,7 +25966,8 @@ "type": "string", "enum": [ "ServicePrincipal", - "ManagedIdentity" + "ManagedIdentity", + "UserAssignedManagedIdentity" ] }, { @@ -25975,6 +25976,17 @@ ], "description": "Sql always encrypted AKV authentication type. Type: string (or Expression with resultType string)." }, + "credential": { + "oneOf": [ + { + "$ref": "#/definitions/CredentialReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Credential reference type." + }, "servicePrincipalId": { "type": "object", "properties": {}, From 07ebe8e1e7015188ff11166521f6df0947c11787 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 7 Sep 2021 13:46:43 +0000 Subject: [PATCH 158/243] 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/2020-05-01/Microsoft.Migrate.json | 231 --- schemas/2021-01-01/Microsoft.Migrate.json | 1054 ++++++++++++++ schemas/common/autogeneratedResources.json | 41 +- 7 files changed, 2112 insertions(+), 2644 deletions(-) delete mode 100644 schemas/2018-02-02/Microsoft.Migrate.json delete 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 delete mode 100644 schemas/2020-05-01/Microsoft.Migrate.json create 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 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 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 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-05-01/Microsoft.Migrate.json b/schemas/2020-05-01/Microsoft.Migrate.json deleted file mode 100644 index 22a8f94955..0000000000 --- a/schemas/2020-05-01/Microsoft.Migrate.json +++ /dev/null @@ -1,231 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-05-01/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": [ - "2020-05-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "location": { - "type": "string", - "description": "Azure location in which project is created." - }, - "name": { - "type": "string", - "description": "Migrate project name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a migrate project." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/migrateProjects_privateEndpointConnections_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects" - }, - "migrateProjects_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-01" - ] - }, - "eTag": { - "type": "string", - "description": "Gets the tag for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Private endpoint connection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionStateRequestBodyProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Connection state request." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" - } - }, - "definitions": { - "ConnectionStateRequestBodyProperties": { - "type": "object", - "properties": { - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection state." - } - }, - "description": "Properties of Connection state request." - }, - "MigrateProjectProperties": { - "type": "object", - "properties": { - "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 state of public network access." - }, - "serviceEndpoint": { - "type": "string", - "description": "Service endpoint." - }, - "utilityStorageAccountId": { - "type": "string", - "description": "Utility storage account id." - } - }, - "description": "Properties of a migrate project." - }, - "migrateProjects_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-01" - ] - }, - "eTag": { - "type": "string", - "description": "Gets the tag for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Private endpoint connection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionStateRequestBodyProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Connection state request." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "Action required." - }, - "description": { - "type": "string", - "description": "Description of the object." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Approved", - "Pending", - "Rejected", - "Disconnected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private link connection state." - } - }, - "description": "Private endpoint connection state." - } - } -} \ 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 e48cab9df0..51b4bc20e6 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7010,49 +7010,16 @@ "$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/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" + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" }, { - "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" }, { - "$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" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" - }, - { - "$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/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_privateEndpointConnections" + "$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 1da5818e582ed392b1ad34f95c317fbd5083da9b Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 7 Sep 2021 13:46:56 +0000 Subject: [PATCH 159/243] Update resource list --- generator/resources.json | 47 +++++----------------------------------- 1 file changed, 6 insertions(+), 41 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 9d0f68cfc6..24ad528cb3 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3983,48 +3983,13 @@ "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", - "2020-05-01" - ], - "Microsoft.Migrate/migrateProjects/privateEndpointConnections": [ - "2020-05-01" - ], - "Microsoft.Migrate/migrateProjects/solutions": [ - "2018-09-01-preview" - ], - "Microsoft.Migrate/projects": [ - "2018-02-02" - ], - "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" From 0b5a4becfa7b7c075aec569dc9e183e059a87843 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 8 Sep 2021 00:42:12 +0000 Subject: [PATCH 160/243] CodeGen from PR 15616 in Azure/azure-rest-api-specs Add Red Hat OpenShift 2021-09-01-preview (#15616) * Adds base for updating Microsoft.RedHatOpenShift from version stable/2020-04-30 to version 2021-01-31-preview * Updates readme * Updates API version in new specs and examples * update ARO v2021-01-31-preview changes * Add azureresourceschema * systemData * update swagger * update readme * drop breaking change * Add systemData * s/ListAdminKubeconfig/ListAdminCredentials * update systemData examples * add object type * swap variable to preview * Merge branch 'dev-redhatopenshift-Microsoft.RedHatOpenShift-2021-01-31-preview' of github.com:mjudeikis/azure-rest-api-specs into dev-redhatopenshift-Microsoft.RedHatOpenShift-2021-01-31-preview * Expand SDN & x-ms-secrets tag * revert int format * add x-ms-enum to Enryption and Visibility --- .../Microsoft.RedHatOpenShift.json | 477 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 2 files changed, 480 insertions(+) create mode 100644 schemas/2021-09-01-preview/Microsoft.RedHatOpenShift.json diff --git a/schemas/2021-09-01-preview/Microsoft.RedHatOpenShift.json b/schemas/2021-09-01-preview/Microsoft.RedHatOpenShift.json new file mode 100644 index 0000000000..a9c2b51489 --- /dev/null +++ b/schemas/2021-09-01-preview/Microsoft.RedHatOpenShift.json @@ -0,0 +1,477 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.RedHatOpenShift.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.RedHatOpenShift", + "description": "Microsoft RedHatOpenShift Resource Types", + "resourceDefinitions": { + "openShiftClusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the OpenShift cluster resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/OpenShiftClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "OpenShiftClusterProperties represents an OpenShift cluster's 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.RedHatOpenShift/openShiftClusters" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.RedHatOpenShift/openShiftClusters" + } + }, + "definitions": { + "APIServerProfile": { + "type": "object", + "properties": { + "ip": { + "type": "string", + "description": "The IP of the cluster API server." + }, + "url": { + "type": "string", + "description": "The URL to access the cluster API server." + }, + "visibility": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Private", + "Public" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API server visibility." + } + }, + "description": "APIServerProfile represents an API server profile." + }, + "ClusterProfile": { + "type": "object", + "properties": { + "domain": { + "type": "string", + "description": "The domain for the cluster." + }, + "pullSecret": { + "type": "string", + "description": "The pull secret for the cluster." + }, + "resourceGroupId": { + "type": "string", + "description": "The ID of the cluster resource group." + }, + "version": { + "type": "string", + "description": "The version of the cluster." + } + }, + "description": "ClusterProfile represents a cluster profile." + }, + "ConsoleProfile": { + "type": "object", + "properties": { + "url": { + "type": "string", + "description": "The URL to access the cluster console." + } + }, + "description": "ConsoleProfile represents a console profile." + }, + "IngressProfile": { + "type": "object", + "properties": { + "ip": { + "type": "string", + "description": "The IP of the ingress." + }, + "name": { + "type": "string", + "description": "The ingress profile name." + }, + "visibility": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Private", + "Public" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Ingress visibility." + } + }, + "description": "IngressProfile represents an ingress profile." + }, + "MasterProfile": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "The resource ID of an associated DiskEncryptionSet, if applicable." + }, + "encryptionAtHost": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether master virtual machines are encrypted at host." + }, + "subnetId": { + "type": "string", + "description": "The Azure resource ID of the master subnet." + }, + "vmSize": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_D16as_v4", + "Standard_D16s_v3", + "Standard_D2s_v3", + "Standard_D32as_v4", + "Standard_D32s_v3", + "Standard_D4as_v4", + "Standard_D4s_v3", + "Standard_D8as_v4", + "Standard_D8s_v3", + "Standard_E16s_v3", + "Standard_E32s_v3", + "Standard_E4s_v3", + "Standard_E64i_v3", + "Standard_E64is_v3", + "Standard_E8s_v3", + "Standard_F16s_v2", + "Standard_F32s_v2", + "Standard_F4s_v2", + "Standard_F72s_v2", + "Standard_F8s_v2", + "Standard_G5", + "Standard_GS5", + "Standard_M128ms" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The size of the master VMs." + } + }, + "description": "MasterProfile represents a master profile." + }, + "NetworkProfile": { + "type": "object", + "properties": { + "podCidr": { + "type": "string", + "description": "The CIDR used for OpenShift/Kubernetes Pods." + }, + "serviceCidr": { + "type": "string", + "description": "The CIDR used for OpenShift/Kubernetes Services." + }, + "softwareDefinedNetwork": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OVNKubernetes", + "OpenShiftSDN" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The software defined network (SDN) to use when installing the cluster." + } + }, + "description": "NetworkProfile represents a network profile." + }, + "OpenShiftClusterProperties": { + "type": "object", + "properties": { + "apiserverProfile": { + "oneOf": [ + { + "$ref": "#/definitions/APIServerProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "APIServerProfile represents an API server profile." + }, + "clusterProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ClusterProfile represents a cluster profile." + }, + "consoleProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ConsoleProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ConsoleProfile represents a console profile." + }, + "ingressProfiles": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IngressProfile" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster ingress profiles." + }, + "masterProfile": { + "oneOf": [ + { + "$ref": "#/definitions/MasterProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MasterProfile represents a master profile." + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NetworkProfile represents a network profile." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AdminUpdating", + "Creating", + "Deleting", + "Failed", + "Succeeded", + "Updating" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster provisioning state." + }, + "servicePrincipalProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ServicePrincipalProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ServicePrincipalProfile represents a service principal profile." + }, + "workerProfiles": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/WorkerProfile" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster worker profiles." + } + }, + "description": "OpenShiftClusterProperties represents an OpenShift cluster's properties." + }, + "ServicePrincipalProfile": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "The client ID used for the cluster." + }, + "clientSecret": { + "type": "string", + "description": "The client secret used for the cluster." + } + }, + "description": "ServicePrincipalProfile represents a service principal profile." + }, + "WorkerProfile": { + "type": "object", + "properties": { + "count": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of worker VMs." + }, + "diskEncryptionSetId": { + "type": "string", + "description": "The resource ID of an associated DiskEncryptionSet, if applicable." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disk size of the worker VMs." + }, + "encryptionAtHost": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether master virtual machines are encrypted at host." + }, + "name": { + "type": "string", + "description": "The worker profile name." + }, + "subnetId": { + "type": "string", + "description": "The Azure resource ID of the worker subnet." + }, + "vmSize": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_D16as_v4", + "Standard_D16s_v3", + "Standard_D2s_v3", + "Standard_D32as_v4", + "Standard_D32s_v3", + "Standard_D4as_v4", + "Standard_D4s_v3", + "Standard_D8as_v4", + "Standard_D8s_v3", + "Standard_E16s_v3", + "Standard_E32s_v3", + "Standard_E4s_v3", + "Standard_E64i_v3", + "Standard_E64is_v3", + "Standard_E8s_v3", + "Standard_F16s_v2", + "Standard_F32s_v2", + "Standard_F4s_v2", + "Standard_F72s_v2", + "Standard_F8s_v2", + "Standard_G5", + "Standard_GS5", + "Standard_M128ms" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The size of the worker VMs." + } + }, + "description": "WorkerProfile represents a worker profile." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 3f71695c16..71ebfa4851 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -8407,6 +8407,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-04-30/Microsoft.RedHatOpenShift.json#/resourceDefinitions/openShiftClusters" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.RedHatOpenShift.json#/resourceDefinitions/openShiftClusters" + }, { "$ref": "https://schema.management.azure.com/schemas/2016-07-01/Microsoft.Relay.json#/resourceDefinitions/namespaces" }, From 2ba50ece213c9757f505129c68d7660059e757bc Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 8 Sep 2021 02:51:28 +0000 Subject: [PATCH 161/243] CodeGen from PR 15861 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.Aadiam to add version preview/2020-03-01-preview and stable/2020-03-01 (#15861) * Adds base for updating Microsoft.Aadiam from version preview/2020-03-01-preview to version 2020-03-01 * Updates readme * Updates API version in new specs and examples * Adding changes from previous PR * Ran prettier, fixed types.json reference * Remove changes to preview version * Fix python failure * Try switching error locations * Change error location back * fix old examples * Try to fix python check --- schemas/2020-03-01/Microsoft.Aadiam.json | 300 +++++++++++++++++++++ schemas/common/autogeneratedResources.json | 6 + 2 files changed, 306 insertions(+) create mode 100644 schemas/2020-03-01/Microsoft.Aadiam.json diff --git a/schemas/2020-03-01/Microsoft.Aadiam.json b/schemas/2020-03-01/Microsoft.Aadiam.json new file mode 100644 index 0000000000..a0fc876356 --- /dev/null +++ b/schemas/2020-03-01/Microsoft.Aadiam.json @@ -0,0 +1,300 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Aadiam.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "microsoft.aadiam", + "description": "microsoft aadiam Resource Types", + "resourceDefinitions": { + "privateLinkForAzureAd": { + "type": "object", + "properties": { + "allTenants": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag indicating whether all tenants are allowed" + }, + "apiVersion": { + "type": "string", + "enum": [ + "2020-03-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the private link policy in Azure AD." + }, + "ownerTenantId": { + "type": "string", + "description": "Guid of the owner tenant" + }, + "resourceGroup": { + "type": "string", + "description": "Name of the resource group" + }, + "resourceName": { + "type": "string", + "description": "Name of the private link policy resource" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/privateLinkForAzureAd_privateEndpointConnections_childResource" + } + ] + } + }, + "subscriptionId": { + "type": "string", + "description": "Subscription Identifier" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "tenants": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of tenantIds." + }, + "type": { + "type": "string", + "enum": [ + "microsoft.aadiam/privateLinkForAzureAd" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "microsoft.aadiam/privateLinkForAzureAd" + }, + "privateLinkForAzureAd_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-03-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "description": "The PrivateEndpointConnection name." + }, + "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.aadiam/privateLinkForAzureAd/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "microsoft.aadiam/privateLinkForAzureAd/privateEndpointConnections" + } + }, + "definitions": { + "PrivateEndpoint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Full identifier of the private endpoint resource." + } + }, + "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." + }, + "privateLinkConnectionTags": { + "oneOf": [ + { + "$ref": "#/definitions/TagsResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkConnection instance." + }, + "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", + "Provisioning", + "Failed" + ] + }, + { + "$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." + }, + "privateLinkForAzureAd_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-03-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "description": "The PrivateEndpointConnection name." + }, + "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.aadiam/privateLinkForAzureAd/privateEndpointConnections" + }, + "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 or rejection." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Approved", + "Pending", + "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 given policy owner." + } + }, + "description": "An object that represents the approval state of the private link connection." + }, + "TagsResource": { + "type": "object", + "properties": { + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + } + }, + "description": "A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkConnection instance." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 71ebfa4851..476bb303ae 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -31,6 +31,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.AAD.json#/resourceDefinitions/domainServices_ouContainer" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Aadiam.json#/resourceDefinitions/privateLinkForAzureAd" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Aadiam.json#/resourceDefinitions/privateLinkForAzureAd_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-03-01-preview/Microsoft.Aadiam.json#/resourceDefinitions/privateLinkForAzureAd" }, From a64567fc52790bf8b361748cd403c8411c606c7d Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 8 Sep 2021 08:40:59 +0000 Subject: [PATCH 162/243] Update resource list --- generator/resources.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/generator/resources.json b/generator/resources.json index 24ad528cb3..6611e37a16 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -6112,7 +6112,8 @@ "2021-07-01" ], "Microsoft.RedHatOpenShift/openShiftClusters": [ - "2020-04-30" + "2020-04-30", + "2021-09-01-preview" ], "Microsoft.Relay/namespaces": [ "2016-07-01", @@ -8476,8 +8477,12 @@ "2017-04-01-preview" ], "microsoft.aadiam/privateLinkForAzureAd": [ + "2020-03-01", "2020-03-01-preview" ], + "microsoft.aadiam/privateLinkForAzureAd/privateEndpointConnections": [ + "2020-03-01" + ], "microsoft.alertsManagement/smartDetectorAlertRules": [ "2019-03-01", "2019-06-01", From a0eb0c803b250201e4bccdc104894a75c4aee308 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 8 Sep 2021 10:28:21 +0000 Subject: [PATCH 163/243] 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/2020-05-01/Microsoft.Migrate.json | 231 +++ schemas/2021-01-01/Microsoft.Migrate.json | 1054 -------------- schemas/common/autogeneratedResources.json | 41 +- 7 files changed, 2644 insertions(+), 2112 deletions(-) create mode 100644 schemas/2018-02-02/Microsoft.Migrate.json create 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 create mode 100644 schemas/2020-05-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 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 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/2020-05-01/Microsoft.Migrate.json b/schemas/2020-05-01/Microsoft.Migrate.json new file mode 100644 index 0000000000..22a8f94955 --- /dev/null +++ b/schemas/2020-05-01/Microsoft.Migrate.json @@ -0,0 +1,231 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-05-01/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": [ + "2020-05-01" + ] + }, + "eTag": { + "type": "string", + "description": "For optimistic concurrency control." + }, + "location": { + "type": "string", + "description": "Azure location in which project is created." + }, + "name": { + "type": "string", + "description": "Migrate project name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a migrate project." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/migrateProjects_privateEndpointConnections_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects" + }, + "migrateProjects_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-01" + ] + }, + "eTag": { + "type": "string", + "description": "Gets the tag for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Private endpoint connection name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionStateRequestBodyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of Connection state request." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" + } + }, + "definitions": { + "ConnectionStateRequestBodyProperties": { + "type": "object", + "properties": { + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint connection state." + } + }, + "description": "Properties of Connection state request." + }, + "MigrateProjectProperties": { + "type": "object", + "properties": { + "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 state of public network access." + }, + "serviceEndpoint": { + "type": "string", + "description": "Service endpoint." + }, + "utilityStorageAccountId": { + "type": "string", + "description": "Utility storage account id." + } + }, + "description": "Properties of a migrate project." + }, + "migrateProjects_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-01" + ] + }, + "eTag": { + "type": "string", + "description": "Gets the tag for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Private endpoint connection name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionStateRequestBodyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of Connection state request." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "Action required." + }, + "description": { + "type": "string", + "description": "Description of the object." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private link connection state." + } + }, + "description": "Private endpoint connection state." + } + } +} \ 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 a9125582d1..26b87bf340 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7016,16 +7016,49 @@ "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Maps.json#/resourceDefinitions/accounts_creators" }, { - "$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" }, { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups" }, { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/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/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$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" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" + }, + { + "$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/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_privateEndpointConnections" }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" From 44a02eee1b096dca19faaa18867ca60bb53f5aae Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 8 Sep 2021 10:28:33 +0000 Subject: [PATCH 164/243] Update resource list --- generator/resources.json | 47 +++++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 6 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 6611e37a16..508c3d89c0 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3983,13 +3983,48 @@ "Microsoft.Media/mediaServices/transforms/jobs": [ "2018-07-01" ], - "Microsoft.Migrate/moveCollections": [ - "2019-10-01-preview", - "2021-01-01" + "Microsoft.Migrate/assessmentProjects": [ + "2019-10-01" ], - "Microsoft.Migrate/moveCollections/moveResources": [ - "2019-10-01-preview", - "2021-01-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", + "2020-05-01" + ], + "Microsoft.Migrate/migrateProjects/privateEndpointConnections": [ + "2020-05-01" + ], + "Microsoft.Migrate/migrateProjects/solutions": [ + "2018-09-01-preview" + ], + "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 d2c1baffea39247316f8ecfedc328e8945794a91 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 8 Sep 2021 13:48:35 +0000 Subject: [PATCH 165/243] Autogenerate schemas --- .../Microsoft.Authorization.Resources.json | 225 +++ schemas/2018-02-02/Microsoft.Migrate.json | 599 -------- .../subscriptionDeploymentTemplate.json | 6 + .../2018-09-01-preview/Microsoft.Migrate.json | 517 ------- .../Microsoft.SecurityInsights.json | 1 - .../2019-10-01-preview/Microsoft.Migrate.json | 1054 ++++++++++++++ schemas/2019-10-01/Microsoft.Migrate.json | 1260 ----------------- .../Microsoft.Authorization.Resources.json | 218 ++- schemas/2020-05-01/Microsoft.Migrate.json | 231 --- schemas/2021-01-01/Microsoft.Migrate.json | 1054 ++++++++++++++ schemas/common/autogeneratedResources.json | 47 +- 11 files changed, 2566 insertions(+), 2646 deletions(-) create mode 100644 schemas/2017-04-01/Microsoft.Authorization.Resources.json delete mode 100644 schemas/2018-02-02/Microsoft.Migrate.json delete 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 delete mode 100644 schemas/2020-05-01/Microsoft.Migrate.json create mode 100644 schemas/2021-01-01/Microsoft.Migrate.json diff --git a/schemas/2017-04-01/Microsoft.Authorization.Resources.json b/schemas/2017-04-01/Microsoft.Authorization.Resources.json new file mode 100644 index 0000000000..42defb9341 --- /dev/null +++ b/schemas/2017-04-01/Microsoft.Authorization.Resources.json @@ -0,0 +1,225 @@ +{ + "id": "https://schema.management.azure.com/schemas/2017-04-01/Microsoft.Authorization.Resources.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Authorization", + "description": "Microsoft Authorization Resource Types", + "resourceDefinitions": { + "locks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-01" + ] + }, + "name": { + "type": "string", + "description": "The lock name. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \\, ?, /, or any control characters." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagementLockProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The lock properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Authorization/locks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Authorization/locks" + } + }, + "subscription_resourceDefinitions": { + "locks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-01" + ] + }, + "name": { + "type": "string", + "description": "The name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \\, ?, /, or any control characters." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagementLockProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The lock properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Authorization/locks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Authorization/locks" + } + }, + "extension_resourceDefinitions": { + "locks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-01" + ] + }, + "name": { + "type": "string", + "description": "The name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \\, ?, /, or any control characters." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagementLockProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The lock properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Authorization/locks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Authorization/locks" + } + }, + "unknown_resourceDefinitions": { + "locks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2017-04-01" + ] + }, + "name": { + "type": "string", + "description": "The name of lock." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagementLockProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The lock properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Authorization/locks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Authorization/locks" + } + }, + "definitions": { + "ManagementLockOwner": { + "type": "object", + "properties": { + "applicationId": { + "type": "string", + "description": "The application ID of the lock owner." + } + }, + "description": "Lock owner properties." + }, + "ManagementLockProperties": { + "type": "object", + "properties": { + "level": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "CanNotDelete", + "ReadOnly" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it." + }, + "notes": { + "type": "string", + "description": "Notes about the lock. Maximum of 512 characters." + }, + "owners": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ManagementLockOwner" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The owners of the lock." + } + }, + "required": [ + "level" + ], + "description": "The lock properties." + } + } +} \ No newline at end of file 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-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index edabba2e6f..d1a1a132cc 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -602,6 +602,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-04-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/locks" + }, { "$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/policySetDefinitions" }, @@ -662,6 +665,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Authorization.Resources.json#/subscription_resourceDefinitions/locks" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyExemptions" }, 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-01-01-preview/Microsoft.SecurityInsights.json b/schemas/2019-01-01-preview/Microsoft.SecurityInsights.json index 2bd43047cc..7b756df676 100644 --- a/schemas/2019-01-01-preview/Microsoft.SecurityInsights.json +++ b/schemas/2019-01-01-preview/Microsoft.SecurityInsights.json @@ -2351,7 +2351,6 @@ { "type": "string", "enum": [ - "Critical", "High", "Medium", "Low", 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-05-01/Microsoft.Authorization.Resources.json b/schemas/2020-05-01/Microsoft.Authorization.Resources.json index f098871373..0f089817f0 100644 --- a/schemas/2020-05-01/Microsoft.Authorization.Resources.json +++ b/schemas/2020-05-01/Microsoft.Authorization.Resources.json @@ -4,6 +4,45 @@ "title": "Microsoft.Authorization", "description": "Microsoft Authorization Resource Types", "resourceDefinitions": { + "locks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-01" + ] + }, + "name": { + "type": "string", + "description": "The lock name. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \\, ?, /, or any control characters." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagementLockProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The lock properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Authorization/locks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Authorization/locks" + }, "resourceManagementPrivateLinks": { "type": "object", "properties": { @@ -36,6 +75,47 @@ "description": "Microsoft.Authorization/resourceManagementPrivateLinks" } }, + "subscription_resourceDefinitions": { + "locks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-01" + ] + }, + "name": { + "type": "string", + "description": "The name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \\, ?, /, or any control characters." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagementLockProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The lock properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Authorization/locks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Authorization/locks" + } + }, "managementGroup_resourceDefinitions": { "privateLinkAssociations": { "type": "object", @@ -83,5 +163,141 @@ "description": "Microsoft.Authorization/privateLinkAssociations" } }, - "definitions": {} + "extension_resourceDefinitions": { + "locks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-01" + ] + }, + "name": { + "type": "string", + "description": "The name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \\, ?, /, or any control characters." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagementLockProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The lock properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Authorization/locks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Authorization/locks" + } + }, + "unknown_resourceDefinitions": { + "locks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-01" + ] + }, + "name": { + "type": "string", + "description": "The name of lock." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagementLockProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The lock properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Authorization/locks" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Authorization/locks" + } + }, + "definitions": { + "ManagementLockOwner": { + "type": "object", + "properties": { + "applicationId": { + "type": "string", + "description": "The application ID of the lock owner." + } + }, + "description": "Lock owner properties." + }, + "ManagementLockProperties": { + "type": "object", + "properties": { + "level": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "CanNotDelete", + "ReadOnly" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it." + }, + "notes": { + "type": "string", + "description": "Notes about the lock. Maximum of 512 characters." + }, + "owners": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ManagementLockOwner" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The owners of the lock." + } + }, + "required": [ + "level" + ], + "description": "The lock properties." + } + } } \ No newline at end of file diff --git a/schemas/2020-05-01/Microsoft.Migrate.json b/schemas/2020-05-01/Microsoft.Migrate.json deleted file mode 100644 index 22a8f94955..0000000000 --- a/schemas/2020-05-01/Microsoft.Migrate.json +++ /dev/null @@ -1,231 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-05-01/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": [ - "2020-05-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "location": { - "type": "string", - "description": "Azure location in which project is created." - }, - "name": { - "type": "string", - "description": "Migrate project name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a migrate project." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/migrateProjects_privateEndpointConnections_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects" - }, - "migrateProjects_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-01" - ] - }, - "eTag": { - "type": "string", - "description": "Gets the tag for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Private endpoint connection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionStateRequestBodyProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Connection state request." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" - } - }, - "definitions": { - "ConnectionStateRequestBodyProperties": { - "type": "object", - "properties": { - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection state." - } - }, - "description": "Properties of Connection state request." - }, - "MigrateProjectProperties": { - "type": "object", - "properties": { - "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 state of public network access." - }, - "serviceEndpoint": { - "type": "string", - "description": "Service endpoint." - }, - "utilityStorageAccountId": { - "type": "string", - "description": "Utility storage account id." - } - }, - "description": "Properties of a migrate project." - }, - "migrateProjects_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-01" - ] - }, - "eTag": { - "type": "string", - "description": "Gets the tag for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Private endpoint connection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionStateRequestBodyProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Connection state request." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "Action required." - }, - "description": { - "type": "string", - "description": "Description of the object." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Approved", - "Pending", - "Rejected", - "Disconnected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private link connection state." - } - }, - "description": "Private endpoint connection state." - } - } -} \ 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 26b87bf340..c0668d534c 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -1564,6 +1564,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2016-12-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2017-04-01/Microsoft.Authorization.Resources.json#/resourceDefinitions/locks" + }, { "$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" }, @@ -1585,6 +1588,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.Authorization.Resources.json#/unknown_resourceDefinitions/policyAssignments" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Authorization.Resources.json#/resourceDefinitions/locks" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Authorization.Resources.json#/resourceDefinitions/resourceManagementPrivateLinks" }, @@ -7016,49 +7022,16 @@ "$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-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups" - }, - { - "$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" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" - }, - { - "$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-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" }, { - "$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_moveResources" }, { - "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" }, { - "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_privateEndpointConnections" + "$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 db09ecd8b64f9c4e941da158d0dc55da9466e870 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 8 Sep 2021 13:48:48 +0000 Subject: [PATCH 166/243] Update resource list --- generator/resources.json | 53 +++++++++------------------------------- 1 file changed, 11 insertions(+), 42 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 508c3d89c0..5d1154c19e 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -746,7 +746,11 @@ "2015-01-01", "2015-01-01", "2016-09-01", - "2016-09-01" + "2016-09-01", + "2017-04-01", + "2017-04-01", + "2020-05-01", + "2020-05-01" ], "Microsoft.Authorization/policyExemptions": [ "2020-07-01-preview" @@ -3983,48 +3987,13 @@ "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", - "2020-05-01" - ], - "Microsoft.Migrate/migrateProjects/privateEndpointConnections": [ - "2020-05-01" - ], - "Microsoft.Migrate/migrateProjects/solutions": [ - "2018-09-01-preview" - ], - "Microsoft.Migrate/projects": [ - "2018-02-02" - ], - "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" From e335445e92e40320f94fac3f88cc8c5d56ea1049 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 9 Sep 2021 02:47:35 +0000 Subject: [PATCH 167/243] CodeGen from PR 15954 in Azure/azure-rest-api-specs Merge Dev-containerservice-microsoft.containerservice-2021-08-01 branch to main (#15954) * Adds base for updating Microsoft.ContainerService from version stable/2021-07-01 to version 2021-08-01 * Updates readme * Updates API version in new specs and examples * add publicNetworkAccess property per network platform's request (#15489) * add publicNetworkAccess per network platform's request * fix quota Co-authored-by: Li Ma * update readme for 2021-08-01 sdk generation (#15476) * update readme for sdk generation * update readme for sdk generation Co-authored-by: Charlie Li * allow disabling of runcommand (#15481) * allow disabling of runcommand * rename file * another rename * fix prittier check * fix stupid prettier check * change publicNetworkAccess to enum (#15564) Co-authored-by: Li Ma * Add CreationData property to Agentpool level in 2021-08-01 API (#15563) * Add CreationData property to Agentpool level in 2021-08-01 API * fix json format * fix swagger spell check Co-authored-by: Charlie Li * chore: add enableMultipleStandardLoadBalancers to loadBalancerProfile (#15579) * Add snapshot related new APIs and properties to AKS 2021-08-01 swagger (#15586) * Add CreationData property to Agentpool level in 2021-08-01 API * Add snapshot related APIs and properties to AKS 2021-08-01 swagger * fix lint and spell checks * fix lint and spell checks * fix PrettierCheck * Change some Nodepool to NodePool * some changes according to ARM team's review comments Co-authored-by: Charlie Li * fix tag typo to match tag convention (#15683) * add workload runtime to agent pool api (#15726) * add workload runtime to agent pool api * reference example * add custom words * fix: workload runtime description (#15782) * fix: workload runtime description * add wasmtime to custom words * clarify single workload type per node Co-authored-by: Matthew Christopher Co-authored-by: Matthew Christopher * fix typo in readme.python.md (#15903) * Add CreationData property to Agentpool level in 2021-08-01 API * fix typos in readme.python.md Co-authored-by: Charlie Li * merge recent custom-words.txt changes from main branch to resolve conflicts (#15938) * Add CreationData property to Agentpool level in 2021-08-01 API * merge recent custom-words.txt changes from main branch to resolve conflicts Co-authored-by: Charlie Li * pull custom-words.txt from main * add a new word - NodePool * add two more words Co-authored-by: Super Co-authored-by: Li Ma Co-authored-by: Charlie Li Co-authored-by: Haitao Chen Co-authored-by: Qi Ni Co-authored-by: Ariel Silverman Co-authored-by: Ace Eldeib Co-authored-by: Matthew Christopher --- .../Microsoft.ContainerService.json | 3316 +++++++++++++++++ schemas/common/autogeneratedResources.json | 15 + 2 files changed, 3331 insertions(+) create mode 100644 schemas/2021-08-01/Microsoft.ContainerService.json diff --git a/schemas/2021-08-01/Microsoft.ContainerService.json b/schemas/2021-08-01/Microsoft.ContainerService.json new file mode 100644 index 0000000000..ec17d0587d --- /dev/null +++ b/schemas/2021-08-01/Microsoft.ContainerService.json @@ -0,0 +1,3316 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-08-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-08-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-08-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-08-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-08-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" + }, + "snapshots": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "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/SnapshotProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties used to configure a node pool snapshot." + }, + "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/snapshots" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerService/snapshots" + } + }, + "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." + }, + "CreationData": { + "type": "object", + "properties": { + "sourceResourceId": { + "type": "string", + "description": "This is the ARM ID of the source object to be used to create the target object." + } + }, + "description": "Data used when creating a target resource from a source resource." + }, + "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." + }, + "creationData": { + "oneOf": [ + { + "$ref": "#/definitions/CreationData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data used when creating a target resource from a source resource." + }, + "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}" + }, + "workloadRuntime": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OCIContainer", + "WasmWasi" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "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." + }, + "creationData": { + "oneOf": [ + { + "$ref": "#/definitions/CreationData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data used when creating a target resource from a source resource." + }, + "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}" + }, + "workloadRuntime": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OCIContainer", + "WasmWasi" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "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)." + }, + "disableRunCommand": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to disable run command for the cluster or not." + }, + "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." + }, + "enableMultipleStandardLoadBalancers": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable multiple standard load balancers per AKS cluster or not." + }, + "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." + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Default value is 'Enabled' (case insensitive). Could be set to 'Disabled' to enable private 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-08-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-08-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-08-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." + }, + "SnapshotProperties": { + "type": "object", + "properties": { + "creationData": { + "oneOf": [ + { + "$ref": "#/definitions/CreationData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data used when creating a target resource from a source resource." + }, + "snapshotType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NodePool" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Properties used to configure a node pool snapshot." + }, + "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 476bb303ae..27e724ea74 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -3019,6 +3019,21 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.ContainerService.json#/resourceDefinitions/managedClusters_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ContainerService.json#/resourceDefinitions/managedClusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ContainerService.json#/resourceDefinitions/managedClusters_agentPools" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ContainerService.json#/resourceDefinitions/managedClusters_maintenanceConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ContainerService.json#/resourceDefinitions/managedClusters_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.ContainerService.json#/resourceDefinitions/snapshots" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.CustomProviders.json#/resourceDefinitions/resourceProviders" }, From 4b028c3ac51a8c9ff681d0e6fc432941b8040735 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 9 Sep 2021 03:16:20 +0000 Subject: [PATCH 168/243] CodeGen from PR 14817 in Azure/azure-rest-api-specs [CosmosDB] Adding apiVersion 2021-07-01-preview (#14817) * Create new folder for 2021-07-01-preview api * Adding view operations * change api version from stable 2021-06-15 to preview 2021-07-01 * Merging previous stable +preview version changes * prettier fix * Avocado fix * ModelValidation fix * resolve conflict * Update readme.md * Fixing lint diff error * fix error * Fixing the lint errors due to changes in the stable version * Fixing refs * Fix lintdiff * test commit * initial changes for GraphResources * some fixes * CI fixes * nit * nit * revert a not required change * add 200 response code for delete operation * Fix RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE * services apis * renaming graphapicompute endpoint * swagger changes for DiagnosticLogSettings * prettier and ModelValidatin changes * nit * removing throughput operations * update readmes * address arm comments * address comments Co-authored-by: Kalyan Khandrika Co-authored-by: Meha Kaushik Co-authored-by: Sahithya Mahanandi --- .../Microsoft.DocumentDB.json | 7080 +++++++++++++++++ schemas/common/autogeneratedResources.json | 96 + 2 files changed, 7176 insertions(+) create mode 100644 schemas/2021-07-01-preview/Microsoft.DocumentDB.json diff --git a/schemas/2021-07-01-preview/Microsoft.DocumentDB.json b/schemas/2021-07-01-preview/Microsoft.DocumentDB.json new file mode 100644 index 0000000000..b97dcd6f72 --- /dev/null +++ b/schemas/2021-07-01-preview/Microsoft.DocumentDB.json @@ -0,0 +1,7080 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.DocumentDB", + "description": "Microsoft DocumentDB Resource Types", + "resourceDefinitions": { + "cassandraClusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", + "minLength": 1, + "maxLength": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed Cassandra cluster name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a managed Cassandra cluster." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/cassandraClusters_dataCenters_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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/cassandraClusters" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/cassandraClusters" + }, + "cassandraClusters_dataCenters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", + "minLength": 1, + "maxLength": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data center name in a managed Cassandra cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DataCenterResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a managed Cassandra data center." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/cassandraClusters/dataCenters" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/cassandraClusters/dataCenters" + }, + "databaseAccounts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "GlobalDocumentDB", + "MongoDB", + "Parse" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the type of database account. This can only be set at database account creation." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-z0-9]+(-[a-z0-9]+)*", + "minLength": 3, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB database account name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DatabaseAccountCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB database accounts." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_graphs_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_sqlDatabases_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_sqlRoleDefinitions_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_sqlRoleAssignments_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_mongodbDatabases_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_tables_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_gremlinDatabases_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_notebookWorkspaces_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_services_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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts" + }, + "databaseAccounts_cassandraKeyspaces": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB keyspace name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_throughputSettings_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_views_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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" + }, + "databaseAccounts_cassandraKeyspaces_tables": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB table name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraTableCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Cassandra table." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings_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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" + }, + "databaseAccounts_cassandraKeyspaces_tables_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" + }, + "databaseAccounts_cassandraKeyspaces_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" + }, + "databaseAccounts_cassandraKeyspaces_views": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB view name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraViewCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Cassandra view." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_cassandraKeyspaces_views_throughputSettings_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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views" + }, + "databaseAccounts_cassandraKeyspaces_views_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views/throughputSettings" + }, + "databaseAccounts_graphs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB graph resource name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GraphResourceCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Graph resource." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/graphs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/graphs" + }, + "databaseAccounts_gremlinDatabases": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB database name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Gremlin database." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_gremlinDatabases_throughputSettings_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" + }, + "databaseAccounts_gremlinDatabases_graphs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB graph name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Gremlin graph." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings_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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" + }, + "databaseAccounts_gremlinDatabases_graphs_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" + }, + "databaseAccounts_gremlinDatabases_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" + }, + "databaseAccounts_mongodbDatabases": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB database name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB MongoDB database." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_mongodbDatabases_throughputSettings_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" + }, + "databaseAccounts_mongodbDatabases_collections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB collection name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB MongoDB collection." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_mongodbDatabases_collections_throughputSettings_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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" + }, + "databaseAccounts_mongodbDatabases_collections_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" + }, + "databaseAccounts_mongodbDatabases_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" + }, + "databaseAccounts_notebookWorkspaces": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the notebook workspace resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" + }, + "databaseAccounts_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "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.DocumentDB/databaseAccounts/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections" + }, + "databaseAccounts_services": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 50, + "description": "Cosmos DB service name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ServiceResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Services response resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/services" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/services" + }, + "databaseAccounts_sqlDatabases": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB database name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB SQL database." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_sqlDatabases_throughputSettings_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" + }, + "databaseAccounts_sqlDatabases_containers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB container name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlContainerCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB container." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_throughputSettings_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_storedProcedures_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource" + }, + { + "$ref": "#/definitions/databaseAccounts_sqlDatabases_containers_triggers_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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" + }, + "databaseAccounts_sqlDatabases_containers_storedProcedures": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB storedProcedure name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB storedProcedure." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" + }, + "databaseAccounts_sqlDatabases_containers_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" + }, + "databaseAccounts_sqlDatabases_containers_triggers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB trigger name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB trigger." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" + }, + "databaseAccounts_sqlDatabases_containers_userDefinedFunctions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB userDefinedFunction name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" + }, + "databaseAccounts_sqlDatabases_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" + }, + "databaseAccounts_sqlRoleAssignments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The GUID for the Role Assignment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlRoleAssignmentResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Cosmos DB SQL Role Assignment resource object." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" + }, + "databaseAccounts_sqlRoleDefinitions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The GUID for the Role Definition." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlRoleDefinitionResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Cosmos DB SQL Role Definition resource object." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" + }, + "databaseAccounts_tables": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB table name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TableCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Table." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/databaseAccounts_tables_throughputSettings_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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/tables" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/tables" + }, + "databaseAccounts_tables_throughputSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" + } + }, + "definitions": { + "AnalyticalStorageConfiguration": { + "type": "object", + "properties": { + "schemaType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "WellDefined", + "FullFidelity" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Analytical storage specific properties." + }, + "ApiProperties": { + "type": "object", + "properties": { + "serverVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "3.2", + "3.6", + "4.0" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the ServerVersion of an a MongoDB account." + } + } + }, + "AutoscaleSettings": { + "type": "object", + "properties": { + "maxThroughput": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents maximum throughput, the resource can scale up to." + } + } + }, + "AutoscaleSettingsResource": { + "type": "object", + "properties": { + "autoUpgradePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/AutoUpgradePolicyResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB resource auto-upgrade policy" + }, + "maxThroughput": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents maximum throughput container can scale up to." + } + }, + "required": [ + "maxThroughput" + ], + "description": "Cosmos DB provisioned throughput settings object" + }, + "AutoUpgradePolicyResource": { + "type": "object", + "properties": { + "throughputPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputPolicyResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB resource throughput policy" + } + }, + "description": "Cosmos DB resource auto-upgrade policy" + }, + "BackupPolicy": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/PeriodicModeBackupPolicy" + }, + { + "$ref": "#/definitions/ContinuousModeBackupPolicy" + } + ], + "properties": { + "migrationState": { + "oneOf": [ + { + "$ref": "#/definitions/BackupPolicyMigrationState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The object representing the state of the migration between the backup policies." + } + }, + "description": "The object representing the policy for taking backups on an account." + }, + "BackupPolicyMigrationState": { + "type": "object", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "Time at which the backup policy migration started (ISO-8601 format)." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "InProgress", + "Completed", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the status of migration between backup policy types." + }, + "targetType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Periodic", + "Continuous" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the target backup policy type of the backup policy migration." + } + }, + "description": "The object representing the state of the migration between the backup policies." + }, + "Capability": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the Cosmos DB capability. For example, \"name\": \"EnableCassandra\". Current values also include \"EnableTable\" and \"EnableGremlin\"." + } + }, + "description": "Cosmos DB capability object" + }, + "cassandraClusters_dataCenters_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$", + "minLength": 1, + "maxLength": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data center name in a managed Cassandra cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DataCenterResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a managed Cassandra data center." + }, + "type": { + "type": "string", + "enum": [ + "dataCenters" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/cassandraClusters/dataCenters" + }, + "CassandraKeyspaceCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraKeyspaceResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB Cassandra keyspace resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." + }, + "CassandraKeyspaceResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Name of the Cosmos DB Cassandra keyspace" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB Cassandra keyspace resource object" + }, + "CassandraPartitionKey": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the Cosmos DB Cassandra table partition key" + } + }, + "description": "Cosmos DB Cassandra table partition key" + }, + "CassandraSchema": { + "type": "object", + "properties": { + "clusterKeys": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ClusterKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of cluster key." + }, + "columns": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Column" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Cassandra table columns." + }, + "partitionKeys": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/CassandraPartitionKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of partition key." + } + }, + "description": "Cosmos DB Cassandra table schema" + }, + "CassandraTableCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraTableResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB Cassandra table resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB Cassandra table." + }, + "CassandraTableResource": { + "type": "object", + "properties": { + "analyticalStorageTtl": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Analytical TTL." + }, + "defaultTtl": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Time to live of the Cosmos DB Cassandra table" + }, + "id": { + "type": "string", + "description": "Name of the Cosmos DB Cassandra table" + }, + "schema": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraSchema" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB Cassandra table schema" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB Cassandra table resource object" + }, + "CassandraViewCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraViewResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB Cassandra view resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB Cassandra view." + }, + "CassandraViewResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Name of the Cosmos DB Cassandra view" + }, + "viewDefinition": { + "type": "string", + "description": "View Definition of the Cosmos DB Cassandra view" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB Cassandra view resource object" + }, + "Certificate": { + "type": "object", + "properties": { + "pem": { + "type": "string", + "description": "PEM formatted public key." + } + } + }, + "ClusterKey": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the Cosmos DB Cassandra table cluster key" + }, + "orderBy": { + "type": "string", + "description": "Order of the Cosmos DB Cassandra table cluster key, only support \"Asc\" and \"Desc\"" + } + }, + "description": "Cosmos DB Cassandra table cluster key" + }, + "ClusterResourceProperties": { + "type": "object", + "properties": { + "authenticationMethod": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Cassandra" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'." + }, + "cassandraVersion": { + "type": "string", + "description": "Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version." + }, + "clientCertificates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Certificate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property." + }, + "clusterNameOverride": { + "type": "string", + "description": "If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property." + }, + "delegatedManagementSubnetId": { + "type": "string", + "description": "Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'" + }, + "externalGossipCertificates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Certificate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property." + }, + "externalSeedNodes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SeedNode" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes." + }, + "hoursBetweenBackups": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of hours to wait between taking a backup of the cluster. To disable backups, set this property to 0." + }, + "initialCassandraAdminPassword": { + "type": "string", + "description": "Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'." + }, + "prometheusEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/SeedNode" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "repairEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs." + }, + "restoreFromBackupId": { + "type": "string", + "description": "To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup." + } + }, + "description": "Properties of a managed Cassandra cluster." + }, + "Column": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the Cosmos DB Cassandra table column" + }, + "type": { + "type": "string", + "description": "Type of the Cosmos DB Cassandra table column" + } + }, + "description": "Cosmos DB Cassandra table column" + }, + "Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties": { + "type": "object", + "properties": {} + }, + "CompositePath": { + "type": "object", + "properties": { + "order": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ascending", + "descending" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sort order for composite paths." + }, + "path": { + "type": "string", + "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" + } + } + }, + "ConflictResolutionPolicy": { + "type": "object", + "properties": { + "conflictResolutionPath": { + "type": "string", + "description": "The conflict resolution path in the case of LastWriterWins mode." + }, + "conflictResolutionProcedure": { + "type": "string", + "description": "The procedure to resolve conflicts in the case of custom mode." + }, + "mode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "LastWriterWins", + "Custom" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the conflict resolution mode." + } + }, + "description": "The conflict resolution policy for the container." + }, + "ConsistencyPolicy": { + "type": "object", + "properties": { + "defaultConsistencyLevel": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Eventual", + "Session", + "BoundedStaleness", + "Strong", + "ConsistentPrefix" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The default consistency level and configuration settings of the Cosmos DB account." + }, + "maxIntervalInSeconds": { + "oneOf": [ + { + "type": "integer", + "minimum": 5, + "maximum": 86400 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." + }, + "maxStalenessPrefix": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 2147483647 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 – 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'." + } + }, + "required": [ + "defaultConsistencyLevel" + ], + "description": "The consistency policy for the Cosmos DB database account." + }, + "ContainerPartitionKey": { + "type": "object", + "properties": { + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Hash", + "Range", + "MultiHash" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create." + }, + "paths": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of paths using which data within the container can be partitioned" + }, + "version": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 2 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the version of the partition key definition" + } + }, + "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" + }, + "ContinuousModeBackupPolicy": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "Continuous" + ] + } + }, + "required": [ + "type" + ], + "description": "The object representing continuous mode backup policy." + }, + "CorsPolicy": { + "type": "object", + "properties": { + "allowedHeaders": { + "type": "string", + "description": "The request headers that the origin domain may specify on the CORS request." + }, + "allowedMethods": { + "type": "string", + "description": "The methods (HTTP request verbs) that the origin domain may use for a CORS request." + }, + "allowedOrigins": { + "type": "string", + "description": "The origin domains that are permitted to make a request against the service via CORS." + }, + "exposedHeaders": { + "type": "string", + "description": "The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer." + }, + "maxAgeInSeconds": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 2147483647 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum amount time that a browser should cache the preflight OPTIONS request." + } + }, + "required": [ + "allowedOrigins" + ], + "description": "The CORS policy for the Cosmos DB database account." + }, + "CreateUpdateOptions": { + "type": "object", + "properties": { + "autoscaleSettings": { + "oneOf": [ + { + "$ref": "#/definitions/AutoscaleSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "throughput": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Request Units per second. For example, \"throughput\": 10000." + } + }, + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "DatabaseAccountCreateUpdateProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/DefaultRequestDatabaseAccountCreateUpdateProperties" + } + ], + "properties": { + "analyticalStorageConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/AnalyticalStorageConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Analytical storage specific properties." + }, + "apiProperties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "backupPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/BackupPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The object representing the policy for taking backups on an account." + }, + "capabilities": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Capability" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Cosmos DB capabilities for the account" + }, + "connectorOffer": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Small" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cassandra connector offer type for the Cosmos DB database C* account." + }, + "consistencyPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ConsistencyPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The consistency policy for the Cosmos DB database account." + }, + "cors": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/CorsPolicy" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The CORS policy for the Cosmos DB database account." + }, + "databaseAccountOfferType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The offer type for the database" + }, + "defaultIdentity": { + "type": "string", + "description": "The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be \"FirstPartyIdentity\", \"SystemAssignedIdentity\" and more." + }, + "diagnosticLogSettings": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticLogSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates what diagnostic log settings are to be enabled." + }, + "disableKeyBasedMetadataWriteAccess": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Disable write operations on metadata resources (databases, containers, throughput) via account keys" + }, + "disableLocalAuth": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication." + }, + "enableAnalyticalStorage": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether to enable storage analytics." + }, + "enableAutomaticFailover": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account." + }, + "enableCassandraConnector": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables the cassandra connector on the Cosmos DB C* account" + }, + "enableFreeTier": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether Free Tier is enabled." + }, + "enableMultipleWriteLocations": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enables the account to write in multiple locations" + }, + "ipRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IpAddressOrRange" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Array of IpAddressOrRange objects." + }, + "isVirtualNetworkFilterEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether to enable/disable Virtual Network ACL rules." + }, + "keyVaultKeyUri": { + "type": "string", + "description": "The URI of the key vault" + }, + "locations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Location" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array that contains the georeplication locations enabled for the Cosmos DB account." + }, + "networkAclBypass": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "AzureServices" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates what services are allowed to bypass firewall checks." + }, + "networkAclBypassResourceIds": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account." + }, + "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." + }, + "restoreParameters": { + "oneOf": [ + { + "$ref": "#/definitions/RestoreParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters to indicate the information about the restore." + }, + "virtualNetworkRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Virtual Network ACL rules configured for the Cosmos DB account." + } + }, + "required": [ + "databaseAccountOfferType", + "locations" + ], + "description": "Properties to create and update Azure Cosmos DB database accounts." + }, + "databaseAccounts_cassandraKeyspaces_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB keyspace name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraKeyspaceCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Cassandra keyspace." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "cassandraKeyspaces" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces" + }, + "databaseAccounts_cassandraKeyspaces_tables_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB table name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraTableCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Cassandra table." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "tables" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables" + }, + "databaseAccounts_cassandraKeyspaces_tables_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings" + }, + "databaseAccounts_cassandraKeyspaces_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings" + }, + "databaseAccounts_cassandraKeyspaces_views_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB view name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CassandraViewCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Cassandra view." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "views" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views" + }, + "databaseAccounts_cassandraKeyspaces_views_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views/throughputSettings" + }, + "databaseAccounts_graphs_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB graph resource name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GraphResourceCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Graph resource." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "graphs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/graphs" + }, + "databaseAccounts_gremlinDatabases_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB database name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GremlinDatabaseCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Gremlin database." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "gremlinDatabases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases" + }, + "databaseAccounts_gremlinDatabases_graphs_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB graph name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GremlinGraphCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Gremlin graph." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "graphs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs" + }, + "databaseAccounts_gremlinDatabases_graphs_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings" + }, + "databaseAccounts_gremlinDatabases_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings" + }, + "databaseAccounts_mongodbDatabases_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB database name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDBDatabaseCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB MongoDB database." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "mongodbDatabases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases" + }, + "databaseAccounts_mongodbDatabases_collections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB collection name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDBCollectionCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB MongoDB collection." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "collections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections" + }, + "databaseAccounts_mongodbDatabases_collections_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings" + }, + "databaseAccounts_mongodbDatabases_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings" + }, + "databaseAccounts_notebookWorkspaces_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the notebook workspace resource." + }, + "type": { + "type": "string", + "enum": [ + "notebookWorkspaces" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces" + }, + "databaseAccounts_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "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.DocumentDB/databaseAccounts/privateEndpointConnections" + }, + "databaseAccounts_services_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 50, + "description": "Cosmos DB service name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ServiceResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Services response resource." + }, + "type": { + "type": "string", + "enum": [ + "services" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/services" + }, + "databaseAccounts_sqlDatabases_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB database name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlDatabaseCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB SQL database." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "sqlDatabases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases" + }, + "databaseAccounts_sqlDatabases_containers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB container name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlContainerCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB container." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "containers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers" + }, + "databaseAccounts_sqlDatabases_containers_storedProcedures_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB storedProcedure name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlStoredProcedureCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB storedProcedure." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "storedProcedures" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures" + }, + "databaseAccounts_sqlDatabases_containers_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings" + }, + "databaseAccounts_sqlDatabases_containers_triggers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB trigger name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlTriggerCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB trigger." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "triggers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers" + }, + "databaseAccounts_sqlDatabases_containers_userDefinedFunctions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB userDefinedFunction name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlUserDefinedFunctionCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "userDefinedFunctions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions" + }, + "databaseAccounts_sqlDatabases_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings" + }, + "databaseAccounts_sqlRoleAssignments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The GUID for the Role Assignment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlRoleAssignmentResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Cosmos DB SQL Role Assignment resource object." + }, + "type": { + "type": "string", + "enum": [ + "sqlRoleAssignments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments" + }, + "databaseAccounts_sqlRoleDefinitions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The GUID for the Role Definition." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlRoleDefinitionResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure Cosmos DB SQL Role Definition resource object." + }, + "type": { + "type": "string", + "enum": [ + "sqlRoleDefinitions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions" + }, + "databaseAccounts_tables_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "description": "Cosmos DB table name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TableCreateUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to create and update Azure Cosmos DB Table." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "tables" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/tables" + }, + "databaseAccounts_tables_throughputSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The location of the resource group to which the resource belongs." + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "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. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\"." + }, + "type": { + "type": "string", + "enum": [ + "throughputSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings" + }, + "DatabaseRestoreResource": { + "type": "object", + "properties": { + "collectionNames": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The names of the collections available for restore." + }, + "databaseName": { + "type": "string", + "description": "The name of the database available for restore." + } + }, + "description": "Specific Databases to restore." + }, + "DataCenterResourceProperties": { + "type": "object", + "properties": { + "base64EncodedCassandraYamlFragment": { + "type": "string", + "description": "A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed." + }, + "dataCenterLocation": { + "type": "string", + "description": "The region this data center should be created in." + }, + "delegatedSubnetId": { + "type": "string", + "description": "Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'." + }, + "nodeCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Properties of a managed Cassandra data center." + }, + "DataTransferServiceResourceProperties": { + "type": "object", + "properties": { + "serviceType": { + "type": "string", + "enum": [ + "DataTransferServiceResourceProperties" + ] + } + }, + "required": [ + "serviceType" + ], + "description": "Properties for DataTransferServiceResource." + }, + "DefaultRequestDatabaseAccountCreateUpdateProperties": { + "type": "object", + "properties": { + "createMode": { + "type": "string", + "enum": [ + "Default" + ] + } + }, + "required": [ + "createMode" + ], + "description": "Properties for non-restore Azure Cosmos DB database account requests." + }, + "DiagnosticLogSettings": { + "type": "object", + "properties": { + "enableFullTextQuery": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "True", + "False" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describe the level of detail with which queries are to be logged." + } + }, + "description": "Indicates what diagnostic log settings are to be enabled." + }, + "ExcludedPath": { + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" + } + } + }, + "GraphAPIComputeServiceResourceProperties": { + "type": "object", + "properties": { + "graphApiComputeEndpoint": { + "type": "string", + "description": "GraphAPICompute endpoint for the service." + }, + "serviceType": { + "type": "string", + "enum": [ + "GraphAPIComputeServiceResourceProperties" + ] + } + }, + "required": [ + "serviceType" + ], + "description": "Properties for GraphAPIComputeServiceResource." + }, + "GraphResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Name of the Cosmos DB Graph" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB Graph resource object" + }, + "GraphResourceCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/GraphResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB Graph resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB Graph resource." + }, + "GremlinDatabaseCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/GremlinDatabaseResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB Gremlin database resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB Gremlin database." + }, + "GremlinDatabaseResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Name of the Cosmos DB Gremlin database" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB Gremlin database resource object" + }, + "GremlinGraphCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/GremlinGraphResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB Gremlin graph resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB Gremlin graph." + }, + "GremlinGraphResource": { + "type": "object", + "properties": { + "conflictResolutionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ConflictResolutionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The conflict resolution policy for the container." + }, + "defaultTtl": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Default time to live" + }, + "id": { + "type": "string", + "description": "Name of the Cosmos DB Gremlin graph" + }, + "indexingPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/IndexingPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB indexing policy" + }, + "partitionKey": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerPartitionKey" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" + }, + "uniqueKeyPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/UniqueKeyPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB Gremlin graph resource object" + }, + "IncludedPath": { + "type": "object", + "properties": { + "indexes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Indexes" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of indexes for this path" + }, + "path": { + "type": "string", + "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" + } + }, + "description": "The paths that are included in indexing" + }, + "Indexes": { + "type": "object", + "properties": { + "dataType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "String", + "Number", + "Point", + "Polygon", + "LineString", + "MultiPolygon" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The datatype for which the indexing behavior is applied to." + }, + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Hash", + "Range", + "Spatial" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the type of index." + }, + "precision": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The precision of the index. -1 is maximum precision." + } + }, + "description": "The indexes for the path." + }, + "IndexingPolicy": { + "type": "object", + "properties": { + "automatic": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the indexing policy is automatic" + }, + "compositeIndexes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/CompositePath" + } + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of composite path list" + }, + "excludedPaths": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ExcludedPath" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of paths to exclude from indexing" + }, + "includedPaths": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IncludedPath" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of paths to include in the indexing" + }, + "indexingMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "consistent", + "lazy", + "none" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the indexing mode." + }, + "spatialIndexes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SpatialSpec" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of spatial specifics" + } + }, + "description": "Cosmos DB indexing policy" + }, + "IpAddressOrRange": { + "type": "object", + "properties": { + "ipAddressOrRange": { + "type": "string", + "description": "A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”." + } + }, + "description": "IpAddressOrRange object" + }, + "Location": { + "type": "object", + "properties": { + "failoverPriority": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists." + }, + "isZoneRedundant": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate whether or not this region is an AvailabilityZone region" + }, + "locationName": { + "type": "string", + "description": "The name of the region." + }, + "provisioningState": { + "type": "string", + "description": "The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed." + } + }, + "description": "A region in which the Azure Cosmos DB database account is deployed." + }, + "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": "The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/Components1jq1t4ischemasmanagedserviceidentitypropertiesuserassignedidentitiesadditionalproperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with 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": "Identity for the resource." + }, + "MongoDBCollectionCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDBCollectionResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB MongoDB collection resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB MongoDB collection." + }, + "MongoDBCollectionResource": { + "type": "object", + "properties": { + "analyticalStorageTtl": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Analytical TTL." + }, + "id": { + "type": "string", + "description": "Name of the Cosmos DB MongoDB collection" + }, + "indexes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MongoIndex" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of index keys" + }, + "shardKey": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The shard key and partition kind pair, only support \"Hash\" partition kind" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB MongoDB collection resource object" + }, + "MongoDBDatabaseCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/MongoDBDatabaseResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB MongoDB database resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB MongoDB database." + }, + "MongoDBDatabaseResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Name of the Cosmos DB MongoDB database" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB MongoDB database resource object" + }, + "MongoIndex": { + "type": "object", + "properties": { + "key": { + "oneOf": [ + { + "$ref": "#/definitions/MongoIndexKeys" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB MongoDB collection resource object" + }, + "options": { + "oneOf": [ + { + "$ref": "#/definitions/MongoIndexOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB MongoDB collection index options" + } + }, + "description": "Cosmos DB MongoDB collection index key" + }, + "MongoIndexKeys": { + "type": "object", + "properties": { + "keys": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of keys for each MongoDB collection in the Azure Cosmos DB service" + } + }, + "description": "Cosmos DB MongoDB collection resource object" + }, + "MongoIndexOptions": { + "type": "object", + "properties": { + "expireAfterSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Expire after seconds" + }, + "unique": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Is unique or not" + } + }, + "description": "Cosmos DB MongoDB collection index options" + }, + "PeriodicModeBackupPolicy": { + "type": "object", + "properties": { + "periodicModeProperties": { + "oneOf": [ + { + "$ref": "#/definitions/PeriodicModeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configuration values for periodic mode backup" + }, + "type": { + "type": "string", + "enum": [ + "Periodic" + ] + } + }, + "required": [ + "type" + ], + "description": "The object representing periodic mode backup policy." + }, + "PeriodicModeProperties": { + "type": "object", + "properties": { + "backupIntervalInMinutes": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An integer representing the interval in minutes between two backups" + }, + "backupRetentionIntervalInHours": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An integer representing the time (in hours) that each backup is retained" + }, + "backupStorageRedundancy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Geo", + "Local", + "Zone" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enum to indicate type of backup residency." + } + }, + "description": "Configuration values for periodic mode backup" + }, + "Permission": { + "type": "object", + "properties": { + "dataActions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array of data actions that are allowed." + }, + "notDataActions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array of data actions that are denied." + } + }, + "description": "The set of data plane operations permitted through this Role Definition." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "groupId": { + "type": "string", + "description": "Group id of the private endpoint." + }, + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint which the connection belongs to." + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connection State of the Private Endpoint Connection." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the private endpoint." + } + }, + "description": "Properties of a private endpoint connection." + }, + "PrivateEndpointProperty": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource id of the private endpoint." + } + }, + "description": "Private endpoint which the connection belongs to." + }, + "PrivateLinkServiceConnectionStateProperty": { + "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 of the Private Endpoint Connection." + }, + "RestoreParameters": { + "type": "object", + "properties": { + "databasesToRestore": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DatabaseRestoreResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of specific databases available for restore." + }, + "restoreMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "PointInTime" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the mode of the restore." + }, + "restoreSource": { + "type": "string", + "description": "The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}" + }, + "restoreTimestampInUtc": { + "type": "string", + "format": "date-time", + "description": "Time to which the account has to be restored (ISO-8601 format)." + } + }, + "description": "Parameters to indicate the information about the restore." + }, + "SeedNode": { + "type": "object", + "properties": { + "ipAddress": { + "type": "string", + "description": "IP address of this seed node." + } + } + }, + "ServiceResourceProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/DataTransferServiceResourceProperties" + }, + { + "$ref": "#/definitions/SqlDedicatedGatewayServiceResourceProperties" + }, + { + "$ref": "#/definitions/GraphAPIComputeServiceResourceProperties" + } + ], + "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" + }, + "instanceCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Instance count for the service." + }, + "instanceSize": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Cosmos.D4s", + "Cosmos.D8s", + "Cosmos.D16s" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Services response resource." + }, + "SpatialSpec": { + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)" + }, + "types": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Point", + "LineString", + "Polygon", + "MultiPolygon" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of path's spatial type" + } + } + }, + "SqlContainerCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/SqlContainerResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB SQL container resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB container." + }, + "SqlContainerResource": { + "type": "object", + "properties": { + "analyticalStorageTtl": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Analytical TTL." + }, + "conflictResolutionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ConflictResolutionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The conflict resolution policy for the container." + }, + "defaultTtl": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Default time to live" + }, + "id": { + "type": "string", + "description": "Name of the Cosmos DB SQL container" + }, + "indexingPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/IndexingPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB indexing policy" + }, + "partitionKey": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerPartitionKey" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration of the partition key to be used for partitioning data into multiple partitions" + }, + "uniqueKeyPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/UniqueKeyPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB SQL container resource object" + }, + "SqlDatabaseCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/SqlDatabaseResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB SQL database resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB SQL database." + }, + "SqlDatabaseResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Name of the Cosmos DB SQL database" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB SQL database resource object" + }, + "SqlDedicatedGatewayServiceResourceProperties": { + "type": "object", + "properties": { + "serviceType": { + "type": "string", + "enum": [ + "SqlDedicatedGatewayServiceResourceProperties" + ] + }, + "sqlDedicatedGatewayEndpoint": { + "type": "string", + "description": "SqlDedicatedGateway endpoint for the service." + } + }, + "required": [ + "serviceType" + ], + "description": "Properties for SqlDedicatedGatewayServiceResource." + }, + "SqlRoleAssignmentResource": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription." + }, + "roleDefinitionId": { + "type": "string", + "description": "The unique identifier for the associated Role Definition." + }, + "scope": { + "type": "string", + "description": "The data plane resource path for which access is being granted through this Role Assignment." + } + }, + "description": "Azure Cosmos DB SQL Role Assignment resource object." + }, + "SqlRoleDefinitionResource": { + "type": "object", + "properties": { + "assignableScopes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist." + }, + "permissions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Permission" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The set of operations allowed through this Role Definition." + }, + "roleName": { + "type": "string", + "description": "A user-friendly name for the Role Definition. Must be unique for the database account." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "BuiltInRole", + "CustomRole" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the Role Definition was built-in or user created." + } + }, + "description": "Azure Cosmos DB SQL Role Definition resource object." + }, + "SqlStoredProcedureCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/SqlStoredProcedureResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB SQL storedProcedure resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB storedProcedure." + }, + "SqlStoredProcedureResource": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "Body of the Stored Procedure" + }, + "id": { + "type": "string", + "description": "Name of the Cosmos DB SQL storedProcedure" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB SQL storedProcedure resource object" + }, + "SqlTriggerCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/SqlTriggerResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB SQL trigger resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB trigger." + }, + "SqlTriggerResource": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "Body of the Trigger" + }, + "id": { + "type": "string", + "description": "Name of the Cosmos DB SQL trigger" + }, + "triggerOperation": { + "oneOf": [ + { + "type": "string", + "enum": [ + "All", + "Create", + "Update", + "Delete", + "Replace" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The operation the trigger is associated with." + }, + "triggerType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pre", + "Post" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of the Trigger." + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB SQL trigger resource object" + }, + "SqlUserDefinedFunctionCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/SqlUserDefinedFunctionResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB SQL userDefinedFunction resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB userDefinedFunction." + }, + "SqlUserDefinedFunctionResource": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "Body of the User Defined Function" + }, + "id": { + "type": "string", + "description": "Name of the Cosmos DB SQL userDefinedFunction" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB SQL userDefinedFunction resource object" + }, + "TableCreateUpdateProperties": { + "type": "object", + "properties": { + "options": { + "oneOf": [ + { + "$ref": "#/definitions/CreateUpdateOptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are \"If-Match\", \"If-None-Match\", \"Session-Token\" and \"Throughput\"" + }, + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/TableResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB table resource object" + } + }, + "required": [ + "resource" + ], + "description": "Properties to create and update Azure Cosmos DB Table." + }, + "TableResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Name of the Cosmos DB table" + } + }, + "required": [ + "id" + ], + "description": "Cosmos DB table resource object" + }, + "ThroughputPolicyResource": { + "type": "object", + "properties": { + "incrementPercent": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents the percentage by which throughput can increase every time throughput policy kicks in." + }, + "isEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether the ThroughputPolicy is active or not" + } + }, + "description": "Cosmos DB resource throughput policy" + }, + "ThroughputSettingsResource": { + "type": "object", + "properties": { + "autoscaleSettings": { + "oneOf": [ + { + "$ref": "#/definitions/AutoscaleSettingsResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB provisioned throughput settings object" + }, + "throughput": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both." + } + }, + "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." + }, + "ThroughputSettingsUpdateProperties": { + "type": "object", + "properties": { + "resource": { + "oneOf": [ + { + "$ref": "#/definitions/ThroughputSettingsResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both." + } + }, + "required": [ + "resource" + ], + "description": "Properties to update Azure Cosmos DB resource throughput." + }, + "UniqueKey": { + "type": "object", + "properties": { + "paths": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of paths must be unique for each document in the Azure Cosmos DB service" + } + }, + "description": "The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." + }, + "UniqueKeyPolicy": { + "type": "object", + "properties": { + "uniqueKeys": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/UniqueKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service." + } + }, + "description": "The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service." + }, + "VirtualNetworkRule": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}." + }, + "ignoreMissingVNetServiceEndpoint": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create firewall rule before the virtual network has vnet service endpoint enabled." + } + }, + "description": "Virtual Network ACL Rule object" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 27e724ea74..de2e88d7c2 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -5695,6 +5695,102 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-15/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/cassandraClusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/cassandraClusters_dataCenters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_tables_throughputSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_throughputSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_views" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_cassandraKeyspaces_views_throughputSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_graphs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_graphs_throughputSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_gremlinDatabases_throughputSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_collections_throughputSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_mongodbDatabases_throughputSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_notebookWorkspaces" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_services" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_storedProcedures" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_throughputSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_triggers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_containers_userDefinedFunctions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlDatabases_throughputSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleAssignments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_sqlRoleDefinitions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.DocumentDB.json#/resourceDefinitions/databaseAccounts_tables_throughputSettings" + }, { "$ref": "https://schema.management.azure.com/schemas/2015-04-01/Microsoft.DomainRegistration.json#/resourceDefinitions/domains" }, From 6e8049ad7ef2a6490babbee665eb405b13e7ac2e Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 9 Sep 2021 08:35:02 +0000 Subject: [PATCH 169/243] Update resource list --- generator/resources.json | 111 +++++++++++++++++++++++++++------------ 1 file changed, 78 insertions(+), 33 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 5d1154c19e..fb2e545470 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -1770,7 +1770,8 @@ "2021-02-01", "2021-03-01", "2021-05-01", - "2021-07-01" + "2021-07-01", + "2021-08-01" ], "Microsoft.ContainerService/managedClusters/agentPools": [ "2019-02-01", @@ -1791,14 +1792,16 @@ "2021-02-01", "2021-03-01", "2021-05-01", - "2021-07-01" + "2021-07-01", + "2021-08-01" ], "Microsoft.ContainerService/managedClusters/maintenanceConfigurations": [ "2020-12-01", "2021-02-01", "2021-03-01", "2021-05-01", - "2021-07-01" + "2021-07-01", + "2021-08-01" ], "Microsoft.ContainerService/managedClusters/privateEndpointConnections": [ "2020-06-01", @@ -1809,7 +1812,8 @@ "2021-02-01", "2021-03-01", "2021-05-01", - "2021-07-01" + "2021-07-01", + "2021-08-01" ], "Microsoft.ContainerService/openShiftManagedClusters": [ "2018-09-30-preview", @@ -1817,6 +1821,9 @@ "2019-09-30-preview", "2019-10-27-preview" ], + "Microsoft.ContainerService/snapshots": [ + "2021-08-01" + ], "Microsoft.CustomProviders/resourceProviders": [ "2018-09-01-preview" ], @@ -2586,11 +2593,13 @@ ], "Microsoft.DocumentDB/cassandraClusters": [ "2021-03-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-07-01-preview" ], "Microsoft.DocumentDB/cassandraClusters/dataCenters": [ "2021-03-01-preview", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts": [ "2015-04-01", @@ -2610,7 +2619,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/apis/databases": [ "2015-04-01", @@ -2723,7 +2733,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables": [ "2019-08-01", @@ -2738,7 +2749,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings": [ "2019-08-01", @@ -2753,7 +2765,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings": [ "2019-08-01", @@ -2768,7 +2781,17 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" + ], + "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views": [ + "2021-07-01-preview" + ], + "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views/throughputSettings": [ + "2021-07-01-preview" + ], + "Microsoft.DocumentDB/databaseAccounts/graphs": [ + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases": [ "2019-08-01", @@ -2783,7 +2806,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs": [ "2019-08-01", @@ -2798,7 +2822,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings": [ "2019-08-01", @@ -2813,7 +2838,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings": [ "2019-08-01", @@ -2828,7 +2854,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases": [ "2019-08-01", @@ -2843,7 +2870,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections": [ "2019-08-01", @@ -2858,7 +2886,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings": [ "2019-08-01", @@ -2873,7 +2902,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings": [ "2019-08-01", @@ -2888,7 +2918,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/notebookWorkspaces": [ "2019-08-01", @@ -2903,7 +2934,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections": [ "2019-08-01-preview", @@ -2913,10 +2945,12 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/services": [ - "2021-04-01-preview" + "2021-04-01-preview", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/sqlDatabases": [ "2019-08-01", @@ -2931,7 +2965,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers": [ "2019-08-01", @@ -2946,7 +2981,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures": [ "2019-08-01", @@ -2961,7 +2997,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings": [ "2019-08-01", @@ -2976,7 +3013,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers": [ "2019-08-01", @@ -2991,7 +3029,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions": [ "2019-08-01", @@ -3006,7 +3045,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings": [ "2019-08-01", @@ -3021,7 +3061,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments": [ "2020-06-01-preview", @@ -3029,7 +3070,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions": [ "2020-06-01-preview", @@ -3037,7 +3079,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/tables": [ "2019-08-01", @@ -3052,7 +3095,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings": [ "2019-08-01", @@ -3067,7 +3111,8 @@ "2021-04-01-preview", "2021-04-15", "2021-05-15", - "2021-06-15" + "2021-06-15", + "2021-07-01-preview" ], "Microsoft.DomainRegistration/domains": [ "2015-04-01", From 57998a49138ebb2a53ad292e4521236faacc9e18 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 9 Sep 2021 10:35:25 +0000 Subject: [PATCH 170/243] 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/2020-05-01/Microsoft.Migrate.json | 231 +++ schemas/2021-01-01/Microsoft.Migrate.json | 1054 -------------- schemas/common/autogeneratedResources.json | 41 +- 7 files changed, 2644 insertions(+), 2112 deletions(-) create mode 100644 schemas/2018-02-02/Microsoft.Migrate.json create 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 create mode 100644 schemas/2020-05-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 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 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/2020-05-01/Microsoft.Migrate.json b/schemas/2020-05-01/Microsoft.Migrate.json new file mode 100644 index 0000000000..22a8f94955 --- /dev/null +++ b/schemas/2020-05-01/Microsoft.Migrate.json @@ -0,0 +1,231 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-05-01/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": [ + "2020-05-01" + ] + }, + "eTag": { + "type": "string", + "description": "For optimistic concurrency control." + }, + "location": { + "type": "string", + "description": "Azure location in which project is created." + }, + "name": { + "type": "string", + "description": "Migrate project name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a migrate project." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/migrateProjects_privateEndpointConnections_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects" + }, + "migrateProjects_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-01" + ] + }, + "eTag": { + "type": "string", + "description": "Gets the tag for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Private endpoint connection name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionStateRequestBodyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of Connection state request." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" + } + }, + "definitions": { + "ConnectionStateRequestBodyProperties": { + "type": "object", + "properties": { + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint connection state." + } + }, + "description": "Properties of Connection state request." + }, + "MigrateProjectProperties": { + "type": "object", + "properties": { + "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 state of public network access." + }, + "serviceEndpoint": { + "type": "string", + "description": "Service endpoint." + }, + "utilityStorageAccountId": { + "type": "string", + "description": "Utility storage account id." + } + }, + "description": "Properties of a migrate project." + }, + "migrateProjects_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-01" + ] + }, + "eTag": { + "type": "string", + "description": "Gets the tag for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Private endpoint connection name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionStateRequestBodyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of Connection state request." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "Action required." + }, + "description": { + "type": "string", + "description": "Description of the object." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private link connection state." + } + }, + "description": "Private endpoint connection state." + } + } +} \ 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 30fb45b6da..2c34f3fd5e 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7133,16 +7133,49 @@ "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Maps.json#/resourceDefinitions/accounts_creators" }, { - "$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" }, { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups" }, { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/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/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$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" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" + }, + { + "$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/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_privateEndpointConnections" }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" From 95a8ec0a122e3a9346fd0d5e1cb18465f02eeff8 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 9 Sep 2021 10:35:41 +0000 Subject: [PATCH 171/243] Update resource list --- generator/resources.json | 47 +++++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 6 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index fb2e545470..dc059348a9 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -4032,13 +4032,48 @@ "Microsoft.Media/mediaServices/transforms/jobs": [ "2018-07-01" ], - "Microsoft.Migrate/moveCollections": [ - "2019-10-01-preview", - "2021-01-01" + "Microsoft.Migrate/assessmentProjects": [ + "2019-10-01" ], - "Microsoft.Migrate/moveCollections/moveResources": [ - "2019-10-01-preview", - "2021-01-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", + "2020-05-01" + ], + "Microsoft.Migrate/migrateProjects/privateEndpointConnections": [ + "2020-05-01" + ], + "Microsoft.Migrate/migrateProjects/solutions": [ + "2018-09-01-preview" + ], + "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 0207a67373365256b634769fe78bfda3e94694b0 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 10 Sep 2021 05:42:18 +0000 Subject: [PATCH 172/243] CodeGen from PR 15965 in Azure/azure-rest-api-specs Updated SKU property to be read only (#15965) * Updated SKU property to be read only * Added missing x-ms-secret attribute * Update readme.python.md Co-authored-by: Shailesh Kelkar Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> --- .../2020-12-01-preview/Microsoft.Purview.json | 42 ------------------- schemas/2021-07-01/Microsoft.Purview.json | 42 ------------------- 2 files changed, 84 deletions(-) diff --git a/schemas/2020-12-01-preview/Microsoft.Purview.json b/schemas/2020-12-01-preview/Microsoft.Purview.json index 2903cb449c..ad30d22a0a 100644 --- a/schemas/2020-12-01-preview/Microsoft.Purview.json +++ b/schemas/2020-12-01-preview/Microsoft.Purview.json @@ -53,17 +53,6 @@ ] } }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/AccountSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Sku" - }, "tags": { "oneOf": [ { @@ -171,37 +160,6 @@ }, "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": { diff --git a/schemas/2021-07-01/Microsoft.Purview.json b/schemas/2021-07-01/Microsoft.Purview.json index 839bed245b..83eb3df607 100644 --- a/schemas/2021-07-01/Microsoft.Purview.json +++ b/schemas/2021-07-01/Microsoft.Purview.json @@ -53,17 +53,6 @@ ] } }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/AccountSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Sku" - }, "tags": { "oneOf": [ { @@ -171,37 +160,6 @@ }, "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": { From dd9476d58396c2faacc9da733403f4d7235dd14a Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 10 Sep 2021 13:43:29 +0000 Subject: [PATCH 173/243] 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/2020-05-01/Microsoft.Migrate.json | 231 --- schemas/2021-01-01/Microsoft.Migrate.json | 1054 ++++++++++++++ schemas/common/autogeneratedResources.json | 41 +- 7 files changed, 2112 insertions(+), 2644 deletions(-) delete mode 100644 schemas/2018-02-02/Microsoft.Migrate.json delete 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 delete mode 100644 schemas/2020-05-01/Microsoft.Migrate.json create 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 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 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 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-05-01/Microsoft.Migrate.json b/schemas/2020-05-01/Microsoft.Migrate.json deleted file mode 100644 index 22a8f94955..0000000000 --- a/schemas/2020-05-01/Microsoft.Migrate.json +++ /dev/null @@ -1,231 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-05-01/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": [ - "2020-05-01" - ] - }, - "eTag": { - "type": "string", - "description": "For optimistic concurrency control." - }, - "location": { - "type": "string", - "description": "Azure location in which project is created." - }, - "name": { - "type": "string", - "description": "Migrate project name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/MigrateProjectProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a migrate project." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/migrateProjects_privateEndpointConnections_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects" - }, - "migrateProjects_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-01" - ] - }, - "eTag": { - "type": "string", - "description": "Gets the tag for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Private endpoint connection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionStateRequestBodyProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Connection state request." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Migrate/migrateProjects/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" - } - }, - "definitions": { - "ConnectionStateRequestBodyProperties": { - "type": "object", - "properties": { - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection state." - } - }, - "description": "Properties of Connection state request." - }, - "MigrateProjectProperties": { - "type": "object", - "properties": { - "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 state of public network access." - }, - "serviceEndpoint": { - "type": "string", - "description": "Service endpoint." - }, - "utilityStorageAccountId": { - "type": "string", - "description": "Utility storage account id." - } - }, - "description": "Properties of a migrate project." - }, - "migrateProjects_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-01" - ] - }, - "eTag": { - "type": "string", - "description": "Gets the tag for optimistic concurrency control." - }, - "name": { - "type": "string", - "description": "Private endpoint connection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ConnectionStateRequestBodyProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of Connection state request." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "Action required." - }, - "description": { - "type": "string", - "description": "Description of the object." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Approved", - "Pending", - "Rejected", - "Disconnected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private link connection state." - } - }, - "description": "Private endpoint connection state." - } - } -} \ 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 2c34f3fd5e..30fb45b6da 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7133,49 +7133,16 @@ "$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/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" + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" }, { - "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups_assessments" + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" }, { - "$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" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" - }, - { - "$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/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_privateEndpointConnections" + "$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 3812f0f853ad6ebd61ac958e82fb3a9e2cd484cf Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 10 Sep 2021 13:43:42 +0000 Subject: [PATCH 174/243] Update resource list --- generator/resources.json | 47 +++++----------------------------------- 1 file changed, 6 insertions(+), 41 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index dc059348a9..fb2e545470 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -4032,48 +4032,13 @@ "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", - "2020-05-01" - ], - "Microsoft.Migrate/migrateProjects/privateEndpointConnections": [ - "2020-05-01" - ], - "Microsoft.Migrate/migrateProjects/solutions": [ - "2018-09-01-preview" - ], - "Microsoft.Migrate/projects": [ - "2018-02-02" - ], - "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" From dff5df30cfa4d51e1d99b5d487c00fedf2f6cf9b Mon Sep 17 00:00:00 2001 From: Jorge Cotillo Date: Fri, 10 Sep 2021 16:02:21 -0700 Subject: [PATCH 175/243] added prefix to Microsoft.Migrate --- generator/autogenlist.ts | 3 +++ schemas/2014-04-01-preview/deploymentTemplate.json | 4 ++-- schemas/2015-01-01/deploymentTemplate.json | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/generator/autogenlist.ts b/generator/autogenlist.ts index 6553661d28..5c5d5242dc 100644 --- a/generator/autogenlist.ts +++ b/generator/autogenlist.ts @@ -568,6 +568,7 @@ const autoGenList: AutoGenConfig[] = [ { basePath: 'migrate/resource-manager', namespace: 'Microsoft.Migrate', + suffix: 'Migrate' }, { basePath: 'migrate/resource-manager', @@ -586,10 +587,12 @@ const autoGenList: AutoGenConfig[] = [ { basePath: 'migrateprojects/resource-manager', namespace: 'Microsoft.Migrate', + suffix: 'MigrateProjects', }, { basePath: 'resourcemover/resource-manager', namespace: 'Microsoft.Migrate', + suffix: 'ResourceMover', }, { basePath: 'mariadb/resource-manager', diff --git a/schemas/2014-04-01-preview/deploymentTemplate.json b/schemas/2014-04-01-preview/deploymentTemplate.json index 459e41bc72..d760ea29b4 100644 --- a/schemas/2014-04-01-preview/deploymentTemplate.json +++ b/schemas/2014-04-01-preview/deploymentTemplate.json @@ -5712,10 +5712,10 @@ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.ContainerService.json#/resourceDefinitions/managedClusters_agentPools" }, { - "$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.MigrateProjects.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/2018-09-01-preview/Microsoft.Migrate.MigrateProjects.json#/resourceDefinitions/migrateProjects_solutions" }, { "$ref": "https://schema.management.azure.com/schemas/2015-08-01/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces" diff --git a/schemas/2015-01-01/deploymentTemplate.json b/schemas/2015-01-01/deploymentTemplate.json index b4b5b3c3bf..f386ede5fc 100644 --- a/schemas/2015-01-01/deploymentTemplate.json +++ b/schemas/2015-01-01/deploymentTemplate.json @@ -6199,10 +6199,10 @@ "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.ContainerService.json#/resourceDefinitions/managedClusters_agentPools" }, { - "$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.MigrateProjects.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/2018-09-01-preview/Microsoft.Migrate.MigrateProjects.json#/resourceDefinitions/migrateProjects_solutions" }, { "$ref": "https://schema.management.azure.com/schemas/2015-08-01/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces" From a1bd1577b3121953bcae0580a0a9859b040c0b4e Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Sat, 11 Sep 2021 05:33:50 +0000 Subject: [PATCH 176/243] CodeGen from PR 15956 in Azure/azure-rest-api-specs New GA version changes - 2021-10-01 (#15956) * New GA api-version changes- 2021-01-01 * readme changes * readme changes * add systemdata definition * system data ref fix * system data ref fix * fix * fix * fix * remove empty patch section * revert patch section * lint fix * lint fix * lintfix * readme changes * Update readme.md * remove property bag from cc update example * Fixing listClusterUserCreds examples * hide creds * example file naming changes and clientProxy flag correction Co-authored-by: Siri Teja Reddy Kasireddy Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> --- schemas/2021-10-01/Microsoft.Kubernetes.json | 146 +++++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 2 files changed, 149 insertions(+) create mode 100644 schemas/2021-10-01/Microsoft.Kubernetes.json diff --git a/schemas/2021-10-01/Microsoft.Kubernetes.json b/schemas/2021-10-01/Microsoft.Kubernetes.json new file mode 100644 index 0000000000..cea641ba9d --- /dev/null +++ b/schemas/2021-10-01/Microsoft.Kubernetes.json @@ -0,0 +1,146 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.Kubernetes.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Kubernetes", + "description": "Microsoft Kubernetes Resource Types", + "resourceDefinitions": { + "connectedClusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectedClusterIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the connected cluster." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the Kubernetes cluster on which get is called." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectedClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the connected 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.Kubernetes/connectedClusters" + ] + } + }, + "required": [ + "apiVersion", + "identity", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Kubernetes/connectedClusters" + } + }, + "definitions": { + "ConnectedClusterIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster." + } + }, + "required": [ + "type" + ], + "description": "Identity for the connected cluster." + }, + "ConnectedClusterProperties": { + "type": "object", + "properties": { + "agentPublicKeyCertificate": { + "type": "string", + "description": "Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure." + }, + "distribution": { + "type": "string", + "description": "The Kubernetes distribution running on this connected cluster." + }, + "infrastructure": { + "type": "string", + "description": "The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Provisioning", + "Updating", + "Deleting", + "Accepted" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the connected cluster resource." + } + }, + "required": [ + "agentPublicKeyCertificate" + ], + "description": "Properties of the connected cluster." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index de2e88d7c2..19eb32144f 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6715,6 +6715,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.Kubernetes.json#/resourceDefinitions/connectedClusters" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.Kubernetes.json#/resourceDefinitions/connectedClusters" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-10-15/Microsoft.LabServices.json#/resourceDefinitions/labaccounts" }, From 28c677123e42b8d83a2256ddc380983c11457e08 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 11 Sep 2021 08:37:14 +0000 Subject: [PATCH 177/243] Update resource list --- generator/resources.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generator/resources.json b/generator/resources.json index fb2e545470..e0ba41fe65 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3609,7 +3609,8 @@ "Microsoft.Kubernetes/connectedClusters": [ "2020-01-01-preview", "2021-03-01", - "2021-04-01-preview" + "2021-04-01-preview", + "2021-10-01" ], "Microsoft.Kusto/clusters": [ "2017-09-07-privatepreview", From 568c55f8871391d2c813f29118f8359c8330046d Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sun, 12 Sep 2021 10:37:29 +0000 Subject: [PATCH 178/243] 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/2020-05-01/Microsoft.Migrate.json | 231 +++ schemas/2021-01-01/Microsoft.Migrate.json | 1054 -------------- schemas/common/autogeneratedResources.json | 41 +- 7 files changed, 2644 insertions(+), 2112 deletions(-) create mode 100644 schemas/2018-02-02/Microsoft.Migrate.json create 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 create mode 100644 schemas/2020-05-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 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 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/2020-05-01/Microsoft.Migrate.json b/schemas/2020-05-01/Microsoft.Migrate.json new file mode 100644 index 0000000000..22a8f94955 --- /dev/null +++ b/schemas/2020-05-01/Microsoft.Migrate.json @@ -0,0 +1,231 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-05-01/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": [ + "2020-05-01" + ] + }, + "eTag": { + "type": "string", + "description": "For optimistic concurrency control." + }, + "location": { + "type": "string", + "description": "Azure location in which project is created." + }, + "name": { + "type": "string", + "description": "Migrate project name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a migrate project." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/migrateProjects_privateEndpointConnections_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects" + }, + "migrateProjects_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-01" + ] + }, + "eTag": { + "type": "string", + "description": "Gets the tag for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Private endpoint connection name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionStateRequestBodyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of Connection state request." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" + } + }, + "definitions": { + "ConnectionStateRequestBodyProperties": { + "type": "object", + "properties": { + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint connection state." + } + }, + "description": "Properties of Connection state request." + }, + "MigrateProjectProperties": { + "type": "object", + "properties": { + "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 state of public network access." + }, + "serviceEndpoint": { + "type": "string", + "description": "Service endpoint." + }, + "utilityStorageAccountId": { + "type": "string", + "description": "Utility storage account id." + } + }, + "description": "Properties of a migrate project." + }, + "migrateProjects_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-01" + ] + }, + "eTag": { + "type": "string", + "description": "Gets the tag for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Private endpoint connection name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionStateRequestBodyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of Connection state request." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "Action required." + }, + "description": { + "type": "string", + "description": "Description of the object." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private link connection state." + } + }, + "description": "Private endpoint connection state." + } + } +} \ 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 4e29b6547d..c9faa53844 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7136,16 +7136,49 @@ "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Maps.json#/resourceDefinitions/accounts_creators" }, { - "$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" }, { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.json#/resourceDefinitions/projects_groups" }, { - "$ref": "https://schema.management.azure.com/schemas/2021-01-01/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/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" + "$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" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" + }, + { + "$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/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.json#/resourceDefinitions/migrateProjects_privateEndpointConnections" }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" From 6f26695dd02396d185a414f62289034c79bc9d33 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sun, 12 Sep 2021 10:37:45 +0000 Subject: [PATCH 179/243] Update resource list --- generator/resources.json | 47 +++++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 6 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index e0ba41fe65..949c1d54df 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -4033,13 +4033,48 @@ "Microsoft.Media/mediaServices/transforms/jobs": [ "2018-07-01" ], - "Microsoft.Migrate/moveCollections": [ - "2019-10-01-preview", - "2021-01-01" + "Microsoft.Migrate/assessmentProjects": [ + "2019-10-01" ], - "Microsoft.Migrate/moveCollections/moveResources": [ - "2019-10-01-preview", - "2021-01-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", + "2020-05-01" + ], + "Microsoft.Migrate/migrateProjects/privateEndpointConnections": [ + "2020-05-01" + ], + "Microsoft.Migrate/migrateProjects/solutions": [ + "2018-09-01-preview" + ], + "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 2669b2f17ea47d2c155383a4a3d7d58b6a67de03 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 13 Sep 2021 07:09:13 +0000 Subject: [PATCH 180/243] CodeGen from PR 15899 in Azure/azure-rest-api-specs [Hub Generated] Public private branch 'dev-alertsmanagement-Microsoft.AlertsManagement-2021-02-01-preview' (#15899) * Adds base for updating Microsoft.AlertsManagement from version preview/2019-05-05-preview to version 2021-02-01-preview * Updates readme * Updates API version in new specs and examples * update action rule schema to new api * fix linter issues * add alertsmanagement.json * fix api version * fix description in targetResource * match description * match severity description * use systemdata type * run prettier-fix * change alertsmanagement to latest version * add integer format * add x-ms-discriminator-value * remove summary * make action polymorphic * update readme * prettier fix * remove space * add examples * prettier fix * fix validation errors * fix validation errors * change file name * update monitor service names * fix PR comments * fix description * change actions to array * fix prettify issue * fix lintDiff errors * rename schedulingConfig to schedule * fix response codes for put and delete * fix prettier * remove query params * add enabled default value * rename api version and add severity to conditions * fix condition enum and remove Z from time in examples * update conditions, schedule pattern and descriptions --- .../Microsoft.AlertsManagement.json | 493 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 2 files changed, 496 insertions(+) create mode 100644 schemas/2021-08-08-preview/Microsoft.AlertsManagement.json diff --git a/schemas/2021-08-08-preview/Microsoft.AlertsManagement.json b/schemas/2021-08-08-preview/Microsoft.AlertsManagement.json new file mode 100644 index 0000000000..4a0cd0794b --- /dev/null +++ b/schemas/2021-08-08-preview/Microsoft.AlertsManagement.json @@ -0,0 +1,493 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-08-08-preview/Microsoft.AlertsManagement.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.AlertsManagement", + "description": "Microsoft AlertsManagement Resource Types", + "resourceDefinitions": { + "actionRules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-08-preview" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the action rule that needs to be created/updated" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ActionRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Action rule properties defining scopes, conditions and scheduling logic for action rule" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AlertsManagement/actionRules" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.AlertsManagement/actionRules" + } + }, + "definitions": { + "Action": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AddActionGroups" + }, + { + "$ref": "#/definitions/RemoveAllActionGroups" + } + ], + "properties": {}, + "description": "Action to be applied" + }, + "ActionRuleProperties": { + "type": "object", + "properties": { + "actions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Action" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Actions to be applied" + }, + "conditions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Condition" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Conditions in alert instance to be matched for a given action rule. Default value is all. Multiple values could be provided with comma separation." + }, + "description": { + "type": "string", + "description": "Description of action rule" + }, + "enabled": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the given action rule is enabled or disabled" + }, + "schedule": { + "oneOf": [ + { + "$ref": "#/definitions/Schedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Scheduling configuration for a given action rule" + }, + "scopes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of ARM IDs which will be the target of the given action rule." + } + }, + "required": [ + "actions", + "scopes" + ], + "description": "Action rule properties defining scopes, conditions and scheduling logic for action rule" + }, + "AddActionGroups": { + "type": "object", + "properties": { + "actionGroupIds": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of action group Ids to add to action rule" + }, + "actionType": { + "type": "string", + "enum": [ + "AddActionGroups" + ] + } + }, + "required": [ + "actionGroupIds", + "actionType" + ], + "description": "Add action groups to action rule" + }, + "Condition": { + "type": "object", + "properties": { + "field": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Severity", + "MonitorService", + "MonitorCondition", + "SignalType", + "TargetResourceType", + "TargetResource", + "TargetResourceGroup", + "AlertRuleId", + "AlertRuleName", + "Description", + "AlertContext" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Field for a given condition." + }, + "operator": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Equals", + "NotEquals", + "Contains", + "DoesNotContain" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Operator for a given condition." + }, + "values": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of values to match for a given condition." + } + }, + "description": "Condition to trigger an action rule" + }, + "DailyRecurrence": { + "type": "object", + "properties": { + "recurrenceType": { + "type": "string", + "enum": [ + "Daily" + ] + } + }, + "required": [ + "recurrenceType" + ], + "description": "Daily recurrence object" + }, + "MonthlyRecurrence": { + "type": "object", + "properties": { + "daysOfMonth": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "integer" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the values for monthly recurrence pattern" + }, + "recurrenceType": { + "type": "string", + "enum": [ + "Monthly" + ] + } + }, + "required": [ + "daysOfMonth", + "recurrenceType" + ], + "description": "Monthly recurrence object" + }, + "Recurrence": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/DailyRecurrence" + }, + { + "$ref": "#/definitions/WeeklyRecurrence" + }, + { + "$ref": "#/definitions/MonthlyRecurrence" + } + ], + "properties": { + "endTime": { + "type": "string", + "description": "End time for recurrence" + }, + "startTime": { + "type": "string", + "description": "Start time for recurrence" + } + }, + "description": "Recurrence object" + }, + "RemoveAllActionGroups": { + "type": "object", + "properties": { + "actionType": { + "type": "string", + "enum": [ + "RemoveAllActionGroups" + ] + } + }, + "required": [ + "actionType" + ], + "description": "Indicates if all action groups should be removed" + }, + "Schedule": { + "type": "object", + "properties": { + "effectiveFrom": { + "oneOf": [ + { + "type": "string", + "pattern": "^(?:(\\d{4}-\\d{2}-\\d{2})T(\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?))$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Scheduling effective from time. Date-Time in ISO-8601 format without timezone suffix." + }, + "effectiveUntil": { + "oneOf": [ + { + "type": "string", + "pattern": "^(?:(\\d{4}-\\d{2}-\\d{2})T(\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?))$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Scheduling effective until time. Date-Time in ISO-8601 format without timezone suffix." + }, + "recurrences": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Recurrence" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of recurrences" + }, + "timeZone": { + "type": "string", + "description": "Scheduling time zone" + } + }, + "description": "Scheduling configuration for a given action rule" + }, + "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." + }, + "WeeklyRecurrence": { + "type": "object", + "properties": { + "daysOfWeek": { + "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": "Specifies the values for weekly recurrence pattern" + }, + "recurrenceType": { + "type": "string", + "enum": [ + "Weekly" + ] + } + }, + "required": [ + "daysOfWeek", + "recurrenceType" + ], + "description": "Weekly recurrence object" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 19eb32144f..390e82b0b4 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -64,6 +64,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.AlertsManagement.json#/resourceDefinitions/smartDetectorAlertRules" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-08-preview/Microsoft.AlertsManagement.json#/resourceDefinitions/actionRules" + }, { "$ref": "https://schema.management.azure.com/schemas/2016-05-16/Microsoft.AnalysisServices.json#/resourceDefinitions/servers" }, From 4f6d94ce3bd8269ac571de67191a08c6ee6fa1d7 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Mon, 13 Sep 2021 08:39:50 +0000 Subject: [PATCH 181/243] Update resource list --- generator/resources.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generator/resources.json b/generator/resources.json index 949c1d54df..ba7ef008fc 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -104,7 +104,8 @@ "2020-01-01" ], "Microsoft.AlertsManagement/actionRules": [ - "2019-05-05-preview" + "2019-05-05-preview", + "2021-08-08-preview" ], "Microsoft.AlertsManagement/resourceHealthAlertRules": [ "2020-08-04-preview" From 5cac59a8e0b5d338b463027ad7fcfba326159252 Mon Sep 17 00:00:00 2001 From: Jorge Cotillo Date: Mon, 13 Sep 2021 10:59:49 -0700 Subject: [PATCH 182/243] added suffix to disambiguate namespaces --- .../deploymentTemplate.json | 10 +- schemas/2015-01-01/deploymentTemplate.json | 10 +- .../2018-02-02/Microsoft.Migrate.Migrate.json | 599 ++++++++ .../Microsoft.Migrate.MigrateProjects.json | 517 +++++++ .../2019-10-01/Microsoft.Migrate.Migrate.json | 1260 +++++++++++++++++ .../2020-05-01/Microsoft.Migrate.Migrate.json | 231 +++ schemas/common/autogeneratedResources.json | 45 + 7 files changed, 2662 insertions(+), 10 deletions(-) create mode 100644 schemas/2018-02-02/Microsoft.Migrate.Migrate.json create mode 100644 schemas/2018-09-01-preview/Microsoft.Migrate.MigrateProjects.json create mode 100644 schemas/2019-10-01/Microsoft.Migrate.Migrate.json create mode 100644 schemas/2020-05-01/Microsoft.Migrate.Migrate.json diff --git a/schemas/2014-04-01-preview/deploymentTemplate.json b/schemas/2014-04-01-preview/deploymentTemplate.json index d760ea29b4..1417326166 100644 --- a/schemas/2014-04-01-preview/deploymentTemplate.json +++ b/schemas/2014-04-01-preview/deploymentTemplate.json @@ -5670,19 +5670,19 @@ "$ref": "https://schema.management.azure.com/schemas/2020-01-01/Microsoft.Security.json#/unknown_resourceDefinitions/assessments" }, { - "$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/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects" }, { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects_groups" }, { - "$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.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.Migrate.json#/resourceDefinitions/assessmentProjects_hypervcollectors" }, { - "$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/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, { "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.json#/resourceDefinitions/moveCollections" diff --git a/schemas/2015-01-01/deploymentTemplate.json b/schemas/2015-01-01/deploymentTemplate.json index f386ede5fc..453d7c669e 100644 --- a/schemas/2015-01-01/deploymentTemplate.json +++ b/schemas/2015-01-01/deploymentTemplate.json @@ -6163,19 +6163,19 @@ "$ref": "https://schema.management.azure.com/schemas/2020-01-01/Microsoft.Security.json#/unknown_resourceDefinitions/assessments" }, { - "$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/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects" }, { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.json#/resourceDefinitions/assessmentProjects_groups" + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects_groups" }, { - "$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.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.Migrate.json#/resourceDefinitions/assessmentProjects_hypervcollectors" }, { - "$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/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" }, { "$ref": "https://schema.management.azure.com/schemas/2018-06-01-preview/Microsoft.ManagedServices.json#/resourceDefinitions/registrationAssignments" diff --git a/schemas/2018-02-02/Microsoft.Migrate.Migrate.json b/schemas/2018-02-02/Microsoft.Migrate.Migrate.json new file mode 100644 index 0000000000..ce0cfee1c6 --- /dev/null +++ b/schemas/2018-02-02/Microsoft.Migrate.Migrate.json @@ -0,0 +1,599 @@ +{ + "id": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.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.MigrateProjects.json b/schemas/2018-09-01-preview/Microsoft.Migrate.MigrateProjects.json new file mode 100644 index 0000000000..7daf12a1bd --- /dev/null +++ b/schemas/2018-09-01-preview/Microsoft.Migrate.MigrateProjects.json @@ -0,0 +1,517 @@ +{ + "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.MigrateProjects.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/Microsoft.Migrate.Migrate.json b/schemas/2019-10-01/Microsoft.Migrate.Migrate.json new file mode 100644 index 0000000000..aafbac4502 --- /dev/null +++ b/schemas/2019-10-01/Microsoft.Migrate.Migrate.json @@ -0,0 +1,1260 @@ +{ + "id": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.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-05-01/Microsoft.Migrate.Migrate.json b/schemas/2020-05-01/Microsoft.Migrate.Migrate.json new file mode 100644 index 0000000000..37fd98ce6c --- /dev/null +++ b/schemas/2020-05-01/Microsoft.Migrate.Migrate.json @@ -0,0 +1,231 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.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": [ + "2020-05-01" + ] + }, + "eTag": { + "type": "string", + "description": "For optimistic concurrency control." + }, + "location": { + "type": "string", + "description": "Azure location in which project is created." + }, + "name": { + "type": "string", + "description": "Migrate project name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrateProjectProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a migrate project." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/migrateProjects_privateEndpointConnections_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects" + }, + "migrateProjects_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-01" + ] + }, + "eTag": { + "type": "string", + "description": "Gets the tag for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Private endpoint connection name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionStateRequestBodyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of Connection state request." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Migrate/migrateProjects/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" + } + }, + "definitions": { + "ConnectionStateRequestBodyProperties": { + "type": "object", + "properties": { + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint connection state." + } + }, + "description": "Properties of Connection state request." + }, + "MigrateProjectProperties": { + "type": "object", + "properties": { + "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 state of public network access." + }, + "serviceEndpoint": { + "type": "string", + "description": "Service endpoint." + }, + "utilityStorageAccountId": { + "type": "string", + "description": "Utility storage account id." + } + }, + "description": "Properties of a migrate project." + }, + "migrateProjects_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-05-01" + ] + }, + "eTag": { + "type": "string", + "description": "Gets the tag for optimistic concurrency control." + }, + "name": { + "type": "string", + "description": "Private endpoint connection name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionStateRequestBodyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of Connection state request." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Migrate/migrateProjects/privateEndpointConnections" + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "Action required." + }, + "description": { + "type": "string", + "description": "Description of the object." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private link connection state." + } + }, + "description": "Private endpoint connection state." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 30fb45b6da..37c9e13497 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7144,6 +7144,51 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.json#/resourceDefinitions/moveCollections_moveResources" }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.Migrate.json#/resourceDefinitions/projects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.Migrate.json#/resourceDefinitions/projects_groups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-02-02/Microsoft.Migrate.Migrate.json#/resourceDefinitions/projects_groups_assessments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects_groups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects_groups_assessments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects_hypervcollectors" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects_importcollectors" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentprojects_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects_servercollectors" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/assessmentProjects_vmwarecollectors" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/migrateProjects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.Migrate.Migrate.json#/resourceDefinitions/migrateProjects_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.MigrateProjects.json#/resourceDefinitions/migrateProjects" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.MigrateProjects.json#/resourceDefinitions/migrateProjects_solutions" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From 426eee41035f5cedbe3964e1690d041359491c47 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 14 Sep 2021 01:03:11 +0000 Subject: [PATCH 183/243] CodeGen from PR 16008 in Azure/azure-rest-api-specs fix(arcdata): incorrect .net sdk path (#16008) Current .net SDK path for arcdata points to https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/resources which is for `Resources`. This commit will change the path to https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/azurearcdata --- .../Microsoft.AzureArcData.json | 828 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 12 + 2 files changed, 840 insertions(+) create mode 100644 schemas/2021-07-01-preview/Microsoft.AzureArcData.json diff --git a/schemas/2021-07-01-preview/Microsoft.AzureArcData.json b/schemas/2021-07-01-preview/Microsoft.AzureArcData.json new file mode 100644 index 0000000000..856a645d31 --- /dev/null +++ b/schemas/2021-07-01-preview/Microsoft.AzureArcData.json @@ -0,0 +1,828 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.AzureArcData.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.AzureArcData", + "description": "Microsoft AzureArcData Resource Types", + "resourceDefinitions": { + "dataControllers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DataControllerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The data controller 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.AzureArcData/dataControllers" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureArcData/dataControllers" + }, + "postgresInstances": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "Name of PostgresInstance" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PostgresInstanceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Postgres Instance properties." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/PostgresInstanceSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource model definition representing SKU for Azure Database for PostgresSQL - Azure Arc" + }, + "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.AzureArcData/postgresInstances" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureArcData/postgresInstances" + }, + "sqlManagedInstances": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "extendedLocation": { + "oneOf": [ + { + "$ref": "#/definitions/ExtendedLocation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The complex type of the extended location." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of SQL Managed Instances" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlManagedInstanceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of sqlManagedInstance." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/SqlManagedInstanceSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource model definition representing SKU for Azure Managed Instance - Azure Arc" + }, + "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.AzureArcData/sqlManagedInstances" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureArcData/sqlManagedInstances" + }, + "sqlServerInstances": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of SQL Server Instance" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlServerInstanceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of SqlServerInstance." + }, + "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.AzureArcData/sqlServerInstances" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.AzureArcData/sqlServerInstances" + } + }, + "definitions": { + "BasicLoginInformation": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "Login password." + }, + "username": { + "type": "string", + "description": "Login username." + } + }, + "description": "Username and password for basic login authentication." + }, + "DataControllerProperties": { + "type": "object", + "properties": { + "basicLoginInformation": { + "oneOf": [ + { + "$ref": "#/definitions/BasicLoginInformation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Username and password for basic login authentication." + }, + "infrastructure": { + "oneOf": [ + { + "type": "string", + "enum": [ + "azure", + "gcp", + "aws", + "alibaba", + "onpremises", + "other" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The infrastructure the data controller is running on." + }, + "k8sRaw": { + "type": "object", + "properties": {}, + "description": "The raw kubernetes information" + }, + "lastUploadedDate": { + "type": "string", + "format": "date-time", + "description": "Last uploaded date from Kubernetes cluster. Defaults to current date time" + }, + "logAnalyticsWorkspaceConfig": { + "oneOf": [ + { + "$ref": "#/definitions/LogAnalyticsWorkspaceConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Log analytics workspace id and primary key" + }, + "onPremiseProperty": { + "oneOf": [ + { + "$ref": "#/definitions/OnPremiseProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties from the Kubernetes data controller" + }, + "uploadServicePrincipal": { + "oneOf": [ + { + "$ref": "#/definitions/UploadServicePrincipal" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Service principal for uploading billing, metrics and logs." + }, + "uploadWatermark": { + "oneOf": [ + { + "$ref": "#/definitions/UploadWatermark" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties on upload watermark. Mostly timestamp for each upload data type" + } + }, + "description": "The data controller properties." + }, + "ExtendedLocation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the extended location." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CustomLocation" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of the extended location." + } + }, + "description": "The complex type of the extended location." + }, + "LogAnalyticsWorkspaceConfig": { + "type": "object", + "properties": { + "primaryKey": { + "type": "string", + "description": "Primary key of the workspace" + }, + "workspaceId": { + "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": "Azure Log Analytics workspace ID" + } + }, + "description": "Log analytics workspace id and primary key" + }, + "OnPremiseProperty": { + "type": "object", + "properties": { + "id": { + "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": "A globally unique ID identifying the associated Kubernetes cluster" + }, + "publicSigningKey": { + "type": "string", + "description": "Certificate that contains the Kubernetes cluster public key used to verify signing" + }, + "signingCertificateThumbprint": { + "type": "string", + "description": "Unique thumbprint returned to customer to verify the certificate being uploaded" + } + }, + "required": [ + "id", + "publicSigningKey" + ], + "description": "Properties from the Kubernetes data controller" + }, + "PostgresInstanceProperties": { + "type": "object", + "properties": { + "admin": { + "type": "string", + "description": "The instance admin" + }, + "basicLoginInformation": { + "oneOf": [ + { + "$ref": "#/definitions/BasicLoginInformation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Username and password for basic login authentication." + }, + "dataControllerId": { + "type": "string", + "description": "The data controller id" + }, + "k8sRaw": { + "type": "object", + "properties": {}, + "description": "The raw kubernetes information" + }, + "lastUploadedDate": { + "type": "string", + "format": "date-time", + "description": "Last uploaded date from Kubernetes cluster. Defaults to current date time" + } + }, + "description": "Postgres Instance properties." + }, + "PostgresInstanceSku": { + "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." + }, + "dev": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose. " + }, + "family": { + "type": "string", + "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." + }, + "name": { + "type": "string", + "description": "The name of the SKU. It is typically a letter+number code" + }, + "size": { + "type": "string", + "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Hyperscale" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier." + } + }, + "required": [ + "name" + ], + "description": "The resource model definition representing SKU for Azure Database for PostgresSQL - Azure Arc" + }, + "SqlManagedInstanceProperties": { + "type": "object", + "properties": { + "admin": { + "type": "string", + "description": "The instance admin user" + }, + "basicLoginInformation": { + "oneOf": [ + { + "$ref": "#/definitions/BasicLoginInformation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Username and password for basic login authentication." + }, + "dataControllerId": { + "type": "string", + "description": "null" + }, + "endTime": { + "type": "string", + "description": "The instance end time" + }, + "k8sRaw": { + "type": "object", + "properties": {}, + "description": "The raw kubernetes information" + }, + "lastUploadedDate": { + "type": "string", + "format": "date-time", + "description": "Last uploaded date from Kubernetes cluster. Defaults to current date time" + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "BasePrice", + "LicenseIncluded" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The license type to apply for this managed instance." + }, + "startTime": { + "type": "string", + "description": "The instance start time" + } + }, + "description": "Properties of sqlManagedInstance." + }, + "SqlManagedInstanceSku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "dev": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose. " + }, + "family": { + "type": "string" + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "vCore" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the SKU." + }, + "size": { + "type": "string", + "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "GeneralPurpose", + "BusinessCritical" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tier for this managed instance." + } + }, + "required": [ + "name" + ], + "description": "The resource model definition representing SKU for Azure Managed Instance - Azure Arc" + }, + "SqlServerInstanceProperties": { + "type": "object", + "properties": { + "azureDefenderStatus": { + "type": "string", + "description": "Status of Azure Defender." + }, + "azureDefenderStatusLastUpdated": { + "type": "string", + "format": "date-time", + "description": "Timestamp of last Azure Defender status update." + }, + "collation": { + "type": "string", + "description": "SQL Server collation." + }, + "containerResourceId": { + "type": "string", + "description": "ARM Resource id of the container resource (Azure Arc for Servers)." + }, + "currentVersion": { + "type": "string", + "description": "SQL Server current version." + }, + "edition": { + "type": "string", + "description": "SQL Server edition." + }, + "instanceName": { + "type": "string", + "description": "SQL Server instance name." + }, + "licenseType": { + "type": "string", + "description": "SQL Server license type." + }, + "patchLevel": { + "type": "string", + "description": "SQL Server update level." + }, + "productId": { + "type": "string", + "description": "SQL Server product ID." + }, + "status": { + "type": "string", + "description": "The cloud connectivity status." + }, + "tcpDynamicPorts": { + "type": "string", + "description": "Dynamic TCP ports used by SQL Server." + }, + "tcpStaticPorts": { + "type": "string", + "description": "Static TCP ports used by SQL Server." + }, + "vCore": { + "type": "string", + "description": "The number of logical processors used by the SQL Server instance." + }, + "version": { + "type": "string", + "description": "SQL Server version." + } + }, + "required": [ + "containerResourceId", + "status" + ], + "description": "Properties of SqlServerInstance." + }, + "UploadServicePrincipal": { + "type": "object", + "properties": { + "authority": { + "type": "string", + "description": "Authority for the service principal. Example: https://login.microsoftonline.com/" + }, + "clientId": { + "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": "Client ID of the service principal for uploading data." + }, + "clientSecret": { + "type": "string", + "description": "Secret of the service principal" + }, + "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": "Tenant ID of the service principal." + } + }, + "description": "Service principal for uploading billing, metrics and logs." + }, + "UploadWatermark": { + "type": "object", + "properties": { + "logs": { + "type": "string", + "format": "date-time", + "description": "Last uploaded date for logs from kubernetes cluster. Defaults to current date time" + }, + "metrics": { + "type": "string", + "format": "date-time", + "description": "Last uploaded date for metrics from kubernetes cluster. Defaults to current date time" + }, + "usages": { + "type": "string", + "format": "date-time", + "description": "Last uploaded date for usages from kubernetes cluster. Defaults to current date time" + } + }, + "description": "Properties on upload watermark. Mostly timestamp for each upload data type" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 390e82b0b4..a557ef04d1 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -1957,6 +1957,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.AzureArcData.json#/resourceDefinitions/sqlServerInstances" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.AzureArcData.json#/resourceDefinitions/dataControllers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.AzureArcData.json#/resourceDefinitions/postgresInstances" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.AzureArcData.json#/resourceDefinitions/sqlManagedInstances" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.AzureArcData.json#/resourceDefinitions/sqlServerInstances" + }, { "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.AzureArcData.json#/resourceDefinitions/dataControllers" }, From 2b94e0c92e9e37be3a774fdeba18a29a889b58f8 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 14 Sep 2021 01:59:45 +0000 Subject: [PATCH 184/243] CodeGen from PR 15850 in Azure/azure-rest-api-specs [NetAppFiles] Add missing features, quotaLimits and Rotterdam networkFeatures to API version 2021-06-02 (#15850) * Add missing features, quotaLimist and Rotterdam networkFeatures * Update quotaLimits get and add get list * Update description for volume type * S360 Add missing serviceSpecification and metricsSpecification properties * Remove quotalimit response no longer used * pagable * Update to use common type proxy resource * pretty * systemdata Co-authored-by: Audunn Baldvinsson --- schemas/2021-06-01/Microsoft.NetApp.json | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/schemas/2021-06-01/Microsoft.NetApp.json b/schemas/2021-06-01/Microsoft.NetApp.json index e1517241e1..c5033d06ab 100644 --- a/schemas/2021-06-01/Microsoft.NetApp.json +++ b/schemas/2021-06-01/Microsoft.NetApp.json @@ -1783,6 +1783,21 @@ ], "description": "Specifies whether LDAP is enabled or not for a given NFS volume." }, + "networkFeatures": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic", + "Standard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Basic network, or Standard features available to the volume." + }, "protocolTypes": { "oneOf": [ { @@ -1918,7 +1933,7 @@ }, "volumeType": { "type": "string", - "description": "What type of volume is this" + "description": "What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection" } }, "required": [ From 089c6bb838a381df049174666f68634525cb189c Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 14 Sep 2021 02:03:16 +0000 Subject: [PATCH 185/243] CodeGen from PR 15627 in Azure/azure-rest-api-specs [SRP] 2021-06-01 Swagger Api (#15627) * Add June21 Swagger Api version, Updated Readme files * adding abort and hnson migration swagger API * swagger: marking requesttype as required parameter for hns onmigration * Added new PublicNetworkAccess property to swagger spec * Add enableNfsV3RootSquash and enableNfsV3AllSquash to June21 swagger * Add Account Level VLW Swagger changes and example * Update Blob Inventory Api comment to include AccessTierInferred and Tags * Rename HnsOn to hierarchical namespace * [Swagger] [June21] Added defaultToOAuthAuthentication to swagger spec * Update Spell check custom words list. Correct incorrect spellings * Add missing refrences to PublicNetworkAccess Examples * Add required type:object, Add default return type for hns migration apis * Prettier tool update to storage.json * Add update account with immutability policy example * Removed StorageFileDataSmbShareOwner as Server side does not support it * Add AllowProtectedAppendWritesAll feature changes with example * Updated enum values and description for PublicNetworkAccess * Add type:object to ProtectedAppendWritesHistory ; Spellcheck --- schemas/2021-06-01/Microsoft.Storage.json | 4151 ++++++++++++++++++++ schemas/common/autogeneratedResources.json | 45 + 2 files changed, 4196 insertions(+) create mode 100644 schemas/2021-06-01/Microsoft.Storage.json diff --git a/schemas/2021-06-01/Microsoft.Storage.json b/schemas/2021-06-01/Microsoft.Storage.json new file mode 100644 index 0000000000..516a7b329d --- /dev/null +++ b/schemas/2021-06-01/Microsoft.Storage.json @@ -0,0 +1,4151 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Storage.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Storage", + "description": "Microsoft Storage Resource Types", + "resourceDefinitions": { + "storageAccounts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-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/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Storage", + "StorageV2", + "BlobStorage", + "FileStorage", + "BlockBlobStorage" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required. Indicates the type of storage account." + }, + "location": { + "type": "string", + "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 24, + "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/StorageAccountPropertiesCreateParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The parameters used to create the storage account." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/storageAccounts_managementPolicies_childResource" + }, + { + "$ref": "#/definitions/storageAccounts_inventoryPolicies_childResource" + }, + { + "$ref": "#/definitions/storageAccounts_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/storageAccounts_objectReplicationPolicies_childResource" + }, + { + "$ref": "#/definitions/storageAccounts_encryptionScopes_childResource" + }, + { + "$ref": "#/definitions/storageAccounts_blobServices_childResource" + }, + { + "$ref": "#/definitions/storageAccounts_fileServices_childResource" + }, + { + "$ref": "#/definitions/storageAccounts_queueServices_childResource" + }, + { + "$ref": "#/definitions/storageAccounts_tableServices_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SKU of the storage account." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Storage/storageAccounts" + ] + } + }, + "required": [ + "apiVersion", + "kind", + "location", + "name", + "sku", + "type" + ], + "description": "Microsoft.Storage/storageAccounts" + }, + "storageAccounts_blobServices": { + "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 Service within the specified storage account. Blob Service Name must be 'default'" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BlobServicePropertiesProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a storage account’s Blob service." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/storageAccounts_blobServices_containers_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Storage/storageAccounts/blobServices" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/blobServices" + }, + "storageAccounts_blobServices_containers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 63, + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a container." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/storageAccounts_blobServices_containers_immutabilityPolicies_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Storage/storageAccounts/blobServices/containers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/blobServices/containers" + }, + "storageAccounts_blobServices_containers_immutabilityPolicies": { + "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 container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default'" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ImmutabilityPolicyProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an ImmutabilityPolicy of a blob container." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies" + }, + "storageAccounts_encryptionScopes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 63, + "description": "The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionScopeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the encryption scope." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Storage/storageAccounts/encryptionScopes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/encryptionScopes" + }, + "storageAccounts_fileServices": { + "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 file Service within the specified storage account. File Service Name must be \"default\"" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/FileServicePropertiesProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of File services in storage account." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/storageAccounts_fileServices_shares_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Storage/storageAccounts/fileServices" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/fileServices" + }, + "storageAccounts_fileServices_shares": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 63, + "description": "The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/FileShareProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the file share." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Storage/storageAccounts/fileServices/shares" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/fileServices/shares" + }, + "storageAccounts_inventoryPolicies": { + "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 storage account blob inventory policy. It should always be 'default'" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BlobInventoryPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The storage account blob inventory policy properties." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Storage/storageAccounts/inventoryPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/inventoryPolicies" + }, + "storageAccounts_managementPolicies": { + "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 Storage Account Management Policy. It should always be 'default'" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagementPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Storage Account ManagementPolicy properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Storage/storageAccounts/managementPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/managementPolicies" + }, + "storageAccounts_objectReplicationPolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "description": "For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ObjectReplicationPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Storage Account ObjectReplicationPolicy properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Storage/storageAccounts/objectReplicationPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/objectReplicationPolicies" + }, + "storageAccounts_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-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.Storage/storageAccounts/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/privateEndpointConnections" + }, + "storageAccounts_queueServices": { + "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 Queue Service within the specified storage account. Queue Service Name must be 'default'" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/QueueServicePropertiesProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a storage account’s Queue service." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/storageAccounts_queueServices_queues_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Storage/storageAccounts/queueServices" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/queueServices" + }, + "storageAccounts_queueServices_queues": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$", + "minLength": 3, + "maxLength": 63 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/QueueProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Storage/storageAccounts/queueServices/queues" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/queueServices/queues" + }, + "storageAccounts_tableServices": { + "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 Table Service within the specified storage account. Table Service Name must be 'default'" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TableServicePropertiesProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a storage account’s Table service." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/storageAccounts_tableServices_tables_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Storage/storageAccounts/tableServices" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/tableServices" + }, + "storageAccounts_tableServices_tables": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z][A-Za-z0-9]{2,62}$", + "minLength": 3, + "maxLength": 63 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Storage/storageAccounts/tableServices/tables" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/tableServices/tables" + } + }, + "definitions": { + "AccessPolicy": { + "type": "object", + "properties": { + "expiryTime": { + "type": "string", + "format": "date-time", + "description": "Expiry time of the access policy" + }, + "permission": { + "type": "string", + "description": "List of abbreviated permissions." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time of the access policy" + } + } + }, + "AccountImmutabilityPolicyProperties": { + "type": "object", + "properties": { + "allowProtectedAppendWrites": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property can only be changed for disabled and unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted." + }, + "immutabilityPeriodSinceCreationInDays": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 146000 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The immutability period for the blobs in the container since the policy creation, in days." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Unlocked", + "Locked", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The ImmutabilityPolicy state defines the mode of the policy. Disabled state disables the policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling allowProtectedAppendWrites property, Locked state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted." + } + }, + "description": "This defines account-level immutability policy properties." + }, + "ActiveDirectoryProperties": { + "type": "object", + "properties": { + "azureStorageSid": { + "type": "string", + "description": "Specifies the security identifier (SID) for Azure Storage." + }, + "domainGuid": { + "type": "string", + "description": "Specifies the domain GUID." + }, + "domainName": { + "type": "string", + "description": "Specifies the primary domain that the AD DNS server is authoritative for." + }, + "domainSid": { + "type": "string", + "description": "Specifies the security identifier (SID)." + }, + "forestName": { + "type": "string", + "description": "Specifies the Active Directory forest to get." + }, + "netBiosDomainName": { + "type": "string", + "description": "Specifies the NetBIOS domain name." + } + }, + "required": [ + "azureStorageSid", + "domainGuid", + "domainName", + "domainSid", + "forestName", + "netBiosDomainName" + ], + "description": "Settings properties for Active Directory (AD)." + }, + "AzureFilesIdentityBasedAuthentication": { + "type": "object", + "properties": { + "activeDirectoryProperties": { + "oneOf": [ + { + "$ref": "#/definitions/ActiveDirectoryProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings properties for Active Directory (AD)." + }, + "defaultSharePermission": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "StorageFileDataSmbShareReader", + "StorageFileDataSmbShareContributor", + "StorageFileDataSmbShareElevatedContributor" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Default share permission for users using Kerberos authentication if RBAC role is not assigned." + }, + "directoryServiceOptions": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "AADDS", + "AD" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the directory service used." + } + }, + "required": [ + "directoryServiceOptions" + ], + "description": "Settings for Azure Files identity based authentication." + }, + "BlobInventoryPolicyDefinition": { + "type": "object", + "properties": { + "filters": { + "oneOf": [ + { + "$ref": "#/definitions/BlobInventoryPolicyFilter" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An object that defines the blob inventory rule filter conditions. For 'Blob' definition.objectType all filter properties are applicable, 'blobTypes' is required and others are optional. For 'Container' definition.objectType only prefixMatch is applicable and is optional." + }, + "format": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Csv", + "Parquet" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is a required field, it specifies the format for the inventory files." + }, + "objectType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Blob", + "Container" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is a required field. This field specifies the scope of the inventory created either at the blob or container level." + }, + "schedule": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Daily", + "Weekly" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is a required field. This field is used to schedule an inventory formation." + }, + "schemaFields": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime'. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl' are valid only for Hns enabled accounts.'Tags' field is only valid for non Hns accounts" + } + }, + "required": [ + "format", + "objectType", + "schedule", + "schemaFields" + ], + "description": "An object that defines the blob inventory rule." + }, + "BlobInventoryPolicyFilter": { + "type": "object", + "properties": { + "blobTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'." + }, + "includeBlobVersions": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded." + }, + "includeSnapshots": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded." + }, + "prefixMatch": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array of strings for blob prefixes to be matched." + } + }, + "description": "An object that defines the blob inventory rule filter conditions. For 'Blob' definition.objectType all filter properties are applicable, 'blobTypes' is required and others are optional. For 'Container' definition.objectType only prefixMatch is applicable and is optional." + }, + "BlobInventoryPolicyProperties": { + "type": "object", + "properties": { + "policy": { + "oneOf": [ + { + "$ref": "#/definitions/BlobInventoryPolicySchema" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The storage account blob inventory policy rules." + } + }, + "required": [ + "policy" + ], + "description": "The storage account blob inventory policy properties." + }, + "BlobInventoryPolicyRule": { + "type": "object", + "properties": { + "definition": { + "oneOf": [ + { + "$ref": "#/definitions/BlobInventoryPolicyDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An object that defines the blob inventory rule." + }, + "destination": { + "type": "string", + "description": "Container name where blob inventory files are stored. Must be pre-created." + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Rule is enabled when set to true." + }, + "name": { + "type": "string", + "description": "A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy." + } + }, + "required": [ + "definition", + "destination", + "enabled", + "name" + ], + "description": "An object that wraps the blob inventory rule. Each rule is uniquely defined by name." + }, + "BlobInventoryPolicySchema": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy is enabled if set to true." + }, + "rules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/BlobInventoryPolicyRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The storage account blob inventory policy rules. The rule is applied when it is enabled." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Inventory" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The valid value is Inventory" + } + }, + "required": [ + "enabled", + "rules", + "type" + ], + "description": "The storage account blob inventory policy rules." + }, + "BlobServicePropertiesProperties": { + "type": "object", + "properties": { + "automaticSnapshotPolicyEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Deprecated in favor of isVersioningEnabled property." + }, + "changeFeed": { + "oneOf": [ + { + "$ref": "#/definitions/ChangeFeed" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The blob service properties for change feed events." + }, + "containerDeleteRetentionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/DeleteRetentionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The service properties for soft delete." + }, + "cors": { + "oneOf": [ + { + "$ref": "#/definitions/CorsRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. " + }, + "defaultServiceVersion": { + "type": "string", + "description": "DefaultServiceVersion indicates the default version to use for requests to the Blob service if an incoming request’s version is not specified. Possible values include version 2008-10-27 and all more recent versions." + }, + "deleteRetentionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/DeleteRetentionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The service properties for soft delete." + }, + "isVersioningEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Versioning is enabled if set to true." + }, + "lastAccessTimeTrackingPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/LastAccessTimeTrackingPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The blob service properties for Last access time based tracking policy." + }, + "restorePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/RestorePolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The blob service properties for blob restore policy" + } + }, + "description": "The properties of a storage account’s Blob service." + }, + "ChangeFeed": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether change feed event logging is enabled for the Blob service." + }, + "retentionInDays": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 146000 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed." + } + }, + "description": "The blob service properties for change feed events." + }, + "ContainerProperties": { + "type": "object", + "properties": { + "defaultEncryptionScope": { + "type": "string", + "description": "Default the container to use specified encryption scope for all writes." + }, + "denyEncryptionScopeOverride": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Block override of encryption scope from the container default." + }, + "enableNfsV3AllSquash": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable NFSv3 all squash on blob container." + }, + "enableNfsV3RootSquash": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable NFSv3 root squash on blob container." + }, + "immutableStorageWithVersioning": { + "oneOf": [ + { + "$ref": "#/definitions/ImmutableStorageWithVersioning" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Object level immutability properties of the container." + }, + "metadata": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A name-value pair to associate with the container as metadata." + }, + "publicAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Container", + "Blob", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether data in the container may be accessed publicly and the level of access." + } + }, + "description": "The properties of a container." + }, + "CorsRule": { + "type": "object", + "properties": { + "allowedHeaders": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request." + }, + "allowedMethods": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "DELETE", + "GET", + "HEAD", + "MERGE", + "POST", + "OPTIONS", + "PUT" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin." + }, + "allowedOrigins": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or \"*\" to allow all domains" + }, + "exposedHeaders": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required if CorsRule element is present. A list of response headers to expose to CORS clients." + }, + "maxAgeInSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response." + } + }, + "required": [ + "allowedHeaders", + "allowedMethods", + "allowedOrigins", + "exposedHeaders", + "maxAgeInSeconds" + ], + "description": "Specifies a CORS rule for the Blob service." + }, + "CorsRules": { + "type": "object", + "properties": { + "corsRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/CorsRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The List of CORS rules. You can include up to five CorsRule elements in the request. " + } + }, + "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. " + }, + "CustomDomain": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source." + }, + "useSubDomainName": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates." + } + }, + "required": [ + "name" + ], + "description": "The custom domain assigned to this storage account. This can be set via Update." + }, + "DateAfterCreation": { + "type": "object", + "properties": { + "daysAfterCreationGreaterThan": { + "oneOf": [ + { + "type": "number", + "multipleOf": 1, + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Value indicating the age in days after creation" + } + }, + "required": [ + "daysAfterCreationGreaterThan" + ], + "description": "Object to define the number of days after creation." + }, + "DateAfterModification": { + "type": "object", + "properties": { + "daysAfterLastAccessTimeGreaterThan": { + "oneOf": [ + { + "type": "number", + "multipleOf": 1, + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy" + }, + "daysAfterModificationGreaterThan": { + "oneOf": [ + { + "type": "number", + "multipleOf": 1, + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Value indicating the age in days after last modification" + } + }, + "description": "Object to define the number of days after object last modification Or last access. Properties daysAfterModificationGreaterThan and daysAfterLastAccessTimeGreaterThan are mutually exclusive." + }, + "DeleteRetentionPolicy": { + "type": "object", + "properties": { + "days": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 365 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365." + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether DeleteRetentionPolicy is enabled." + } + }, + "description": "The service properties for soft delete." + }, + "Encryption": { + "type": "object", + "properties": { + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encryption identity for the storage account." + }, + "keySource": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Microsoft.Storage", + "Microsoft.Keyvault" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault." + }, + "keyvaultproperties": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of key vault." + }, + "requireInfrastructureEncryption": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest." + }, + "services": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionServices" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of services that support encryption." + } + }, + "required": [ + "keySource" + ], + "description": "The encryption settings on the storage account." + }, + "EncryptionIdentity": { + "type": "object", + "properties": { + "userAssignedIdentity": { + "type": "string", + "description": "Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account." + } + }, + "description": "Encryption identity for the storage account." + }, + "EncryptionScopeKeyVaultProperties": { + "type": "object", + "properties": { + "keyUri": { + "type": "string", + "description": "The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope." + } + }, + "description": "The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'." + }, + "EncryptionScopeProperties": { + "type": "object", + "properties": { + "keyVaultProperties": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionScopeKeyVaultProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'." + }, + "requireInfrastructureEncryption": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest." + }, + "source": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Microsoft.Storage", + "Microsoft.KeyVault" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled." + } + }, + "description": "Properties of the encryption scope." + }, + "EncryptionService": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A boolean indicating whether or not the service encrypts the data as it is stored." + }, + "keyType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Service", + "Account" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used." + } + }, + "description": "A service that allows server-side encryption to be used." + }, + "EncryptionServices": { + "type": "object", + "properties": { + "blob": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionService" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A service that allows server-side encryption to be used." + }, + "file": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionService" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A service that allows server-side encryption to be used." + }, + "queue": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionService" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A service that allows server-side encryption to be used." + }, + "table": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionService" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A service that allows server-side encryption to be used." + } + }, + "description": "A list of services that support encryption." + }, + "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." + }, + "FileServicePropertiesProperties": { + "type": "object", + "properties": { + "cors": { + "oneOf": [ + { + "$ref": "#/definitions/CorsRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. " + }, + "protocolSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ProtocolSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Protocol settings for file service" + }, + "shareDeleteRetentionPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/DeleteRetentionPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The service properties for soft delete." + } + }, + "description": "The properties of File services in storage account." + }, + "FileShareProperties": { + "type": "object", + "properties": { + "accessTier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TransactionOptimized", + "Hot", + "Cool", + "Premium" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Access tier for specific share. GpV2 account can choose between TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium." + }, + "enabledProtocols": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SMB", + "NFS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The authentication protocol that is used for the file share. Can only be specified when creating a share." + }, + "metadata": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A name-value pair to associate with the share as metadata." + }, + "rootSquash": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NoRootSquash", + "RootSquash", + "AllSquash" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The property is for NFS share only. The default is NoRootSquash." + }, + "shareQuota": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 102400 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400." + }, + "signedIdentifiers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SignedIdentifier" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of stored access policies specified on the share." + } + }, + "description": "The properties of the file share." + }, + "Identity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned", + "SystemAssigned,UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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": "Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here." + } + }, + "required": [ + "type" + ], + "description": "Identity for the resource." + }, + "ImmutabilityPolicyProperty": { + "type": "object", + "properties": { + "allowProtectedAppendWrites": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API." + }, + "allowProtectedAppendWritesAll": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive." + }, + "immutabilityPeriodSinceCreationInDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The immutability period for the blobs in the container since the policy creation, in days." + } + }, + "description": "The properties of an ImmutabilityPolicy of a blob container." + }, + "ImmutableStorageAccount": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A boolean flag which enables account-level immutability. All the containers under such an account have object-level immutability enabled by default." + }, + "immutabilityPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/AccountImmutabilityPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This defines account-level immutability policy properties." + } + }, + "description": "This property enables and defines account-level immutability. Enabling the feature auto-enables Blob Versioning." + }, + "ImmutableStorageWithVersioning": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is an immutable property, when set to true it enables object level immutability at the container level." + } + }, + "description": "Object level immutability properties of the container." + }, + "IPRule": { + "type": "object", + "properties": { + "action": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Allow" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The action of IP ACL rule." + }, + "value": { + "type": "string", + "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed." + } + }, + "required": [ + "value" + ], + "description": "IP rule with specific IP or IP range in CIDR format." + }, + "KeyPolicy": { + "type": "object", + "properties": { + "keyExpirationPeriodInDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The key expiration period in days." + } + }, + "required": [ + "keyExpirationPeriodInDays" + ], + "description": "KeyPolicy assigned to the storage account." + }, + "KeyVaultProperties": { + "type": "object", + "properties": { + "keyname": { + "type": "string", + "description": "The name of KeyVault key." + }, + "keyvaulturi": { + "type": "string", + "description": "The Uri of KeyVault." + }, + "keyversion": { + "type": "string", + "description": "The version of KeyVault key." + } + }, + "description": "Properties of key vault." + }, + "LastAccessTimeTrackingPolicy": { + "type": "object", + "properties": { + "blobType": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only" + }, + "enable": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "When set to true last access time based tracking is enabled." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AccessTimeTracking" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of the policy. The valid value is AccessTimeTracking. This field is currently read only." + }, + "trackingGranularityInDays": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1" + } + }, + "required": [ + "enable" + ], + "description": "The blob service properties for Last access time based tracking policy." + }, + "ManagementPolicyAction": { + "type": "object", + "properties": { + "baseBlob": { + "oneOf": [ + { + "$ref": "#/definitions/ManagementPolicyBaseBlob" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Management policy action for base blob." + }, + "snapshot": { + "oneOf": [ + { + "$ref": "#/definitions/ManagementPolicySnapShot" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Management policy action for snapshot." + }, + "version": { + "oneOf": [ + { + "$ref": "#/definitions/ManagementPolicyVersion" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Management policy action for blob version." + } + }, + "description": "Actions are applied to the filtered blobs when the execution condition is met." + }, + "ManagementPolicyBaseBlob": { + "type": "object", + "properties": { + "delete": { + "oneOf": [ + { + "$ref": "#/definitions/DateAfterModification" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Object to define the number of days after object last modification Or last access. Properties daysAfterModificationGreaterThan and daysAfterLastAccessTimeGreaterThan are mutually exclusive." + }, + "enableAutoTierToHotFromCool": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan." + }, + "tierToArchive": { + "oneOf": [ + { + "$ref": "#/definitions/DateAfterModification" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Object to define the number of days after object last modification Or last access. Properties daysAfterModificationGreaterThan and daysAfterLastAccessTimeGreaterThan are mutually exclusive." + }, + "tierToCool": { + "oneOf": [ + { + "$ref": "#/definitions/DateAfterModification" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Object to define the number of days after object last modification Or last access. Properties daysAfterModificationGreaterThan and daysAfterLastAccessTimeGreaterThan are mutually exclusive." + } + }, + "description": "Management policy action for base blob." + }, + "ManagementPolicyDefinition": { + "type": "object", + "properties": { + "actions": { + "oneOf": [ + { + "$ref": "#/definitions/ManagementPolicyAction" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Actions are applied to the filtered blobs when the execution condition is met." + }, + "filters": { + "oneOf": [ + { + "$ref": "#/definitions/ManagementPolicyFilter" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters. " + } + }, + "required": [ + "actions" + ], + "description": "An object that defines the Lifecycle rule. Each definition is made up with a filters set and an actions set." + }, + "ManagementPolicyFilter": { + "type": "object", + "properties": { + "blobIndexMatch": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TagFilter" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array of blob index tag based filters, there can be at most 10 tag filters" + }, + "blobTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob." + }, + "prefixMatch": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array of strings for prefixes to be match." + } + }, + "required": [ + "blobTypes" + ], + "description": "Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters. " + }, + "ManagementPolicyProperties": { + "type": "object", + "properties": { + "policy": { + "oneOf": [ + { + "$ref": "#/definitions/ManagementPolicySchema" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts." + } + }, + "required": [ + "policy" + ], + "description": "The Storage Account ManagementPolicy properties." + }, + "ManagementPolicyRule": { + "type": "object", + "properties": { + "definition": { + "oneOf": [ + { + "$ref": "#/definitions/ManagementPolicyDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An object that defines the Lifecycle rule. Each definition is made up with a filters set and an actions set." + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Rule is enabled if set to true." + }, + "name": { + "type": "string", + "description": "A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Lifecycle" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The valid value is Lifecycle" + } + }, + "required": [ + "definition", + "name", + "type" + ], + "description": "An object that wraps the Lifecycle rule. Each rule is uniquely defined by name." + }, + "ManagementPolicySchema": { + "type": "object", + "properties": { + "rules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ManagementPolicyRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts." + } + }, + "required": [ + "rules" + ], + "description": "The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts." + }, + "ManagementPolicySnapShot": { + "type": "object", + "properties": { + "delete": { + "oneOf": [ + { + "$ref": "#/definitions/DateAfterCreation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Object to define the number of days after creation." + }, + "tierToArchive": { + "oneOf": [ + { + "$ref": "#/definitions/DateAfterCreation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Object to define the number of days after creation." + }, + "tierToCool": { + "oneOf": [ + { + "$ref": "#/definitions/DateAfterCreation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Object to define the number of days after creation." + } + }, + "description": "Management policy action for snapshot." + }, + "ManagementPolicyVersion": { + "type": "object", + "properties": { + "delete": { + "oneOf": [ + { + "$ref": "#/definitions/DateAfterCreation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Object to define the number of days after creation." + }, + "tierToArchive": { + "oneOf": [ + { + "$ref": "#/definitions/DateAfterCreation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Object to define the number of days after creation." + }, + "tierToCool": { + "oneOf": [ + { + "$ref": "#/definitions/DateAfterCreation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Object to define the number of days after creation." + } + }, + "description": "Management policy action for blob version." + }, + "Multichannel": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether multichannel is enabled" + } + }, + "description": "Multichannel setting. Applies to Premium FileStorage only." + }, + "NetworkRuleSet": { + "type": "object", + "properties": { + "bypass": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Logging", + "Metrics", + "AzureServices" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, \"Logging, Metrics\"), or None to bypass none of those traffics." + }, + "defaultAction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Allow", + "Deny" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the default action of allow or deny when no other rules match." + }, + "ipRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IPRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets the IP ACL rules" + }, + "resourceAccessRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceAccessRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets the resource access rules" + }, + "virtualNetworkRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworkRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets the virtual network rules" + } + }, + "required": [ + "defaultAction" + ], + "description": "Network rule set" + }, + "ObjectReplicationPolicyFilter": { + "type": "object", + "properties": { + "minCreationTime": { + "type": "string", + "description": "Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z" + }, + "prefixMatch": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. Filters the results to replicate only blobs whose names begin with the specified prefix." + } + }, + "description": "Filters limit replication to a subset of blobs within the storage account. A logical OR is performed on values in the filter. If multiple filters are defined, a logical AND is performed on all filters." + }, + "ObjectReplicationPolicyProperties": { + "type": "object", + "properties": { + "destinationAccount": { + "type": "string", + "description": "Required. Destination account name. It should be full resource id if allowCrossTenantReplication set to false." + }, + "rules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ObjectReplicationPolicyRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The storage account object replication rules." + }, + "sourceAccount": { + "type": "string", + "description": "Required. Source account name. It should be full resource id if allowCrossTenantReplication set to false." + } + }, + "required": [ + "destinationAccount", + "sourceAccount" + ], + "description": "The Storage Account ObjectReplicationPolicy properties." + }, + "ObjectReplicationPolicyRule": { + "type": "object", + "properties": { + "destinationContainer": { + "type": "string", + "description": "Required. Destination container name." + }, + "filters": { + "oneOf": [ + { + "$ref": "#/definitions/ObjectReplicationPolicyFilter" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Filters limit replication to a subset of blobs within the storage account. A logical OR is performed on values in the filter. If multiple filters are defined, a logical AND is performed on all filters." + }, + "ruleId": { + "type": "string", + "description": "Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account." + }, + "sourceContainer": { + "type": "string", + "description": "Required. Source container name." + } + }, + "required": [ + "destinationContainer", + "sourceContainer" + ], + "description": "The replication policy rule between two containers." + }, + "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": { + "actionRequired": { + "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." + }, + "ProtocolSettings": { + "type": "object", + "properties": { + "smb": { + "oneOf": [ + { + "$ref": "#/definitions/SmbSetting" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Setting for SMB protocol" + } + }, + "description": "Protocol settings for file service" + }, + "QueueProperties": { + "type": "object", + "properties": { + "metadata": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A name-value pair that represents queue metadata." + } + } + }, + "QueueServicePropertiesProperties": { + "type": "object", + "properties": { + "cors": { + "oneOf": [ + { + "$ref": "#/definitions/CorsRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. " + } + }, + "description": "The properties of a storage account’s Queue service." + }, + "ResourceAccessRule": { + "type": "object", + "properties": { + "resourceId": { + "type": "string", + "description": "Resource Id" + }, + "tenantId": { + "type": "string", + "description": "Tenant Id" + } + }, + "description": "Resource Access Rule." + }, + "RestorePolicyProperties": { + "type": "object", + "properties": { + "days": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 365 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days." + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Blob restore is enabled if set to true." + } + }, + "required": [ + "enabled" + ], + "description": "The blob service properties for blob restore policy" + }, + "RoutingPreference": { + "type": "object", + "properties": { + "publishInternetEndpoints": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A boolean flag which indicates whether internet routing storage endpoints are to be published" + }, + "publishMicrosoftEndpoints": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A boolean flag which indicates whether microsoft routing storage endpoints are to be published" + }, + "routingChoice": { + "oneOf": [ + { + "type": "string", + "enum": [ + "MicrosoftRouting", + "InternetRouting" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Routing Choice defines the kind of network routing opted by the user." + } + }, + "description": "Routing preference defines the type of network, either microsoft or internet routing to be used to deliver the user data, the default option is microsoft routing" + }, + "SasPolicy": { + "type": "object", + "properties": { + "expirationAction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Log" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SAS expiration action. Can only be Log." + }, + "sasExpirationPeriod": { + "type": "string", + "description": "The SAS expiration period, DD.HH:MM:SS." + } + }, + "required": [ + "expirationAction", + "sasExpirationPeriod" + ], + "description": "SasPolicy assigned to the storage account." + }, + "SignedIdentifier": { + "type": "object", + "properties": { + "accessPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/AccessPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "id": { + "type": "string", + "description": "An unique identifier of the stored access policy." + } + } + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Standard_GRS", + "Standard_RAGRS", + "Standard_ZRS", + "Premium_LRS", + "Premium_ZRS", + "Standard_GZRS", + "Standard_RAGZRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "Premium" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "name" + ], + "description": "The SKU of the storage account." + }, + "SmbSetting": { + "type": "object", + "properties": { + "authenticationMethods": { + "type": "string", + "description": "SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'." + }, + "channelEncryption": { + "type": "string", + "description": "SMB channel encryption supported by server. Valid values are AES-128-CCM, AES-128-GCM, AES-256-GCM. Should be passed as a string with delimiter ';'." + }, + "kerberosTicketEncryption": { + "type": "string", + "description": "Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'" + }, + "multichannel": { + "oneOf": [ + { + "$ref": "#/definitions/Multichannel" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Multichannel setting. Applies to Premium FileStorage only." + }, + "versions": { + "type": "string", + "description": "SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'." + } + }, + "description": "Setting for SMB protocol" + }, + "StorageAccountPropertiesCreateParameters": { + "type": "object", + "properties": { + "accessTier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Hot", + "Cool" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required for storage accounts where kind = BlobStorage. The access tier used for billing." + }, + "allowBlobPublicAccess": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property." + }, + "allowCrossTenantReplication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allow or disallow cross AAD tenant object replication. The default interpretation is true for this property." + }, + "allowSharedKeyAccess": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true." + }, + "azureFilesIdentityBasedAuthentication": { + "oneOf": [ + { + "$ref": "#/definitions/AzureFilesIdentityBasedAuthentication" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings for Azure Files identity based authentication." + }, + "customDomain": { + "oneOf": [ + { + "$ref": "#/definitions/CustomDomain" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The custom domain assigned to this storage account. This can be set via Update." + }, + "defaultToOAuthAuthentication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property." + }, + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/Encryption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The encryption settings on the storage account." + }, + "immutableStorageWithVersioning": { + "oneOf": [ + { + "$ref": "#/definitions/ImmutableStorageAccount" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property enables and defines account-level immutability. Enabling the feature auto-enables Blob Versioning." + }, + "isHnsEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Account HierarchicalNamespace enabled if sets to true." + }, + "isNfsV3Enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NFS 3.0 protocol support enabled if set to true." + }, + "keyPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/KeyPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "KeyPolicy assigned to the storage account." + }, + "largeFileSharesState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled." + }, + "minimumTlsVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TLS1_0", + "TLS1_1", + "TLS1_2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property." + }, + "networkAcls": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkRuleSet" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network rule set" + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allow or disallow public network access to Storage Account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'." + }, + "routingPreference": { + "oneOf": [ + { + "$ref": "#/definitions/RoutingPreference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Routing preference defines the type of network, either microsoft or internet routing to be used to deliver the user data, the default option is microsoft routing" + }, + "sasPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/SasPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SasPolicy assigned to the storage account." + }, + "supportsHttpsTrafficOnly": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01." + } + }, + "description": "The parameters used to create the storage account." + }, + "storageAccounts_blobServices_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the blob Service within the specified storage account. Blob Service Name must be 'default'" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BlobServicePropertiesProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a storage account’s Blob service." + }, + "type": { + "type": "string", + "enum": [ + "blobServices" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/blobServices" + }, + "storageAccounts_blobServices_containers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 63, + "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a container." + }, + "type": { + "type": "string", + "enum": [ + "containers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/blobServices/containers" + }, + "storageAccounts_blobServices_containers_immutabilityPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default'" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ImmutabilityPolicyProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an ImmutabilityPolicy of a blob container." + }, + "type": { + "type": "string", + "enum": [ + "immutabilityPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies" + }, + "storageAccounts_encryptionScopes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 63, + "description": "The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionScopeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the encryption scope." + }, + "type": { + "type": "string", + "enum": [ + "encryptionScopes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/encryptionScopes" + }, + "storageAccounts_fileServices_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the file Service within the specified storage account. File Service Name must be \"default\"" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/FileServicePropertiesProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of File services in storage account." + }, + "type": { + "type": "string", + "enum": [ + "fileServices" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/fileServices" + }, + "storageAccounts_fileServices_shares_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 63, + "description": "The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/FileShareProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the file share." + }, + "type": { + "type": "string", + "enum": [ + "shares" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/fileServices/shares" + }, + "storageAccounts_inventoryPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the storage account blob inventory policy. It should always be 'default'" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BlobInventoryPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The storage account blob inventory policy properties." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "inventoryPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/inventoryPolicies" + }, + "storageAccounts_managementPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the Storage Account Management Policy. It should always be 'default'" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagementPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Storage Account ManagementPolicy properties." + }, + "type": { + "type": "string", + "enum": [ + "managementPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/managementPolicies" + }, + "storageAccounts_objectReplicationPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "description": "For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ObjectReplicationPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Storage Account ObjectReplicationPolicy properties." + }, + "type": { + "type": "string", + "enum": [ + "objectReplicationPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/objectReplicationPolicies" + }, + "storageAccounts_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-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.Storage/storageAccounts/privateEndpointConnections" + }, + "storageAccounts_queueServices_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the Queue Service within the specified storage account. Queue Service Name must be 'default'" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/QueueServicePropertiesProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a storage account’s Queue service." + }, + "type": { + "type": "string", + "enum": [ + "queueServices" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/queueServices" + }, + "storageAccounts_queueServices_queues_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$", + "minLength": 3, + "maxLength": 63 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/QueueProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "queues" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/queueServices/queues" + }, + "storageAccounts_tableServices_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the Table Service within the specified storage account. Table Service Name must be 'default'" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TableServicePropertiesProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a storage account’s Table service." + }, + "type": { + "type": "string", + "enum": [ + "tableServices" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/tableServices" + }, + "storageAccounts_tableServices_tables_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z][A-Za-z0-9]{2,62}$", + "minLength": 3, + "maxLength": 63 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character." + }, + "type": { + "type": "string", + "enum": [ + "tables" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.Storage/storageAccounts/tableServices/tables" + }, + "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." + }, + "TableServicePropertiesProperties": { + "type": "object", + "properties": { + "cors": { + "oneOf": [ + { + "$ref": "#/definitions/CorsRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. " + } + }, + "description": "The properties of a storage account’s Table service." + }, + "TagFilter": { + "type": "object", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "maxLength": 128, + "description": "This is the filter tag name, it can have 1 - 128 characters" + }, + "op": { + "type": "string", + "description": "This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported" + }, + "value": { + "type": "string", + "minLength": 0, + "maxLength": 256, + "description": "This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters" + } + }, + "required": [ + "name", + "op", + "value" + ], + "description": "Blob index tag based filtering for blob objects" + }, + "UserAssignedIdentity": { + "type": "object", + "properties": {}, + "description": "UserAssignedIdentity for the resource." + }, + "VirtualNetworkRule": { + "type": "object", + "properties": { + "action": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Allow" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The action of virtual network rule." + }, + "id": { + "type": "string", + "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Provisioning", + "Deprovisioning", + "Succeeded", + "Failed", + "NetworkSourceDeleted" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets the state of virtual network rule." + } + }, + "required": [ + "id" + ], + "description": "Virtual Network rule." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index a557ef04d1..8ac22c2815 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -10438,6 +10438,51 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_tableServices_tables" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_blobServices" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_blobServices_containers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_blobServices_containers_immutabilityPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_encryptionScopes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_fileServices" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_fileServices_shares" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_inventoryPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_managementPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_objectReplicationPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_queueServices" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_queueServices_queues" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_tableServices" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Storage.json#/resourceDefinitions/storageAccounts_tableServices_tables" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-08-01-preview/Microsoft.StorageCache.json#/resourceDefinitions/caches" }, From 2651c3177ffa61e077cec5e1b38da07e60d1da65 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 14 Sep 2021 02:53:55 +0000 Subject: [PATCH 186/243] CodeGen from PR 14311 in Azure/azure-rest-api-specs [Microsoft.IoTCentral/iotApps] Removal of legacy S1 SKU, S360 Fixes, newer RP API version 2021-06-01 (#14311) * Adds base for updating Microsoft.IoTCentral from version stable/2018-09-01 to version 2021-06-01 * Updates readme * Updates API version in new specs and examples * remove legacy sku S1 * update template in example to use M3 template name * add suppress for R4009 and R3018 * add state * update * should be read only * update example * Update iotcentral.json temporary changing this for further testing in canary. * removal of f1 and deleted state --- schemas/2021-06-01/Microsoft.IotCentral.json | 139 +++++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 2 files changed, 142 insertions(+) create mode 100644 schemas/2021-06-01/Microsoft.IotCentral.json diff --git a/schemas/2021-06-01/Microsoft.IotCentral.json b/schemas/2021-06-01/Microsoft.IotCentral.json new file mode 100644 index 0000000000..f7c75639e4 --- /dev/null +++ b/schemas/2021-06-01/Microsoft.IotCentral.json @@ -0,0 +1,139 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.IotCentral.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.IoTCentral", + "description": "Microsoft IoTCentral Resource Types", + "resourceDefinitions": { + "iotApps": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "location": { + "type": "string", + "description": "The resource location." + }, + "name": { + "type": "string", + "description": "The ARM resource name of the IoT Central application." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AppProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an IoT Central application." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/AppSkuInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information about the SKU of the IoT Central application." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.IoTCentral/iotApps" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.IoTCentral/iotApps" + } + }, + "definitions": { + "AppProperties": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "description": "The display name of the application." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "created", + "suspended" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The current state of the application." + }, + "subdomain": { + "type": "string", + "description": "The subdomain of the application." + }, + "template": { + "type": "string", + "description": "The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch." + } + }, + "description": "The properties of an IoT Central application." + }, + "AppSkuInfo": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ST0", + "ST1", + "ST2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the SKU." + } + }, + "required": [ + "name" + ], + "description": "Information about the SKU of the IoT Central application." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 8ac22c2815..b5ed43a5ed 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6613,6 +6613,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#/resourceDefinitions/iotApps" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.IotCentral.json#/resourceDefinitions/iotApps" + }, { "$ref": "https://schema.management.azure.com/schemas/2015-06-01/Microsoft.KeyVault.json#/resourceDefinitions/vaults" }, From 649fc556ba4b4a3d9cf9ee59573f4fb195a448d0 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 14 Sep 2021 03:05:20 +0000 Subject: [PATCH 187/243] CodeGen from PR 15721 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.ContainerInstance to add version stable/2021-07-01 (#15721) * Adds base for updating Microsoft.ContainerInstance from version stable/2021-03-01 to version 2021-07-01 * Updates readme * Updates API version in new specs and examples * Adding subnet IDs * Adding fixes from pending 03-01 update * Changing definition name to match convention * Adding network dependencies API * Adding MSI+ACR properties * Removing network profile * Updating example * Fixing JSON error * Removing network profile reference * Adding Integer format where missing * Removing comma * Fixing example * Fixing example * Ran Prettier to resolve check failure * Running prettier again for format --- .../Microsoft.ContainerInstance.json | 1262 +++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 2 files changed, 1265 insertions(+) create mode 100644 schemas/2021-07-01/Microsoft.ContainerInstance.json diff --git a/schemas/2021-07-01/Microsoft.ContainerInstance.json b/schemas/2021-07-01/Microsoft.ContainerInstance.json new file mode 100644 index 0000000000..cb4c078c51 --- /dev/null +++ b/schemas/2021-07-01/Microsoft.ContainerInstance.json @@ -0,0 +1,1262 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.ContainerInstance.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.ContainerInstance", + "description": "Microsoft ContainerInstance Resource Types", + "resourceDefinitions": { + "containerGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerGroupIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the container group." + }, + "location": { + "type": "string", + "description": "The resource location." + }, + "name": { + "type": "string", + "description": "The name of the container group." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The container group properties" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerInstance/containerGroups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerInstance/containerGroups" + } + }, + "definitions": { + "AzureFileVolume": { + "type": "object", + "properties": { + "readOnly": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag indicating whether the Azure File shared mounted as a volume is read-only." + }, + "shareName": { + "type": "string", + "description": "The name of the Azure File share to be mounted as a volume." + }, + "storageAccountKey": { + "type": "string", + "description": "The storage account access key used to access the Azure File share." + }, + "storageAccountName": { + "type": "string", + "description": "The name of the storage account that contains the Azure File share." + } + }, + "required": [ + "shareName", + "storageAccountName" + ], + "description": "The properties of the Azure File volume. Azure File shares are mounted as volumes." + }, + "Components10wh5udschemascontainergroupidentitypropertiesuserassignedidentitiesadditionalproperties": { + "type": "object", + "properties": {} + }, + "Container": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The user-provided name of the container instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The container instance properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "A container instance." + }, + "ContainerExec": { + "type": "object", + "properties": { + "command": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The commands to execute within the container." + } + }, + "description": "The container execution command, for liveness or readiness probe" + }, + "ContainerGroupDiagnostics": { + "type": "object", + "properties": { + "logAnalytics": { + "oneOf": [ + { + "$ref": "#/definitions/LogAnalytics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Container group log analytics information." + } + }, + "description": "Container group diagnostic information." + }, + "ContainerGroupIdentity": { + "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": "The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/Components10wh5udschemascontainergroupidentitypropertiesuserassignedidentitiesadditionalproperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the container group." + }, + "ContainerGroupProperties": { + "type": "object", + "properties": { + "containers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Container" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The containers within the container group." + }, + "diagnostics": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerGroupDiagnostics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Container group diagnostic information." + }, + "dnsConfig": { + "oneOf": [ + { + "$ref": "#/definitions/DnsConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DNS configuration for the container group." + }, + "encryptionProperties": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The container group encryption properties." + }, + "imageRegistryCredentials": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ImageRegistryCredential" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The image registry credentials by which the container group is created from." + }, + "initContainers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/InitContainerDefinition" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The init containers for a container group." + }, + "ipAddress": { + "oneOf": [ + { + "$ref": "#/definitions/IpAddress" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "IP address for the container group." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The operating system type required by the containers in the container group." + }, + "restartPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Always", + "OnFailure", + "Never" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Restart policy for all containers within the container group. \n- `Always` Always restart\n- `OnFailure` Restart on failure\n- `Never` Never restart\n." + }, + "sku": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "Dedicated" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SKU for a container group." + }, + "subnetIds": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerGroupSubnetId" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The subnet resource IDs for a container group." + }, + "volumes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Volume" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of volumes that can be mounted by containers in this container group." + } + }, + "required": [ + "containers", + "osType" + ], + "description": "The container group properties" + }, + "ContainerGroupSubnetId": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID of virtual network and subnet." + }, + "name": { + "type": "string", + "description": "Friendly name for the subnet." + } + }, + "required": [ + "id" + ], + "description": "Container group subnet information." + }, + "ContainerHttpGet": { + "type": "object", + "properties": { + "httpHeaders": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/HttpHeader" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The HTTP headers." + }, + "path": { + "type": "string", + "description": "The path to probe." + }, + "port": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port number to probe." + }, + "scheme": { + "oneOf": [ + { + "type": "string", + "enum": [ + "http", + "https" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The scheme." + } + }, + "required": [ + "port" + ], + "description": "The container Http Get settings, for liveness or readiness probe" + }, + "ContainerPort": { + "type": "object", + "properties": { + "port": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port number exposed within the container group." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TCP", + "UDP" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The protocol associated with the port." + } + }, + "required": [ + "port" + ], + "description": "The port exposed on the container instance." + }, + "ContainerProbe": { + "type": "object", + "properties": { + "exec": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerExec" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The container execution command, for liveness or readiness probe" + }, + "failureThreshold": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The failure threshold." + }, + "httpGet": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerHttpGet" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The container Http Get settings, for liveness or readiness probe" + }, + "initialDelaySeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The initial delay seconds." + }, + "periodSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The period seconds." + }, + "successThreshold": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The success threshold." + }, + "timeoutSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The timeout seconds." + } + }, + "description": "The container probe, for liveness or readiness" + }, + "ContainerProperties": { + "type": "object", + "properties": { + "command": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The commands to execute within the container instance in exec form." + }, + "environmentVariables": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentVariable" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The environment variables to set in the container instance." + }, + "image": { + "type": "string", + "description": "The name of the image used to create the container instance." + }, + "livenessProbe": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerProbe" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The container probe, for liveness or readiness" + }, + "ports": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerPort" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The exposed ports on the container instance." + }, + "readinessProbe": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerProbe" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The container probe, for liveness or readiness" + }, + "resources": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRequirements" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource requirements." + }, + "volumeMounts": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VolumeMount" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The volume mounts available to the container instance." + } + }, + "required": [ + "image", + "resources" + ], + "description": "The container instance properties." + }, + "DnsConfiguration": { + "type": "object", + "properties": { + "nameServers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The DNS servers for the container group." + }, + "options": { + "type": "string", + "description": "The DNS options for the container group." + }, + "searchDomains": { + "type": "string", + "description": "The DNS search domains for hostname lookup in the container group." + } + }, + "required": [ + "nameServers" + ], + "description": "DNS configuration for the container group." + }, + "EncryptionProperties": { + "type": "object", + "properties": { + "keyName": { + "type": "string", + "description": "The encryption key name." + }, + "keyVersion": { + "type": "string", + "description": "The encryption key version." + }, + "vaultBaseUrl": { + "type": "string", + "description": "The keyvault base url." + } + }, + "required": [ + "keyName", + "keyVersion", + "vaultBaseUrl" + ], + "description": "The container group encryption properties." + }, + "EnvironmentVariable": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the environment variable." + }, + "secureValue": { + "type": "string", + "description": "The value of the secure environment variable." + }, + "value": { + "type": "string", + "description": "The value of the environment variable." + } + }, + "required": [ + "name" + ], + "description": "The environment variable to set within the container instance." + }, + "GitRepoVolume": { + "type": "object", + "properties": { + "directory": { + "type": "string", + "description": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name." + }, + "repository": { + "type": "string", + "description": "Repository URL" + }, + "revision": { + "type": "string", + "description": "Commit hash for the specified revision." + } + }, + "required": [ + "repository" + ], + "description": "Represents a volume that is populated with the contents of a git repository" + }, + "GpuResource": { + "type": "object", + "properties": { + "count": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The count of the GPU resource." + }, + "sku": { + "oneOf": [ + { + "type": "string", + "enum": [ + "K80", + "P100", + "V100" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SKU of the GPU resource." + } + }, + "required": [ + "count", + "sku" + ], + "description": "The GPU resource." + }, + "HttpHeader": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The header name." + }, + "value": { + "type": "string", + "description": "The header value." + } + }, + "description": "The HTTP header." + }, + "ImageRegistryCredential": { + "type": "object", + "properties": { + "identity": { + "type": "string", + "description": "The identity for the private registry." + }, + "identityUrl": { + "type": "string", + "description": "The identity URL for the private registry." + }, + "password": { + "type": "string", + "description": "The password for the private registry." + }, + "server": { + "type": "string", + "description": "The Docker image registry server without a protocol such as \"http\" and \"https\"." + }, + "username": { + "type": "string", + "description": "The username for the private registry." + } + }, + "required": [ + "server", + "username" + ], + "description": "Image registry credential." + }, + "InitContainerDefinition": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name for the init container." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/InitContainerPropertiesDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The init container definition properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "The init container definition." + }, + "InitContainerPropertiesDefinition": { + "type": "object", + "properties": { + "command": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The command to execute within the init container in exec form." + }, + "environmentVariables": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentVariable" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The environment variables to set in the init container." + }, + "image": { + "type": "string", + "description": "The image of the init container." + }, + "volumeMounts": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VolumeMount" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The volume mounts available to the init container." + } + }, + "description": "The init container definition properties." + }, + "IpAddress": { + "type": "object", + "properties": { + "dnsNameLabel": { + "type": "string", + "description": "The Dns name label for the IP." + }, + "ip": { + "type": "string", + "description": "The IP exposed to the public internet." + }, + "ports": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Port" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of ports exposed on the container group." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Public", + "Private" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies if the IP is exposed to the public internet or private VNET." + } + }, + "required": [ + "ports", + "type" + ], + "description": "IP address for the container group." + }, + "LogAnalytics": { + "type": "object", + "properties": { + "logType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ContainerInsights", + "ContainerInstanceLogs" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The log type to be used." + }, + "metadata": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata for log analytics." + }, + "workspaceId": { + "type": "string", + "description": "The workspace id for log analytics" + }, + "workspaceKey": { + "type": "string", + "description": "The workspace key for log analytics" + }, + "workspaceResourceId": { + "type": "string", + "description": "The workspace resource id for log analytics" + } + }, + "required": [ + "workspaceId", + "workspaceKey" + ], + "description": "Container group log analytics information." + }, + "Port": { + "type": "object", + "properties": { + "port": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port number." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TCP", + "UDP" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The protocol associated with the port." + } + }, + "required": [ + "port" + ], + "description": "The port exposed on the container group." + }, + "ResourceLimits": { + "type": "object", + "properties": { + "cpu": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The CPU limit of this container instance." + }, + "gpu": { + "oneOf": [ + { + "$ref": "#/definitions/GpuResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The GPU resource." + }, + "memoryInGB": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The memory limit in GB of this container instance." + } + }, + "description": "The resource limits." + }, + "ResourceRequests": { + "type": "object", + "properties": { + "cpu": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The CPU request of this container instance." + }, + "gpu": { + "oneOf": [ + { + "$ref": "#/definitions/GpuResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The GPU resource." + }, + "memoryInGB": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The memory request in GB of this container instance." + } + }, + "required": [ + "cpu", + "memoryInGB" + ], + "description": "The resource requests." + }, + "ResourceRequirements": { + "type": "object", + "properties": { + "limits": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceLimits" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource limits." + }, + "requests": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRequests" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource requests." + } + }, + "required": [ + "requests" + ], + "description": "The resource requirements." + }, + "Volume": { + "type": "object", + "properties": { + "azureFile": { + "oneOf": [ + { + "$ref": "#/definitions/AzureFileVolume" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the Azure File volume. Azure File shares are mounted as volumes." + }, + "emptyDir": { + "type": "object", + "properties": {}, + "description": "The empty directory volume." + }, + "gitRepo": { + "oneOf": [ + { + "$ref": "#/definitions/GitRepoVolume" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents a volume that is populated with the contents of a git repository" + }, + "name": { + "type": "string", + "description": "The name of the volume." + }, + "secret": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The secret volume." + } + }, + "required": [ + "name" + ], + "description": "The properties of the volume." + }, + "VolumeMount": { + "type": "object", + "properties": { + "mountPath": { + "type": "string", + "description": "The path within the container where the volume should be mounted. Must not contain colon (:)." + }, + "name": { + "type": "string", + "description": "The name of the volume mount." + }, + "readOnly": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag indicating whether the volume mount is read-only." + } + }, + "required": [ + "mountPath", + "name" + ], + "description": "The properties of the volume mount." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index b5ed43a5ed..0edad612dd 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -2704,6 +2704,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-03-01/Microsoft.ContainerInstance.json#/resourceDefinitions/containerGroups" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.ContainerInstance.json#/resourceDefinitions/containerGroups" + }, { "$ref": "https://schema.management.azure.com/schemas/2016-06-27-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries" }, From ff81dc3384ed5b2467db61270ef077ba816667ff Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 14 Sep 2021 03:25:31 +0000 Subject: [PATCH 188/243] CodeGen from PR 15913 in Azure/azure-rest-api-specs Dev desktopvirtualization microsoft.desktop virtualization 2021 09 03 preview (#15913) * Adds base for updating Microsoft.DesktopVirtualization from version preview/2021-04-01-preview to version 2021-09-03-preview * Updates readme * Updates API version in new specs and examples * add scaling plan changes * fix pagination * system data for all * add object type * Trigger Build * more object types * more object types * add description * add error response * int format --- .../Microsoft.DesktopVirtualization.json | 2057 +++++++++++++++++ schemas/common/autogeneratedResources.json | 24 + 2 files changed, 2081 insertions(+) create mode 100644 schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json diff --git a/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json b/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json new file mode 100644 index 0000000000..520d853964 --- /dev/null +++ b/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json @@ -0,0 +1,2057 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.DesktopVirtualization", + "description": "Microsoft DesktopVirtualization Resource Types", + "resourceDefinitions": { + "applicationGroups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-03-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "kind": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-\\w\\._,\\(\\)]+$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "managedBy": { + "type": "string", + "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource." + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 64, + "description": "The name of the application group" + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationGroupProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schema for ApplicationGroup properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/applicationGroups_applications_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DesktopVirtualization/applicationGroups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DesktopVirtualization/applicationGroups" + }, + "applicationGroups_applications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-03-preview" + ] + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 24, + "description": "The name of the application within the specified application group" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schema for Application properties." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DesktopVirtualization/applicationGroups/applications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" + }, + "hostPools": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-03-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "kind": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-\\w\\._,\\(\\)]+$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "managedBy": { + "type": "string", + "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource." + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 64, + "description": "The name of the host pool within the specified resource group" + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HostPoolProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of HostPool." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/hostPools_msixPackages_childResource" + }, + { + "$ref": "#/definitions/hostPools_privateEndpointConnections_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DesktopVirtualization/hostPools" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DesktopVirtualization/hostPools" + }, + "hostPools_msixPackages": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-03-preview" + ] + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 100, + "description": "The version specific package full name of the MSIX package within specified hostpool" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MSIXPackageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schema for MSIX Package properties." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DesktopVirtualization/hostPools/msixPackages" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" + }, + "hostPools_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-03-preview" + ] + }, + "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.DesktopVirtualization/hostPools/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections" + }, + "scalingPlans": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-03-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "kind": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-\\w\\._,\\(\\)]+$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "managedBy": { + "type": "string", + "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource." + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 64, + "description": "The name of the scaling plan." + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScalingPlanProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Scaling plan properties." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DesktopVirtualization/scalingPlans" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DesktopVirtualization/scalingPlans" + }, + "workspaces": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-03-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceModelWithAllowedPropertySetIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "kind": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-\\w\\._,\\(\\)]+$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "managedBy": { + "type": "string", + "description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource." + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 64, + "description": "The name of the workspace" + }, + "plan": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceModelWithAllowedPropertySetPlan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkspaceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schema for Workspace properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceModelWithAllowedPropertySetSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DesktopVirtualization/workspaces" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DesktopVirtualization/workspaces" + }, + "workspaces_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-03-preview" + ] + }, + "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.DesktopVirtualization/workspaces/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections" + } + }, + "definitions": { + "ApplicationGroupProperties": { + "type": "object", + "properties": { + "applicationGroupType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "RemoteApp", + "Desktop" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource Type of ApplicationGroup." + }, + "description": { + "type": "string", + "description": "Description of ApplicationGroup." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of ApplicationGroup." + }, + "hostPoolArmPath": { + "type": "string", + "description": "HostPool arm path of ApplicationGroup." + }, + "migrationRequest": { + "oneOf": [ + { + "$ref": "#/definitions/MigrationRequestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for arm migration." + } + }, + "required": [ + "applicationGroupType", + "hostPoolArmPath" + ], + "description": "Schema for ApplicationGroup properties." + }, + "applicationGroups_applications_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-03-preview" + ] + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 24, + "description": "The name of the application within the specified application group" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schema for Application properties." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "applications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DesktopVirtualization/applicationGroups/applications" + }, + "ApplicationProperties": { + "type": "object", + "properties": { + "applicationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "InBuilt", + "MsixApplication" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource Type of Application." + }, + "commandLineArguments": { + "type": "string", + "description": "Command Line Arguments for Application." + }, + "commandLineSetting": { + "oneOf": [ + { + "type": "string", + "enum": [ + "DoNotAllow", + "Allow", + "Require" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether this published application can be launched with command line arguments provided by the client, command line arguments specified at publish time, or no command line arguments at all." + }, + "description": { + "type": "string", + "description": "Description of Application." + }, + "filePath": { + "type": "string", + "description": "Specifies a path for the executable file for the application." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Application." + }, + "iconIndex": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Index of the icon." + }, + "iconPath": { + "type": "string", + "description": "Path to icon." + }, + "msixPackageApplicationId": { + "type": "string", + "description": "Specifies the package application Id for MSIX applications" + }, + "msixPackageFamilyName": { + "type": "string", + "description": "Specifies the package family name for MSIX applications" + }, + "showInPortal": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether to show the RemoteApp program in the RD Web Access server." + } + }, + "required": [ + "commandLineSetting" + ], + "description": "Schema for Application properties." + }, + "HostPoolProperties": { + "type": "object", + "properties": { + "customRdpProperty": { + "type": "string", + "description": "Custom rdp property of HostPool." + }, + "description": { + "type": "string", + "description": "Description of HostPool." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of HostPool." + }, + "hostPoolType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Personal", + "Pooled", + "BYODesktop" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HostPool type for desktop." + }, + "loadBalancerType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "BreadthFirst", + "DepthFirst", + "Persistent" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of the load balancer." + }, + "maxSessionLimit": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The max session limit of HostPool." + }, + "migrationRequest": { + "oneOf": [ + { + "$ref": "#/definitions/MigrationRequestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for arm migration." + }, + "personalDesktopAssignmentType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Automatic", + "Direct" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PersonalDesktopAssignment type for HostPool." + }, + "preferredAppGroupType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Desktop", + "RailApplications" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of preferred application group type, default to Desktop Application Group." + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints." + }, + "registrationInfo": { + "oneOf": [ + { + "$ref": "#/definitions/RegistrationInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents a RegistrationInfo definition." + }, + "ring": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The ring number of HostPool." + }, + "ssoadfsAuthority": { + "type": "string", + "description": "URL to customer ADFS server for signing WVD SSO certificates." + }, + "ssoClientId": { + "type": "string", + "description": "ClientId for the registered Relying Party used to issue WVD SSO certificates." + }, + "ssoClientSecretKeyVaultPath": { + "type": "string", + "description": "Path to Azure KeyVault storing the secret used for communication to ADFS." + }, + "ssoSecretType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SharedKey", + "Certificate", + "SharedKeyInKeyVault", + "CertificateInKeyVault" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of single sign on Secret Type." + }, + "startVMOnConnect": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag to turn on/off StartVMOnConnect feature." + }, + "validationEnvironment": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Is validation environment." + }, + "vmTemplate": { + "type": "string", + "description": "VM template for sessionhosts configuration within hostpool." + } + }, + "required": [ + "hostPoolType", + "loadBalancerType", + "preferredAppGroupType" + ], + "description": "Properties of HostPool." + }, + "hostPools_msixPackages_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-03-preview" + ] + }, + "name": { + "type": "string", + "minLength": 3, + "maxLength": 100, + "description": "The version specific package full name of the MSIX package within specified hostpool" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MSIXPackageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schema for MSIX Package properties." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "type": { + "type": "string", + "enum": [ + "msixPackages" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DesktopVirtualization/hostPools/msixPackages" + }, + "hostPools_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-03-preview" + ] + }, + "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.DesktopVirtualization/hostPools/privateEndpointConnections" + }, + "MigrationRequestProperties": { + "type": "object", + "properties": { + "migrationPath": { + "type": "string", + "description": "The path to the legacy object to migrate." + }, + "operation": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Start", + "Revoke", + "Complete", + "Hide", + "Unhide" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of operation for migration." + } + }, + "description": "Properties for arm migration." + }, + "MsixPackageApplications": { + "type": "object", + "properties": { + "appId": { + "type": "string", + "description": "Package Application Id, found in appxmanifest.xml." + }, + "appUserModelID": { + "type": "string", + "description": "Used to activate Package Application. Consists of Package Name and ApplicationID. Found in appxmanifest.xml." + }, + "description": { + "type": "string", + "description": "Description of Package Application." + }, + "friendlyName": { + "type": "string", + "description": "User friendly name." + }, + "iconImageName": { + "type": "string", + "description": "User friendly name." + }, + "rawIcon": { + "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": "the icon a 64 bit string as a byte array." + }, + "rawPng": { + "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": "the icon a 64 bit string as a byte array." + } + }, + "description": "Schema for MSIX Package Application properties." + }, + "MsixPackageDependencies": { + "type": "object", + "properties": { + "dependencyName": { + "type": "string", + "description": "Name of package dependency." + }, + "minVersion": { + "type": "string", + "description": "Dependency version required." + }, + "publisher": { + "type": "string", + "description": "Name of dependency publisher." + } + }, + "description": "Schema for MSIX Package Dependencies properties." + }, + "MSIXPackageProperties": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "description": "User friendly Name to be displayed in the portal. " + }, + "imagePath": { + "type": "string", + "description": "VHD/CIM image path on Network Share." + }, + "isActive": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Make this version of the package the active one across the hostpool. " + }, + "isRegularRegistration": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies how to register Package in feed." + }, + "lastUpdated": { + "type": "string", + "format": "date-time", + "description": "Date Package was last updated, found in the appxmanifest.xml. " + }, + "packageApplications": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MsixPackageApplications" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of package applications. " + }, + "packageDependencies": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MsixPackageDependencies" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of package dependencies. " + }, + "packageFamilyName": { + "type": "string", + "description": "Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name. " + }, + "packageName": { + "type": "string", + "description": "Package Name from appxmanifest.xml. " + }, + "packageRelativePath": { + "type": "string", + "description": "Relative Path to the package inside the image. " + }, + "version": { + "type": "string", + "description": "Package Version found in the appxmanifest.xml. " + } + }, + "description": "Schema for MSIX Package properties." + }, + "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." + }, + "RegistrationInfo": { + "type": "object", + "properties": { + "expirationTime": { + "type": "string", + "format": "date-time", + "description": "Expiration time of registration token." + }, + "registrationTokenOperation": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "None", + "Update" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of resetting the token." + }, + "token": { + "type": "string", + "description": "The registration token base64 encoded string." + } + }, + "description": "Represents a RegistrationInfo definition." + }, + "ResourceModelWithAllowedPropertySetIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identity type." + } + } + }, + "ResourceModelWithAllowedPropertySetPlan": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "A user defined name of the 3rd Party Artifact that is being procured." + }, + "product": { + "type": "string", + "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. " + }, + "promotionCode": { + "type": "string", + "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." + }, + "publisher": { + "type": "string", + "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" + }, + "version": { + "type": "string", + "description": "The version of the desired product/artifact." + } + }, + "required": [ + "name", + "product", + "publisher" + ] + }, + "ResourceModelWithAllowedPropertySetSku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted." + }, + "family": { + "type": "string", + "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." + }, + "name": { + "type": "string", + "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" + }, + "size": { + "type": "string", + "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Free", + "Basic", + "Standard", + "Premium" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT." + } + }, + "required": [ + "name" + ] + }, + "ScalingHostPoolReference": { + "type": "object", + "properties": { + "hostPoolArmPath": { + "type": "string", + "description": "Arm path of referenced hostpool." + }, + "scalingPlanEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Is the scaling plan enabled for this hostpool." + } + }, + "description": "Scaling plan reference to hostpool." + }, + "ScalingPlanProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of scaling plan." + }, + "exclusionTag": { + "type": "string", + "description": "Exclusion tag for scaling plan." + }, + "friendlyName": { + "type": "string", + "description": "User friendly name of scaling plan." + }, + "hostPoolReferences": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ScalingHostPoolReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of ScalingHostPoolReference definitions." + }, + "hostPoolType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pooled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HostPool type for desktop." + }, + "schedules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ScalingSchedule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of ScalingSchedule definitions." + }, + "timeZone": { + "type": "string", + "description": "Timezone of the scaling plan." + } + }, + "description": "Scaling plan properties." + }, + "ScalingSchedule": { + "type": "object", + "properties": { + "daysOfWeek": { + "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": "Set of days of the week on which this schedule is active." + }, + "name": { + "type": "string", + "description": "Name of the scaling schedule." + }, + "offPeakLoadBalancingAlgorithm": { + "oneOf": [ + { + "type": "string", + "enum": [ + "BreadthFirst", + "DepthFirst" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Load balancing algorithm for off-peak period." + }, + "offPeakStartTime": { + "oneOf": [ + { + "$ref": "#/definitions/Time" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The time for a scaling action to occur." + }, + "peakLoadBalancingAlgorithm": { + "oneOf": [ + { + "type": "string", + "enum": [ + "BreadthFirst", + "DepthFirst" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Load balancing algorithm for peak period." + }, + "peakStartTime": { + "oneOf": [ + { + "$ref": "#/definitions/Time" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The time for a scaling action to occur." + }, + "rampDownCapacityThresholdPct": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Capacity threshold for ramp down period." + }, + "rampDownForceLogoffUsers": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Should users be logged off forcefully from hosts." + }, + "rampDownLoadBalancingAlgorithm": { + "oneOf": [ + { + "type": "string", + "enum": [ + "BreadthFirst", + "DepthFirst" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Load balancing algorithm for ramp down period." + }, + "rampDownMinimumHostsPct": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Minimum host percentage for ramp down period." + }, + "rampDownNotificationMessage": { + "type": "string", + "description": "Notification message for users during ramp down period." + }, + "rampDownStartTime": { + "oneOf": [ + { + "$ref": "#/definitions/Time" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The time for a scaling action to occur." + }, + "rampDownStopHostsWhen": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ZeroSessions", + "ZeroActiveSessions" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies when to stop hosts during ramp down period." + }, + "rampDownWaitTimeMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of minutes to wait to stop hosts during ramp down period." + }, + "rampUpCapacityThresholdPct": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Capacity threshold for ramp up period." + }, + "rampUpLoadBalancingAlgorithm": { + "oneOf": [ + { + "type": "string", + "enum": [ + "BreadthFirst", + "DepthFirst" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Load balancing algorithm for ramp up period." + }, + "rampUpMinimumHostsPct": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Minimum host percentage for ramp up period." + }, + "rampUpStartTime": { + "oneOf": [ + { + "$ref": "#/definitions/Time" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The time for a scaling action to occur." + } + }, + "description": "Scaling plan schedule." + }, + "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." + }, + "Time": { + "type": "object", + "properties": { + "hour": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 23 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The hour." + }, + "minute": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 59 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minute." + } + }, + "required": [ + "hour", + "minute" + ], + "description": "The time for a scaling action to occur." + }, + "WorkspaceProperties": { + "type": "object", + "properties": { + "applicationGroupReferences": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of applicationGroup resource Ids." + }, + "description": { + "type": "string", + "description": "Description of Workspace." + }, + "friendlyName": { + "type": "string", + "description": "Friendly name of Workspace." + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enabled allows this resource to be accessed from both public and private networks, Disabled allows this resource to only be accessed via private endpoints." + } + }, + "description": "Schema for Workspace properties." + }, + "workspaces_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-03-preview" + ] + }, + "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.DesktopVirtualization/workspaces/privateEndpointConnections" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 0edad612dd..dc95f7a3ff 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -4078,6 +4078,30 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-07-12/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/applicationGroups_applications" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_msixPackages" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/hostPools_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/scalingPlans" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-03-preview/Microsoft.DesktopVirtualization.json#/resourceDefinitions/workspaces_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2016-02-03/Microsoft.Devices.json#/resourceDefinitions/IotHubs" }, From bae8bf000e03ac93c7f98a8474835a819f9566e6 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 14 Sep 2021 06:00:32 +0000 Subject: [PATCH 189/243] CodeGen from PR 15893 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.DataLakeAnalytics to add version preview/2019-11-01-preview (#15893) * Adds base for updating Microsoft.DataLakeAnalytics from version stable/2016-11-01 to version 2019-11-01-preview * Updates readme * Updates API version in new specs and examples * test validation patch Co-authored-by: Jimmy Xie --- .../Microsoft.DataLakeAnalytics.json | 792 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 15 + 2 files changed, 807 insertions(+) create mode 100644 schemas/2019-11-01-preview/Microsoft.DataLakeAnalytics.json diff --git a/schemas/2019-11-01-preview/Microsoft.DataLakeAnalytics.json b/schemas/2019-11-01-preview/Microsoft.DataLakeAnalytics.json new file mode 100644 index 0000000000..2a1ee50a46 --- /dev/null +++ b/schemas/2019-11-01-preview/Microsoft.DataLakeAnalytics.json @@ -0,0 +1,792 @@ +{ + "id": "https://schema.management.azure.com/schemas/2019-11-01-preview/Microsoft.DataLakeAnalytics.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.DataLakeAnalytics", + "description": "Microsoft DataLakeAnalytics Resource Types", + "resourceDefinitions": { + "accounts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-11-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The resource location." + }, + "name": { + "type": "string", + "description": "The name of the Data Lake Analytics account." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateDataLakeAnalyticsAccountProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/accounts_dataLakeStoreAccounts_childResource" + }, + { + "$ref": "#/definitions/accounts_storageAccounts_childResource" + }, + { + "$ref": "#/definitions/accounts_computePolicies_childResource" + }, + { + "$ref": "#/definitions/accounts_firewallRules_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataLakeAnalytics/accounts" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataLakeAnalytics/accounts" + }, + "accounts_computePolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-11-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the compute policy to create or update." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateOrUpdateComputePolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The compute policy properties to use when creating a new compute policy." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataLakeAnalytics/accounts/computePolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataLakeAnalytics/accounts/computePolicies" + }, + "accounts_dataLakeStoreAccounts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-11-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the Data Lake Store account to add." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AddDataLakeStoreProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Data Lake Store account properties to use when adding a new Data Lake Store account." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts" + }, + "accounts_firewallRules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-11-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the firewall rule to create or update." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateOrUpdateFirewallRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The firewall rule properties to use when creating a new firewall rule." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataLakeAnalytics/accounts/firewallRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataLakeAnalytics/accounts/firewallRules" + }, + "accounts_storageAccounts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-11-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the Azure Storage account to add" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AddStorageAccountProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Azure Storage account properties to use when adding a new Azure Storage account." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataLakeAnalytics/accounts/storageAccounts" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataLakeAnalytics/accounts/storageAccounts" + } + }, + "definitions": { + "accounts_computePolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-11-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the compute policy to create or update." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateOrUpdateComputePolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The compute policy properties to use when creating a new compute policy." + }, + "type": { + "type": "string", + "enum": [ + "computePolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataLakeAnalytics/accounts/computePolicies" + }, + "accounts_dataLakeStoreAccounts_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-11-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the Data Lake Store account to add." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AddDataLakeStoreProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Data Lake Store account properties to use when adding a new Data Lake Store account." + }, + "type": { + "type": "string", + "enum": [ + "dataLakeStoreAccounts" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts" + }, + "accounts_firewallRules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-11-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the firewall rule to create or update." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateOrUpdateFirewallRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The firewall rule properties to use when creating a new firewall rule." + }, + "type": { + "type": "string", + "enum": [ + "firewallRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataLakeAnalytics/accounts/firewallRules" + }, + "accounts_storageAccounts_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-11-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the Azure Storage account to add" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AddStorageAccountProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Azure Storage account properties to use when adding a new Azure Storage account." + }, + "type": { + "type": "string", + "enum": [ + "storageAccounts" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataLakeAnalytics/accounts/storageAccounts" + }, + "AddDataLakeStoreProperties": { + "type": "object", + "properties": { + "suffix": { + "type": "string", + "description": "The optional suffix for the Data Lake Store account." + } + }, + "description": "The Data Lake Store account properties to use when adding a new Data Lake Store account." + }, + "AddDataLakeStoreWithAccountParameters": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The unique name of the Data Lake Store account to add." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AddDataLakeStoreProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Data Lake Store account properties to use when adding a new Data Lake Store account." + } + }, + "required": [ + "name" + ], + "description": "The parameters used to add a new Data Lake Store account while creating a new Data Lake Analytics account." + }, + "AddStorageAccountProperties": { + "type": "object", + "properties": { + "accessKey": { + "type": "string", + "description": "The access key associated with this Azure Storage account that will be used to connect to it." + }, + "suffix": { + "type": "string", + "default": "azuredatalakestore.net", + "description": "The optional suffix for the storage account." + } + }, + "required": [ + "accessKey" + ], + "description": "The Azure Storage account properties to use when adding a new Azure Storage account." + }, + "AddStorageAccountWithAccountParameters": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The unique name of the Azure Storage account to add." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AddStorageAccountProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Azure Storage account properties to use when adding a new Azure Storage account." + } + }, + "required": [ + "name", + "properties" + ], + "description": "The parameters used to add a new Azure Storage account while creating a new Data Lake Analytics account." + }, + "CreateComputePolicyWithAccountParameters": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The unique name of the compute policy to create." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateOrUpdateComputePolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The compute policy properties to use when creating a new compute policy." + } + }, + "required": [ + "name", + "properties" + ], + "description": "The parameters used to create a new compute policy while creating a new Data Lake Analytics account." + }, + "CreateDataLakeAnalyticsAccountProperties": { + "type": "object", + "properties": { + "computePolicies": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/CreateComputePolicyWithAccountParameters" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of compute policies associated with this account." + }, + "dataLakeStoreAccounts": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AddDataLakeStoreWithAccountParameters" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Data Lake Store accounts associated with this account." + }, + "defaultDataLakeStoreAccount": { + "type": "string", + "description": "The default Data Lake Store account associated with this account." + }, + "firewallAllowAzureIps": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced." + }, + "firewallRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/CreateFirewallRuleWithAccountParameters" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of firewall rules associated with this account." + }, + "firewallState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The current state of the IP address firewall for this account." + }, + "maxDegreeOfParallelism": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "default": "30" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum supported degree of parallelism for this account." + }, + "maxDegreeOfParallelismPerJob": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "default": "32" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum supported degree of parallelism per job for this account." + }, + "maxJobCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "default": "3" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum supported jobs running under the account at the same time." + }, + "minPriorityPerJob": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum supported priority per job for this account." + }, + "newTier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Consumption", + "Commitment_100AUHours", + "Commitment_500AUHours", + "Commitment_1000AUHours", + "Commitment_5000AUHours", + "Commitment_10000AUHours", + "Commitment_50000AUHours", + "Commitment_100000AUHours", + "Commitment_500000AUHours" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The commitment tier for the next month." + }, + "queryStoreRetention": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 180, + "default": "30" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of days that job metadata is retained." + }, + "storageAccounts": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AddStorageAccountWithAccountParameters" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of Azure Blob Storage accounts associated with this account." + } + }, + "required": [ + "dataLakeStoreAccounts", + "defaultDataLakeStoreAccount" + ] + }, + "CreateFirewallRuleWithAccountParameters": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The unique name of the firewall rule to create." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateOrUpdateFirewallRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The firewall rule properties to use when creating a new firewall rule." + } + }, + "required": [ + "name", + "properties" + ], + "description": "The parameters used to create a new firewall rule while creating a new Data Lake Analytics account." + }, + "CreateOrUpdateComputePolicyProperties": { + "type": "object", + "properties": { + "maxDegreeOfParallelismPerJob": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum degree of parallelism per job this user can use to submit jobs. This property, the min priority per job property, or both must be passed." + }, + "minPriorityPerJob": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum priority per job this user can use to submit jobs. This property, the max degree of parallelism per job property, or both must be passed." + }, + "objectId": { + "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 AAD object identifier for the entity to create a policy for." + }, + "objectType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "User", + "Group", + "ServicePrincipal" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of AAD object the object identifier refers to." + } + }, + "required": [ + "objectId", + "objectType" + ], + "description": "The compute policy properties to use when creating a new compute policy." + }, + "CreateOrUpdateFirewallRuleProperties": { + "type": "object", + "properties": { + "endIpAddress": { + "type": "string", + "description": "The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol." + }, + "startIpAddress": { + "type": "string", + "description": "The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol." + } + }, + "required": [ + "endIpAddress", + "startIpAddress" + ], + "description": "The firewall rule properties to use when creating a new firewall rule." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index dc95f7a3ff..bb39d300e1 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -3481,6 +3481,21 @@ { "$ref": "https://schema.management.azure.com/schemas/2016-11-01/Microsoft.DataLakeAnalytics.json#/resourceDefinitions/accounts_storageAccounts" }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-11-01-preview/Microsoft.DataLakeAnalytics.json#/resourceDefinitions/accounts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-11-01-preview/Microsoft.DataLakeAnalytics.json#/resourceDefinitions/accounts_computePolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-11-01-preview/Microsoft.DataLakeAnalytics.json#/resourceDefinitions/accounts_dataLakeStoreAccounts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-11-01-preview/Microsoft.DataLakeAnalytics.json#/resourceDefinitions/accounts_firewallRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-11-01-preview/Microsoft.DataLakeAnalytics.json#/resourceDefinitions/accounts_storageAccounts" + }, { "$ref": "https://schema.management.azure.com/schemas/2015-10-01-preview/Microsoft.DataLakeStore.json#/resourceDefinitions/accounts" }, From 407888b5fdb86394eadfc1d3e9dfc82c1856213c Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 14 Sep 2021 07:41:13 +0000 Subject: [PATCH 190/243] CodeGen from PR 15971 in Azure/azure-rest-api-specs [CosmosDB] Fixing bugs in Services APIs (#15971) * test * try1 * fixing services discriminator * prettier and readme * revert additional changes * fixing model validation errors * model validation fix * nit Co-authored-by: Meha Kaushik --- .../Microsoft.DocumentDB.json | 84 ++++---------- .../Microsoft.DocumentDB.json | 107 ++++-------------- 2 files changed, 41 insertions(+), 150 deletions(-) diff --git a/schemas/2021-04-01-preview/Microsoft.DocumentDB.json b/schemas/2021-04-01-preview/Microsoft.DocumentDB.json index a2979ebfe1..eb275791db 100644 --- a/schemas/2021-04-01-preview/Microsoft.DocumentDB.json +++ b/schemas/2021-04-01-preview/Microsoft.DocumentDB.json @@ -1305,13 +1305,13 @@ "properties": { "oneOf": [ { - "$ref": "#/definitions/ServiceResourceProperties" + "$ref": "#/definitions/ServiceResourceCreateUpdateProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Services response resource." + "description": "Properties in ServiceResourceCreateUpdateParameters." }, "type": { "type": "string", @@ -4041,13 +4041,13 @@ "properties": { "oneOf": [ { - "$ref": "#/definitions/ServiceResourceProperties" + "$ref": "#/definitions/ServiceResourceCreateUpdateProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Services response resource." + "description": "Properties in ServiceResourceCreateUpdateParameters." }, "type": { "type": "string", @@ -4840,21 +4840,6 @@ }, "description": "Properties of a managed Cassandra data center." }, - "DataTransferServiceResourceProperties": { - "type": "object", - "properties": { - "serviceType": { - "type": "string", - "enum": [ - "DataTransferServiceResourceProperties" - ] - } - }, - "required": [ - "serviceType" - ], - "description": "Properties for DataTransferServiceResource." - }, "DefaultRequestDatabaseAccountCreateUpdateProperties": { "type": "object", "properties": { @@ -5723,33 +5708,9 @@ } } }, - "ServiceResourceProperties": { + "ServiceResourceCreateUpdateProperties": { "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/DataTransferServiceResourceProperties" - }, - { - "$ref": "#/definitions/SqlDedicatedGatewayServiceResourceProperties" - } - ], "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" - }, "instanceCount": { "oneOf": [ { @@ -5776,9 +5737,23 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ] + }, + "serviceType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SqlDedicatedGateway", + "DataTransfer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] } }, - "description": "Services response resource." + "description": "Properties in ServiceResourceCreateUpdateParameters." }, "SpatialSpec": { "type": "object", @@ -5963,25 +5938,6 @@ ], "description": "Cosmos DB SQL database resource object" }, - "SqlDedicatedGatewayServiceResourceProperties": { - "type": "object", - "properties": { - "serviceType": { - "type": "string", - "enum": [ - "SqlDedicatedGatewayServiceResourceProperties" - ] - }, - "sqlDedicatedGatewayEndpoint": { - "type": "string", - "description": "SqlDedicatedGateway endpoint for the service." - } - }, - "required": [ - "serviceType" - ], - "description": "Properties for SqlDedicatedGatewayServiceResource." - }, "SqlRoleAssignmentResource": { "type": "object", "properties": { diff --git a/schemas/2021-07-01-preview/Microsoft.DocumentDB.json b/schemas/2021-07-01-preview/Microsoft.DocumentDB.json index b97dcd6f72..3446b11e6c 100644 --- a/schemas/2021-07-01-preview/Microsoft.DocumentDB.json +++ b/schemas/2021-07-01-preview/Microsoft.DocumentDB.json @@ -1535,13 +1535,13 @@ "properties": { "oneOf": [ { - "$ref": "#/definitions/ServiceResourceProperties" + "$ref": "#/definitions/ServiceResourceCreateUpdateProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Services response resource." + "description": "Properties in ServiceResourceCreateUpdateParameters." }, "type": { "type": "string", @@ -4644,13 +4644,13 @@ "properties": { "oneOf": [ { - "$ref": "#/definitions/ServiceResourceProperties" + "$ref": "#/definitions/ServiceResourceCreateUpdateProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Services response resource." + "description": "Properties in ServiceResourceCreateUpdateParameters." }, "type": { "type": "string", @@ -5443,21 +5443,6 @@ }, "description": "Properties of a managed Cassandra data center." }, - "DataTransferServiceResourceProperties": { - "type": "object", - "properties": { - "serviceType": { - "type": "string", - "enum": [ - "DataTransferServiceResourceProperties" - ] - } - }, - "required": [ - "serviceType" - ], - "description": "Properties for DataTransferServiceResource." - }, "DefaultRequestDatabaseAccountCreateUpdateProperties": { "type": "object", "properties": { @@ -5504,25 +5489,6 @@ } } }, - "GraphAPIComputeServiceResourceProperties": { - "type": "object", - "properties": { - "graphApiComputeEndpoint": { - "type": "string", - "description": "GraphAPICompute endpoint for the service." - }, - "serviceType": { - "type": "string", - "enum": [ - "GraphAPIComputeServiceResourceProperties" - ] - } - }, - "required": [ - "serviceType" - ], - "description": "Properties for GraphAPIComputeServiceResource." - }, "GraphResource": { "type": "object", "properties": { @@ -6385,36 +6351,9 @@ } } }, - "ServiceResourceProperties": { + "ServiceResourceCreateUpdateProperties": { "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/DataTransferServiceResourceProperties" - }, - { - "$ref": "#/definitions/SqlDedicatedGatewayServiceResourceProperties" - }, - { - "$ref": "#/definitions/GraphAPIComputeServiceResourceProperties" - } - ], "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" - }, "instanceCount": { "oneOf": [ { @@ -6441,9 +6380,24 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ] + }, + "serviceType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SqlDedicatedGateway", + "DataTransfer", + "GraphAPICompute" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] } }, - "description": "Services response resource." + "description": "Properties in ServiceResourceCreateUpdateParameters." }, "SpatialSpec": { "type": "object", @@ -6628,25 +6582,6 @@ ], "description": "Cosmos DB SQL database resource object" }, - "SqlDedicatedGatewayServiceResourceProperties": { - "type": "object", - "properties": { - "serviceType": { - "type": "string", - "enum": [ - "SqlDedicatedGatewayServiceResourceProperties" - ] - }, - "sqlDedicatedGatewayEndpoint": { - "type": "string", - "description": "SqlDedicatedGateway endpoint for the service." - } - }, - "required": [ - "serviceType" - ], - "description": "Properties for SqlDedicatedGatewayServiceResource." - }, "SqlRoleAssignmentResource": { "type": "object", "properties": { From 068298e997f10fef7f821f147fc9f3ba8b70877d Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 14 Sep 2021 08:37:37 +0000 Subject: [PATCH 191/243] Update resource list --- generator/resources.json | 105 ++++++++++++++++++++++++++++----------- 1 file changed, 75 insertions(+), 30 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index ba7ef008fc..bef5fbd8d2 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -1664,7 +1664,8 @@ "2018-10-01", "2019-12-01", "2020-11-01", - "2021-03-01" + "2021-03-01", + "2021-07-01" ], "Microsoft.ContainerRegistry/registries": [ "2016-06-27-preview", @@ -2134,23 +2135,28 @@ ], "Microsoft.DataLakeAnalytics/accounts": [ "2015-10-01-preview", - "2016-11-01" + "2016-11-01", + "2019-11-01-preview" ], "Microsoft.DataLakeAnalytics/accounts/DataLakeStoreAccounts": [ "2015-10-01-preview", - "2016-11-01" + "2016-11-01", + "2019-11-01-preview" ], "Microsoft.DataLakeAnalytics/accounts/StorageAccounts": [ "2015-10-01-preview", - "2016-11-01" + "2016-11-01", + "2019-11-01-preview" ], "Microsoft.DataLakeAnalytics/accounts/computePolicies": [ "2015-10-01-preview", - "2016-11-01" + "2016-11-01", + "2019-11-01-preview" ], "Microsoft.DataLakeAnalytics/accounts/firewallRules": [ "2015-10-01-preview", - "2016-11-01" + "2016-11-01", + "2019-11-01-preview" ], "Microsoft.DataLakeStore/accounts": [ "2015-10-01-preview", @@ -2311,7 +2317,8 @@ "2021-02-01-preview", "2021-03-09-preview", "2021-04-01-preview", - "2021-07-12" + "2021-07-12", + "2021-09-03-preview" ], "Microsoft.DesktopVirtualization/applicationGroups/applications": [ "2019-01-23-preview", @@ -2325,7 +2332,8 @@ "2021-02-01-preview", "2021-03-09-preview", "2021-04-01-preview", - "2021-07-12" + "2021-07-12", + "2021-09-03-preview" ], "Microsoft.DesktopVirtualization/hostPools": [ "2019-01-23-preview", @@ -2339,7 +2347,8 @@ "2021-02-01-preview", "2021-03-09-preview", "2021-04-01-preview", - "2021-07-12" + "2021-07-12", + "2021-09-03-preview" ], "Microsoft.DesktopVirtualization/hostPools/msixPackages": [ "2020-09-21-preview", @@ -2350,10 +2359,12 @@ "2021-02-01-preview", "2021-03-09-preview", "2021-04-01-preview", - "2021-07-12" + "2021-07-12", + "2021-09-03-preview" ], "Microsoft.DesktopVirtualization/hostPools/privateEndpointConnections": [ - "2021-04-01-preview" + "2021-04-01-preview", + "2021-09-03-preview" ], "Microsoft.DesktopVirtualization/scalingPlans": [ "2020-11-10-preview", @@ -2361,7 +2372,8 @@ "2021-02-01-preview", "2021-03-09-preview", "2021-04-01-preview", - "2021-07-12" + "2021-07-12", + "2021-09-03-preview" ], "Microsoft.DesktopVirtualization/workspaces": [ "2019-01-23-preview", @@ -2375,10 +2387,12 @@ "2021-02-01-preview", "2021-03-09-preview", "2021-04-01-preview", - "2021-07-12" + "2021-07-12", + "2021-09-03-preview" ], "Microsoft.DesktopVirtualization/workspaces/privateEndpointConnections": [ - "2021-04-01-preview" + "2021-04-01-preview", + "2021-09-03-preview" ], "Microsoft.DevOps/pipelines": [ "2019-07-01-preview", @@ -3555,7 +3569,8 @@ "2015-01-14-preview" ], "Microsoft.IoTCentral/iotApps": [ - "2018-09-01" + "2018-09-01", + "2021-06-01" ], "Microsoft.KeyVault/managedHSMs": [ "2020-04-01-preview", @@ -4035,46 +4050,61 @@ "2018-07-01" ], "Microsoft.Migrate/assessmentProjects": [ + "2019-10-01", "2019-10-01" ], "Microsoft.Migrate/assessmentProjects/groups": [ + "2019-10-01", "2019-10-01" ], "Microsoft.Migrate/assessmentProjects/groups/assessments": [ + "2019-10-01", "2019-10-01" ], "Microsoft.Migrate/assessmentProjects/hypervcollectors": [ + "2019-10-01", "2019-10-01" ], "Microsoft.Migrate/assessmentProjects/importcollectors": [ + "2019-10-01", "2019-10-01" ], "Microsoft.Migrate/assessmentProjects/servercollectors": [ + "2019-10-01", "2019-10-01" ], "Microsoft.Migrate/assessmentProjects/vmwarecollectors": [ + "2019-10-01", "2019-10-01" ], "Microsoft.Migrate/assessmentprojects/privateEndpointConnections": [ + "2019-10-01", "2019-10-01" ], "Microsoft.Migrate/migrateProjects": [ "2018-09-01-preview", + "2018-09-01-preview", + "2020-05-01", "2020-05-01" ], "Microsoft.Migrate/migrateProjects/privateEndpointConnections": [ + "2020-05-01", "2020-05-01" ], "Microsoft.Migrate/migrateProjects/solutions": [ + "2018-09-01-preview", "2018-09-01-preview" ], "Microsoft.Migrate/projects": [ + "2018-02-02", "2018-02-02" ], "Microsoft.Migrate/projects/groups": [ + "2018-02-02", "2018-02-02" ], "Microsoft.Migrate/projects/groups/assessments": [ + "2018-02-02", "2018-02-02" ], "Microsoft.MixedReality/objectAnchorsAccounts": [ @@ -7163,7 +7193,8 @@ "2020-08-01-preview", "2021-01-01", "2021-02-01", - "2021-04-01" + "2021-04-01", + "2021-06-01" ], "Microsoft.Storage/storageAccounts/blobServices": [ "2018-07-01", @@ -7173,7 +7204,8 @@ "2020-08-01-preview", "2021-01-01", "2021-02-01", - "2021-04-01" + "2021-04-01", + "2021-06-01" ], "Microsoft.Storage/storageAccounts/blobServices/containers": [ "2018-02-01", @@ -7185,7 +7217,8 @@ "2020-08-01-preview", "2021-01-01", "2021-02-01", - "2021-04-01" + "2021-04-01", + "2021-06-01" ], "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies": [ "2018-02-01", @@ -7197,14 +7230,16 @@ "2020-08-01-preview", "2021-01-01", "2021-02-01", - "2021-04-01" + "2021-04-01", + "2021-06-01" ], "Microsoft.Storage/storageAccounts/encryptionScopes": [ "2019-06-01", "2020-08-01-preview", "2021-01-01", "2021-02-01", - "2021-04-01" + "2021-04-01", + "2021-06-01" ], "Microsoft.Storage/storageAccounts/fileServices": [ "2019-04-01", @@ -7212,7 +7247,8 @@ "2020-08-01-preview", "2021-01-01", "2021-02-01", - "2021-04-01" + "2021-04-01", + "2021-06-01" ], "Microsoft.Storage/storageAccounts/fileServices/shares": [ "2019-04-01", @@ -7220,14 +7256,16 @@ "2020-08-01-preview", "2021-01-01", "2021-02-01", - "2021-04-01" + "2021-04-01", + "2021-06-01" ], "Microsoft.Storage/storageAccounts/inventoryPolicies": [ "2019-06-01", "2020-08-01-preview", "2021-01-01", "2021-02-01", - "2021-04-01" + "2021-04-01", + "2021-06-01" ], "Microsoft.Storage/storageAccounts/managementPolicies": [ "2018-03-01-preview", @@ -7237,49 +7275,56 @@ "2020-08-01-preview", "2021-01-01", "2021-02-01", - "2021-04-01" + "2021-04-01", + "2021-06-01" ], "Microsoft.Storage/storageAccounts/objectReplicationPolicies": [ "2019-06-01", "2020-08-01-preview", "2021-01-01", "2021-02-01", - "2021-04-01" + "2021-04-01", + "2021-06-01" ], "Microsoft.Storage/storageAccounts/privateEndpointConnections": [ "2019-06-01", "2020-08-01-preview", "2021-01-01", "2021-02-01", - "2021-04-01" + "2021-04-01", + "2021-06-01" ], "Microsoft.Storage/storageAccounts/queueServices": [ "2019-06-01", "2020-08-01-preview", "2021-01-01", "2021-02-01", - "2021-04-01" + "2021-04-01", + "2021-06-01" ], "Microsoft.Storage/storageAccounts/queueServices/queues": [ "2019-06-01", "2020-08-01-preview", "2021-01-01", "2021-02-01", - "2021-04-01" + "2021-04-01", + "2021-06-01" ], "Microsoft.Storage/storageAccounts/tableServices": [ "2019-06-01", "2020-08-01-preview", "2021-01-01", "2021-02-01", - "2021-04-01" + "2021-04-01", + "2021-06-01" ], "Microsoft.Storage/storageAccounts/tableServices/tables": [ "2019-06-01", "2020-08-01-preview", "2021-01-01", "2021-02-01", - "2021-04-01" + "2021-04-01", + "2021-06-01" ], "Microsoft.StorageCache/caches": [ "2019-08-01-preview", From 74adfeb5cda90b26b95d867f7c1c28ac54bf45e9 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 14 Sep 2021 09:16:53 +0000 Subject: [PATCH 192/243] CodeGen from PR 15815 in Azure/azure-rest-api-specs [HDInsight] Onboard a new api version 2021-06-01 for HDInsight (#15815) * Just copied the existing version file into this new directory per to review change efficiently * Support az, private link feature ,fix S360 R2026 and roundtrip error * reuse private link resource in common type, and mark some properties as required, Add 201 schema for private endpoint connection put response, and modify resource definition * Fix missing objec type in 2021-06-01' * Update location get capability api: remove vmsizes and vmsizes_filter in the result and change some properties to CamelCase style * Update readme.md to change 2021-06 to default tag * Removed the non reference object ClusterListRuntimeScriptActionDetailResult * Fix CI error * revert the change in common-types/resource-management/v2/privatelinks.json and define PrivateLinkResource and PrivateLinkResourceResult in our own file Co-authored-by: Zhenyu Zhou --- schemas/2021-06-01/Microsoft.HDInsight.json | 1935 +++++++++++++++++++ schemas/common/autogeneratedResources.json | 12 + 2 files changed, 1947 insertions(+) create mode 100644 schemas/2021-06-01/Microsoft.HDInsight.json diff --git a/schemas/2021-06-01/Microsoft.HDInsight.json b/schemas/2021-06-01/Microsoft.HDInsight.json new file mode 100644 index 0000000000..f18d5a5a38 --- /dev/null +++ b/schemas/2021-06-01/Microsoft.HDInsight.json @@ -0,0 +1,1935 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.HDInsight.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.HDInsight", + "description": "Microsoft HDInsight Resource Types", + "resourceDefinitions": { + "clusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the cluster." + }, + "location": { + "type": "string", + "description": "The location of the cluster." + }, + "name": { + "type": "string", + "description": "The name of the cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster create parameters." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/clusters_applications_childResource" + }, + { + "$ref": "#/definitions/clusters_extensions_childResource" + }, + { + "$ref": "#/definitions/clusters_privateEndpointConnections_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.HDInsight/clusters" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The availability zones." + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.HDInsight/clusters" + }, + "clusters_applications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "etag": { + "type": "string", + "description": "The ETag for the application" + }, + "name": { + "type": "string", + "description": "The constant value for the application name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The HDInsight cluster application GET response." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the application." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.HDInsight/clusters/applications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.HDInsight/clusters/applications" + }, + "clusters_extensions": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/clustermonitoring$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "primaryKey": { + "type": "string", + "description": "The cluster monitor workspace key." + }, + "workspaceId": { + "type": "string", + "description": "The cluster monitor workspace ID." + } + }, + "required": [ + "name" + ], + "description": "Microsoft.HDInsight/clusters/extensions" + }, + { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/azureMonitor$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "primaryKey": { + "type": "string", + "description": "The Log Analytics workspace key." + }, + "selectedConfigurations": { + "oneOf": [ + { + "$ref": "#/definitions/AzureMonitorSelectedConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The selected configurations for azure monitor." + }, + "workspaceId": { + "type": "string", + "description": "The Log Analytics workspace ID." + } + }, + "required": [ + "name" + ], + "description": "Microsoft.HDInsight/clusters/extensions" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.HDInsight/clusters/extensions" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.HDInsight/clusters/extensions" + }, + "clusters_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": "The private endpoint connection properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.HDInsight/clusters/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.HDInsight/clusters/privateEndpointConnections" + } + }, + "definitions": { + "ApplicationGetEndpoint": { + "type": "object", + "properties": { + "destinationPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The destination port to connect to." + }, + "location": { + "type": "string", + "description": "The location of the endpoint." + }, + "privateIPAddress": { + "type": "string", + "description": "The private ip address of the endpoint." + }, + "publicPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The public port to connect to." + } + }, + "description": "Gets the application SSH endpoint" + }, + "ApplicationGetHttpsEndpoint": { + "type": "object", + "properties": { + "accessModes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of access modes for the application." + }, + "destinationPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The destination port to connect to." + }, + "disableGatewayAuth": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The value indicates whether to disable GatewayAuth." + }, + "privateIPAddress": { + "type": "string", + "description": "The private ip address of the endpoint." + }, + "subDomainSuffix": { + "type": "string", + "description": "The subdomain suffix of the application." + } + }, + "description": "Gets the application HTTP endpoints." + }, + "ApplicationProperties": { + "type": "object", + "properties": { + "applicationType": { + "type": "string", + "description": "The application type." + }, + "computeProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ComputeProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the compute profile." + }, + "errors": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Errors" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of errors." + }, + "httpsEndpoints": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGetHttpsEndpoint" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of application HTTPS endpoints." + }, + "installScriptActions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RuntimeScriptAction" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of install script actions." + }, + "privateLinkConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The private link configurations." + }, + "sshEndpoints": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationGetEndpoint" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of application SSH endpoints." + }, + "uninstallScriptActions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RuntimeScriptAction" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of uninstall script actions." + } + }, + "description": "The HDInsight cluster application GET response." + }, + "Autoscale": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "$ref": "#/definitions/AutoscaleCapacity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The load-based autoscale request parameters" + }, + "recurrence": { + "oneOf": [ + { + "$ref": "#/definitions/AutoscaleRecurrence" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schedule-based autoscale request parameters" + } + }, + "description": "The autoscale request parameters" + }, + "AutoscaleCapacity": { + "type": "object", + "properties": { + "maxInstanceCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum instance count of the cluster" + }, + "minInstanceCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum instance count of the cluster" + } + }, + "description": "The load-based autoscale request parameters" + }, + "AutoscaleRecurrence": { + "type": "object", + "properties": { + "schedule": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AutoscaleSchedule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Array of schedule-based autoscale rules" + }, + "timeZone": { + "type": "string", + "description": "The time zone for the autoscale schedule times" + } + }, + "description": "Schedule-based autoscale request parameters" + }, + "AutoscaleSchedule": { + "type": "object", + "properties": { + "days": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Days of the week for a schedule-based autoscale rule" + }, + "timeAndCapacity": { + "oneOf": [ + { + "$ref": "#/definitions/AutoscaleTimeAndCapacity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Time and capacity request parameters" + } + }, + "description": "Parameters for a schedule-based autoscale rule, consisting of an array of days + a time and capacity" + }, + "AutoscaleTimeAndCapacity": { + "type": "object", + "properties": { + "maxInstanceCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum instance count of the cluster" + }, + "minInstanceCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum instance count of the cluster" + }, + "time": { + "type": "string", + "description": "24-hour time in the form xx:xx" + } + }, + "description": "Time and capacity request parameters" + }, + "AzureMonitorSelectedConfigurations": { + "type": "object", + "properties": { + "configurationVersion": { + "type": "string", + "description": "The configuration version." + }, + "globalConfigurations": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The global configurations of selected configurations." + }, + "tableList": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AzureMonitorTableConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The table list." + } + }, + "description": "The selected configurations for azure monitor." + }, + "AzureMonitorTableConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name." + } + }, + "description": "The table configuration for the Log Analytics integration." + }, + "ClientGroupInfo": { + "type": "object", + "properties": { + "groupId": { + "type": "string", + "description": "The AAD security group id." + }, + "groupName": { + "type": "string", + "description": "The AAD security group name." + } + }, + "description": "The information of AAD security group." + }, + "ClusterCreateProperties": { + "type": "object", + "properties": { + "clusterDefinition": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterDefinition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster definition." + }, + "clusterVersion": { + "type": "string", + "description": "The version of the cluster." + }, + "computeIsolationProperties": { + "oneOf": [ + { + "$ref": "#/definitions/ComputeIsolationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The compute isolation properties." + }, + "computeProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ComputeProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the compute profile." + }, + "diskEncryptionProperties": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disk encryption properties" + }, + "encryptionInTransitProperties": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionInTransitProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The encryption-in-transit properties." + }, + "kafkaRestProperties": { + "oneOf": [ + { + "$ref": "#/definitions/KafkaRestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The kafka rest proxy configuration which contains AAD security group information." + }, + "minSupportedTlsVersion": { + "type": "string", + "description": "The minimal supported tls version." + }, + "networkProperties": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The network properties." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Windows", + "Linux" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of operating system." + }, + "privateLinkConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The private link configurations." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The security profile which contains Ssh public key for the HDInsight cluster." + }, + "storageProfile": { + "oneOf": [ + { + "$ref": "#/definitions/StorageProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The storage profile." + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "Premium" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster tier." + } + }, + "description": "The cluster create parameters." + }, + "ClusterDefinition": { + "type": "object", + "properties": { + "blueprint": { + "type": "string", + "description": "The link to the blueprint." + }, + "componentVersion": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The versions of different services in the cluster." + }, + "configurations": { + "type": "object", + "properties": {}, + "description": "The cluster configurations." + }, + "kind": { + "type": "string", + "description": "The type of cluster." + } + }, + "description": "The cluster definition." + }, + "ClusterIdentity": { + "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": "The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities." + }, + "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 cluster. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the cluster." + }, + "clusters_applications_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "etag": { + "type": "string", + "description": "The ETag for the application" + }, + "name": { + "type": "string", + "description": "The constant value for the application name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The HDInsight cluster application GET response." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the application." + }, + "type": { + "type": "string", + "enum": [ + "applications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.HDInsight/clusters/applications" + }, + "clusters_extensions_childResource": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "clustermonitoring" + ] + }, + "primaryKey": { + "type": "string", + "description": "The cluster monitor workspace key." + }, + "workspaceId": { + "type": "string", + "description": "The cluster monitor workspace ID." + } + }, + "required": [ + "name" + ], + "description": "Microsoft.HDInsight/clusters/extensions" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "azureMonitor" + ] + }, + "primaryKey": { + "type": "string", + "description": "The Log Analytics workspace key." + }, + "selectedConfigurations": { + "oneOf": [ + { + "$ref": "#/definitions/AzureMonitorSelectedConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The selected configurations for azure monitor." + }, + "workspaceId": { + "type": "string", + "description": "The Log Analytics workspace ID." + } + }, + "required": [ + "name" + ], + "description": "Microsoft.HDInsight/clusters/extensions" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01" + ] + }, + "type": { + "type": "string", + "enum": [ + "extensions" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.HDInsight/clusters/extensions" + }, + "clusters_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": "The private endpoint connection properties." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.HDInsight/clusters/privateEndpointConnections" + }, + "ComputeIsolationProperties": { + "type": "object", + "properties": { + "enableComputeIsolation": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag indicates whether enable compute isolation or not." + }, + "hostSku": { + "type": "string", + "description": "The host sku." + } + }, + "description": "The compute isolation properties." + }, + "ComputeProfile": { + "type": "object", + "properties": { + "roles": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of roles in the cluster." + } + }, + "description": "Describes the compute profile." + }, + "DataDisksGroups": { + "type": "object", + "properties": { + "disksPerNode": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of disks per node." + } + }, + "description": "The data disks groups for the role." + }, + "DiskEncryptionProperties": { + "type": "object", + "properties": { + "encryptionAlgorithm": { + "oneOf": [ + { + "type": "string", + "enum": [ + "RSA-OAEP", + "RSA-OAEP-256", + "RSA1_5" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Algorithm identifier for encryption, default RSA-OAEP." + }, + "encryptionAtHost": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether or not resource disk encryption is enabled." + }, + "keyName": { + "type": "string", + "description": "Key name that is used for enabling disk encryption." + }, + "keyVersion": { + "type": "string", + "description": "Specific key version that is used for enabling disk encryption." + }, + "msiResourceId": { + "type": "string", + "description": "Resource ID of Managed Identity that is used to access the key vault." + }, + "vaultUri": { + "type": "string", + "description": "Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net" + } + }, + "description": "The disk encryption properties" + }, + "EncryptionInTransitProperties": { + "type": "object", + "properties": { + "isEncryptionInTransitEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether or not inter cluster node communication is encrypted in transit." + } + }, + "description": "The encryption-in-transit properties." + }, + "Errors": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The error code." + }, + "message": { + "type": "string", + "description": "The error message." + } + }, + "description": "The error message associated with the cluster creation." + }, + "HardwareProfile": { + "type": "object", + "properties": { + "vmSize": { + "type": "string", + "description": "The size of the VM" + } + }, + "description": "The hardware profile." + }, + "IPConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of private link IP configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IPConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The private link ip configuration properties." + } + }, + "required": [ + "name" + ], + "description": "The ip configurations for the private link service." + }, + "IPConfigurationProperties": { + "type": "object", + "properties": { + "primary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether this IP configuration is primary for the corresponding NIC." + }, + "privateIPAddress": { + "type": "string", + "description": "The IP address." + }, + "privateIPAllocationMethod": { + "oneOf": [ + { + "type": "string", + "enum": [ + "dynamic", + "static" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The method that private IP address is allocated." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceId" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The azure resource id." + } + }, + "description": "The private link ip configuration properties." + }, + "KafkaRestProperties": { + "type": "object", + "properties": { + "clientGroupInfo": { + "oneOf": [ + { + "$ref": "#/definitions/ClientGroupInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The information of AAD security group." + }, + "configurationOverride": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configurations that need to be overriden." + } + }, + "description": "The kafka rest proxy configuration which contains AAD security group information." + }, + "LinuxOperatingSystemProfile": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "The password." + }, + "sshProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SshProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of SSH public keys." + }, + "username": { + "type": "string", + "description": "The username." + } + }, + "description": "The ssh username, password, and ssh public key." + }, + "NetworkProperties": { + "type": "object", + "properties": { + "privateLink": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether or not private link is enabled." + }, + "resourceProviderConnection": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Inbound", + "Outbound" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The direction for the resource provider connection." + } + }, + "description": "The network properties." + }, + "OsProfile": { + "type": "object", + "properties": { + "linuxOperatingSystemProfile": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxOperatingSystemProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The ssh username, password, and ssh public key." + } + }, + "description": "The Linux operation systems profile." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The private link service connection state." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "The private endpoint connection properties." + }, + "PrivateLinkConfiguration": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of private link configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The private link configuration properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "The private link configuration." + }, + "PrivateLinkConfigurationProperties": { + "type": "object", + "properties": { + "groupId": { + "type": "string", + "description": "The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'." + }, + "ipConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IPConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The IP configurations for the private link service." + } + }, + "required": [ + "groupId", + "ipConfigurations" + ], + "description": "The private link configuration properties." + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "Whether there is further actions." + }, + "description": { + "type": "string", + "description": "The optional description of the status." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Approved", + "Rejected", + "Pending", + "Removed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The concrete private link service connection." + } + }, + "required": [ + "status" + ], + "description": "The private link service connection state." + }, + "ResourceId": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The azure resource id." + } + }, + "description": "The azure resource id." + }, + "Role": { + "type": "object", + "properties": { + "autoscale": { + "oneOf": [ + { + "$ref": "#/definitions/Autoscale" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The autoscale request parameters" + }, + "dataDisksGroups": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataDisksGroups" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The data disks groups for the role." + }, + "encryptDataDisks": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether encrypt the data disks." + }, + "hardwareProfile": { + "oneOf": [ + { + "$ref": "#/definitions/HardwareProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The hardware profile." + }, + "minInstanceCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum instance count of the cluster." + }, + "name": { + "type": "string", + "description": "The name of the role." + }, + "osProfile": { + "oneOf": [ + { + "$ref": "#/definitions/OsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Linux operation systems profile." + }, + "scriptActions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ScriptAction" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of script actions on the role." + }, + "targetInstanceCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance count of the cluster." + }, + "virtualNetworkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The virtual network properties." + }, + "VMGroupName": { + "type": "string", + "description": "The name of the virtual machine group." + } + }, + "description": "Describes a role on the cluster." + }, + "RuntimeScriptAction": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the script action." + }, + "parameters": { + "type": "string", + "description": "The parameters for the script" + }, + "roles": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of roles where script will be executed." + }, + "uri": { + "type": "string", + "description": "The URI to the script." + } + }, + "required": [ + "name", + "roles", + "uri" + ], + "description": "Describes a script action on a running cluster." + }, + "ScriptAction": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the script action." + }, + "parameters": { + "type": "string", + "description": "The parameters for the script provided." + }, + "uri": { + "type": "string", + "description": "The URI to the script." + } + }, + "required": [ + "name", + "parameters", + "uri" + ], + "description": "Describes a script action on role on the cluster." + }, + "SecurityProfile": { + "type": "object", + "properties": { + "aaddsResourceId": { + "type": "string", + "description": "The resource ID of the user's Azure Active Directory Domain Service." + }, + "clusterUsersGroupDNs": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional. The Distinguished Names for cluster user groups" + }, + "directoryType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ActiveDirectory" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The directory type." + }, + "domain": { + "type": "string", + "description": "The organization's active directory domain." + }, + "domainUsername": { + "type": "string", + "description": "The domain user account that will have admin privileges on the cluster." + }, + "domainUserPassword": { + "type": "string", + "format": "password", + "description": "The domain admin password." + }, + "ldapsUrls": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The LDAPS protocol URLs to communicate with the Active Directory." + }, + "msiResourceId": { + "type": "string", + "description": "User assigned identity that has permissions to read and create cluster-related artifacts in the user's AADDS." + }, + "organizationalUnitDN": { + "type": "string", + "description": "The organizational unit within the Active Directory to place the cluster and service accounts." + } + }, + "description": "The security profile which contains Ssh public key for the HDInsight cluster." + }, + "SshProfile": { + "type": "object", + "properties": { + "publicKeys": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SshPublicKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of SSH public keys." + } + }, + "description": "The list of SSH public keys." + }, + "SshPublicKey": { + "type": "object", + "properties": { + "certificateData": { + "type": "string", + "description": "The certificate for SSH." + } + }, + "description": "The SSH public key for the cluster nodes." + }, + "StorageAccount": { + "type": "object", + "properties": { + "container": { + "type": "string", + "description": "The container in the storage account, only to be specified for WASB storage accounts." + }, + "fileshare": { + "type": "string", + "description": "The file share name." + }, + "fileSystem": { + "type": "string", + "description": "The filesystem, only to be specified for Azure Data Lake Storage Gen 2." + }, + "isDefault": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether or not the storage account is the default storage account." + }, + "key": { + "type": "string", + "description": "The storage account access key." + }, + "msiResourceId": { + "type": "string", + "description": "The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2." + }, + "name": { + "type": "string", + "description": "The name of the storage account." + }, + "resourceId": { + "type": "string", + "description": "The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2." + }, + "saskey": { + "type": "string", + "description": "The shared access signature key." + } + }, + "description": "The storage Account." + }, + "StorageProfile": { + "type": "object", + "properties": { + "storageaccounts": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/StorageAccount" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of storage accounts in the cluster." + } + }, + "description": "The storage profile." + }, + "UserAssignedIdentity": { + "type": "object", + "properties": { + "tenantId": { + "type": "string", + "description": "The tenant id of user assigned identity." + } + }, + "description": "The User Assigned Identity" + }, + "VirtualNetworkProfile": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ID of the virtual network." + }, + "subnet": { + "type": "string", + "description": "The name of the subnet." + } + }, + "description": "The virtual network properties." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index bb39d300e1..84b0b65241 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6295,6 +6295,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-06-01-preview/Microsoft.HDInsight.json#/resourceDefinitions/clusters_extensions" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.HDInsight.json#/resourceDefinitions/clusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.HDInsight.json#/resourceDefinitions/clusters_applications" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.HDInsight.json#/resourceDefinitions/clusters_extensions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.HDInsight.json#/resourceDefinitions/clusters_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-10-20/Microsoft.HealthBot.json#/resourceDefinitions/healthBots" }, From 8b92dcd5f3bcd3a607a5bccfff28be9d79c021ad Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 14 Sep 2021 09:23:53 +0000 Subject: [PATCH 193/243] Autogenerate schemas --- schemas/2021-08-01/Microsoft.DataShare.json | 2530 +++++++++++++++++++ schemas/common/autogeneratedResources.json | 24 + 2 files changed, 2554 insertions(+) create mode 100644 schemas/2021-08-01/Microsoft.DataShare.json diff --git a/schemas/2021-08-01/Microsoft.DataShare.json b/schemas/2021-08-01/Microsoft.DataShare.json new file mode 100644 index 0000000000..3c13ecb9b3 --- /dev/null +++ b/schemas/2021-08-01/Microsoft.DataShare.json @@ -0,0 +1,2530 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.DataShare.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.DataShare", + "description": "Microsoft DataShare Resource Types", + "resourceDefinitions": { + "accounts": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity of resource" + }, + "location": { + "type": "string", + "description": "Location of the azure resource." + }, + "name": { + "type": "string", + "description": "The name of the share account." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AccountProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Account property bag." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/accounts_shares_childResource" + }, + { + "$ref": "#/definitions/accounts_shareSubscriptions_childResource" + } + ] + } + }, + "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.DataShare/accounts" + ] + } + }, + "required": [ + "apiVersion", + "identity", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataShare/accounts" + }, + "accounts_shares": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the share." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ShareProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Share property bag." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/accounts_shares_dataSets_childResource" + }, + { + "$ref": "#/definitions/accounts_shares_invitations_childResource" + }, + { + "$ref": "#/definitions/accounts_shares_synchronizationSettings_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataShare/accounts/shares" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataShare/accounts/shares" + }, + "accounts_shareSubscriptions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the shareSubscription." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ShareSubscriptionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Share subscription property bag." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/accounts_shareSubscriptions_dataSetMappings_childResource" + }, + { + "$ref": "#/definitions/accounts_shareSubscriptions_triggers_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataShare/accounts/shareSubscriptions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataShare/accounts/shareSubscriptions" + }, + "accounts_shareSubscriptions_dataSetMappings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ADLSGen2FileDataSetMapping" + }, + { + "$ref": "#/definitions/ADLSGen2FileSystemDataSetMapping" + }, + { + "$ref": "#/definitions/ADLSGen2FolderDataSetMapping" + }, + { + "$ref": "#/definitions/BlobContainerDataSetMapping" + }, + { + "$ref": "#/definitions/BlobDataSetMapping" + }, + { + "$ref": "#/definitions/BlobFolderDataSetMapping" + }, + { + "$ref": "#/definitions/KustoClusterDataSetMapping" + }, + { + "$ref": "#/definitions/KustoDatabaseDataSetMapping" + }, + { + "$ref": "#/definitions/KustoTableDataSetMapping" + }, + { + "$ref": "#/definitions/SqlDBTableDataSetMapping" + }, + { + "$ref": "#/definitions/SqlDWTableDataSetMapping" + }, + { + "$ref": "#/definitions/SynapseWorkspaceSqlPoolTableDataSetMapping" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the data set mapping to be created." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings" + }, + "accounts_shareSubscriptions_triggers": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ScheduledTrigger" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the trigger." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataShare/accounts/shareSubscriptions/triggers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.DataShare/accounts/shareSubscriptions/triggers" + }, + "accounts_shares_dataSets": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ADLSGen1FileDataSet" + }, + { + "$ref": "#/definitions/ADLSGen1FolderDataSet" + }, + { + "$ref": "#/definitions/ADLSGen2FileDataSet" + }, + { + "$ref": "#/definitions/ADLSGen2FileSystemDataSet" + }, + { + "$ref": "#/definitions/ADLSGen2FolderDataSet" + }, + { + "$ref": "#/definitions/BlobContainerDataSet" + }, + { + "$ref": "#/definitions/BlobDataSet" + }, + { + "$ref": "#/definitions/BlobFolderDataSet" + }, + { + "$ref": "#/definitions/KustoClusterDataSet" + }, + { + "$ref": "#/definitions/KustoDatabaseDataSet" + }, + { + "$ref": "#/definitions/KustoTableDataSet" + }, + { + "$ref": "#/definitions/SqlDBTableDataSet" + }, + { + "$ref": "#/definitions/SqlDWTableDataSet" + }, + { + "$ref": "#/definitions/SynapseWorkspaceSqlPoolTableDataSet" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the dataSet." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataShare/accounts/shares/dataSets" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.DataShare/accounts/shares/dataSets" + }, + "accounts_shares_invitations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the invitation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/InvitationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Invitation property bag." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataShare/accounts/shares/invitations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataShare/accounts/shares/invitations" + }, + "accounts_shares_synchronizationSettings": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ScheduledSynchronizationSetting" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the synchronizationSetting." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataShare/accounts/shares/synchronizationSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.DataShare/accounts/shares/synchronizationSettings" + } + }, + "definitions": { + "AccountProperties": { + "type": "object", + "properties": {}, + "description": "Account property bag." + }, + "accounts_shareSubscriptions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the shareSubscription." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ShareSubscriptionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Share subscription property bag." + }, + "type": { + "type": "string", + "enum": [ + "shareSubscriptions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataShare/accounts/shareSubscriptions" + }, + "accounts_shareSubscriptions_dataSetMappings_childResource": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ADLSGen2FileDataSetMapping" + }, + { + "$ref": "#/definitions/ADLSGen2FileSystemDataSetMapping" + }, + { + "$ref": "#/definitions/ADLSGen2FolderDataSetMapping" + }, + { + "$ref": "#/definitions/BlobContainerDataSetMapping" + }, + { + "$ref": "#/definitions/BlobDataSetMapping" + }, + { + "$ref": "#/definitions/BlobFolderDataSetMapping" + }, + { + "$ref": "#/definitions/KustoClusterDataSetMapping" + }, + { + "$ref": "#/definitions/KustoDatabaseDataSetMapping" + }, + { + "$ref": "#/definitions/KustoTableDataSetMapping" + }, + { + "$ref": "#/definitions/SqlDBTableDataSetMapping" + }, + { + "$ref": "#/definitions/SqlDWTableDataSetMapping" + }, + { + "$ref": "#/definitions/SynapseWorkspaceSqlPoolTableDataSetMapping" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the data set mapping to be created." + }, + "type": { + "type": "string", + "enum": [ + "dataSetMappings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings" + }, + "accounts_shareSubscriptions_triggers_childResource": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ScheduledTrigger" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the trigger." + }, + "type": { + "type": "string", + "enum": [ + "triggers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.DataShare/accounts/shareSubscriptions/triggers" + }, + "accounts_shares_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the share." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ShareProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Share property bag." + }, + "type": { + "type": "string", + "enum": [ + "shares" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataShare/accounts/shares" + }, + "accounts_shares_dataSets_childResource": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ADLSGen1FileDataSet" + }, + { + "$ref": "#/definitions/ADLSGen1FolderDataSet" + }, + { + "$ref": "#/definitions/ADLSGen2FileDataSet" + }, + { + "$ref": "#/definitions/ADLSGen2FileSystemDataSet" + }, + { + "$ref": "#/definitions/ADLSGen2FolderDataSet" + }, + { + "$ref": "#/definitions/BlobContainerDataSet" + }, + { + "$ref": "#/definitions/BlobDataSet" + }, + { + "$ref": "#/definitions/BlobFolderDataSet" + }, + { + "$ref": "#/definitions/KustoClusterDataSet" + }, + { + "$ref": "#/definitions/KustoDatabaseDataSet" + }, + { + "$ref": "#/definitions/KustoTableDataSet" + }, + { + "$ref": "#/definitions/SqlDBTableDataSet" + }, + { + "$ref": "#/definitions/SqlDWTableDataSet" + }, + { + "$ref": "#/definitions/SynapseWorkspaceSqlPoolTableDataSet" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the dataSet." + }, + "type": { + "type": "string", + "enum": [ + "dataSets" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.DataShare/accounts/shares/dataSets" + }, + "accounts_shares_invitations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the invitation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/InvitationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Invitation property bag." + }, + "type": { + "type": "string", + "enum": [ + "invitations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataShare/accounts/shares/invitations" + }, + "accounts_shares_synchronizationSettings_childResource": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ScheduledSynchronizationSetting" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the synchronizationSetting." + }, + "type": { + "type": "string", + "enum": [ + "synchronizationSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.DataShare/accounts/shares/synchronizationSettings" + }, + "ADLSGen1FileDataSet": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "AdlsGen1File" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ADLSGen1FileProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the ADLS Gen1 file data set." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "An ADLS Gen 1 file data set." + }, + "ADLSGen1FileProperties": { + "type": "object", + "properties": { + "accountName": { + "type": "string", + "description": "The ADLS account name." + }, + "fileName": { + "type": "string", + "description": "The file name in the ADLS account." + }, + "folderPath": { + "type": "string", + "description": "The folder path within the ADLS account." + }, + "resourceGroup": { + "type": "string", + "description": "Resource group of ADLS account." + }, + "subscriptionId": { + "type": "string", + "description": "Subscription id of ADLS account." + } + }, + "required": [ + "accountName", + "fileName", + "folderPath", + "resourceGroup", + "subscriptionId" + ], + "description": "Properties of the ADLS Gen1 file data set." + }, + "ADLSGen1FolderDataSet": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "AdlsGen1Folder" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ADLSGen1FolderProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the ADLS Gen1 folder data set." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "An ADLS Gen 1 folder data set." + }, + "ADLSGen1FolderProperties": { + "type": "object", + "properties": { + "accountName": { + "type": "string", + "description": "The ADLS account name." + }, + "folderPath": { + "type": "string", + "description": "The folder path within the ADLS account." + }, + "resourceGroup": { + "type": "string", + "description": "Resource group of ADLS account." + }, + "subscriptionId": { + "type": "string", + "description": "Subscription id of ADLS account." + } + }, + "required": [ + "accountName", + "folderPath", + "resourceGroup", + "subscriptionId" + ], + "description": "Properties of the ADLS Gen1 folder data set." + }, + "ADLSGen2FileDataSet": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "AdlsGen2File" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ADLSGen2FileProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the ADLS Gen2 file data set." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "An ADLS Gen 2 file data set." + }, + "ADLSGen2FileDataSetMapping": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "AdlsGen2File" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ADLSGen2FileDataSetMappingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ADLS Gen 2 file data set mapping property bag." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "An ADLS Gen2 file data set mapping." + }, + "ADLSGen2FileDataSetMappingProperties": { + "type": "object", + "properties": { + "dataSetId": { + "type": "string", + "description": "The id of the source data set." + }, + "filePath": { + "type": "string", + "description": "File path within the file system." + }, + "fileSystem": { + "type": "string", + "description": "File system to which the file belongs." + }, + "outputType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Csv", + "Parquet" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of output file." + }, + "resourceGroup": { + "type": "string", + "description": "Resource group of storage account." + }, + "storageAccountName": { + "type": "string", + "description": "Storage account name of the source data set." + }, + "subscriptionId": { + "type": "string", + "description": "Subscription id of storage account." + } + }, + "required": [ + "dataSetId", + "filePath", + "fileSystem", + "resourceGroup", + "storageAccountName", + "subscriptionId" + ], + "description": "ADLS Gen 2 file data set mapping property bag." + }, + "ADLSGen2FileProperties": { + "type": "object", + "properties": { + "filePath": { + "type": "string", + "description": "File path within the file system." + }, + "fileSystem": { + "type": "string", + "description": "File system to which the file belongs." + }, + "resourceGroup": { + "type": "string", + "description": "Resource group of storage account" + }, + "storageAccountName": { + "type": "string", + "description": "Storage account name of the source data set" + }, + "subscriptionId": { + "type": "string", + "description": "Subscription id of storage account" + } + }, + "required": [ + "filePath", + "fileSystem", + "resourceGroup", + "storageAccountName", + "subscriptionId" + ], + "description": "Properties of the ADLS Gen2 file data set." + }, + "ADLSGen2FileSystemDataSet": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "AdlsGen2FileSystem" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ADLSGen2FileSystemProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the ADLS Gen2 file system data set." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "An ADLS Gen 2 file system data set." + }, + "ADLSGen2FileSystemDataSetMapping": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "AdlsGen2FileSystem" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ADLSGen2FileSystemDataSetMappingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ADLS Gen 2 file system data set mapping property bag." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "An ADLS Gen2 file system data set mapping." + }, + "ADLSGen2FileSystemDataSetMappingProperties": { + "type": "object", + "properties": { + "dataSetId": { + "type": "string", + "description": "The id of the source data set." + }, + "fileSystem": { + "type": "string", + "description": "The file system name." + }, + "resourceGroup": { + "type": "string", + "description": "Resource group of storage account." + }, + "storageAccountName": { + "type": "string", + "description": "Storage account name of the source data set." + }, + "subscriptionId": { + "type": "string", + "description": "Subscription id of storage account." + } + }, + "required": [ + "dataSetId", + "fileSystem", + "resourceGroup", + "storageAccountName", + "subscriptionId" + ], + "description": "ADLS Gen 2 file system data set mapping property bag." + }, + "ADLSGen2FileSystemProperties": { + "type": "object", + "properties": { + "fileSystem": { + "type": "string", + "description": "The file system name." + }, + "resourceGroup": { + "type": "string", + "description": "Resource group of storage account" + }, + "storageAccountName": { + "type": "string", + "description": "Storage account name of the source data set" + }, + "subscriptionId": { + "type": "string", + "description": "Subscription id of storage account" + } + }, + "required": [ + "fileSystem", + "resourceGroup", + "storageAccountName", + "subscriptionId" + ], + "description": "Properties of the ADLS Gen2 file system data set." + }, + "ADLSGen2FolderDataSet": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "AdlsGen2Folder" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ADLSGen2FolderProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the ADLS Gen2 folder data set." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "An ADLS Gen 2 folder data set." + }, + "ADLSGen2FolderDataSetMapping": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "AdlsGen2Folder" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ADLSGen2FolderDataSetMappingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ADLS Gen 2 folder data set mapping property bag." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "An ADLS Gen2 folder data set mapping." + }, + "ADLSGen2FolderDataSetMappingProperties": { + "type": "object", + "properties": { + "dataSetId": { + "type": "string", + "description": "The id of the source data set." + }, + "fileSystem": { + "type": "string", + "description": "File system to which the folder belongs." + }, + "folderPath": { + "type": "string", + "description": "Folder path within the file system." + }, + "resourceGroup": { + "type": "string", + "description": "Resource group of storage account." + }, + "storageAccountName": { + "type": "string", + "description": "Storage account name of the source data set." + }, + "subscriptionId": { + "type": "string", + "description": "Subscription id of storage account." + } + }, + "required": [ + "dataSetId", + "fileSystem", + "folderPath", + "resourceGroup", + "storageAccountName", + "subscriptionId" + ], + "description": "ADLS Gen 2 folder data set mapping property bag." + }, + "ADLSGen2FolderProperties": { + "type": "object", + "properties": { + "fileSystem": { + "type": "string", + "description": "File system to which the folder belongs." + }, + "folderPath": { + "type": "string", + "description": "Folder path within the file system." + }, + "resourceGroup": { + "type": "string", + "description": "Resource group of storage account" + }, + "storageAccountName": { + "type": "string", + "description": "Storage account name of the source data set" + }, + "subscriptionId": { + "type": "string", + "description": "Subscription id of storage account" + } + }, + "required": [ + "fileSystem", + "folderPath", + "resourceGroup", + "storageAccountName", + "subscriptionId" + ], + "description": "Properties of the ADLS Gen2 folder data set." + }, + "BlobContainerDataSet": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "Container" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BlobContainerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the BLOB container data set." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "An Azure storage blob container data set." + }, + "BlobContainerDataSetMapping": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "Container" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BlobContainerMappingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure storage Blob container data set mapping property bag." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "A Blob container data set mapping." + }, + "BlobContainerMappingProperties": { + "type": "object", + "properties": { + "containerName": { + "type": "string", + "description": "BLOB Container name." + }, + "dataSetId": { + "type": "string", + "description": "The id of the source data set." + }, + "resourceGroup": { + "type": "string", + "description": "Resource group of storage account." + }, + "storageAccountName": { + "type": "string", + "description": "Storage account name of the source data set." + }, + "subscriptionId": { + "type": "string", + "description": "Subscription id of storage account." + } + }, + "required": [ + "containerName", + "dataSetId", + "resourceGroup", + "storageAccountName", + "subscriptionId" + ], + "description": "Azure storage Blob container data set mapping property bag." + }, + "BlobContainerProperties": { + "type": "object", + "properties": { + "containerName": { + "type": "string", + "description": "BLOB Container name." + }, + "resourceGroup": { + "type": "string", + "description": "Resource group of storage account" + }, + "storageAccountName": { + "type": "string", + "description": "Storage account name of the source data set" + }, + "subscriptionId": { + "type": "string", + "description": "Subscription id of storage account" + } + }, + "required": [ + "containerName", + "resourceGroup", + "storageAccountName", + "subscriptionId" + ], + "description": "Properties of the BLOB container data set." + }, + "BlobDataSet": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "Blob" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BlobProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the blob data set." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "An Azure storage blob data set." + }, + "BlobDataSetMapping": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "Blob" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BlobMappingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure storage Blob data set mapping property bag." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "A Blob data set mapping." + }, + "BlobFolderDataSet": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "BlobFolder" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BlobFolderProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the blob folder data set." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "An Azure storage blob folder data set." + }, + "BlobFolderDataSetMapping": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "BlobFolder" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BlobFolderMappingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure storage Blob folder data set mapping property bag." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "A Blob folder data set mapping." + }, + "BlobFolderMappingProperties": { + "type": "object", + "properties": { + "containerName": { + "type": "string", + "description": "Container that has the file path." + }, + "dataSetId": { + "type": "string", + "description": "The id of the source data set." + }, + "prefix": { + "type": "string", + "description": "Prefix for blob folder" + }, + "resourceGroup": { + "type": "string", + "description": "Resource group of storage account." + }, + "storageAccountName": { + "type": "string", + "description": "Storage account name of the source data set." + }, + "subscriptionId": { + "type": "string", + "description": "Subscription id of storage account." + } + }, + "required": [ + "containerName", + "dataSetId", + "prefix", + "resourceGroup", + "storageAccountName", + "subscriptionId" + ], + "description": "Azure storage Blob folder data set mapping property bag." + }, + "BlobFolderProperties": { + "type": "object", + "properties": { + "containerName": { + "type": "string", + "description": "Container that has the file path." + }, + "prefix": { + "type": "string", + "description": "Prefix for blob folder" + }, + "resourceGroup": { + "type": "string", + "description": "Resource group of storage account" + }, + "storageAccountName": { + "type": "string", + "description": "Storage account name of the source data set" + }, + "subscriptionId": { + "type": "string", + "description": "Subscription id of storage account" + } + }, + "required": [ + "containerName", + "prefix", + "resourceGroup", + "storageAccountName", + "subscriptionId" + ], + "description": "Properties of the blob folder data set." + }, + "BlobMappingProperties": { + "type": "object", + "properties": { + "containerName": { + "type": "string", + "description": "Container that has the file path." + }, + "dataSetId": { + "type": "string", + "description": "The id of the source data set." + }, + "filePath": { + "type": "string", + "description": "File path within the source data set" + }, + "outputType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Csv", + "Parquet" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "File output type." + }, + "resourceGroup": { + "type": "string", + "description": "Resource group of storage account." + }, + "storageAccountName": { + "type": "string", + "description": "Storage account name of the source data set." + }, + "subscriptionId": { + "type": "string", + "description": "Subscription id of storage account." + } + }, + "required": [ + "containerName", + "dataSetId", + "filePath", + "resourceGroup", + "storageAccountName", + "subscriptionId" + ], + "description": "Azure storage Blob data set mapping property bag." + }, + "BlobProperties": { + "type": "object", + "properties": { + "containerName": { + "type": "string", + "description": "Container that has the file path." + }, + "filePath": { + "type": "string", + "description": "File path within the source data set" + }, + "resourceGroup": { + "type": "string", + "description": "Resource group of storage account" + }, + "storageAccountName": { + "type": "string", + "description": "Storage account name of the source data set" + }, + "subscriptionId": { + "type": "string", + "description": "Subscription id of storage account" + } + }, + "required": [ + "containerName", + "filePath", + "resourceGroup", + "storageAccountName", + "subscriptionId" + ], + "description": "Properties of the blob data set." + }, + "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": "Identity of resource" + }, + "InvitationProperties": { + "type": "object", + "properties": { + "expirationDate": { + "type": "string", + "format": "date-time", + "description": "The expiration date for the invitation and share subscription." + }, + "targetActiveDirectoryId": { + "type": "string", + "description": "The target Azure AD Id. Can't be combined with email." + }, + "targetEmail": { + "type": "string", + "description": "The email the invitation is directed to." + }, + "targetObjectId": { + "type": "string", + "description": "The target user or application Id that invitation is being sent to.\r\nMust be specified along TargetActiveDirectoryId. This enables sending\r\ninvitations to specific users or applications in an AD tenant." + } + }, + "description": "Invitation property bag." + }, + "KustoClusterDataSet": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "KustoCluster" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/KustoClusterDataSetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the kusto cluster data set." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "A kusto cluster data set." + }, + "KustoClusterDataSetMapping": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "KustoCluster" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/KustoClusterDataSetMappingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Kusto cluster data set mapping" + } + }, + "required": [ + "kind", + "properties" + ], + "description": "A Kusto cluster data set mapping" + }, + "KustoClusterDataSetMappingProperties": { + "type": "object", + "properties": { + "dataSetId": { + "type": "string", + "description": "The id of the source data set." + }, + "kustoClusterResourceId": { + "type": "string", + "description": "Resource id of the sink kusto cluster." + } + }, + "required": [ + "dataSetId", + "kustoClusterResourceId" + ], + "description": "Properties of the Kusto cluster data set mapping" + }, + "KustoClusterDataSetProperties": { + "type": "object", + "properties": { + "kustoClusterResourceId": { + "type": "string", + "description": "Resource id of the kusto cluster." + } + }, + "required": [ + "kustoClusterResourceId" + ], + "description": "Properties of the kusto cluster data set." + }, + "KustoDatabaseDataSet": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "KustoDatabase" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/KustoDatabaseDataSetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the kusto database data set." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "A kusto database data set." + }, + "KustoDatabaseDataSetMapping": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "KustoDatabase" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/KustoDatabaseDataSetMappingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Kusto database data set mapping" + } + }, + "required": [ + "kind", + "properties" + ], + "description": "A Kusto database data set mapping" + }, + "KustoDatabaseDataSetMappingProperties": { + "type": "object", + "properties": { + "dataSetId": { + "type": "string", + "description": "The id of the source data set." + }, + "kustoClusterResourceId": { + "type": "string", + "description": "Resource id of the sink kusto cluster." + } + }, + "required": [ + "dataSetId", + "kustoClusterResourceId" + ], + "description": "Properties of the Kusto database data set mapping" + }, + "KustoDatabaseDataSetProperties": { + "type": "object", + "properties": { + "kustoDatabaseResourceId": { + "type": "string", + "description": "Resource id of the kusto database." + } + }, + "required": [ + "kustoDatabaseResourceId" + ], + "description": "Properties of the kusto database data set." + }, + "KustoTableDataSet": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "KustoTable" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/KustoTableDataSetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the kusto table data set." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "A kusto table data set." + }, + "KustoTableDataSetMapping": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "KustoTable" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/KustoTableDataSetMappingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Kusto database data set mapping" + } + }, + "required": [ + "kind", + "properties" + ], + "description": "A Kusto database data set mapping" + }, + "KustoTableDataSetMappingProperties": { + "type": "object", + "properties": { + "dataSetId": { + "type": "string", + "description": "The id of the source data set." + }, + "kustoClusterResourceId": { + "type": "string", + "description": "Resource id of the sink kusto cluster." + } + }, + "required": [ + "dataSetId", + "kustoClusterResourceId" + ], + "description": "Properties of the Kusto database data set mapping" + }, + "KustoTableDataSetProperties": { + "type": "object", + "properties": { + "kustoDatabaseResourceId": { + "type": "string", + "description": "Resource id of the kusto database." + }, + "tableLevelSharingProperties": { + "oneOf": [ + { + "$ref": "#/definitions/TableLevelSharingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Table level sharing properties dto for kusto data set properties" + } + }, + "required": [ + "kustoDatabaseResourceId", + "tableLevelSharingProperties" + ], + "description": "Properties of the kusto table data set." + }, + "ScheduledSynchronizationSetting": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "ScheduleBased" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduledSynchronizationSettingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A Scheduled synchronization setting data transfer object." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "A type of synchronization setting based on schedule" + }, + "ScheduledSynchronizationSettingProperties": { + "type": "object", + "properties": { + "recurrenceInterval": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Hour", + "Day" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recurrence Interval." + }, + "synchronizationTime": { + "type": "string", + "format": "date-time", + "description": "Synchronization time" + } + }, + "required": [ + "recurrenceInterval", + "synchronizationTime" + ], + "description": "A Scheduled synchronization setting data transfer object." + }, + "ScheduledTrigger": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "ScheduleBased" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduledTriggerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A Scheduled trigger data transfer object." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "A type of trigger based on schedule" + }, + "ScheduledTriggerProperties": { + "type": "object", + "properties": { + "recurrenceInterval": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Hour", + "Day" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recurrence Interval." + }, + "synchronizationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Incremental", + "FullSync" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Synchronization mode." + }, + "synchronizationTime": { + "type": "string", + "format": "date-time", + "description": "Synchronization time" + } + }, + "required": [ + "recurrenceInterval", + "synchronizationTime" + ], + "description": "A Scheduled trigger data transfer object." + }, + "ShareProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Share description." + }, + "shareKind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CopyBased", + "InPlace" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Share kind." + }, + "terms": { + "type": "string", + "description": "Share terms." + } + }, + "description": "Share property bag." + }, + "ShareSubscriptionProperties": { + "type": "object", + "properties": { + "expirationDate": { + "type": "string", + "format": "date-time", + "description": "The expiration date of the share subscription." + }, + "invitationId": { + "type": "string", + "description": "The invitation id." + }, + "sourceShareLocation": { + "type": "string", + "description": "Source share location." + } + }, + "required": [ + "invitationId", + "sourceShareLocation" + ], + "description": "Share subscription property bag." + }, + "SqlDBTableDataSet": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "SqlDBTable" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlDBTableProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the SQL DB table data set." + } + }, + "required": [ + "kind" + ], + "description": "A SQL DB table data set." + }, + "SqlDBTableDataSetMapping": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "SqlDBTable" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlDBTableDataSetMappingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the SQL DB table data set mapping." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "A SQL DB Table data set mapping." + }, + "SqlDBTableDataSetMappingProperties": { + "type": "object", + "properties": { + "databaseName": { + "type": "string", + "description": "DatabaseName name of the sink data set" + }, + "dataSetId": { + "type": "string", + "description": "The id of the source data set." + }, + "schemaName": { + "type": "string", + "description": "Schema of the table. Default value is dbo." + }, + "sqlServerResourceId": { + "type": "string", + "description": "Resource id of SQL server" + }, + "tableName": { + "type": "string", + "description": "SQL DB table name." + } + }, + "required": [ + "databaseName", + "dataSetId", + "schemaName", + "sqlServerResourceId", + "tableName" + ], + "description": "Properties of the SQL DB table data set mapping." + }, + "SqlDBTableProperties": { + "type": "object", + "properties": { + "databaseName": { + "type": "string", + "description": "Database name of the source data set" + }, + "schemaName": { + "type": "string", + "description": "Schema of the table. Default value is dbo." + }, + "sqlServerResourceId": { + "type": "string", + "description": "Resource id of SQL server" + }, + "tableName": { + "type": "string", + "description": "SQL DB table name." + } + }, + "required": [ + "databaseName", + "schemaName", + "sqlServerResourceId", + "tableName" + ], + "description": "Properties of the SQL DB table data set." + }, + "SqlDWTableDataSet": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "SqlDWTable" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlDWTableProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the SQL DW table data set." + } + }, + "required": [ + "kind" + ], + "description": "A SQL DW table data set." + }, + "SqlDWTableDataSetMapping": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "SqlDWTable" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SqlDWTableDataSetMappingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the SQL DW table data set mapping." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "A SQL DW Table data set mapping." + }, + "SqlDWTableDataSetMappingProperties": { + "type": "object", + "properties": { + "dataSetId": { + "type": "string", + "description": "The id of the source data set." + }, + "dataWarehouseName": { + "type": "string", + "description": "DataWarehouse name of the source data set" + }, + "schemaName": { + "type": "string", + "description": "Schema of the table. Default value is dbo." + }, + "sqlServerResourceId": { + "type": "string", + "description": "Resource id of SQL server" + }, + "tableName": { + "type": "string", + "description": "SQL DW table name." + } + }, + "required": [ + "dataSetId", + "dataWarehouseName", + "schemaName", + "sqlServerResourceId", + "tableName" + ], + "description": "Properties of the SQL DW table data set mapping." + }, + "SqlDWTableProperties": { + "type": "object", + "properties": { + "dataWarehouseName": { + "type": "string", + "description": "DataWarehouse name of the source data set" + }, + "schemaName": { + "type": "string", + "description": "Schema of the table. Default value is dbo." + }, + "sqlServerResourceId": { + "type": "string", + "description": "Resource id of SQL server" + }, + "tableName": { + "type": "string", + "description": "SQL DW table name." + } + }, + "required": [ + "dataWarehouseName", + "schemaName", + "sqlServerResourceId", + "tableName" + ], + "description": "Properties of the SQL DW table data set." + }, + "SynapseWorkspaceSqlPoolTableDataSet": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "SynapseWorkspaceSqlPoolTable" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SynapseWorkspaceSqlPoolTableDataSetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Synapse Workspace SQL Pool Table data set." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "A Synapse Workspace Sql Pool Table data set." + }, + "SynapseWorkspaceSqlPoolTableDataSetMapping": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "SynapseWorkspaceSqlPoolTable" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SynapseWorkspaceSqlPoolTableDataSetMappingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Synapse Workspace SQL Pool Table data set mapping" + } + }, + "required": [ + "kind", + "properties" + ], + "description": "A Synapse Workspace Sql Pool Table data set mapping" + }, + "SynapseWorkspaceSqlPoolTableDataSetMappingProperties": { + "type": "object", + "properties": { + "dataSetId": { + "type": "string", + "description": "The id of the source data set." + }, + "synapseWorkspaceSqlPoolTableResourceId": { + "type": "string", + "description": "Resource id of the Synapse Workspace SQL Pool Table" + } + }, + "required": [ + "dataSetId", + "synapseWorkspaceSqlPoolTableResourceId" + ], + "description": "Properties of the Synapse Workspace SQL Pool Table data set mapping" + }, + "SynapseWorkspaceSqlPoolTableDataSetProperties": { + "type": "object", + "properties": { + "synapseWorkspaceSqlPoolTableResourceId": { + "type": "string", + "description": "Resource id of the Synapse Workspace SQL Pool Table" + } + }, + "required": [ + "synapseWorkspaceSqlPoolTableResourceId" + ], + "description": "Properties of the Synapse Workspace SQL Pool Table data set." + }, + "TableLevelSharingProperties": { + "type": "object", + "properties": { + "externalTablesToExclude": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "External tables to be excluded in the data set" + }, + "externalTablesToInclude": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "External tables to be included in the data set" + }, + "materializedViewsToExclude": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Materialized views to be excluded in the data set" + }, + "materializedViewsToInclude": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Materialized views to be included in the data set" + }, + "tablesToExclude": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tables to be excluded in the data set" + }, + "tablesToInclude": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tables to be included in the data set" + } + }, + "description": "Table level sharing properties dto for kusto data set properties" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 41337e3012..2398083dba 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -3685,6 +3685,30 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-10-01-preview/Microsoft.DataShare.json#/resourceDefinitions/accounts_shareSubscriptions_triggers" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.DataShare.json#/resourceDefinitions/accounts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.DataShare.json#/resourceDefinitions/accounts_shares" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.DataShare.json#/resourceDefinitions/accounts_shares_dataSets" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.DataShare.json#/resourceDefinitions/accounts_shares_invitations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.DataShare.json#/resourceDefinitions/accounts_shares_synchronizationSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.DataShare.json#/resourceDefinitions/accounts_shareSubscriptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.DataShare.json#/resourceDefinitions/accounts_shareSubscriptions_dataSetMappings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.DataShare.json#/resourceDefinitions/accounts_shareSubscriptions_triggers" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-06-01/Microsoft.DBforMariaDB.json#/resourceDefinitions/servers" }, From 56799486372ddfee43d92854cf050b808ae68eb6 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 14 Sep 2021 09:24:08 +0000 Subject: [PATCH 194/243] Update resource list --- generator/resources.json | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index bef5fbd8d2..f7907f7beb 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -2210,49 +2210,57 @@ "2018-11-01-preview", "2019-11-01", "2020-09-01", - "2020-10-01-preview" + "2020-10-01-preview", + "2021-08-01" ], "Microsoft.DataShare/accounts/shareSubscriptions": [ "2018-11-01-preview", "2019-11-01", "2020-09-01", - "2020-10-01-preview" + "2020-10-01-preview", + "2021-08-01" ], "Microsoft.DataShare/accounts/shareSubscriptions/dataSetMappings": [ "2018-11-01-preview", "2019-11-01", "2020-09-01", - "2020-10-01-preview" + "2020-10-01-preview", + "2021-08-01" ], "Microsoft.DataShare/accounts/shareSubscriptions/triggers": [ "2018-11-01-preview", "2019-11-01", "2020-09-01", - "2020-10-01-preview" + "2020-10-01-preview", + "2021-08-01" ], "Microsoft.DataShare/accounts/shares": [ "2018-11-01-preview", "2019-11-01", "2020-09-01", - "2020-10-01-preview" + "2020-10-01-preview", + "2021-08-01" ], "Microsoft.DataShare/accounts/shares/dataSets": [ "2018-11-01-preview", "2019-11-01", "2020-09-01", - "2020-10-01-preview" + "2020-10-01-preview", + "2021-08-01" ], "Microsoft.DataShare/accounts/shares/invitations": [ "2018-11-01-preview", "2019-11-01", "2020-09-01", - "2020-10-01-preview" + "2020-10-01-preview", + "2021-08-01" ], "Microsoft.DataShare/accounts/shares/synchronizationSettings": [ "2018-11-01-preview", "2019-11-01", "2020-09-01", - "2020-10-01-preview" + "2020-10-01-preview", + "2021-08-01" ], "Microsoft.Databricks/workspaces": [ "2018-04-01", From e4a9aefbf23160bc537127ad2f6ad069c7ca41a4 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 14 Sep 2021 10:34:40 +0000 Subject: [PATCH 195/243] Update resource list --- generator/resources.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index f7907f7beb..7d53fa08ad 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3343,15 +3343,21 @@ ], "Microsoft.HDInsight/clusters": [ "2015-03-01-preview", - "2018-06-01-preview" + "2018-06-01-preview", + "2021-06-01" ], "Microsoft.HDInsight/clusters/applications": [ "2015-03-01-preview", - "2018-06-01-preview" + "2018-06-01-preview", + "2021-06-01" ], "Microsoft.HDInsight/clusters/extensions": [ "2015-03-01-preview", - "2018-06-01-preview" + "2018-06-01-preview", + "2021-06-01" + ], + "Microsoft.HDInsight/clusters/privateEndpointConnections": [ + "2021-06-01" ], "Microsoft.HanaOnAzure/hanaInstances": [ "2017-11-03-preview" From 9e592f8e0d7f74c99fcdbfba6e43c318a3abfa0d Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 14 Sep 2021 14:21:45 +0000 Subject: [PATCH 196/243] CodeGen from PR 15648 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.Consumption to add version stable/2021-05-01 (#15648) * Make changes based on s360 * Fix example errors * Missed an instance of purchaseDate type * No schema for 204 * Ran prettier Co-authored-by: Alex Goldschmidt From 9072b24184252be84b1d741f3a46cd7b04467d04 Mon Sep 17 00:00:00 2001 From: Jorge Cotillo Date: Tue, 14 Sep 2021 10:52:25 -0700 Subject: [PATCH 197/243] generate resource move schema --- .../deploymentTemplate.json | 4 +- .../Microsoft.Migrate.ResourceMover.json | 1054 +++++++++++++++++ .../Microsoft.Migrate.ResourceMover.json | 1054 +++++++++++++++++ schemas/common/autogeneratedResources.json | 12 + 4 files changed, 2122 insertions(+), 2 deletions(-) create mode 100644 schemas/2019-10-01-preview/Microsoft.Migrate.ResourceMover.json create mode 100644 schemas/2021-01-01/Microsoft.Migrate.ResourceMover.json diff --git a/schemas/2014-04-01-preview/deploymentTemplate.json b/schemas/2014-04-01-preview/deploymentTemplate.json index 1417326166..28c4cb32dc 100644 --- a/schemas/2014-04-01-preview/deploymentTemplate.json +++ b/schemas/2014-04-01-preview/deploymentTemplate.json @@ -5685,10 +5685,10 @@ "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Migrate.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.ResourceMover.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/2019-10-01-preview/Microsoft.Migrate.ResourceMover.json#/resourceDefinitions/moveCollections_moveResources" }, { "$ref": "https://schema.management.azure.com/schemas/2018-06-01-preview/Microsoft.ManagedServices.json#/resourceDefinitions/registrationAssignments" diff --git a/schemas/2019-10-01-preview/Microsoft.Migrate.ResourceMover.json b/schemas/2019-10-01-preview/Microsoft.Migrate.ResourceMover.json new file mode 100644 index 0000000000..8eb3bb4320 --- /dev/null +++ b/schemas/2019-10-01-preview/Microsoft.Migrate.ResourceMover.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.ResourceMover.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.ResourceMover.json b/schemas/2021-01-01/Microsoft.Migrate.ResourceMover.json new file mode 100644 index 0000000000..db1f0bb4de --- /dev/null +++ b/schemas/2021-01-01/Microsoft.Migrate.ResourceMover.json @@ -0,0 +1,1054 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.ResourceMover.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 cb56b22ab7..3f5500c0fb 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7309,6 +7309,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Migrate.MigrateProjects.json#/resourceDefinitions/migrateProjects_solutions" }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.ResourceMover.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2019-10-01-preview/Microsoft.Migrate.ResourceMover.json#/resourceDefinitions/moveCollections_moveResources" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.ResourceMover.json#/resourceDefinitions/moveCollections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.Migrate.ResourceMover.json#/resourceDefinitions/moveCollections_moveResources" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-28-preview/Microsoft.MixedReality.json#/resourceDefinitions/spatialAnchorsAccounts" }, From 2670754283bb1a05a20f50085fb047b38122bc3a Mon Sep 17 00:00:00 2001 From: Shrisha Kumar Date: Tue, 14 Sep 2021 16:50:41 -0700 Subject: [PATCH 198/243] Adding the schema for uiFormDefinition. A uiFormDefinition lets you customize the UI in the Azure portal when deploying an ARM template using the custom deployment blade --- .../2021-09-09/uiFormDefinition.schema.json | 3931 +++++++++++++++++ 1 file changed, 3931 insertions(+) create mode 100644 schemas/2021-09-09/uiFormDefinition.schema.json diff --git a/schemas/2021-09-09/uiFormDefinition.schema.json b/schemas/2021-09-09/uiFormDefinition.schema.json new file mode 100644 index 0000000000..fdb07f3f78 --- /dev/null +++ b/schemas/2021-09-09/uiFormDefinition.schema.json @@ -0,0 +1,3931 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "createFormViewType": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "Form" + ] + }, + "properties": { + "type": "object", + "properties": { + "title": { + "$ref": "#/definitions/stringResource" + }, + "steps": { + "$ref": "#/definitions/formSteps" + } + }, + "additionalProperties": false, + "required": [ + "title", + "steps" + ] + }, + "outputs": { + "$ref": "#/definitions/formDeploymentContext" + } + }, + "required": [ + "properties" + ], + "additionalProperties": false + }, + "formDeploymentContext": { + "oneOf": [ + { + "$ref": "#/definitions/resourceGroupScopeDeploymentContext" + }, + { + "$ref": "#/definitions/subscriptionScopeDeploymentContext" + }, + { + "$ref": "#/definitions/managementGroupScopeDeploymentContext" + }, + { + "$ref": "#/definitions/tenantScopeDeploymentContext" + } + ], + "defaultSnippets": [ + { + "label": "ResourceGroupScopeDeploymentContext", + "description": "Default snippet for deployment context to resource group scope", + "body": { + "kind": "ResourceGroup", + "resourceGroupId": "", + "location": "", + "parameters": {} + } + }, + { + "label": "SubscriptionScopeDeploymentContext", + "description": "Default snippet for deployment context to subscription scope", + "body": { + "kind": "Subscription", + "subscriptionId": "", + "location": "", + "parameters": {} + } + }, + { + "label": "ManagementGroupScopeDeploymentContext", + "description": "Default snippet for deployment context to management group scope", + "body": { + "kind": "ManagementGroup", + "managementGroupId": "", + "location": "", + "parameters": {} + } + }, + { + "label": "TenantScopeDeploymentContext", + "description": "Default snippet for deployment context to tenant scope", + "body": { + "kind": "Tenant", + "location": "", + "parameters": {} + } + } + ] + }, + "resourceGroupScopeDeploymentContext": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "ResourceGroup" + ] + }, + "resourceGroupId": { + "type": "string" + }, + "location": { + "type": "string" + }, + "parameters": { + "type": "object", + "additionalProperties": true + } + }, + "additionalProperties": false, + "required": [ + "kind", + "resourceGroupId", + "location", + "parameters" + ] + }, + "subscriptionScopeDeploymentContext": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "Subscription" + ] + }, + "subscriptionId": { + "type": "string" + }, + "location": { + "type": "string" + }, + "parameters": { + "type": "object", + "additionalProperties": true + } + }, + "additionalProperties": false, + "required": [ + "kind", + "subscriptionId", + "location", + "parameters" + ] + }, + "managementGroupScopeDeploymentContext": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "ManagementGroup" + ] + }, + "managementGroupId": { + "type": "string" + }, + "location": { + "type": "string" + }, + "parameters": { + "type": "object", + "additionalProperties": true + } + }, + "additionalProperties": false, + "required": [ + "kind", + "managementGroupId", + "location", + "parameters" + ] + }, + "tenantScopeDeploymentContext": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "Tenant" + ] + }, + "location": { + "type": "string" + }, + "parameters": { + "type": "object", + "additionalProperties": true + } + }, + "additionalProperties": false, + "required": [ + "kind", + "location", + "parameters" + ] + }, + "stringResource": { + "oneOf": [ + { + "type": "object", + "properties": { + "property": { + "type": "string" + }, + "module": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "property" + ] + }, + { + "type": "string" + } + ] + }, + "formSteps": { + "type": "array", + "items": [ + { + "$ref": "#/definitions/formStep" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + }, + { + "$ref": "#/definitions/formStepWithoutResourceScope" + } + ], + "additionalItems": { + "$ref": "#/definitions/formStepWithoutResourceScope" + } + }, + "formStep": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "description": { + "$ref": "#/definitions/stringResource" + }, + "elements": { + "type": "array", + "items": [ + { + "$ref": "#/definitions/formControls" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + }, + { + "$ref": "#/definitions/formControlsWithoutResourceScope" + } + ], + "additionalItems": { + "$ref": "#/definitions/formControlsWithoutResourceScope" + } + } + }, + "additionalProperties": false, + "required": [ + "name", + "label", + "elements" + ] + }, + "formControls": { + "oneOf": [ + { + "$ref": "#/definitions/Microsoft.Common.CheckBox" + }, + { + "$ref": "#/definitions/Microsoft.Common.DropDown" + }, + { + "$ref": "#/definitions/Microsoft.Common.EditableGrid" + }, + { + "$ref": "#/definitions/Microsoft.Common.Grid" + }, + { + "$ref": "#/definitions/Microsoft.Common.FileUpload" + }, + { + "$ref": "#/definitions/Microsoft.Common.InfoBox" + }, + { + "$ref": "#/definitions/Microsoft.Common.OptionsGroup" + }, + { + "$ref": "#/definitions/Microsoft.Common.PasswordBox" + }, + { + "$ref": "#/definitions/Microsoft.Common.ResourceScope" + }, + { + "$ref": "#/definitions/Microsoft.Common.Section" + }, + { + "$ref": "#/definitions/Microsoft.Common.Selector" + }, + { + "$ref": "#/definitions/Microsoft.Common.Slider" + }, + { + "$ref": "#/definitions/Microsoft.Common.TagsByResource" + }, + { + "$ref": "#/definitions/Microsoft.Common.TextBlock" + }, + { + "$ref": "#/definitions/Microsoft.Common.TextBox" + }, + { + "$ref": "#/definitions/Microsoft.Compute.CredentialsCombo-Linux" + }, + { + "$ref": "#/definitions/Microsoft.Compute.CredentialsCombo-Windows" + }, + { + "$ref": "#/definitions/Microsoft.Compute.SizeSelector" + }, + { + "$ref": "#/definitions/Microsoft.Compute.UserNameTextBox" + }, + { + "$ref": "#/definitions/Microsoft.KeyVault.KeyVaultCertificateSelector" + }, + { + "$ref": "#/definitions/Microsoft.ManagedIdentity.IdentitySelector" + }, + { + "$ref": "#/definitions/Microsoft.Network.PublicIpAddressCombo" + }, + { + "$ref": "#/definitions/Microsoft.Network.VirtualNetworkCombo" + }, + { + "$ref": "#/definitions/Microsoft.Solutions.ArmApiControl" + }, + { + "$ref": "#/definitions/Microsoft.Solutions.ResourceSelector" + }, + { + "$ref": "#/definitions/Microsoft.Storage.MultiStorageAccountCombo" + }, + { + "$ref": "#/definitions/Microsoft.Storage.StorageAccountSelector" + }, + { + "$ref": "#/definitions/Microsoft.Storage.StorageBlobSelector" + }, + { + "$ref": "#/definitions/Microsoft.Common.ServicePrincipalSelector" + }, + { + "$ref": "#/definitions/Microsoft.Solutions.GraphApiControl" + }, + { + "$ref": "#/definitions/Microsoft.Common.TenantSelector" + }, + { + "$ref": "#/definitions/Microsoft.Common.ManagementGroupSelector" + }, + { + "$ref": "#/definitions/Microsoft.Common.SubscriptionSelector" + }, + { + "$ref": "#/definitions/Microsoft.Common.ResourceGroupSelector" + }, + { + "$ref": "#/definitions/Microsoft.Common.LocationSelector" + }, + { + "$ref": "#/definitions/Microsoft.Solutions.BladeInvokeControl" + } + ], + "defaultSnippets": [ + { + "label": "Microsoft.Common.CheckBox", + "description": "Default snippet for Microsoft.Common.CheckBox", + "body": { + "type": "Microsoft.Common.CheckBox" + } + }, + { + "label": "Microsoft.Common.DropDown", + "description": "Default snippet for Microsoft.Common.DropDown", + "body": { + "type": "Microsoft.Common.DropDown" + } + }, + { + "label": "Microsoft.Common.EditableGrid", + "description": "Default snippet for Microsoft.Common.EditableGrid", + "body": { + "type": "Microsoft.Common.EditableGrid" + } + }, + { + "label": "Microsoft.Common.Grid", + "description": "Default snippet for Microsoft.Common.Grid", + "body": { + "type": "Microsoft.Common.Grid" + } + }, + { + "label": "Microsoft.Common.FileUpload", + "description": "Default snippet for Microsoft.Common.FileUpload", + "body": { + "type": "Microsoft.Common.FileUpload" + } + }, + { + "label": "Microsoft.Common.InfoBox", + "description": "Default snippet for Microsoft.Common.InfoBox", + "body": { + "type": "Microsoft.Common.InfoBox" + } + }, + { + "label": "Microsoft.Common.OptionsGroup", + "description": "Default snippet for Microsoft.Common.OptionsGroup", + "body": { + "type": "Microsoft.Common.OptionsGroup" + } + }, + { + "label": "Microsoft.Common.PasswordBox", + "description": "Default snippet for Microsoft.Common.PasswordBox", + "body": { + "type": "Microsoft.Common.PasswordBox" + } + }, + { + "label": "Microsoft.Common.ResourceScope", + "description": "Default snippet for Microsoft.Common.ResourceScope", + "body": { + "type": "Microsoft.Common.ResourceScope" + } + }, + { + "label": "Microsoft.Common.Section", + "description": "Default snippet for Microsoft.Common.Section", + "body": { + "type": "Microsoft.Common.Section" + } + }, + { + "label": "Microsoft.Common.Selector", + "description": "Default snippet for Microsoft.Common.Selector", + "body": { + "type": "Microsoft.Common.Selector" + } + }, + { + "label": "Microsoft.Common.Slider", + "description": "Default snippet for Microsoft.Common.Slider", + "body": { + "type": "Microsoft.Common.Slider" + } + }, + { + "label": "Microsoft.Common.TagsByResource", + "description": "Default snippet for Microsoft.Common.TagsByResource", + "body": { + "type": "Microsoft.Common.TagsByResource" + } + }, + { + "label": "Microsoft.Common.TextBlock", + "description": "Default snippet for Microsoft.Common.TextBlock", + "body": { + "type": "Microsoft.Common.TextBlock" + } + }, + { + "label": "Microsoft.Common.TextBox", + "description": "Default snippet for Microsoft.Common.TextBox", + "body": { + "type": "Microsoft.Common.TextBox" + } + }, + { + "label": "Microsoft.Compute.CredentialsCombo for Linux", + "description": "Default snippet for Microsoft.Compute.CredentialsCombo for Linux", + "body": { + "type": "Microsoft.Compute.CredentialsCombo", + "osPlatform": "Linux" + } + }, + { + "label": "Microsoft.Compute.CredentialsCombo for Windows", + "description": "Default snippet for Microsoft.Compute.CredentialsCombo for Windows", + "body": { + "type": "Microsoft.Compute.CredentialsCombo", + "osPlatform": "Windows" + } + }, + { + "label": "Microsoft.Compute.SizeSelector", + "description": "Default snippet for Microsoft.Compute.SizeSelector", + "body": { + "type": "Microsoft.Compute.SizeSelector" + } + }, + { + "label": "Microsoft.Compute.UserNameTextBox", + "description": "Default snippet for Microsoft.Compute.UserNameTextBox", + "body": { + "type": "Microsoft.Compute.UserNameTextBox" + } + }, + { + "label": "Microsoft.KeyVault.KeyVaultCertificateSelector", + "description": "Default snippet for Microsoft.KeyVault.KeyVaultCertificateSelector", + "body": { + "type": "Microsoft.KeyVault.KeyVaultCertificateSelector" + } + }, + { + "label": "Microsoft.ManagedIdentity.IdentitySelector", + "description": "Default snippet for Microsoft.ManagedIdentity.IdentitySelector", + "body": { + "type": "Microsoft.ManagedIdentity.IdentitySelector" + } + }, + { + "label": "Microsoft.Network.PublicIpAddressCombo", + "description": "Default snippet for Microsoft.Network.PublicIpAddressCombo", + "body": { + "type": "Microsoft.Network.PublicIpAddressCombo" + } + }, + { + "label": "Microsoft.Network.VirtualNetworkCombo", + "description": "Default snippet for Microsoft.Network.VirtualNetworkCombo", + "body": { + "type": "Microsoft.Network.VirtualNetworkCombo" + } + }, + { + "label": "Microsoft.Solutions.ArmApiControl", + "description": "Default snippet for Microsoft.Solutions.ArmApiControl", + "body": { + "type": "Microsoft.Solutions.ArmApiControl" + } + }, + { + "label": "Microsoft.Solutions.ResourceSelector", + "description": "Default snippet for Microsoft.Solutions.ResourceSelector", + "body": { + "type": "Microsoft.Solutions.ResourceSelector" + } + }, + { + "label": "Microsoft.Storage.MultiStorageAccountCombo", + "description": "Default snippet for Microsoft.Storage.MultiStorageAccountCombo", + "body": { + "type": "Microsoft.Storage.MultiStorageAccountCombo" + } + }, + { + "label": "Microsoft.Storage.StorageAccountSelector", + "description": "Default snippet for Microsoft.Storage.StorageAccountSelector", + "body": { + "type": "Microsoft.Storage.StorageAccountSelector" + } + }, + { + "label": "Microsoft.Storage.StorageBlobSelector", + "description": "Default snippet for Microsoft.Storage.StorageBlobSelector", + "body": { + "type": "Microsoft.Storage.StorageBlobSelector" + } + }, + { + "label": "Microsoft.Common.ServicePrincipalSelector", + "description": "Default snippet for Microsoft.Common.ServicePrincipalSelector", + "body": { + "type": "Microsoft.Common.ServicePrincipalSelector" + } + }, + { + "label": "Microsoft.Solutions.GraphApiControl", + "description": "Default snippet for Microsoft.Solutions.GraphApiControl", + "body": { + "type": "Microsoft.Solutions.GraphApiControl" + } + }, + { + "label": "Microsoft.Common.TenantSelector", + "description": "Default snippet for Microsoft.Common.TenantSelector", + "body": { + "type": "Microsoft.Common.TenantSelector" + } + }, + { + "label": "Microsoft.Common.ManagementGroupSelector", + "description": "Default snippet for Microsoft.Common.ManagementGroupSelector", + "body": { + "type": "Microsoft.Common.ManagementGroupSelector" + } + }, + { + "label": "Microsoft.Common.SubscriptionSelector", + "description": "Default snippet for Microsoft.Common.SubscriptionSelector", + "body": { + "type": "Microsoft.Common.SubscriptionSelector" + } + }, + { + "label": "Microsoft.Common.ResourceGroupSelector", + "description": "Default snippet for Microsoft.Common.ResourceGroupSelector", + "body": { + "type": "Microsoft.Common.ResourceGroupSelector" + } + }, + { + "label": "Microsoft.Common.LocationSelector", + "description": "Default snippet for Microsoft.Common.LocationSelector", + "body": { + "type": "Microsoft.Common.LocationSelector" + } + }, + { + "label": "Microsoft.Solutions.BladeInvokeControl", + "description": "Default snippet for Microsoft.Solutions.BladeInvokeControl", + "body": { + "type": "Microsoft.Solutions.BladeInvokeControl" + } + } + ] + }, + "Microsoft.Common.CheckBox": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.CheckBox" + ] + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "toolTip": { + "$ref": "#/definitions/stringResource" + }, + "constraints": { + "type": "object", + "properties": { + "required": { + "type": [ + "boolean", + "string" + ] + }, + "validationMessage": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label" + ] + }, + "Microsoft.Common.DropDown": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.DropDown" + ] + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "defaultValue": { + "$ref": "#/definitions/defaultOptionValue" + }, + "placeholder": { + "$ref": "#/definitions/stringResource" + }, + "toolTip": { + "$ref": "#/definitions/stringResource" + }, + "multiselect": { + "type": [ + "boolean", + "string" + ] + }, + "selectAll": { + "type": [ + "boolean", + "string" + ] + }, + "filter": { + "type": [ + "boolean", + "string" + ] + }, + "filterPlaceholder": { + "$ref": "#/definitions/stringResource" + }, + "multiLine": { + "type": [ + "boolean", + "string" + ] + }, + "defaultDescription": { + "type": "string" + }, + "constraints": { + "$ref": "#/definitions/Microsoft.Common.DropDown.Constraints" + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "constraints" + ] + }, + "defaultOptionValue": { + "oneOf": [ + { + "$ref": "#/definitions/stringResource" + }, + { + "type": "object", + "properties": { + "value": { + "type": [ + "string", + "number", + "boolean", + "object" + ] + } + }, + "required": [ + "value" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "label": { + "$ref": "#/definitions/stringResource" + } + }, + "required": [ + "label" + ], + "additionalProperties": false + } + ] + }, + "Microsoft.Common.DropDown.Constraints": { + "type": "object", + "properties": { + "allowedValues": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "object", + "properties": { + "label": { + "$ref": "#/definitions/stringResource" + }, + "description": { + "$ref": "#/definitions/stringResource" + }, + "value": {} + }, + "additionalProperties": false, + "required": [ + "label", + "value" + ] + }, + "minItems": 1 + }, + { + "type": "string" + } + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "allowedValues" + ] + }, + "Microsoft.Common.EditableGrid": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.EditableGrid" + ] + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "ariaLabel": { + "$ref": "#/definitions/stringResource" + }, + "constraints": { + "type": "object", + "properties": { + "rows": { + "type": "object", + "properties": { + "count": { + "type": "object", + "properties": { + "min": { + "type": "number" + }, + "max": { + "type": "number" + } + }, + "required": [ + "min", + "max" + ], + "additionalProperties": false + } + }, + "required": [ + "count" + ], + "additionalProperties": false + }, + "columns": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "header": { + "$ref": "#/definitions/stringResource" + }, + "element": { + "$ref": "#/definitions/Editablegrid.ColumnElement" + }, + "width": { + "type": "string", + "default": "1fr" + } + }, + "required": [ + "id", + "header", + "element" + ], + "additionalProperties": false + } + }, + "width": { + "type": "string", + "enum": [ + "Small", + "Medium", + "Full" + ] + } + } + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "constraints", + "ariaLabel" + ] + }, + "Editablegrid.ColumnElement": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/Editablegrid.DropDownElement" + }, + { + "$ref": "#/definitions/Editablegrid.OptionsGroupElement" + }, + { + "$ref": "#/definitions/Editablegrid.TextBoxElement" + } + ], + "defaultSnippets": [ + { + "label": "Microsoft.Common.DropDown", + "description": "Default snippet for Microsoft.Common.DropDown", + "body": { + "type": "Microsoft.Common.DropDown" + } + }, + { + "label": "Microsoft.Common.OptionsGroup", + "description": "Default snippet for Microsoft.Common.OptionsGroup", + "body": { + "type": "Microsoft.Common.OptionsGroup" + } + }, + { + "label": "Microsoft.Common.TextBox", + "description": "Default snippet for Microsoft.Common.TextBox", + "body": { + "type": "Microsoft.Common.TextBox" + } + } + ] + }, + "Editablegrid.DropDownElement": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.DropDown" + ] + }, + "placeholder": { + "$ref": "#/definitions/stringResource" + }, + "constraints": { + "$ref": "#/definitions/Microsoft.Common.DropDown.Constraints" + } + }, + "required": [ + "type", + "constraints" + ], + "additionalProperties": false + }, + "Editablegrid.OptionsGroupElement": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.OptionsGroup" + ] + }, + "constraints": { + "$ref": "#/definitions/Microsoft.Common.OptionsGroup.Constraints" + }, + "additionalProperties": false + }, + "required": [ + "type", + "constraints" + ], + "additionalProperties": false + }, + "Microsoft.Common.OptionsGroup.Constraints": { + "type": "object", + "properties": { + "allowedValues": { + "type": "array", + "items": { + "type": "object", + "properties": { + "label": { + "$ref": "#/definitions/stringResource" + }, + "value": {} + }, + "additionalProperties": false, + "required": [ + "label", + "value" + ] + }, + "minItems": 1 + }, + "required": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "allowedValues" + ] + }, + "Editablegrid.TextBoxElement": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.TextBox" + ] + }, + "placeholder": { + "$ref": "#/definitions/stringResource" + }, + "constraints": { + "$ref": "#/definitions/Microsoft.Common.TextBox.Constraints" + } + }, + "required": [ + "type" + ], + "additionalProperties": false + }, + "Microsoft.Common.TextBox.Constraints": { + "anyOf": [ + { + "type": "object", + "properties": { + "required": { + "type": [ + "boolean", + "string" + ] + }, + "regex": { + "type": "string" + }, + "validationMessage": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "required": { + "type": [ + "boolean", + "string" + ] + }, + "validations": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "message": { + "$ref": "#/definitions/stringResource" + }, + "isValid": { + "type": "string" + }, + "await": { + "type": "string" + }, + "skip": { + "type": [ + "string", + "boolean" + ] + } + }, + "additionalProperties": false, + "required": [ + "message", + "isValid" + ] + }, + { + "type": "object", + "properties": { + "message": { + "$ref": "#/definitions/stringResource" + }, + "regex": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message", + "regex" + ] + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "Microsoft.Common.Grid": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.Grid" + ] + }, + "label": { + "type": "object", + "properties": { + "summary": { + "$ref": "#/definitions/stringResource" + }, + "addition": { + "$ref": "#/definitions/stringResource" + }, + "delete": { + "$ref": "#/definitions/stringResource" + }, + "ariaLabel": { + "$ref": "#/definitions/stringResource" + } + } + }, + "defaultValue": { + "type": [ + "array", + "string" + ] + }, + "addBlade": { + "$ref": "#/definitions/Grid.BladeReference" + }, + "editBlade": { + "$ref": "#/definitions/Grid.BladeReference" + }, + "constraints": { + "type": "object", + "properties": { + "rows": { + "type": "object", + "properties": { + "count": { + "type": "object", + "properties": { + "min": { + "type": "number" + }, + "max": { + "type": "number" + } + }, + "required": [ + "min", + "max" + ], + "additionalProperties": false + } + }, + "required": [ + "count" + ], + "additionalProperties": false + }, + "canEditRows": { + "type": "boolean" + }, + "validations": { + "type": "array", + "items": { + "$ref": "#/definitions/isValidValidation" + } + }, + "columns": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "header": { + "$ref": "#/definitions/stringResource" + }, + "element": { + "$ref": "#/definitions/Editablegrid.ColumnElement" + }, + "width": { + "type": "string", + "default": "1fr" + }, + "cellType": { + "type": "string", + "enum": [ + "readonly", + "input" + ] + }, + "text": { + "type": "string" + } + }, + "required": [ + "id", + "header", + "cellType" + ], + "additionalProperties": false + } + }, + "width": { + "type": "string", + "enum": [ + "Small", + "Medium", + "Full" + ] + } + }, + "required": [ + "columns" + ] + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "constraints", + "addBlade" + ] + }, + "Grid.BladeReference": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "parameters": { + "type": "object" + }, + "outputItem": { + "type": "string" + }, + "inContextPane": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "outputItem", + "parameters" + ] + }, + "isValidValidation": { + "type": "object", + "properties": { + "isValid": { + "type": "string" + }, + "message": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false, + "required": [ + "isValid", + "message" + ] + }, + "Microsoft.Common.FileUpload": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.FileUpload" + ] + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "toolTip": { + "$ref": "#/definitions/stringResource" + }, + "constraints": { + "type": "object", + "properties": { + "required": { + "type": [ + "boolean", + "string" + ] + }, + "accept": { + "type": "string" + } + }, + "additionalProperties": false + }, + "options": { + "type": "object", + "properties": { + "multiple": { + "type": [ + "boolean", + "string" + ] + }, + "uploadMode": { + "type": "string" + }, + "openMode": { + "type": "string" + }, + "encoding": { + "type": "string" + } + }, + "additionalProperties": false + }, + "scope": { + "type": "object", + "properties": { + "subscriptionId": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "subscriptionId" + ] + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "scope" + ] + }, + "Microsoft.Common.InfoBox": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.InfoBox" + ] + }, + "options": { + "type": "object", + "properties": { + "style": { + "type": "string", + "enum": [ + "Info", + "Warning", + "Error", + "None" + ] + }, + "text": { + "$ref": "#/definitions/stringResource" + }, + "uri": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "text": { + "$ref": "#/definitions/stringResource" + } + }, + "required": [ + "value", + "text" + ], + "additionalProperties": false + } + ] + } + }, + "additionalProperties": false, + "required": [ + "style", + "text" + ] + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "options" + ] + }, + "Microsoft.Common.OptionsGroup": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.OptionsGroup" + ] + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "defaultValue": { + "$ref": "#/definitions/defaultOptionValue" + }, + "toolTip": { + "$ref": "#/definitions/stringResource" + }, + "constraints": { + "$ref": "#/definitions/Microsoft.Common.OptionsGroup.Constraints" + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "constraints" + ] + }, + "Microsoft.Common.PasswordBox": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.PasswordBox" + ] + }, + "label": { + "type": "object", + "properties": { + "password": { + "$ref": "#/definitions/stringResource" + }, + "confirmPassword": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false, + "required": [ + "password", + "confirmPassword" + ] + }, + "toolTip": { + "$ref": "#/definitions/stringResource" + }, + "constraints": { + "type": "object", + "properties": { + "required": { + "type": [ + "boolean", + "string" + ] + }, + "regex": { + "type": "string" + }, + "validationMessage": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false + }, + "options": { + "type": "object", + "properties": { + "hideConfirmation": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label" + ] + }, + "Microsoft.Common.ResourceScope": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.ResourceScope" + ] + }, + "globalResource": { + "type": "boolean" + }, + "instanceDetailsLabel": { + "$ref": "#/definitions/stringResource" + }, + "subscription": { + "$ref": "#/definitions/resourceScopeSubscription" + }, + "resourceGroup": { + "$ref": "#/definitions/resourceScopeResourceGroup" + }, + "resourceName": { + "$ref": "#/definitions/resourceScopeResourceName" + }, + "location": { + "$ref": "#/definitions/resourceScopeLocation" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type" + ] + }, + "resourceScopeSubscription": { + "type": "object", + "properties": { + "constraints": { + "$ref": "#/definitions/resourceConstraints" + }, + "resourceProviders": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "additionalProperties": false + }, + "resourceConstraints": { + "type": "object", + "properties": { + "validations": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/definitions/isValidValidation" + }, + { + "$ref": "#/definitions/permissionValidation" + } + ] + } + } + }, + "required": [ + "validations" + ], + "additionalProperties": false + }, + "permissionValidation": { + "type": "object", + "properties": { + "permission": { + "type": "string" + }, + "message": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false, + "required": [ + "permission", + "message" + ] + }, + "resourceScopeResourceGroup": { + "type": "object", + "properties": { + "constraints": { + "type": "object", + "properties": { + "validations": { + "type": "array", + "items": { + "$ref": "#/definitions/isValidValidation" + } + } + }, + "additionalProperties": false + }, + "allowExisting": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "resourceScopeResourceName": { + "type": "object", + "properties": { + "label": { + "$ref": "#/definitions/stringResource" + }, + "toolTip": { + "$ref": "#/definitions/stringResource" + }, + "constraints": { + "type": "object", + "properties": { + "validations": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/definitions/isValidValidation" + }, + { + "$ref": "#/definitions/regexValidation" + } + ] + } + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + "regexValidation": { + "type": "object", + "properties": { + "regex": { + "type": "string" + }, + "message": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false, + "required": [ + "regex", + "message" + ] + }, + "resourceScopeLocation": { + "type": "object", + "properties": { + "label": { + "$ref": "#/definitions/stringResource" + }, + "toolTip": { + "$ref": "#/definitions/stringResource" + }, + "resourceTypes": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 1 + }, + "allowedValues": { + "type": [ + "string", + "array" + ], + "items": { + "type": "string" + }, + "minItems": 1 + } + }, + "additionalProperties": false + }, + "Microsoft.Common.Section": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.Section" + ] + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "elements": { + "type": "array", + "items": { + "allOf": [ + { + "$ref": "#/definitions/formControls" + }, + { + "not": { + "$ref": "#/definitions/Microsoft.Common.Section" + } + } + ] + }, + "minItems": 1 + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "elements" + ] + }, + "Microsoft.Common.Selector": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.Selector" + ] + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "link": { + "$ref": "#/definitions/stringResource" + }, + "keyPath": { + "type": "string" + }, + "value": { + "type": "string" + }, + "defaultValue": { + "type": "object" + }, + "valueMapping": { + "$ref": "#/definitions/propertyValueMappingReference" + } + }, + "required": [ + "name", + "type", + "label", + "keyPath", + "defaultValue", + "value" + ], + "additionalProperties": false + }, + "propertyValueMappingReference": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "displayName": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false, + "required": [ + "value", + "displayName" + ] + } + }, + "Microsoft.Common.Slider": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.Slider" + ] + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "subLabel": { + "$ref": "#/definitions/stringResource" + }, + "defaultValue": { + "type": [ + "integer", + "string" + ] + }, + "toolTip": { + "$ref": "#/definitions/stringResource" + }, + "showStepMarkers": { + "type": [ + "boolean", + "string" + ] + }, + "min": { + "type": "integer" + }, + "max": { + "type": "integer" + }, + "constraints": { + "type": "object", + "properties": { + "required": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "min", + "max" + ] + }, + "Microsoft.Common.TagsByResource": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.TagsByResource" + ] + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "resources": { + "type": "array", + "items": { + "type": "string" + } + }, + "constraints": { + "type": "object", + "properties": { + "required": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "resources" + ] + }, + "Microsoft.Common.TextBlock": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.TextBlock" + ] + }, + "options": { + "type": "object", + "oneOf": [ + { + "properties": { + "text": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false, + "required": [ + "text" + ] + }, + { + "properties": { + "text": { + "$ref": "#/definitions/stringResource" + }, + "link": { + "type": "object", + "properties": { + "label": { + "$ref": "#/definitions/stringResource" + }, + "uri": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "label", + "uri" + ] + } + }, + "additionalProperties": false, + "required": [ + "link" + ] + } + ] + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "options" + ] + }, + "Microsoft.Common.TextBox": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.TextBox" + ] + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "subLabel": { + "$ref": "#/definitions/stringResource" + }, + "defaultValue": { + "$ref": "#/definitions/stringResource" + }, + "placeholder": { + "$ref": "#/definitions/stringResource" + }, + "toolTip": { + "$ref": "#/definitions/stringResource" + }, + "constraints": { + "$ref": "#/definitions/Microsoft.Common.TextBox.Constraints" + }, + "visible": { + "type": [ + "boolean", + "string" + ] + }, + "multiLine": { + "type": "boolean" + }, + "readOnly": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label" + ] + }, + "Microsoft.Compute.CredentialsCombo-Linux": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute.CredentialsCombo" + ] + }, + "label": { + "type": "object", + "properties": { + "authenticationType": { + "$ref": "#/definitions/stringResource" + }, + "password": { + "$ref": "#/definitions/stringResource" + }, + "confirmPassword": { + "$ref": "#/definitions/stringResource" + }, + "sshPublicKey": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false, + "required": [ + "authenticationType", + "password", + "confirmPassword", + "sshPublicKey" + ] + }, + "toolTip": { + "type": "object", + "properties": { + "authenticationType": { + "$ref": "#/definitions/stringResource" + }, + "password": { + "$ref": "#/definitions/stringResource" + }, + "sshPublicKey": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false + }, + "constraints": { + "type": "object", + "properties": { + "required": { + "type": [ + "boolean", + "string" + ] + }, + "customPasswordRegex": { + "type": "string" + }, + "customValidationMessage": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false + }, + "options": { + "type": "object", + "properties": { + "hideConfirmation": { + "type": [ + "boolean", + "string" + ] + }, + "hidePassword": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false + }, + "osPlatform": { + "type": "string", + "enum": [ + "Linux" + ] + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "osPlatform" + ] + }, + "Microsoft.Compute.CredentialsCombo-Windows": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute.CredentialsCombo" + ] + }, + "label": { + "type": "object", + "properties": { + "password": { + "$ref": "#/definitions/stringResource" + }, + "confirmPassword": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false, + "required": [ + "password", + "confirmPassword" + ] + }, + "toolTip": { + "type": "object", + "properties": { + "password": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false + }, + "constraints": { + "type": "object", + "properties": { + "required": { + "type": [ + "boolean", + "string" + ] + }, + "customPasswordRegex": { + "type": "string" + }, + "customValidationMessage": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false + }, + "options": { + "type": "object", + "properties": { + "hideConfirmation": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false + }, + "osPlatform": { + "type": "string", + "enum": [ + "Windows" + ] + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "osPlatform" + ] + }, + "Microsoft.Compute.SizeSelector": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute.SizeSelector" + ] + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "toolTip": { + "$ref": "#/definitions/stringResource" + }, + "recommendedSizes": { + "type": "array", + "items": { + "type": "string" + }, + "minItems": 1 + }, + "constraints": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "allowedSizes": { + "type": "array", + "items": { + "type": "string" + } + }, + "numAvailabilityZonesRequired": { + "type": "integer" + }, + "zone": { + "type": "string" + } + }, + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "excludedSizes": { + "type": "array", + "items": { + "type": "string" + } + }, + "numAvailabilityZonesRequired": { + "type": "integer" + }, + "zone": { + "type": "string" + } + }, + "additionalProperties": false + } + ] + }, + "options": { + "type": "object", + "properties": { + "hideDiskTypeFilter": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false + }, + "osPlatform": { + "type": "string" + }, + "imageReference": { + "type": "object", + "properties": { + "publisher": { + "type": "string" + }, + "offer": { + "type": "string" + }, + "sku": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "publisher", + "offer", + "sku" + ] + }, + "count": { + "type": [ + "integer", + "string" + ] + }, + "visible": { + "type": [ + "boolean", + "string" + ] + }, + "scope": { + "type": "object", + "properties": { + "subscriptionId": { + "type": "string" + }, + "location": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "subscriptionId", + "location" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "recommendedSizes", + "osPlatform", + "scope" + ] + }, + "Microsoft.Compute.UserNameTextBox": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Compute.UserNameTextBox" + ] + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "defaultValue": { + "type": "string" + }, + "toolTip": { + "$ref": "#/definitions/stringResource" + }, + "constraints": { + "type": "object", + "properties": { + "required": { + "type": [ + "boolean", + "string" + ] + }, + "regex": { + "type": "string" + }, + "validationMessage": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false + }, + "osPlatform": { + "type": "string", + "enum": [ + "Linux", + "Windows" + ] + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "osPlatform" + ] + }, + "Microsoft.KeyVault.KeyVaultCertificateSelector": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.KeyVault.KeyVaultCertificateSelector" + ] + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "toolTip": { + "$ref": "#/definitions/stringResource" + }, + "scope": { + "type": "object", + "properties": { + "subscriptionId": { + "type": "string" + }, + "location": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "subscriptionId", + "location" + ] + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "scope" + ] + }, + "Microsoft.ManagedIdentity.IdentitySelector": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ManagedIdentity.IdentitySelector" + ] + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "toolTip": { + "type": "object", + "properties": { + "systemAssignedIdentity": { + "$ref": "#/definitions/stringResource" + }, + "userAssignedIdentity": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false + }, + "defaultValue": { + "type": "object", + "properties": { + "systemAssignedIdentity": { + "type": "string", + "enum": [ + "On", + "Off", + "OnOnly", + "OffOnly" + ] + } + }, + "additionalProperties": false + }, + "options": { + "type": "object", + "properties": { + "hideSystemAssignedIdentity": { + "type": [ + "boolean", + "string" + ] + }, + "hideUserAssignedIdentity": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label" + ] + }, + "Microsoft.Network.PublicIpAddressCombo": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Network.PublicIpAddressCombo" + ] + }, + "label": { + "type": "object", + "properties": { + "publicIpAddress": { + "$ref": "#/definitions/stringResource" + }, + "domainNameLabel": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false, + "required": [ + "publicIpAddress", + "domainNameLabel" + ] + }, + "toolTip": { + "type": "object", + "properties": { + "publicIpAddress": { + "$ref": "#/definitions/stringResource" + }, + "domainNameLabel": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false + }, + "defaultValue": { + "type": "object", + "properties": { + "publicIpAddressName": { + "type": "string" + }, + "domainNameLabel": { + "type": "string" + } + }, + "additionalProperties": false + }, + "constraints": { + "type": "object", + "properties": { + "required": { + "type": "object", + "properties": { + "domainNameLabel": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + "options": { + "type": "object", + "properties": { + "hideNone": { + "type": [ + "boolean", + "string" + ] + }, + "hideDomainNameLabel": { + "type": [ + "boolean", + "string" + ] + }, + "hideExisting": { + "type": [ + "boolean", + "string" + ] + }, + "zone": { + "type": "integer" + } + }, + "additionalProperties": false + }, + "visible": { + "type": [ + "boolean", + "string" + ] + }, + "scope": { + "$ref": "#/definitions/formControlScope" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "scope" + ] + }, + "formControlScope": { + "type": "object", + "properties": { + "subscriptionId": { + "type": "string" + }, + "resourceGroupName": { + "type": "string" + }, + "location": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "subscriptionId", + "resourceGroupName", + "location" + ] + }, + "Microsoft.Network.VirtualNetworkCombo": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Network.VirtualNetworkCombo" + ] + }, + "label": { + "type": "object", + "properties": { + "virtualNetwork": { + "$ref": "#/definitions/stringResource" + }, + "subnets": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false, + "required": [ + "virtualNetwork", + "subnets" + ] + }, + "toolTip": { + "type": "object", + "properties": { + "virtualNetwork": { + "$ref": "#/definitions/stringResource" + }, + "subnets": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false + }, + "defaultValue": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "addressPrefixSize": { + "type": "string" + } + }, + "additionalProperties": false + }, + "constraints": { + "type": "object", + "properties": { + "minAddressPrefixSize": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "minAddressPrefixSize" + ] + }, + "options": { + "type": "object", + "properties": { + "hideExisting": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false + }, + "subnets": { + "type": "object", + "patternProperties": { + ".": { + "type": "object", + "properties": { + "label": { + "$ref": "#/definitions/stringResource" + }, + "defaultValue": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "addressPrefixSize": { + "type": "string" + } + }, + "additionalProperties": false + }, + "constraints": { + "type": "object", + "properties": { + "minAddressPrefixSize": { + "type": "string" + }, + "minAddressCount": { + "type": [ + "integer", + "string" + ] + }, + "requireContiguousAddresses": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "minAddressPrefixSize" + ] + } + }, + "additionalProperties": false, + "required": [ + "label", + "constraints" + ] + } + }, + "additionalProperties": false, + "minProperties": 1 + }, + "visible": { + "type": [ + "boolean", + "string" + ] + }, + "scope": { + "$ref": "#/definitions/formControlScope" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "constraints", + "subnets", + "scope" + ] + }, + "Microsoft.Solutions.ArmApiControl": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Solutions.ArmApiControl" + ] + }, + "condition": { + "type": [ + "string", + "boolean" + ] + }, + "request": { + "type": "object", + "properties": { + "method": { + "type": "string", + "enum": [ + "GET", + "POST" + ] + }, + "path": { + "type": "string" + }, + "body": { + "type": [ + "string", + "object" + ] + }, + "transforms": { + "$ref": "#/definitions/transforms" + } + }, + "additionalProperties": false, + "required": [ + "method", + "path" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "request" + ] + }, + "transforms": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "Microsoft.Solutions.ResourceSelector": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Solutions.ResourceSelector" + ] + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "toolTip": { + "$ref": "#/definitions/stringResource" + }, + "resourceType": { + "type": "string" + }, + "constraints": { + "type": "object", + "properties": { + "required": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false + }, + "visible": { + "type": [ + "boolean", + "string" + ] + }, + "scope": { + "type": "object", + "properties": { + "subscriptionId": { + "type": "string" + }, + "location": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "resourceType" + ] + }, + "Microsoft.Storage.MultiStorageAccountCombo": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Storage.MultiStorageAccountCombo" + ] + }, + "label": { + "type": "object", + "properties": { + "prefix": { + "$ref": "#/definitions/stringResource" + }, + "type": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false, + "required": [ + "prefix", + "type" + ] + }, + "toolTip": { + "type": "object", + "properties": { + "prefix": { + "$ref": "#/definitions/stringResource" + }, + "type": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false + }, + "defaultValue": { + "type": "object", + "properties": { + "prefix": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "additionalProperties": false + }, + "constraints": { + "oneOf": [ + { + "type": "object", + "properties": { + "allowedTypes": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "excludedTypes": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false + } + ] + }, + "count": { + "type": [ + "integer", + "string" + ] + }, + "visible": { + "type": [ + "boolean", + "string" + ] + }, + "scope": { + "$ref": "#/definitions/formControlScope" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "count", + "scope" + ] + }, + "Microsoft.Storage.StorageAccountSelector": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Storage.StorageAccountSelector" + ] + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "toolTip": { + "$ref": "#/definitions/stringResource" + }, + "defaultValue": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "additionalProperties": false + }, + "constraints": { + "oneOf": [ + { + "type": "object", + "properties": { + "allowedTypes": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "excludedTypes": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false + } + ] + }, + "options": { + "type": "object", + "properties": { + "hideExisting": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false + }, + "visible": { + "type": [ + "boolean", + "string" + ] + }, + "scope": { + "$ref": "#/definitions/formControlScope" + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "scope" + ] + }, + "Microsoft.Storage.StorageBlobSelector": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Storage.StorageBlobSelector" + ] + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "toolTip": { + "$ref": "#/definitions/stringResource" + }, + "visible": { + "type": [ + "boolean", + "string" + ] + }, + "options": { + "type": "object", + "properties": { + "text": { + "$ref": "#/definitions/stringResource" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + }, + "constraints": { + "type": "object", + "properties": { + "allowedFileExtensions": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "allowedFileExtensions" + ], + "additionalProperties": false + }, + "scope": { + "type": "object", + "properties": { + "subscriptionId": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "subscriptionId" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "scope" + ] + }, + "Microsoft.Common.ServicePrincipalSelector": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.ServicePrincipalSelector" + ] + }, + "label": { + "type": "object", + "properties": { + "principalId": { + "$ref": "#/definitions/stringResource" + }, + "password": { + "$ref": "#/definitions/stringResource" + }, + "certificateThumbprint": { + "$ref": "#/definitions/stringResource" + }, + "authenticationType": { + "$ref": "#/definitions/stringResource" + }, + "sectionHeader": { + "$ref": "#/definitions/stringResource" + } + } + }, + "toolTip": { + "type": "object", + "properties": { + "principalId": { + "$ref": "#/definitions/stringResource" + }, + "password": { + "$ref": "#/definitions/stringResource" + }, + "certificateThumbprint": { + "$ref": "#/definitions/stringResource" + }, + "authenticationType": { + "$ref": "#/definitions/stringResource" + } + } + }, + "defaultValue": { + "type": "object", + "properties": { + "principalId": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "visible": { + "type": [ + "boolean", + "string" + ] + }, + "options": { + "type": "object", + "properties": { + "hideCertificate": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false + }, + "constraints": { + "type": "object", + "properties": { + "required": { + "type": [ + "boolean", + "string" + ] + }, + "regex": { + "type": "string" + }, + "validationMessage": { + "$ref": "#/definitions/stringResource" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "name", + "type" + ] + }, + "Microsoft.Solutions.GraphApiControl": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Solutions.GraphApiControl" + ] + }, + "condition": { + "type": [ + "string", + "boolean" + ] + }, + "request": { + "type": "object", + "properties": { + "method": { + "type": "string", + "enum": [ + "GET" + ] + }, + "path": { + "type": "string" + }, + "transforms": { + "$ref": "#/definitions/transforms" + } + }, + "additionalProperties": false, + "required": [ + "method", + "path" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "request" + ] + }, + "Microsoft.Common.TenantSelector": { + "allOf": [ + { + "$ref": "#/definitions/isBasicControl" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.TenantSelector" + ] + }, + "constraints": { + "type": "array", + "items": { + "$ref": "#/definitions/validationSpec" + }, + "minItems": 1 + } + }, + "required": [ + "type" + ] + } + ] + }, + "isBasicControl": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "required": [ + "name" + ] + }, + "validationSpec": { + "type": "object", + "properties": { + "isValid": { + "type": [ + "string", + "boolean" + ] + }, + "message": { + "$ref": "#/definitions/stringResource" + } + }, + "required": [ + "isValid" + ], + "additionalProperties": false + }, + "Microsoft.Common.ManagementGroupSelector": { + "allOf": [ + { + "$ref": "#/definitions/isBasicControl" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.ManagementGroupSelector" + ] + }, + "constraints": { + "type": "array", + "items": { + "$ref": "#/definitions/validationSpec" + }, + "minItems": 1 + } + }, + "required": [ + "type" + ] + } + ] + }, + "Microsoft.Common.SubscriptionSelector": { + "allOf": [ + { + "$ref": "#/definitions/isBasicControl" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.SubscriptionSelector" + ] + }, + "resourceProviders": { + "type": "array", + "items": { + "type": "string" + } + }, + "constraints": { + "$ref": "#/definitions/resourceConstraints" + } + }, + "required": [ + "type" + ] + } + ] + }, + "Microsoft.Common.ResourceGroupSelector": { + "allOf": [ + { + "$ref": "#/definitions/isBasicControl" + }, + { + "$ref": "#/definitions/hasScope" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.ResourceGroupSelector" + ] + }, + "allowedMode": { + "type": "string", + "enum": [ + "Both", + "CreateNew", + "UseExisting" + ] + }, + "constraints": { + "$ref": "#/definitions/resourceConstraints" + } + }, + "required": [ + "type" + ] + } + ] + }, + "hasScope": { + "type": "object", + "properties": { + "scope": { + "type": "object", + "properties": { + "subscriptionId": { + "type": "string" + } + }, + "required": [ + "subscriptionId" + ], + "additionalProperties": false + } + }, + "required": [ + "scope" + ] + }, + "Microsoft.Common.LocationSelector": { + "allOf": [ + { + "$ref": "#/definitions/isNamedControl" + }, + { + "$ref": "#/definitions/hasScope" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.LocationSelector" + ] + }, + "resourceTypes": { + "type": "array", + "items": { + "type": "string" + } + }, + "allowedValues": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "type" + ] + } + ] + }, + "isNamedControl": { + "allOf": [ + { + "$ref": "#/definitions/isBasicControl" + }, + { + "type": "object", + "properties": { + "label": { + "$ref": "#/definitions/stringResource" + }, + "toolTip": { + "$ref": "#/definitions/stringResource" + } + }, + "required": [ + "label" + ] + } + ] + }, + "Microsoft.Solutions.BladeInvokeControl": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Solutions.BladeInvokeControl" + ] + }, + "openBladeStatus": { + "type": "string" + }, + "bladeReference": { + "$ref": "#/definitions/bladeReferenceWithParameters" + }, + "defaultValue": { + "type": "object" + }, + "transforms": { + "$ref": "#/definitions/transforms" + } + }, + "required": [ + "name", + "type", + "openBladeStatus", + "bladeReference" + ], + "additionalProperties": false + }, + "bladeReferenceWithParameters": { + "oneOf": [ + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "extension": { + "type": "string" + }, + "parameters": { + "type": "object" + } + }, + "additionalProperties": false, + "required": [ + "name" + ] + }, + { + "type": "string" + } + ] + }, + "formControlsWithoutResourceScope": { + "allOf": [ + { + "$ref": "#/definitions/formControls" + }, + { + "not": { + "$ref": "#/definitions/Microsoft.Common.ResourceScope" + } + } + ] + }, + "formStepWithoutResourceScope": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "description": { + "$ref": "#/definitions/stringResource" + }, + "elements": { + "type": "array", + "items": { + "$ref": "#/definitions/formControlsWithoutResourceScope" + } + } + }, + "additionalProperties": false, + "required": [ + "name", + "label", + "elements" + ] + } + }, + "type": "object", + "properties": { + "$schema": { + "type": "string" + }, + "view": { + "$ref": "#/definitions/createFormViewType" + } + }, + "additionalProperties": false +} \ No newline at end of file From ce30c032bb31880eb51aca67d5a641fdd09ece56 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 15 Sep 2021 02:20:23 +0000 Subject: [PATCH 199/243] CodeGen from PR 15939 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.LabServices to add version preview/2021-10-01-preview (#15939) * Adds base for updating Microsoft.LabServices from version stable/2018-10-15 to version 2021-10-01-preview * Updates readme * Updates API version in new specs and examples * remove 2018 api spec files * add 2021-10-01-preview spec files from generation * update preview api files in readme.md input * update 2020 -> 2021 in new api version in readme * spelling fixes * fix object body mutability * add type:object where missing * added default error response * tracker resource operation naming and description adding * fix shutdownOnIdleEnabled in examples * fix shutdownonIdle enum in examples * examples update username to adminUser object and remove locations from vmprofile * fix examples for vmprofile * rest of model validaiton fixes * prettier fix * removed skus api from 2021-10-01 version since it's not finished * fix operationresults * small images fix Co-authored-by: Nick Depinet --- .../Microsoft.LabServices.json | 1237 +++++++++++++++++ schemas/common/autogeneratedResources.json | 15 + 2 files changed, 1252 insertions(+) create mode 100644 schemas/2021-10-01-preview/Microsoft.LabServices.json diff --git a/schemas/2021-10-01-preview/Microsoft.LabServices.json b/schemas/2021-10-01-preview/Microsoft.LabServices.json new file mode 100644 index 0000000000..c4d7f79f75 --- /dev/null +++ b/schemas/2021-10-01-preview/Microsoft.LabServices.json @@ -0,0 +1,1237 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-10-01-preview/Microsoft.LabServices.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.LabServices", + "description": "Microsoft LabServices Resource Types", + "resourceDefinitions": { + "labPlans": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "description": "The name of the lab plan that uniquely identifies it within containing resource group. Used in resource URIs and in UI." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LabPlanProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Lab plan resource properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/labPlans_images_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.LabServices/labPlans" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.LabServices/labPlans" + }, + "labPlans_images": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-\\w\\\\._\\\\(\\\\)]+$", + "minLength": 1, + "maxLength": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The image name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ImageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an image resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.LabServices/labPlans/images" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.LabServices/labPlans/images" + }, + "labs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "description": "The name of the lab that uniquely identifies it within containing lab account. Used in resource URIs." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LabProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a lab resource." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/labs_users_childResource" + }, + { + "$ref": "#/definitions/labs_schedules_childResource" + } + ] + } + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.LabServices/labs" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.LabServices/labs" + }, + "labs_schedules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-\\w\\\\._\\\\(\\\\)]+$", + "minLength": 1, + "maxLength": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the schedule that uniquely identifies it within containing lab. Used in resource URIs." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schedule resource properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.LabServices/labs/schedules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.LabServices/labs/schedules" + }, + "labs_users": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-\\w\\\\._\\\\(\\\\)]+$", + "minLength": 1, + "maxLength": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the user that uniquely identifies it within containing lab. Used in resource URIs." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/UserProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User resource properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.LabServices/labs/users" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.LabServices/labs/users" + } + }, + "definitions": { + "AutoShutdownProfile": { + "type": "object", + "properties": { + "disconnectDelay": { + "type": "string", + "format": "duration", + "description": "The amount of time a VM will stay running after a user disconnects if this behavior is enabled." + }, + "idleDelay": { + "type": "string", + "format": "duration", + "description": "The amount of time a VM will idle before it is shutdown if this behavior is enabled." + }, + "noConnectDelay": { + "type": "string", + "format": "duration", + "description": "The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled." + }, + "shutdownOnDisconnect": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether shutdown on disconnect is enabled." + }, + "shutdownOnIdle": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "UserAbsence", + "LowUsage" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether a VM will get shutdown when it has idled for a period of time." + }, + "shutdownWhenNotConnected": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether a VM will get shutdown when it hasn't been connected to after a period of time." + } + }, + "description": "Profile for how to handle shutting down virtual machines." + }, + "ConnectionProfile": { + "type": "object", + "properties": { + "clientRdpAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Public", + "Private", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The enabled access level for Client Access over RDP." + }, + "clientSshAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Public", + "Private", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The enabled access level for Client Access over SSH." + }, + "webRdpAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Public", + "Private", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The enabled access level for Web Access over RDP." + }, + "webSshAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Public", + "Private", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The enabled access level for Web Access over SSH." + } + }, + "description": "Connection profile for how users connect to lab virtual machines." + }, + "Credentials": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "The password for the user. This is required for the TemplateVM createOption." + }, + "username": { + "type": "string", + "description": "The username to use when signing in to lab VMs." + } + }, + "required": [ + "username" + ], + "description": "Credentials for a user on a lab VM." + }, + "ImageProperties": { + "type": "object", + "properties": { + "availableRegions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The available regions of the image in the shared gallery." + }, + "enabledState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Is the image enabled." + } + }, + "description": "Properties of an image resource." + }, + "ImageReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 3, + "maxLength": 2000, + "description": "A URL." + }, + "offer": { + "type": "string", + "description": "The image offer if applicable." + }, + "publisher": { + "type": "string", + "description": "The image publisher" + }, + "sku": { + "type": "string", + "description": "The image SKU" + }, + "version": { + "type": "string", + "description": "The image version specified on creation." + } + }, + "description": "Image reference information. Used in the virtual machine profile." + }, + "LabNetworkProfile": { + "type": "object", + "properties": { + "loadBalancerId": { + "type": "string", + "minLength": 3, + "maxLength": 2000, + "description": "A URL." + }, + "publicIpId": { + "type": "string", + "minLength": 3, + "maxLength": 2000, + "description": "A URL." + }, + "subnetId": { + "type": "string", + "minLength": 3, + "maxLength": 2000, + "description": "A URL." + } + }, + "description": "Profile for how to handle networking for Labs." + }, + "LabPlanNetworkProfile": { + "type": "object", + "properties": { + "subnetId": { + "type": "string", + "minLength": 3, + "maxLength": 2000, + "description": "A URL." + } + }, + "description": "Profile for how to handle networking for Lab Plans." + }, + "LabPlanProperties": { + "type": "object", + "properties": { + "allowedRegions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The allowed regions for the lab creator to use when creating labs using this lab plan." + }, + "defaultAutoShutdownProfile": { + "oneOf": [ + { + "$ref": "#/definitions/AutoShutdownProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile for how to handle shutting down virtual machines." + }, + "defaultConnectionProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connection profile for how users connect to lab virtual machines." + }, + "defaultNetworkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/LabPlanNetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile for how to handle networking for Lab Plans." + }, + "linkedLmsInstance": { + "type": "string", + "minLength": 3, + "maxLength": 2000, + "description": "A URL." + }, + "sharedGalleryId": { + "type": "string", + "minLength": 3, + "maxLength": 2000, + "description": "A URL." + }, + "supportInfo": { + "oneOf": [ + { + "$ref": "#/definitions/SupportInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Support contact information and instructions." + } + }, + "description": "Lab plan resource properties" + }, + "labPlans_images_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-\\w\\\\._\\\\(\\\\)]+$", + "minLength": 1, + "maxLength": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The image name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ImageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an image resource." + }, + "type": { + "type": "string", + "enum": [ + "images" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.LabServices/labPlans/images" + }, + "LabProperties": { + "type": "object", + "properties": { + "autoShutdownProfile": { + "oneOf": [ + { + "$ref": "#/definitions/AutoShutdownProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile for how to handle shutting down virtual machines." + }, + "connectionProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectionProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connection profile for how users connect to lab virtual machines." + }, + "description": { + "type": "string", + "description": "The description of the lab." + }, + "labPlanId": { + "type": "string", + "minLength": 3, + "maxLength": 2000, + "description": "A URL." + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/LabNetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile for how to handle networking for Labs." + }, + "rosterProfile": { + "oneOf": [ + { + "$ref": "#/definitions/RosterProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The lab user list management profile." + }, + "securityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The lab security profile." + }, + "title": { + "type": "string", + "minLength": 1, + "maxLength": 120, + "description": "The title of the lab." + }, + "virtualMachineProfile": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The base virtual machine configuration for a lab." + } + }, + "description": "Properties of a lab resource." + }, + "labs_schedules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-\\w\\\\._\\\\(\\\\)]+$", + "minLength": 1, + "maxLength": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the schedule that uniquely identifies it within containing lab. Used in resource URIs." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schedule resource properties" + }, + "type": { + "type": "string", + "enum": [ + "schedules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.LabServices/labs/schedules" + }, + "labs_users_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-10-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-\\w\\\\._\\\\(\\\\)]+$", + "minLength": 1, + "maxLength": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the user that uniquely identifies it within containing lab. Used in resource URIs." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/UserProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User resource properties" + }, + "type": { + "type": "string", + "enum": [ + "users" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.LabServices/labs/users" + }, + "RecurrencePattern": { + "type": "object", + "properties": { + "expirationDate": { + "type": "string", + "format": "date", + "description": "When the recurrence will expire. This date is inclusive." + }, + "frequency": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Daily", + "Weekly" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The frequency of the recurrence." + }, + "interval": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 365 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The interval to invoke the schedule on. For example, interval = 2 and RecurrenceFrequency.Daily will run every 2 days. When no interval is supplied, an interval of 1 is used." + }, + "weekDays": { + "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": "The week days the schedule runs. Used for when the Frequency is set to Weekly." + } + }, + "required": [ + "expirationDate", + "frequency" + ], + "description": "Recurrence pattern of a lab schedule." + }, + "RosterProfile": { + "type": "object", + "properties": { + "activeDirectoryGroupId": { + "type": "string", + "description": "The AAD group ID which this lab roster is populated from. Having this set enables AAD sync mode." + }, + "lmsInstance": { + "type": "string", + "description": "The base URI identifying the lms instance." + }, + "ltiClientId": { + "type": "string", + "description": "The unique id of the azure lab services tool in the lms." + }, + "ltiContextId": { + "type": "string", + "description": "The unique context identifier for the lab in the lms." + }, + "ltiRosterEndpoint": { + "type": "string", + "description": "The uri of the names and roles service endpoint on the lms for the class attached to this lab." + } + }, + "description": "The lab user list management profile." + }, + "ScheduleProperties": { + "type": "object", + "properties": { + "notes": { + "type": "string", + "maxLength": 1000, + "description": "Notes for this schedule." + }, + "recurrencePattern": { + "oneOf": [ + { + "$ref": "#/definitions/RecurrencePattern" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recurrence pattern of a lab schedule." + }, + "startAt": { + "type": "string", + "format": "date-time", + "description": "When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead." + }, + "stopAt": { + "type": "string", + "format": "date-time", + "description": "When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead." + }, + "timeZoneId": { + "type": "string", + "maxLength": 50, + "description": "The IANA timezone id for the schedule." + } + }, + "description": "Schedule resource properties" + }, + "SecurityProfile": { + "type": "object", + "properties": { + "openAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether any user or only specified users can register to a lab." + } + }, + "description": "The lab security profile." + }, + "Sku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted." + }, + "family": { + "type": "string", + "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." + }, + "name": { + "type": "string", + "description": "The name of the SKU. Ex - P3. It is typically a letter+number code" + }, + "size": { + "type": "string", + "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Free", + "Basic", + "Standard", + "Premium" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT." + } + }, + "required": [ + "name" + ], + "description": "The resource model definition representing SKU" + }, + "SupportInfo": { + "type": "object", + "properties": { + "email": { + "type": "string", + "minLength": 6, + "maxLength": 254, + "description": "An email address." + }, + "instructions": { + "type": "string", + "description": "Support instructions." + }, + "phone": { + "type": "string", + "minLength": 1, + "maxLength": 31, + "description": "A phone number." + }, + "url": { + "type": "string", + "minLength": 3, + "maxLength": 2000, + "description": "A URL." + } + }, + "description": "Support contact information and instructions." + }, + "UserProperties": { + "type": "object", + "properties": { + "additionalUsageQuota": { + "type": "string", + "format": "duration", + "description": "The amount of usage quota time the user gets in addition to the lab usage quota." + }, + "email": { + "type": "string", + "minLength": 6, + "maxLength": 254, + "description": "An email address." + } + }, + "required": [ + "email" + ], + "description": "User resource properties" + }, + "VirtualMachineAdditionalCapabilities": { + "type": "object", + "properties": { + "installGpuDrivers": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to pre-install dedicated GPU drivers." + } + }, + "description": "The additional capabilities for a lab VM." + }, + "VirtualMachineProfile": { + "type": "object", + "properties": { + "additionalCapabilities": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineAdditionalCapabilities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The additional capabilities for a lab VM." + }, + "adminUser": { + "oneOf": [ + { + "$ref": "#/definitions/Credentials" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Credentials for a user on a lab VM." + }, + "createOption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Image", + "TemplateVM" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates what lab virtual machines are created from." + }, + "imageReference": { + "oneOf": [ + { + "$ref": "#/definitions/ImageReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Image reference information. Used in the virtual machine profile." + }, + "nonAdminUser": { + "oneOf": [ + { + "$ref": "#/definitions/Credentials" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Credentials for a user on a lab VM." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The resource model definition representing SKU" + }, + "usageQuota": { + "type": "string", + "format": "duration", + "description": "The initial quota alloted to each lab user. Must be a time span between 0 and 9999 hours." + }, + "useSharedPassword": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enabling this option will use the same password for all user VMs." + } + }, + "required": [ + "adminUser", + "createOption", + "imageReference", + "sku", + "usageQuota" + ], + "description": "The base virtual machine configuration for a lab." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 14326aeac6..b0d280419a 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6817,6 +6817,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/2021-10-01-preview/Microsoft.LabServices.json#/resourceDefinitions/labPlans" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-01-preview/Microsoft.LabServices.json#/resourceDefinitions/labPlans_images" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-01-preview/Microsoft.LabServices.json#/resourceDefinitions/labs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-01-preview/Microsoft.LabServices.json#/resourceDefinitions/labs_schedules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-10-01-preview/Microsoft.LabServices.json#/resourceDefinitions/labs_users" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.Logz.json#/resourceDefinitions/monitors" }, From 15855bf9aaf108f560871502cc83bba323192e14 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 15 Sep 2021 06:19:24 +0000 Subject: [PATCH 200/243] CodeGen from PR 15749 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.Insights to add version stable/2018-03-01 (#15749) * Change example to auto mitigate true * Remove not equals from supported operators * add some more auto mitigate true to examples --- schemas/2018-03-01/Microsoft.Insights.json | 1 - 1 file changed, 1 deletion(-) diff --git a/schemas/2018-03-01/Microsoft.Insights.json b/schemas/2018-03-01/Microsoft.Insights.json index 2f9f4bc647..82a5dfb38e 100644 --- a/schemas/2018-03-01/Microsoft.Insights.json +++ b/schemas/2018-03-01/Microsoft.Insights.json @@ -819,7 +819,6 @@ "type": "string", "enum": [ "Equals", - "NotEquals", "GreaterThan", "GreaterThanOrEqual", "LessThan", From f4f0bcaf9706f3f7bbfe72b9bdb571a16eb739ce Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 15 Sep 2021 06:51:43 +0000 Subject: [PATCH 201/243] CodeGen from PR 15864 in Azure/azure-rest-api-specs add new version 2021-09-01-preview for signalr (#15864) * add new version 2021-09-01-preview for signalr * fix style * remove webpubsub * fix breaking change --- .../Microsoft.SignalRService.json | 870 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 9 + 2 files changed, 879 insertions(+) create mode 100644 schemas/2021-09-01-preview/Microsoft.SignalRService.json diff --git a/schemas/2021-09-01-preview/Microsoft.SignalRService.json b/schemas/2021-09-01-preview/Microsoft.SignalRService.json new file mode 100644 index 0000000000..1753fed729 --- /dev/null +++ b/schemas/2021-09-01-preview/Microsoft.SignalRService.json @@ -0,0 +1,870 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.SignalRService.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.SignalRService", + "description": "Microsoft SignalRService Resource Types", + "resourceDefinitions": { + "signalR": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A class represent managed identities used for request and response" + }, + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SignalR", + "RawWebSockets" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The kind of the service - e.g. \"SignalR\" for \"Microsoft.SignalRService/SignalR\"." + }, + "location": { + "type": "string", + "description": "The GEO location of the resource. e.g. West US | East US | North Central US | South Central US." + }, + "name": { + "type": "string", + "description": "The name of the resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SignalRProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A class that describes the properties of the resource" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/signalR_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/signalR_sharedPrivateLinkResources_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The billing information of the resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags of the service which is a list of key value pairs that describe the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.SignalRService/signalR" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.SignalRService/signalR" + }, + "signalR_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "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": "Private endpoint connection properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.SignalRService/signalR/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.SignalRService/signalR/privateEndpointConnections" + }, + "signalR_sharedPrivateLinkResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the shared private link resource" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SharedPrivateLinkResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of an existing Shared Private Link Resource" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.SignalRService/signalR/sharedPrivateLinkResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.SignalRService/signalR/sharedPrivateLinkResources" + } + }, + "definitions": { + "ManagedIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represent the identity type: systemAssigned, userAssigned, None." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentityProperty" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Get or set the user assigned identities" + } + }, + "description": "A class represent managed identities used for request and response" + }, + "ManagedIdentitySettings": { + "type": "object", + "properties": { + "resource": { + "type": "string", + "description": "The Resource indicating the App ID URI of the target resource.\r\nIt also appears in the aud (audience) claim of the issued token." + } + }, + "description": "Managed identity settings for upstream." + }, + "NetworkACL": { + "type": "object", + "properties": { + "allow": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ClientConnection", + "ServerConnection", + "RESTAPI", + "Trace" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." + }, + "deny": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ClientConnection", + "ServerConnection", + "RESTAPI", + "Trace" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." + } + }, + "description": "Network ACL" + }, + "PrivateEndpoint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Full qualified Id of the private endpoint" + } + }, + "description": "Private endpoint" + }, + "PrivateEndpointACL": { + "type": "object", + "properties": { + "allow": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ClientConnection", + "ServerConnection", + "RESTAPI", + "Trace" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." + }, + "deny": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ClientConnection", + "ServerConnection", + "RESTAPI", + "Trace" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection" + } + }, + "required": [ + "name" + ], + "description": "ACL for a private endpoint" + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint" + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connection state of the private endpoint connection" + } + }, + "description": "Private endpoint connection properties" + }, + "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" + ] + }, + { + "$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": "Connection state of the private endpoint connection" + }, + "ResourceSku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional, integer. The unit count of the resource. 1 by default.\r\n\r\nIf present, following values are allowed:\r\n Free: 1\r\n Standard: 1,2,5,10,20,50,100" + }, + "name": { + "type": "string", + "description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1" + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Free", + "Basic", + "Standard", + "Premium" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional tier of this particular SKU. 'Standard' or 'Free'. \r\n\r\n`Basic` is deprecated, use `Standard` instead." + } + }, + "required": [ + "name" + ], + "description": "The billing information of the resource." + }, + "ServerlessUpstreamSettings": { + "type": "object", + "properties": { + "templates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/UpstreamTemplate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of Upstream URL templates. Order matters, and the first matching template takes effects." + } + }, + "description": "The settings for the Upstream when the service is in server-less mode." + }, + "SharedPrivateLinkResourceProperties": { + "type": "object", + "properties": { + "groupId": { + "type": "string", + "description": "The group id from the provider of resource the shared private link resource is for" + }, + "privateLinkResourceId": { + "type": "string", + "description": "The resource id of the resource the shared private link resource is for" + }, + "requestMessage": { + "type": "string", + "description": "The request message for requesting approval of the shared private link resource" + } + }, + "required": [ + "groupId", + "privateLinkResourceId" + ], + "description": "Describes the properties of an existing Shared Private Link Resource" + }, + "SignalRCorsSettings": { + "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 calls (for example: http://example.com:12345). Use \"*\" to allow all. If omitted, allow all by default." + } + }, + "description": "Cross-Origin Resource Sharing (CORS) settings." + }, + "SignalRFeature": { + "type": "object", + "properties": { + "flag": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ServiceMode", + "EnableConnectivityLogs", + "EnableMessagingLogs", + "EnableLiveTrace" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "FeatureFlags is the supported features of Azure SignalR service.\r\n- ServiceMode: Flag for backend server for SignalR service. Values allowed: \"Default\": have your own backend server; \"Serverless\": your application doesn't have a backend server; \"Classic\": for backward compatibility. Support both Default and Serverless mode but not recommended; \"PredefinedOnly\": for future use.\r\n- EnableConnectivityLogs: \"true\"/\"false\", to enable/disable the connectivity log category respectively.\r\n- EnableMessagingLogs: \"true\"/\"false\", to enable/disable the connectivity log category respectively.\r\n- EnableLiveTrace: Live Trace allows you to know what's happening inside Azure SignalR service, it will give you live traces in real time, it will be helpful when you developing your own Azure SignalR based web application or self-troubleshooting some issues. Please note that live traces are counted as outbound messages that will be charged. Values allowed: \"true\"/\"false\", to enable/disable live trace feature." + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional properties related to this feature." + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 128, + "description": "Value of the feature flag. See Azure SignalR service document https://docs.microsoft.com/azure/azure-signalr/ for allowed values." + } + }, + "required": [ + "flag", + "value" + ], + "description": "Feature of a resource, which controls the runtime behavior." + }, + "SignalRNetworkACLs": { + "type": "object", + "properties": { + "defaultAction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Allow", + "Deny" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Default action when no other rule matches." + }, + "privateEndpoints": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointACL" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ACLs for requests from private endpoints" + }, + "publicNetwork": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkACL" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network ACL" + } + }, + "description": "Network ACLs for the resource" + }, + "SignalRProperties": { + "type": "object", + "properties": { + "cors": { + "oneOf": [ + { + "$ref": "#/definitions/SignalRCorsSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cross-Origin Resource Sharing (CORS) settings." + }, + "disableAadAuth": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DisableLocalAuth\r\nEnable or disable aad auth\r\nWhen set as true, connection with AuthType=aad won't work." + }, + "disableLocalAuth": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DisableLocalAuth\r\nEnable or disable local auth with AccessKey\r\nWhen set as true, connection with AccessKey=xxx won't work." + }, + "features": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SignalRFeature" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of the featureFlags.\r\n\r\nFeatureFlags that are not included in the parameters for the update operation will not be modified.\r\nAnd the response will only include featureFlags that are explicitly set. \r\nWhen a featureFlag is not explicitly set, its globally default value will be used\r\nBut keep in mind, the default value doesn't mean \"false\". It varies in terms of different FeatureFlags." + }, + "networkACLs": { + "oneOf": [ + { + "$ref": "#/definitions/SignalRNetworkACLs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network ACLs for the resource" + }, + "publicNetworkAccess": { + "type": "string", + "default": "Enabled", + "description": "Enable or disable public network access. Default to \"Enabled\".\r\nWhen it's Enabled, network ACLs still apply.\r\nWhen it's Disabled, public network access is always disabled no matter what you set in network ACLs." + }, + "tls": { + "oneOf": [ + { + "$ref": "#/definitions/SignalRTlsSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "TLS settings for the resource" + }, + "upstream": { + "oneOf": [ + { + "$ref": "#/definitions/ServerlessUpstreamSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The settings for the Upstream when the service is in server-less mode." + } + }, + "description": "A class that describes the properties of the resource" + }, + "SignalRTlsSettings": { + "type": "object", + "properties": { + "clientCertEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Request client certificate during TLS handshake if enabled" + } + }, + "description": "TLS settings for the resource" + }, + "signalR_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "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": "Private endpoint connection properties" + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.SignalRService/signalR/privateEndpointConnections" + }, + "signalR_sharedPrivateLinkResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the shared private link resource" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SharedPrivateLinkResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of an existing Shared Private Link Resource" + }, + "type": { + "type": "string", + "enum": [ + "sharedPrivateLinkResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.SignalRService/signalR/sharedPrivateLinkResources" + }, + "UpstreamAuthSettings": { + "type": "object", + "properties": { + "managedIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentitySettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed identity settings for upstream." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ManagedIdentity" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the type of auth. None or ManagedIdentity is supported now." + } + }, + "description": "Upstream auth settings." + }, + "UpstreamTemplate": { + "type": "object", + "properties": { + "auth": { + "oneOf": [ + { + "$ref": "#/definitions/UpstreamAuthSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Upstream auth settings." + }, + "categoryPattern": { + "type": "string", + "description": "Gets or sets the matching pattern for category names. If not set, it matches any category.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any category name\r\n 2. Combine multiple categories with \",\", for example \"connections,messages\", it matches category \"connections\" and \"messages\"\r\n 3. The single category name, for example, \"connections\", it matches the category \"connections\"" + }, + "eventPattern": { + "type": "string", + "description": "Gets or sets the matching pattern for event names. If not set, it matches any event.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any event name\r\n 2. Combine multiple events with \",\", for example \"connect,disconnect\", it matches event \"connect\" and \"disconnect\"\r\n 3. The single event name, for example, \"connect\", it matches \"connect\"" + }, + "hubPattern": { + "type": "string", + "description": "Gets or sets the matching pattern for hub names. If not set, it matches any hub.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any hub name\r\n 2. Combine multiple hubs with \",\", for example \"hub1,hub2\", it matches \"hub1\" and \"hub2\"\r\n 3. The single hub name, for example, \"hub1\", it matches \"hub1\"" + }, + "urlTemplate": { + "type": "string", + "description": "Gets or sets the Upstream URL template. You can use 3 predefined parameters {hub}, {category} {event} inside the template, the value of the Upstream URL is dynamically calculated when the client request comes in.\r\nFor example, if the urlTemplate is `http://example.com/{hub}/api/{event}`, with a client request from hub `chat` connects, it will first POST to this URL: `http://example.com/chat/api/connect`." + } + }, + "required": [ + "urlTemplate" + ], + "description": "Upstream template item settings. It defines the Upstream URL of the incoming requests.\r\nThe template defines the pattern of the event, the hub or the category of the incoming request that matches current URL template." + }, + "UserAssignedIdentityProperty": { + "type": "object", + "properties": {}, + "description": "Properties of user assigned identity." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index b0d280419a..b07fbdfa19 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -9235,6 +9235,15 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.SignalRService.json#/resourceDefinitions/signalR_sharedPrivateLinkResources" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.SignalRService.json#/resourceDefinitions/signalR" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.SignalRService.json#/resourceDefinitions/signalR_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.SignalRService.json#/resourceDefinitions/signalR_sharedPrivateLinkResources" + }, { "$ref": "https://schema.management.azure.com/schemas/2014-04-01/Microsoft.Sql.json#/resourceDefinitions/servers" }, From 6a22637b6faaa1176fe712dc7d63f8dd99d90724 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 15 Sep 2021 08:42:15 +0000 Subject: [PATCH 202/243] Update resource list --- generator/resources.json | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 7d53fa08ad..a92460e324 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3708,6 +3708,12 @@ "2020-09-18", "2021-01-01" ], + "Microsoft.LabServices/labPlans": [ + "2021-10-01-preview" + ], + "Microsoft.LabServices/labPlans/images": [ + "2021-10-01-preview" + ], "Microsoft.LabServices/labaccounts": [ "2018-10-15" ], @@ -3726,6 +3732,15 @@ "Microsoft.LabServices/labaccounts/labs/users": [ "2018-10-15" ], + "Microsoft.LabServices/labs": [ + "2021-10-01-preview" + ], + "Microsoft.LabServices/labs/schedules": [ + "2021-10-01-preview" + ], + "Microsoft.LabServices/labs/users": [ + "2021-10-01-preview" + ], "Microsoft.Logic/integrationAccounts": [ "2016-06-01" ], @@ -4109,6 +4124,14 @@ "2018-09-01-preview", "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", "2018-02-02" @@ -6635,17 +6658,20 @@ "2020-05-01", "2020-07-01-preview", "2021-04-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-09-01-preview" ], "Microsoft.SignalRService/signalR/privateEndpointConnections": [ "2020-05-01", "2020-07-01-preview", "2021-04-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-09-01-preview" ], "Microsoft.SignalRService/signalR/sharedPrivateLinkResources": [ "2021-04-01-preview", - "2021-06-01-preview" + "2021-06-01-preview", + "2021-09-01-preview" ], "Microsoft.Solutions/applianceDefinitions": [ "2016-09-01-preview" From afef4e22fc9c19d3449a250323c67c5363501d39 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 15 Sep 2021 09:11:47 +0000 Subject: [PATCH 203/243] CodeGen from PR 16009 in Azure/azure-rest-api-specs Move Sql 2014-04-01 legacy files to a new folder (#16009) * move legacy file to a new folder * remove unused example files * address validation errors --- schemas/2014-04-01/Microsoft.Sql.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/2014-04-01/Microsoft.Sql.json b/schemas/2014-04-01/Microsoft.Sql.json index ba557f6a1f..f1f68e98a1 100644 --- a/schemas/2014-04-01/Microsoft.Sql.json +++ b/schemas/2014-04-01/Microsoft.Sql.json @@ -358,10 +358,10 @@ "$ref": "#/definitions/servers_databases_extensions_childResource" }, { - "$ref": "#/definitions/servers_databases_transparentDataEncryption_childResource" + "$ref": "#/definitions/servers_databases_securityAlertPolicies_childResource" }, { - "$ref": "#/definitions/servers_databases_securityAlertPolicies_childResource" + "$ref": "#/definitions/servers_databases_transparentDataEncryption_childResource" }, { "$ref": "#/definitions/servers_databases_advisors_childResource" From c28cdeb614787b1b44a3001ccc6b0a1687b3589a Mon Sep 17 00:00:00 2001 From: Shrisha Kumar Date: Wed, 15 Sep 2021 11:11:23 -0700 Subject: [PATCH 204/243] Fixing the schema by removing the # at the end --- schemas/2021-09-09/uiFormDefinition.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/2021-09-09/uiFormDefinition.schema.json b/schemas/2021-09-09/uiFormDefinition.schema.json index fdb07f3f78..f10554befe 100644 --- a/schemas/2021-09-09/uiFormDefinition.schema.json +++ b/schemas/2021-09-09/uiFormDefinition.schema.json @@ -1,5 +1,5 @@ { - "$schema": "http://json-schema.org/draft-07/schema#", + "$schema": "http://json-schema.org/draft-07/schema", "definitions": { "createFormViewType": { "type": "object", From c673da8789dc085cd572045c2103ac0560d3c088 Mon Sep 17 00:00:00 2001 From: Shrisha Kumar Date: Wed, 15 Sep 2021 16:14:52 -0700 Subject: [PATCH 205/243] Fixing cyclic dependencies --- .../2021-09-09/uiFormDefinition.schema.json | 105 ++++++++++-------- 1 file changed, 56 insertions(+), 49 deletions(-) diff --git a/schemas/2021-09-09/uiFormDefinition.schema.json b/schemas/2021-09-09/uiFormDefinition.schema.json index f10554befe..dccc00b947 100644 --- a/schemas/2021-09-09/uiFormDefinition.schema.json +++ b/schemas/2021-09-09/uiFormDefinition.schema.json @@ -379,6 +379,16 @@ ] }, "formControls": { + "oneOf": [ + { + "$ref": "#/definitions/formControlsWithoutSection" + }, + { + "$ref": "#/definitions/Microsoft.Common.Section" + } + ] + }, + "formControlsWithoutSection": { "oneOf": [ { "$ref": "#/definitions/Microsoft.Common.CheckBox" @@ -407,9 +417,6 @@ { "$ref": "#/definitions/Microsoft.Common.ResourceScope" }, - { - "$ref": "#/definitions/Microsoft.Common.Section" - }, { "$ref": "#/definitions/Microsoft.Common.Selector" }, @@ -1898,52 +1905,6 @@ }, "additionalProperties": false }, - "Microsoft.Common.Section": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Common.Section" - ] - }, - "label": { - "$ref": "#/definitions/stringResource" - }, - "elements": { - "type": "array", - "items": { - "allOf": [ - { - "$ref": "#/definitions/formControls" - }, - { - "not": { - "$ref": "#/definitions/Microsoft.Common.Section" - } - } - ] - }, - "minItems": 1 - }, - "visible": { - "type": [ - "boolean", - "string" - ] - } - }, - "additionalProperties": false, - "required": [ - "name", - "type", - "label", - "elements" - ] - }, "Microsoft.Common.Selector": { "type": "object", "properties": { @@ -3879,6 +3840,52 @@ } ] }, + "Microsoft.Common.Section": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Common.Section" + ] + }, + "label": { + "$ref": "#/definitions/stringResource" + }, + "elements": { + "type": "array", + "items": { + "allOf": [ + { + "$ref": "#/definitions/formControlsWithoutSection" + }, + { + "not": { + "$ref": "#/definitions/Microsoft.Common.Section" + } + } + ] + }, + "minItems": 1 + }, + "visible": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "type", + "label", + "elements" + ] + }, "formControlsWithoutResourceScope": { "allOf": [ { From 5df7cb00932fbca0156d90171855c486a5d4ab02 Mon Sep 17 00:00:00 2001 From: Shrisha Kumar Date: Wed, 15 Sep 2021 16:26:35 -0700 Subject: [PATCH 206/243] Fixing cyclic dependencies --- schemas/2021-09-09/uiFormDefinition.schema.json | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/schemas/2021-09-09/uiFormDefinition.schema.json b/schemas/2021-09-09/uiFormDefinition.schema.json index dccc00b947..197c776e50 100644 --- a/schemas/2021-09-09/uiFormDefinition.schema.json +++ b/schemas/2021-09-09/uiFormDefinition.schema.json @@ -1,5 +1,5 @@ { - "$schema": "http://json-schema.org/draft-07/schema", + "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "createFormViewType": { "type": "object", @@ -3861,11 +3861,6 @@ "allOf": [ { "$ref": "#/definitions/formControlsWithoutSection" - }, - { - "not": { - "$ref": "#/definitions/Microsoft.Common.Section" - } } ] }, From f9447c1403f7ac136783ff253250edc79ed962a1 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 16 Sep 2021 04:49:20 +0000 Subject: [PATCH 207/243] CodeGen from PR 15988 in Azure/azure-rest-api-specs Guest Configuration S360 Swagger fixes (#15988) * Add GET all methods for resource group and subscription * Fix Linter Validation issue * Fix Swagger Correctness S360 items * Fix swagger validation comments * Fix model validaiton * Fix Lint errors * Fix model validation for examples Co-authored-by: Aashish Rajaram Salokhe --- .../Microsoft.GuestConfiguration.json | 33 +++++++++++++++++++ .../Microsoft.GuestConfiguration.json | 33 +++++++++++++++++++ .../Microsoft.GuestConfiguration.json | 14 ++++++++ 3 files changed, 80 insertions(+) diff --git a/schemas/2018-11-20/Microsoft.GuestConfiguration.json b/schemas/2018-11-20/Microsoft.GuestConfiguration.json index 1d88c614f0..48e74023df 100644 --- a/schemas/2018-11-20/Microsoft.GuestConfiguration.json +++ b/schemas/2018-11-20/Microsoft.GuestConfiguration.json @@ -164,6 +164,20 @@ } ], "description": "Guest configuration is an artifact that encapsulates DSC configuration and its dependencies. The artifact is a zip file containing DSC configuration (as MOF) and dependent resources and other dependencies like modules." + }, + "vmssVMList": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VMSSVMInfo" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of VM Compliance data for VMSS" } }, "description": "Guest configuration assignment properties." @@ -202,6 +216,20 @@ ], "description": "The configuration parameters for the guest configuration." }, + "configurationProtectedParameter": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ConfigurationParameter" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The protected configuration parameters for the guest configuration." + }, "configurationSetting": { "oneOf": [ { @@ -245,6 +273,11 @@ } }, "description": "Guest configuration is an artifact that encapsulates DSC configuration and its dependencies. The artifact is a zip file containing DSC configuration (as MOF) and dependent resources and other dependencies like modules." + }, + "VMSSVMInfo": { + "type": "object", + "properties": {}, + "description": "Information about VMSS VM" } } } \ No newline at end of file diff --git a/schemas/2020-06-25/Microsoft.GuestConfiguration.json b/schemas/2020-06-25/Microsoft.GuestConfiguration.json index c36cd459bd..da3be5492d 100644 --- a/schemas/2020-06-25/Microsoft.GuestConfiguration.json +++ b/schemas/2020-06-25/Microsoft.GuestConfiguration.json @@ -255,6 +255,20 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ] + }, + "vmssVMList": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VMSSVMInfo" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of VM Compliance data for VMSS" } }, "description": "Guest configuration assignment properties." @@ -293,6 +307,20 @@ ], "description": "The configuration parameters for the guest configuration." }, + "configurationProtectedParameter": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ConfigurationParameter" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The protected configuration parameters for the guest configuration." + }, "configurationSetting": { "oneOf": [ { @@ -341,6 +369,11 @@ "type": "object", "properties": {}, "description": "Information about the VM." + }, + "VMSSVMInfo": { + "type": "object", + "properties": {}, + "description": "Information about VMSS VM" } } } \ No newline at end of file diff --git a/schemas/2021-01-25/Microsoft.GuestConfiguration.json b/schemas/2021-01-25/Microsoft.GuestConfiguration.json index 048d00d373..5e462a15cd 100644 --- a/schemas/2021-01-25/Microsoft.GuestConfiguration.json +++ b/schemas/2021-01-25/Microsoft.GuestConfiguration.json @@ -307,6 +307,20 @@ ], "description": "The configuration parameters for the guest configuration." }, + "configurationProtectedParameter": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ConfigurationParameter" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The protected configuration parameters for the guest configuration." + }, "configurationSetting": { "oneOf": [ { From 05849183a8aea0e9a4cce5142f8c9128b4ff7541 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 16 Sep 2021 07:34:34 +0000 Subject: [PATCH 208/243] CodeGen from PR 15979 in Azure/azure-rest-api-specs EventHub: Added missing Cluster API in 2021-06-01-preview (#15979) * Added missing Cluster APIs to 2021-01-01-preview * added cluster API in 2021-06-01-preview * updated lint errors * update 1 * added listbysubscription * fixed ModelValidation Co-authored-by: v-ajnava --- .../Microsoft.EventHub.json | 111 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 2 files changed, 114 insertions(+) diff --git a/schemas/2021-06-01-preview/Microsoft.EventHub.json b/schemas/2021-06-01-preview/Microsoft.EventHub.json index b7c5ddc3d6..5d67646eb7 100644 --- a/schemas/2021-06-01-preview/Microsoft.EventHub.json +++ b/schemas/2021-06-01-preview/Microsoft.EventHub.json @@ -4,6 +4,77 @@ "title": "Microsoft.EventHub", "description": "Microsoft EventHub Resource Types", "resourceDefinitions": { + "clusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-06-01-preview" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "minLength": 6, + "maxLength": 50, + "description": "The name of the Event Hubs Cluster." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Event Hubs Cluster properties supplied in responses in List or Get operations." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU parameters particular to a cluster 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.EventHub/clusters" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.EventHub/clusters" + }, "namespaces": { "type": "object", "properties": { @@ -529,6 +600,46 @@ }, "description": "Properties to configure capture description for eventhub" }, + "ClusterProperties": { + "type": "object", + "properties": {}, + "description": "Event Hubs Cluster properties supplied in responses in List or Get operations." + }, + "ClusterSku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The quantity of Event Hubs Cluster Capacity Units contained in this cluster." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Dedicated" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of this SKU." + } + }, + "required": [ + "name" + ], + "description": "SKU parameters particular to a cluster instance." + }, "ConnectionState": { "type": "object", "properties": { diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index b07fbdfa19..b6cc751ae1 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6241,6 +6241,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-01-01-preview/Microsoft.EventHub.json#/resourceDefinitions/namespaces_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.EventHub.json#/resourceDefinitions/clusters" + }, { "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.EventHub.json#/resourceDefinitions/namespaces" }, From c55dd848f031553ffa9c509f40520d5dc2ddba80 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 16 Sep 2021 08:42:12 +0000 Subject: [PATCH 209/243] Update resource list --- generator/resources.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generator/resources.json b/generator/resources.json index a92460e324..97061584e6 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3273,7 +3273,8 @@ "2021-06-01-preview" ], "Microsoft.EventHub/clusters": [ - "2018-01-01-preview" + "2018-01-01-preview", + "2021-06-01-preview" ], "Microsoft.EventHub/namespaces": [ "2014-09-01", From 0f6ccad034e3a47223a3c33c63b686e618201519 Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Thu, 16 Sep 2021 17:28:14 +0000 Subject: [PATCH 210/243] Onboard Microsoft.ExtendedLocation for autogen --- generator/autogenlist.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/generator/autogenlist.ts b/generator/autogenlist.ts index 6553661d28..c92fe1576e 100644 --- a/generator/autogenlist.ts +++ b/generator/autogenlist.ts @@ -101,11 +101,6 @@ const disabledProviders: AutoGenConfig[] = [ namespace: 'Microsoft.EdgeOrderPartner', disabledForAutogen: true, }, - { - basePath: 'extendedlocation/resource-manager', - namespace: 'Microsoft.ExtendedLocation', - disabledForAutogen: true, - }, { basePath: 'fluidrelay/resource-manager', namespace: 'Microsoft.FluidRelay', From 07fe10861f6cca693f00e167cf2e9638d02d45fe Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 17 Sep 2021 03:40:58 +0000 Subject: [PATCH 211/243] CodeGen from PR 16065 in Azure/azure-rest-api-specs Remove 2014-04-01 TDE related swagger and example (#16065) * add TDE V5 tag and remove it from sql.core.legacy.json * Revert "add TDE V5 tag and remove it from sql.core.legacy.json" This reverts commit 78c2844a22d4285d6b74fe47087e10c1ca5db6df. * initial Co-authored-by: Yueren Wang --- schemas/2021-02-01-preview/Microsoft.Sql.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/schemas/2021-02-01-preview/Microsoft.Sql.json b/schemas/2021-02-01-preview/Microsoft.Sql.json index f494d5b9e2..06c5d7a494 100644 --- a/schemas/2021-02-01-preview/Microsoft.Sql.json +++ b/schemas/2021-02-01-preview/Microsoft.Sql.json @@ -1384,6 +1384,9 @@ "type": "array", "items": { "oneOf": [ + { + "$ref": "#/definitions/servers_databases_transparentDataEncryption_childResource" + }, { "$ref": "#/definitions/servers_databases_backupShortTermRetentionPolicies_childResource" }, @@ -1414,9 +1417,6 @@ { "$ref": "#/definitions/servers_databases_syncGroups_childResource" }, - { - "$ref": "#/definitions/servers_databases_transparentDataEncryption_childResource" - }, { "$ref": "#/definitions/servers_databases_workloadGroups_childResource" } From cd2cef88cd8075e76057d056df92690762480c0a Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 17 Sep 2021 04:51:03 +0000 Subject: [PATCH 212/243] CodeGen from PR 16052 in Azure/azure-rest-api-specs Update cosmos-db.json (#16052) Added viewDefinition as required property --- schemas/2021-07-01-preview/Microsoft.DocumentDB.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schemas/2021-07-01-preview/Microsoft.DocumentDB.json b/schemas/2021-07-01-preview/Microsoft.DocumentDB.json index 3446b11e6c..00ce62db56 100644 --- a/schemas/2021-07-01-preview/Microsoft.DocumentDB.json +++ b/schemas/2021-07-01-preview/Microsoft.DocumentDB.json @@ -2777,7 +2777,8 @@ } }, "required": [ - "id" + "id", + "viewDefinition" ], "description": "Cosmos DB Cassandra view resource object" }, From 87af25c5870fa49767714ca2cbce0dab4715c0f8 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 17 Sep 2021 09:24:21 +0000 Subject: [PATCH 213/243] Autogenerate schemas --- .../Microsoft.ExtendedLocation.json | 154 +++++++++++++++ .../Microsoft.ExtendedLocation.json | 186 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 6 + 3 files changed, 346 insertions(+) create mode 100644 schemas/2021-03-15-preview/Microsoft.ExtendedLocation.json create mode 100644 schemas/2021-08-15/Microsoft.ExtendedLocation.json diff --git a/schemas/2021-03-15-preview/Microsoft.ExtendedLocation.json b/schemas/2021-03-15-preview/Microsoft.ExtendedLocation.json new file mode 100644 index 0000000000..c7541346cf --- /dev/null +++ b/schemas/2021-03-15-preview/Microsoft.ExtendedLocation.json @@ -0,0 +1,154 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-03-15-preview/Microsoft.ExtendedLocation.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.ExtendedLocation", + "description": "Microsoft ExtendedLocation Resource Types", + "resourceDefinitions": { + "customLocations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-03-15-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "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": "Custom Locations name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CustomLocationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for a custom location." + }, + "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.ExtendedLocation/customLocations" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ExtendedLocation/customLocations" + } + }, + "definitions": { + "CustomLocationProperties": { + "type": "object", + "properties": { + "authentication": { + "oneOf": [ + { + "$ref": "#/definitions/CustomLocationPropertiesAuthentication" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is optional input that contains the authentication that should be used to generate the namespace." + }, + "clusterExtensionIds": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains the reference to the add-on that contains charts to deploy CRDs and operators." + }, + "displayName": { + "type": "string", + "description": "Display name for the Custom Locations location." + }, + "hostResourceId": { + "type": "string", + "description": "Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions." + }, + "hostType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Kubernetes" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of host the Custom Locations is referencing (Kubernetes, etc...)." + }, + "namespace": { + "type": "string", + "description": "Kubernetes namespace that will be created on the specified cluster." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning State for the Custom Location." + } + }, + "description": "Properties for a custom location." + }, + "CustomLocationPropertiesAuthentication": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of the Custom Locations authentication" + }, + "value": { + "type": "string", + "description": "The kubeconfig value." + } + }, + "description": "This is optional input that contains the authentication that should be used to generate the namespace." + } + } +} \ No newline at end of file diff --git a/schemas/2021-08-15/Microsoft.ExtendedLocation.json b/schemas/2021-08-15/Microsoft.ExtendedLocation.json new file mode 100644 index 0000000000..cf03fb58df --- /dev/null +++ b/schemas/2021-08-15/Microsoft.ExtendedLocation.json @@ -0,0 +1,186 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-08-15/Microsoft.ExtendedLocation.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.ExtendedLocation", + "description": "Microsoft ExtendedLocation Resource Types", + "resourceDefinitions": { + "customLocations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-15" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "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": "Custom Locations name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CustomLocationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for a custom location." + }, + "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.ExtendedLocation/customLocations" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ExtendedLocation/customLocations" + } + }, + "definitions": { + "CustomLocationProperties": { + "type": "object", + "properties": { + "authentication": { + "oneOf": [ + { + "$ref": "#/definitions/CustomLocationPropertiesAuthentication" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is optional input that contains the authentication that should be used to generate the namespace." + }, + "clusterExtensionIds": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains the reference to the add-on that contains charts to deploy CRDs and operators." + }, + "displayName": { + "type": "string", + "description": "Display name for the Custom Locations location." + }, + "hostResourceId": { + "type": "string", + "description": "Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions." + }, + "hostType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Kubernetes" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of host the Custom Locations is referencing (Kubernetes, etc...)." + }, + "namespace": { + "type": "string", + "description": "Kubernetes namespace that will be created on the specified cluster." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning State for the Custom Location." + } + }, + "description": "Properties for a custom location." + }, + "CustomLocationPropertiesAuthentication": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The type of the Custom Locations authentication" + }, + "value": { + "type": "string", + "description": "The kubeconfig value." + } + }, + "description": "This is optional input that contains the authentication that should be used to generate the namespace." + }, + "Identity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identity type." + } + }, + "description": "Identity for the resource." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 1151a4b6ed..9da3a7e1e8 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6310,6 +6310,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.EventHub.json#/resourceDefinitions/namespaces_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-03-15-preview/Microsoft.ExtendedLocation.json#/resourceDefinitions/customLocations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-15/Microsoft.ExtendedLocation.json#/resourceDefinitions/customLocations" + }, { "$ref": "https://schema.management.azure.com/schemas/2017-11-03-preview/Microsoft.HanaOnAzure.json#/resourceDefinitions/hanaInstances" }, From 1205cea46e70f6609d0815342482b66c1857d7f8 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 17 Sep 2021 09:24:36 +0000 Subject: [PATCH 214/243] Update resource list --- generator/resources.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/generator/resources.json b/generator/resources.json index 97061584e6..cb5228dc16 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -3339,6 +3339,10 @@ "Microsoft.EventHub/namespaces/virtualnetworkrules": [ "2018-01-01-preview" ], + "Microsoft.ExtendedLocation/customLocations": [ + "2021-03-15-preview", + "2021-08-15" + ], "Microsoft.Genomics/accounts": [ "2017-08-01-preview" ], From bbed14ffb6c0b691bfab1b6a7720908282356bdc Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 17 Sep 2021 14:01:20 +0000 Subject: [PATCH 215/243] 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 e478ddb235..5835beddd6 100644 --- a/onboarded-report/result.json +++ b/onboarded-report/result.json @@ -486,10 +486,8 @@ }, { "basePath": "extendedlocation/resource-manager", - "onboardedToAutogen": "no", - "missing": [ - "Microsoft.ExtendedLocation" - ], + "onboardedToAutogen": "yes", + "missing": [], "onboarded": [] }, { From a25de54409da36ca75d8ecdcbd955a4616da267f Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 17 Sep 2021 14:25:56 +0000 Subject: [PATCH 216/243] CodeGen from PR 16024 in Azure/azure-rest-api-specs Update description of trigger options (#16024) * Update description of trigger options * Update specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.3-preview/keys.json Co-authored-by: Heath Stewart * Update specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.3-preview/keys.json Co-authored-by: Heath Stewart * Update keys.json Co-authored-by: Heath Stewart --- schemas/2021-06-01-preview/Microsoft.KeyVault.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/2021-06-01-preview/Microsoft.KeyVault.json b/schemas/2021-06-01-preview/Microsoft.KeyVault.json index d107a5b820..94b2482df0 100644 --- a/schemas/2021-06-01-preview/Microsoft.KeyVault.json +++ b/schemas/2021-06-01-preview/Microsoft.KeyVault.json @@ -1631,11 +1631,11 @@ "properties": { "timeAfterCreate": { "type": "string", - "description": "The time duration after key creation to rotate the key. It should be in ISO8601 format. Eg: 'P90D', 'P1Y'." + "description": "The time duration after key creation to rotate the key. It only applies to rotate. It will be in ISO 8601 duration 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'." + "description": "The time duration before key expiring to rotate or notify. It will be in ISO 8601 duration format. Eg: 'P90D', 'P1Y'." } } }, From cf0505ebc952dc74e1db2853c0bc9869d6d4b587 Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Fri, 17 Sep 2021 17:17:23 +0000 Subject: [PATCH 217/243] Testing with GH action: --- .github/workflows/generate-types.yml | 71 ++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 .github/workflows/generate-types.yml diff --git a/.github/workflows/generate-types.yml b/.github/workflows/generate-types.yml new file mode 100644 index 0000000000..17d5af4d7d --- /dev/null +++ b/.github/workflows/generate-types.yml @@ -0,0 +1,71 @@ +name: Generate Types + +on: + workflow_dispatch: + inputs: + api_specs_ref: + description: 'Git ref or full SHA for https://github.com/Azure/azure-rest-api-specs.' + required: true + default: 'main' + single_path: + description: 'The path to generate types for (e.g. "compute", or "keyvault"). Leave blank to generate all types.' + required: false + +jobs: + update-types: + name: Update Types + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2.3.4 + + - name: Clone azure-rest-api-specs + uses: actions/checkout@v2.3.4 + with: + repository: Azure/azure-rest-api-specs + path: workflow-temp/azure-rest-api-specs + ref: ${{ github.event.inputs.api_specs_ref }} + + - name: Install generator npm packages + run: npm ci + working-directory: generator + + - id: generate + name: Run generator + run: | + if [ -z "${{ github.event.inputs.single_path }}" ] + then + npm run generate-all -- '{"localPath": "../workflow-temp/azure-rest-api-specs"}' + else + npm run generate-single -- '${{ github.event.inputs.single_path }}/resource-manager' '../workflow-temp/azure-rest-api-specs' + fi + working-directory: generator + + - id: get_swagger_gh_uri + name: Get GitHub URI for azure-rest-api-specs + run: | + git_sha=`git rev-parse HEAD` + echo "::set-output name=gh_uri::https://github.com/Azure/azure-rest-api-specs/tree/$git_sha" + working-directory: workflow-temp/azure-rest-api-specs + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v3.10.1 + with: + committer: GitHub + author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> + signoff: false + branch: autogenerate + branch-suffix: short-commit-hash + delete-branch: true + title: | + Update Generated Types ${{ github.event.inputs.single_path && format('(single path: {0})', github.event.inputs.single_path) || '' }} + body: | + Update Generated Types ${{ github.event.inputs.single_path && format('(single path: {0})', github.event.inputs.single_path) || '' }} + + Generate types for ${{ steps.get_swagger_gh_uri.outputs.gh_uri }} + commit-message: | + Update Generated Types ${{ github.event.inputs.single_path && format('(single path: {0})', github.event.inputs.single_path) || '' }} + + Generate types for ${{ steps.get_swagger_gh_uri.outputs.gh_uri }} + labels: autogenerate + draft: false \ No newline at end of file From 58c68103c59abda7f38fc4ff1d2a9af6ad736384 Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Fri, 17 Sep 2021 13:28:32 -0400 Subject: [PATCH 218/243] Update generate-types.yml --- .github/workflows/generate-types.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/generate-types.yml b/.github/workflows/generate-types.yml index 17d5af4d7d..d7cdf2ca45 100644 --- a/.github/workflows/generate-types.yml +++ b/.github/workflows/generate-types.yml @@ -35,9 +35,9 @@ jobs: run: | if [ -z "${{ github.event.inputs.single_path }}" ] then - npm run generate-all -- '{"localPath": "../workflow-temp/azure-rest-api-specs"}' + npm run generate-all -- '{"localPath": "../../workflow-temp/azure-rest-api-specs"}' else - npm run generate-single -- '${{ github.event.inputs.single_path }}/resource-manager' '../workflow-temp/azure-rest-api-specs' + npm run generate-single -- '${{ github.event.inputs.single_path }}/resource-manager' '../../workflow-temp/azure-rest-api-specs' fi working-directory: generator @@ -68,4 +68,4 @@ jobs: Generate types for ${{ steps.get_swagger_gh_uri.outputs.gh_uri }} labels: autogenerate - draft: false \ No newline at end of file + draft: false From 66900e19acbed470671d84dbb49ccb96c3a4262b Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Fri, 17 Sep 2021 17:39:13 +0000 Subject: [PATCH 219/243] Use $GITHUB_WORKSPACE env var --- .github/workflows/generate-types.yml | 4 ++-- .gitignore | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/generate-types.yml b/.github/workflows/generate-types.yml index d7cdf2ca45..b9a9c977e1 100644 --- a/.github/workflows/generate-types.yml +++ b/.github/workflows/generate-types.yml @@ -35,9 +35,9 @@ jobs: run: | if [ -z "${{ github.event.inputs.single_path }}" ] then - npm run generate-all -- '{"localPath": "../../workflow-temp/azure-rest-api-specs"}' + npm run generate-all -- '{"localPath": "$GITHUB_WORKSPACE/workflow-temp/azure-rest-api-specs"}' else - npm run generate-single -- '${{ github.event.inputs.single_path }}/resource-manager' '../../workflow-temp/azure-rest-api-specs' + npm run generate-single -- '${{ github.event.inputs.single_path }}/resource-manager' '$GITHUB_WORKSPACE/workflow-temp/azure-rest-api-specs' fi working-directory: generator diff --git a/.gitignore b/.gitignore index ebf1431329..b196780448 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,7 @@ schemas/code-model-v1 Debug Release obj -bin \ No newline at end of file +bin + +# Temporary directory for GitHub workflows to use +/workflow-temp \ No newline at end of file From 028ecf111237e32ab6828be71c6045cd0cf7e2c8 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Sat, 18 Sep 2021 02:26:07 +0000 Subject: [PATCH 220/243] CodeGen from PR 16042 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.KeyVault to add version preview/2021-06-01-preview (#16042) * Added exportable attribute and release policy to CP Swagger doc * Specify type as object for ReleasePolicy * Address code review comments * Add suppression code for camelCase * Prettier check --- .../Microsoft.KeyVault.json | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/schemas/2021-06-01-preview/Microsoft.KeyVault.json b/schemas/2021-06-01-preview/Microsoft.KeyVault.json index 94b2482df0..d921a38a60 100644 --- a/schemas/2021-06-01-preview/Microsoft.KeyVault.json +++ b/schemas/2021-06-01-preview/Microsoft.KeyVault.json @@ -592,6 +592,17 @@ ], "description": "Expiry date in seconds since 1970-01-01T00:00:00Z." }, + "exportable": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the private key can be exported." + }, "nbf": { "oneOf": [ { @@ -687,6 +698,16 @@ ], "description": "The type of the key. For valid values, see JsonWebKeyType." }, + "release_policy": { + "oneOf": [ + { + "$ref": "#/definitions/KeyReleasePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, "rotationPolicy": { "oneOf": [ { @@ -700,6 +721,21 @@ }, "description": "The properties of the key." }, + "KeyReleasePolicy": { + "type": "object", + "properties": { + "contentType": { + "type": "string", + "default": "application/json; charset=utf-8", + "description": "Content type and version of key release policy" + }, + "data": { + "type": "string", + "format": "base64url", + "description": "Blob encoding the policy rules under which the key can be released." + } + } + }, "KeyRotationPolicyAttributes": { "type": "object", "properties": { From cf6b2c45187b4515ffc7f73cb8bae78195d11e51 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Sat, 18 Sep 2021 02:58:34 +0000 Subject: [PATCH 221/243] CodeGen from PR 15593 in Azure/azure-rest-api-specs Dev kubernetesconfiguration microsoft.kubernetes configuration 2021 09 01 (#15593) * Add blockchain to latest profile * Add additional types * Adds base for updating Microsoft.KubernetesConfiguration from version common/2021-05-01-preview to version 2021-09-01 * Updates readme * Updates API version in new specs and examples * Extension GA - apiversion 2021-09-01 * Move definitions.json to the correct folder * Add Patch example * Prettier fix * Patch response fix * Avocado fixes * Additional fixes * Fixes for Model and Semantic validations * Additional fixes * Fix patch example * Prettier fix for definitions.json * Readme.md spacing fix * Add AKSIdentity object * Prettier and Lint Diff fixes * Change Patch response to 202, per review * Update Patch response body to adhere to API guidance * Added Suppression for Patch 202 response * Fix linter issues * Fix linter issues * Fix Linter and Model validation errors * Fix ModelValidation and Prettier issues * Move suppression to the GA version * Move suppression to global * Move suppression back to the GA version * Update suppression * Fix errors from SDK generation * Prettier fix * Remove definitions.json and move the defs. into extensions.json * Remove azure-validator Co-authored-by: Mark Cowlishaw Co-authored-by: nanthi --- .../Microsoft.KubernetesConfiguration.json | 387 ++++++++++++++++++ 1 file changed, 387 insertions(+) create mode 100644 schemas/2021-09-01/Microsoft.KubernetesConfiguration.json diff --git a/schemas/2021-09-01/Microsoft.KubernetesConfiguration.json b/schemas/2021-09-01/Microsoft.KubernetesConfiguration.json new file mode 100644 index 0000000000..beab94b47b --- /dev/null +++ b/schemas/2021-09-01/Microsoft.KubernetesConfiguration.json @@ -0,0 +1,387 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-09-01/Microsoft.KubernetesConfiguration.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.KubernetesConfiguration", + "description": "Microsoft KubernetesConfiguration Resource Types", + "resourceDefinitions": {}, + "extension_resourceDefinitions": { + "extensions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-09-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "name": { + "type": "string", + "description": "Name of the Extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an Extension 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." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.KubernetesConfiguration/extensions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.KubernetesConfiguration/extensions" + } + }, + "definitions": { + "ErrorDetail": { + "type": "object", + "properties": {}, + "description": "The error detail." + }, + "ExtensionProperties": { + "type": "object", + "properties": { + "aksAssignedIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/ExtensionPropertiesAksAssignedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity of the Extension resource in an AKS cluster" + }, + "autoUpgradeMinorVersion": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to note if this extension participates in auto upgrade of minor version, or not." + }, + "configurationProtectedSettings": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configuration settings that are sensitive, as name-value pairs for configuring this extension." + }, + "configurationSettings": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configuration settings, as name-value pairs for configuring this extension." + }, + "errorInfo": { + "oneOf": [ + { + "$ref": "#/definitions/ErrorDetail" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The error detail." + }, + "extensionType": { + "type": "string", + "description": "Type of the Extension, of which this resource is an instance of. It must be one of the Extension Types registered with Microsoft.KubernetesConfiguration by the Extension publisher." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Creating", + "Updating", + "Deleting" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "releaseTrain": { + "type": "string", + "default": "Stable", + "description": "ReleaseTrain this extension participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'." + }, + "scope": { + "oneOf": [ + { + "$ref": "#/definitions/Scope" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Scope of the extension. It can be either Cluster or Namespace; but not both." + }, + "statuses": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ExtensionStatus" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Status from this extension." + }, + "version": { + "type": "string", + "description": "Version of the extension for this extension, if it is 'pinned' to a specific version. autoUpgradeMinorVersion must be 'false'." + } + }, + "description": "Properties of an Extension resource" + }, + "ExtensionPropertiesAksAssignedIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identity type." + } + }, + "description": "Identity of the Extension resource in an AKS cluster" + }, + "ExtensionStatus": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Status code provided by the Extension" + }, + "displayStatus": { + "type": "string", + "description": "Short description of status of the extension." + }, + "level": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Error", + "Warning", + "Information" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Level of the status." + }, + "message": { + "type": "string", + "description": "Detailed message of the status from the Extension." + }, + "time": { + "type": "string", + "description": "DateLiteral (per ISO8601) noting the time of installation status." + } + }, + "description": "Status from the extension." + }, + "Identity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identity type." + } + }, + "description": "Identity for the resource." + }, + "Scope": { + "type": "object", + "properties": { + "cluster": { + "oneOf": [ + { + "$ref": "#/definitions/ScopeCluster" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies that the scope of the extension is Cluster" + }, + "namespace": { + "oneOf": [ + { + "$ref": "#/definitions/ScopeNamespace" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies that the scope of the extension is Namespace" + } + }, + "description": "Scope of the extension. It can be either Cluster or Namespace; but not both." + }, + "ScopeCluster": { + "type": "object", + "properties": { + "releaseNamespace": { + "type": "string", + "description": "Namespace where the extension Release must be placed, for a Cluster scoped extension. If this namespace does not exist, it will be created" + } + }, + "description": "Specifies that the scope of the extension is Cluster" + }, + "ScopeNamespace": { + "type": "object", + "properties": { + "targetNamespace": { + "type": "string", + "description": "Namespace where the extension will be created for an Namespace scoped extension. If this namespace does not exist, it will be created" + } + }, + "description": "Specifies that the scope of the extension is Namespace" + }, + "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." + } + } +} \ No newline at end of file From e977176367763be0a689b711f062bddd1c8df329 Mon Sep 17 00:00:00 2001 From: Shrisha Kumar Date: Mon, 20 Sep 2021 09:52:04 -0700 Subject: [PATCH 222/243] Adding v7 schema support --- tools/tests.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/tests.ts b/tools/tests.ts index e605dabc97..cbe568e46f 100644 --- a/tools/tests.ts +++ b/tools/tests.ts @@ -7,6 +7,7 @@ import { promisify } from 'util'; import { getLanguageService } from 'vscode-json-languageservice'; import { TextDocument } from 'vscode-languageserver-types'; import draft4MetaSchema from 'ajv/lib/refs/json-schema-draft-04.json'; +import draft7MetaSchema from 'ajv/lib/refs/json-schema-draft-07.json'; import * as schemaTestsRunner from './schemaTestsRunner'; import 'mocha'; import { findCycle } from './cycleCheck'; @@ -19,6 +20,7 @@ const testSchemasFolder = __dirname + '/schemas/'; const templateTestsFolder = __dirname + '/templateTests/'; const armSchemasPrefix = /^https?:\/\/schema\.management\.azure\.com\/schemas\// const jsonSchemaDraft4Prefix = /^https?:\/\/json-schema\.org\/draft-04\/schema/ +const jsonSchemaDraft7Prefix = /^https?:\/\/json-schema\.org\/draft-07\/schema/ const ajvInstance = new Ajv({ loadSchema: loadSchema, @@ -26,6 +28,7 @@ const ajvInstance = new Ajv({ schemaId: 'id', meta: false }).addMetaSchema(draft4MetaSchema) + .addMetaSchema(draft7MetaSchema) .addFormat('int32', /.*/) .addFormat('duration', /.*/) .addFormat('password', /.*/); @@ -43,6 +46,9 @@ async function loadRawSchema(uri: string) : Promise { else if (uri.match(jsonSchemaDraft4Prefix)) { return JSON.stringify(draft4MetaSchema); } + else if (uri.match(jsonSchemaDraft7Prefix)) { + return JSON.stringify(draft7MetaSchema); + } else { jsonPath = uri; } From bceb043d479325ef379c8ca80e621de070c47743 Mon Sep 17 00:00:00 2001 From: Shrisha Kumar Date: Mon, 20 Sep 2021 09:56:35 -0700 Subject: [PATCH 223/243] Adding v7 schema support --- tools/tests.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/tests.ts b/tools/tests.ts index cbe568e46f..92e8bb2f2d 100644 --- a/tools/tests.ts +++ b/tools/tests.ts @@ -91,6 +91,7 @@ function listSchemaPaths(basePath: string): string[] { const metaSchemaPaths = [ 'http://json-schema.org/draft-04/schema', + 'http://json-schema.org/draft-07/schema', testSchemasFolder + 'ResourceMetaSchema.json', ]; From 9fe05881b7aab858c8e852f9a97664d9131fdbc6 Mon Sep 17 00:00:00 2001 From: Shrisha Kumar Date: Mon, 20 Sep 2021 10:02:14 -0700 Subject: [PATCH 224/243] Fixing schema version --- schemas/2021-09-09/uiFormDefinition.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/2021-09-09/uiFormDefinition.schema.json b/schemas/2021-09-09/uiFormDefinition.schema.json index 197c776e50..1628030378 100644 --- a/schemas/2021-09-09/uiFormDefinition.schema.json +++ b/schemas/2021-09-09/uiFormDefinition.schema.json @@ -1,5 +1,5 @@ { - "$schema": "http://json-schema.org/draft-07/schema#", + "$schema": "http://json-schema.org/draft-07/schema", "definitions": { "createFormViewType": { "type": "object", From c4dc4572fd1bc7d8faea2912f3632ea923a6171d Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Mon, 20 Sep 2021 15:14:50 -0400 Subject: [PATCH 225/243] Update tests.ts --- tools/tests.ts | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/tools/tests.ts b/tools/tests.ts index 92e8bb2f2d..8e6deb79f8 100644 --- a/tools/tests.ts +++ b/tools/tests.ts @@ -7,7 +7,6 @@ import { promisify } from 'util'; import { getLanguageService } from 'vscode-json-languageservice'; import { TextDocument } from 'vscode-languageserver-types'; import draft4MetaSchema from 'ajv/lib/refs/json-schema-draft-04.json'; -import draft7MetaSchema from 'ajv/lib/refs/json-schema-draft-07.json'; import * as schemaTestsRunner from './schemaTestsRunner'; import 'mocha'; import { findCycle } from './cycleCheck'; @@ -20,15 +19,13 @@ const testSchemasFolder = __dirname + '/schemas/'; const templateTestsFolder = __dirname + '/templateTests/'; const armSchemasPrefix = /^https?:\/\/schema\.management\.azure\.com\/schemas\// const jsonSchemaDraft4Prefix = /^https?:\/\/json-schema\.org\/draft-04\/schema/ -const jsonSchemaDraft7Prefix = /^https?:\/\/json-schema\.org\/draft-07\/schema/ const ajvInstance = new Ajv({ loadSchema: loadSchema, strictDefaults: true, schemaId: 'id', - meta: false + meta: true, }).addMetaSchema(draft4MetaSchema) - .addMetaSchema(draft7MetaSchema) .addFormat('int32', /.*/) .addFormat('duration', /.*/) .addFormat('password', /.*/); @@ -46,9 +43,6 @@ async function loadRawSchema(uri: string) : Promise { else if (uri.match(jsonSchemaDraft4Prefix)) { return JSON.stringify(draft4MetaSchema); } - else if (uri.match(jsonSchemaDraft7Prefix)) { - return JSON.stringify(draft7MetaSchema); - } else { jsonPath = uri; } @@ -91,7 +85,6 @@ function listSchemaPaths(basePath: string): string[] { const metaSchemaPaths = [ 'http://json-schema.org/draft-04/schema', - 'http://json-schema.org/draft-07/schema', testSchemasFolder + 'ResourceMetaSchema.json', ]; @@ -140,6 +133,7 @@ const schemasToSkip = [ '2019-08-01/managementGroupDeploymentTemplate.json', '2019-08-01/tenantDeploymentParameters.json', '2019-08-01/tenantDeploymentTemplate.json', + '2021-09-09/uiFormDefinition.schema.json', 'common/definitions.json', 'common/manuallyAddedResources.json', 'common/autogeneratedResources.json', @@ -235,4 +229,4 @@ describe('Validate test templates against VSCode language service', () => { expect(result).to.deep.equal([]); }); } -}); \ No newline at end of file +}); From d0413d9ef9aff103820fd9cfa3cd678fce21d18d Mon Sep 17 00:00:00 2001 From: Anthony Martin Date: Mon, 20 Sep 2021 15:34:46 -0400 Subject: [PATCH 226/243] Add "id" field --- schemas/2021-09-09/uiFormDefinition.schema.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schemas/2021-09-09/uiFormDefinition.schema.json b/schemas/2021-09-09/uiFormDefinition.schema.json index 1628030378..8e38261426 100644 --- a/schemas/2021-09-09/uiFormDefinition.schema.json +++ b/schemas/2021-09-09/uiFormDefinition.schema.json @@ -1,4 +1,5 @@ { + "id": "https://schema.management.azure.com/schemas/2021-09-09/uiFormDefinition.schema.json#", "$schema": "http://json-schema.org/draft-07/schema", "definitions": { "createFormViewType": { @@ -3930,4 +3931,4 @@ } }, "additionalProperties": false -} \ No newline at end of file +} From fe053c4d76c056b77381e6ea64ce3da8bd91cb52 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 22 Sep 2021 03:51:54 +0000 Subject: [PATCH 227/243] CodeGen from PR 15652 in Azure/azure-rest-api-specs added new API version in preview, new SKU named Customer Disk, new API for the SKU and additional models required for new SKU (#15652) * initial commit * added new API version in preview, new SKU, new API for the SKU and additional models required for new SKU * resolved some errors * Update readme.go.md * Update MarkDevicesShipped.json * Update MarkDevicesShipped.json * Update cSpell.json * Update databox.json * Update databox.json * updated databox.json * Update databox.json * Update MarkDevicesShipped.json * Update databox.json * Update databox.json * Update databox.json * Update databox.json * resolved comments --- .../2021-08-01-preview/Microsoft.DataBox.json | 1274 +++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 2 files changed, 1277 insertions(+) create mode 100644 schemas/2021-08-01-preview/Microsoft.DataBox.json diff --git a/schemas/2021-08-01-preview/Microsoft.DataBox.json b/schemas/2021-08-01-preview/Microsoft.DataBox.json new file mode 100644 index 0000000000..8c07aa6dc3 --- /dev/null +++ b/schemas/2021-08-01-preview/Microsoft.DataBox.json @@ -0,0 +1,1274 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-08-01-preview/Microsoft.DataBox.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.DataBox", + "description": "Microsoft DataBox Resource Types", + "resourceDefinitions": { + "jobs": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Msi identity details of the resource" + }, + "location": { + "type": "string", + "description": "The location of the resource. This will be one of the supported and registered Azure Regions (e.g. West US, East US, Southeast Asia, etc.). The region of a resource cannot be changed once it is created, but if an identical region is specified on update the request will succeed." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-\\w\\.]+$", + "minLength": 3, + "maxLength": 24 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/JobProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Job Properties" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$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": "The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups)." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataBox/jobs" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.DataBox/jobs" + } + }, + "definitions": { + "AzureFileFilterDetails": { + "type": "object", + "properties": { + "filePathList": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of full path of the files to be transferred." + }, + "filePrefixList": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Prefix list of the Azure files to be transferred." + }, + "fileShareList": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of file shares to be transferred." + } + }, + "description": "Filter details to transfer Azure files" + }, + "BlobFilterDetails": { + "type": "object", + "properties": { + "blobPathList": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of full path of the blobs to be transferred." + }, + "blobPrefixList": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Prefix list of the Azure blobs to be transferred." + }, + "containerList": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of blob containers to be transferred." + } + }, + "description": "Filter details to transfer Azure Blobs" + }, + "ContactDetails": { + "type": "object", + "properties": { + "contactName": { + "type": "string", + "description": "Contact name of the person." + }, + "emailList": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Email-ids to be notified about job progress." + }, + "mobile": { + "type": "string", + "description": "Mobile number of the contact person." + }, + "notificationPreference": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NotificationPreference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Notification preference for a job stage." + }, + "phone": { + "type": "string", + "description": "Phone number of the contact person." + }, + "phoneExtension": { + "type": "string", + "description": "Phone extension number of the contact person." + } + }, + "required": [ + "contactName", + "emailList", + "phone" + ], + "description": "Contact Details." + }, + "DataAccountDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ManagedDiskDetails" + }, + { + "$ref": "#/definitions/StorageAccountDetails" + } + ], + "properties": { + "sharePassword": { + "type": "string", + "description": "Password for all the shares to be created on the device. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+" + } + }, + "description": "Account details of the data to be transferred" + }, + "DataBoxCustomerDiskJobDetails": { + "type": "object", + "properties": { + "enableManifestBackup": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag to indicate if disk manifest should be backed-up in the Storage Account." + }, + "importDiskDetailsCollection": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ImportDiskDetails" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains the map of disk serial number to the disk details for import jobs." + }, + "jobDetailsType": { + "type": "string", + "enum": [ + "DataBoxCustomerDisk" + ] + }, + "returnToCustomerPackageDetails": { + "oneOf": [ + { + "$ref": "#/definitions/PackageCarrierDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Package carrier details." + } + }, + "required": [ + "jobDetailsType", + "returnToCustomerPackageDetails" + ], + "description": "Customer disk job details." + }, + "DataBoxDiskJobDetails": { + "type": "object", + "properties": { + "jobDetailsType": { + "type": "string", + "enum": [ + "DataBoxDisk" + ] + }, + "passkey": { + "type": "string", + "description": "User entered passkey for DataBox Disk job." + }, + "preferredDisks": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "integer" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User preference on what size disks are needed for the job. The map is from the disk size in TB to the count. Eg. {2,5} means 5 disks of 2 TB size. Key is string but will be checked against an int." + } + }, + "required": [ + "jobDetailsType" + ], + "description": "DataBox Disk Job Details." + }, + "DataBoxHeavyJobDetails": { + "type": "object", + "properties": { + "devicePassword": { + "type": "string", + "description": "Set Device password for unlocking Databox Heavy. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+" + }, + "jobDetailsType": { + "type": "string", + "enum": [ + "DataBoxHeavy" + ] + } + }, + "required": [ + "jobDetailsType" + ], + "description": "Databox Heavy Device Job Details" + }, + "DataBoxJobDetails": { + "type": "object", + "properties": { + "devicePassword": { + "type": "string", + "description": "Set Device password for unlocking Databox. Should not be passed for TransferType:ExportFromAzure jobs. If this is not passed, the service will generate password itself. This will not be returned in Get Call. Password Requirements : Password must be minimum of 12 and maximum of 64 characters. Password must have at least one uppercase alphabet, one number and one special character. Password cannot have the following characters : IilLoO0 Password can have only alphabets, numbers and these characters : @#\\-$%^!+=;:_()]+" + }, + "jobDetailsType": { + "type": "string", + "enum": [ + "DataBox" + ] + } + }, + "required": [ + "jobDetailsType" + ], + "description": "Databox Job Details" + }, + "DataExportDetails": { + "type": "object", + "properties": { + "accountDetails": { + "oneOf": [ + { + "$ref": "#/definitions/DataAccountDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Account details of the data to be transferred" + }, + "logCollectionLevel": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Error", + "Verbose" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Level of the logs to be collected." + }, + "transferConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/TransferConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configuration for defining the transfer of data." + } + }, + "required": [ + "accountDetails", + "transferConfiguration" + ], + "description": "Details of the data to be used for exporting data from azure." + }, + "DataImportDetails": { + "type": "object", + "properties": { + "accountDetails": { + "oneOf": [ + { + "$ref": "#/definitions/DataAccountDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Account details of the data to be transferred" + } + }, + "required": [ + "accountDetails" + ], + "description": "Details of the data to be used for importing data to azure." + }, + "EncryptionPreferences": { + "type": "object", + "properties": { + "doubleEncryption": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines secondary layer of software-based encryption enablement." + } + }, + "description": "Preferences related to the Encryption." + }, + "FilterFileDetails": { + "type": "object", + "properties": { + "filterFilePath": { + "type": "string", + "description": "Path of the file that contains the details of all items to transfer." + }, + "filterFileType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AzureBlob", + "AzureFile" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of the filter file." + } + }, + "required": [ + "filterFilePath", + "filterFileType" + ], + "description": "Details of the filter files to be used for data transfer." + }, + "IdentityProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Managed service identity type." + }, + "userAssigned": { + "oneOf": [ + { + "$ref": "#/definitions/UserAssignedProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User assigned identity properties." + } + }, + "description": "Managed identity properties." + }, + "ImportDiskDetails": { + "type": "object", + "properties": { + "bitLockerKey": { + "type": "string", + "description": "BitLocker key used to encrypt the disk." + }, + "manifestFile": { + "type": "string", + "description": "The relative path of the manifest file on the disk." + }, + "manifestHash": { + "type": "string", + "description": "The Base16-encoded MD5 hash of the manifest file on the disk." + } + }, + "required": [ + "bitLockerKey", + "manifestFile", + "manifestHash" + ], + "description": "Import disk details" + }, + "JobDeliveryInfo": { + "type": "object", + "properties": { + "scheduledDateTime": { + "type": "string", + "format": "date-time", + "description": "Scheduled date time." + } + }, + "description": "Additional delivery info." + }, + "JobDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/DataBoxCustomerDiskJobDetails" + }, + { + "$ref": "#/definitions/DataBoxDiskJobDetails" + }, + { + "$ref": "#/definitions/DataBoxHeavyJobDetails" + }, + { + "$ref": "#/definitions/DataBoxJobDetails" + } + ], + "properties": { + "contactDetails": { + "oneOf": [ + { + "$ref": "#/definitions/ContactDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contact Details." + }, + "dataExportDetails": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataExportDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details of the data to be exported from azure." + }, + "dataImportDetails": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataImportDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details of the data to be imported into azure." + }, + "expectedDataSizeInTeraBytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The expected size of the data, which needs to be transferred in this job, in terabytes." + }, + "keyEncryptionKey": { + "oneOf": [ + { + "$ref": "#/definitions/KeyEncryptionKey" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encryption key containing details about key to encrypt different keys." + }, + "preferences": { + "oneOf": [ + { + "$ref": "#/definitions/Preferences" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Preferences related to the order" + }, + "shippingAddress": { + "oneOf": [ + { + "$ref": "#/definitions/ShippingAddress" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Shipping address where customer wishes to receive the device." + } + }, + "required": [ + "contactDetails" + ], + "description": "Job details." + }, + "JobProperties": { + "type": "object", + "properties": { + "deliveryInfo": { + "oneOf": [ + { + "$ref": "#/definitions/JobDeliveryInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional delivery info." + }, + "deliveryType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NonScheduled", + "Scheduled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Delivery type of Job." + }, + "details": { + "oneOf": [ + { + "$ref": "#/definitions/JobDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Job details." + }, + "transferType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ImportToAzure", + "ExportFromAzure" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of the data transfer." + } + }, + "required": [ + "transferType" + ], + "description": "Job Properties" + }, + "KeyEncryptionKey": { + "type": "object", + "properties": { + "identityProperties": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed identity properties." + }, + "kekType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "MicrosoftManaged", + "CustomerManaged" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of encryption key used for key encryption." + }, + "kekUrl": { + "type": "string", + "description": "Key encryption key. It is required in case of Customer managed KekType." + }, + "kekVaultResourceID": { + "type": "string", + "description": "Kek vault resource id. It is required in case of Customer managed KekType." + } + }, + "required": [ + "kekType" + ], + "description": "Encryption key containing details about key to encrypt different keys." + }, + "ManagedDiskDetails": { + "type": "object", + "properties": { + "dataAccountType": { + "type": "string", + "enum": [ + "ManagedDisk" + ] + }, + "resourceGroupId": { + "type": "string", + "description": "Resource Group Id of the compute disks." + }, + "stagingStorageAccountId": { + "type": "string", + "description": "Resource Id of the storage account that can be used to copy the vhd for staging." + } + }, + "required": [ + "dataAccountType", + "resourceGroupId", + "stagingStorageAccountId" + ], + "description": "Details of the managed disks." + }, + "NotificationPreference": { + "type": "object", + "properties": { + "sendNotification": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Notification is required or not." + }, + "stageName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "DevicePrepared", + "Dispatched", + "Delivered", + "PickedUp", + "AtAzureDC", + "DataCopy", + "Created", + "ShippedToCustomer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of the stage." + } + }, + "required": [ + "sendNotification", + "stageName" + ], + "description": "Notification preference for a job stage." + }, + "PackageCarrierDetails": { + "type": "object", + "properties": { + "carrierAccountNumber": { + "type": "string", + "description": "Carrier Account Number of customer for customer disk." + }, + "carrierName": { + "type": "string", + "description": "Name of the carrier." + }, + "trackingId": { + "type": "string", + "description": "Tracking Id of shipment." + } + }, + "description": "Package carrier details." + }, + "Preferences": { + "type": "object", + "properties": { + "encryptionPreferences": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionPreferences" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Preferences related to the Encryption." + }, + "preferredDataCenterRegion": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Preferred data center region." + }, + "transportPreferences": { + "oneOf": [ + { + "$ref": "#/definitions/TransportPreferences" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Preferences related to the shipment logistics of the sku" + } + }, + "description": "Preferences related to the order" + }, + "ResourceIdentity": { + "type": "object", + "properties": { + "type": { + "type": "string", + "default": "None", + "description": "Identity type" + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User Assigned Identities" + } + }, + "description": "Msi identity details of the resource" + }, + "ShippingAddress": { + "type": "object", + "properties": { + "addressType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Residential", + "Commercial" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of address." + }, + "city": { + "type": "string", + "description": "Name of the City." + }, + "companyName": { + "type": "string", + "description": "Name of the company." + }, + "country": { + "type": "string", + "description": "Name of the Country." + }, + "postalCode": { + "type": "string", + "description": "Postal code." + }, + "stateOrProvince": { + "type": "string", + "description": "Name of the State or Province." + }, + "streetAddress1": { + "type": "string", + "description": "Street Address line 1." + }, + "streetAddress2": { + "type": "string", + "description": "Street Address line 1." + }, + "streetAddress3": { + "type": "string", + "description": "Street Address line 1." + }, + "zipExtendedCode": { + "type": "string", + "description": "Extended Zip Code." + } + }, + "required": [ + "country", + "streetAddress1" + ], + "description": "Shipping address where customer wishes to receive the device." + }, + "Sku": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "description": "The display name of the sku." + }, + "family": { + "type": "string", + "description": "The sku family." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "DataBox", + "DataBoxDisk", + "DataBoxHeavy", + "DataBoxCustomerDisk" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The sku name." + } + }, + "required": [ + "name" + ], + "description": "The Sku." + }, + "StorageAccountDetails": { + "type": "object", + "properties": { + "dataAccountType": { + "type": "string", + "enum": [ + "StorageAccount" + ] + }, + "storageAccountId": { + "type": "string", + "description": "Storage Account Resource Id." + } + }, + "required": [ + "dataAccountType", + "storageAccountId" + ], + "description": "Details for the storage account." + }, + "TransferAllDetails": { + "type": "object", + "properties": { + "dataAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "StorageAccount", + "ManagedDisk" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of the account of data." + }, + "transferAllBlobs": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "To indicate if all Azure blobs have to be transferred" + }, + "transferAllFiles": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "To indicate if all Azure Files have to be transferred" + } + }, + "required": [ + "dataAccountType" + ], + "description": "Details to transfer all data." + }, + "TransferConfiguration": { + "type": "object", + "properties": { + "transferAllDetails": { + "oneOf": [ + { + "$ref": "#/definitions/TransferConfigurationTransferAllDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll" + }, + "transferConfigurationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TransferAll", + "TransferUsingFilter" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of the configuration for transfer." + }, + "transferFilterDetails": { + "oneOf": [ + { + "$ref": "#/definitions/TransferConfigurationTransferFilterDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter." + } + }, + "required": [ + "transferConfigurationType" + ], + "description": "Configuration for defining the transfer of data." + }, + "TransferConfigurationTransferAllDetails": { + "type": "object", + "properties": { + "include": { + "oneOf": [ + { + "$ref": "#/definitions/TransferAllDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details to transfer all data." + } + }, + "description": "Map of filter type and the details to transfer all data. This field is required only if the TransferConfigurationType is given as TransferAll" + }, + "TransferConfigurationTransferFilterDetails": { + "type": "object", + "properties": { + "include": { + "oneOf": [ + { + "$ref": "#/definitions/TransferFilterDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details of the filtering the transfer of data." + } + }, + "description": "Map of filter type and the details to filter. This field is required only if the TransferConfigurationType is given as TransferUsingFilter." + }, + "TransferFilterDetails": { + "type": "object", + "properties": { + "azureFileFilterDetails": { + "oneOf": [ + { + "$ref": "#/definitions/AzureFileFilterDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Filter details to transfer Azure files" + }, + "blobFilterDetails": { + "oneOf": [ + { + "$ref": "#/definitions/BlobFilterDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Filter details to transfer Azure Blobs" + }, + "dataAccountType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "StorageAccount", + "ManagedDisk" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of the account of data." + }, + "filterFileDetails": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/FilterFileDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details of the filter files to be used for data transfer." + } + }, + "required": [ + "dataAccountType" + ], + "description": "Details of the filtering the transfer of data." + }, + "TransportPreferences": { + "type": "object", + "properties": { + "preferredShipmentType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CustomerManaged", + "MicrosoftManaged" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates Shipment Logistics type that the customer preferred." + } + }, + "required": [ + "preferredShipmentType" + ], + "description": "Preferences related to the shipment logistics of the sku" + }, + "UserAssignedIdentity": { + "type": "object", + "properties": {}, + "description": "Class defining User assigned identity details." + }, + "UserAssignedProperties": { + "type": "object", + "properties": { + "resourceId": { + "type": "string", + "description": "Arm resource id for user assigned identity to be used to fetch MSI token." + } + }, + "description": "User assigned identity properties." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 9da3a7e1e8..6f2020066f 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -3082,6 +3082,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.DataBox.json#/resourceDefinitions/jobs" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01-preview/Microsoft.DataBox.json#/resourceDefinitions/jobs" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.DataBoxEdge.json#/resourceDefinitions/dataBoxEdgeDevices" }, From 4fd549933e74d4f3b8ce67170e3facedff6685f6 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 22 Sep 2021 11:07:03 +0000 Subject: [PATCH 228/243] CodeGen from PR 14776 in Azure/azure-rest-api-specs Private endpoints and JEDI controllers (#14776) * Create swagger.json Added swagger for vmwaresite, hypervsite, serversite * Update swagger.json Addition of Importsite resource * Referred swagger in readme.md * changed readme to have 2 api-versions * Updated readme * Updated ip address name * Create migrate.json * deleted preview changes * Fixed new version * fixed job definition, get and put site * Update migrate.json * Update migrate.json * Added examples. Removed server and import stacks * Removed extra code * Made it in accordance with private preview PR * Examples added * fixed comments * added tags * Resolved conflicts * fixed file * Fixed spellings * fixed spellings * added examples * fixed example * fixed examples * fixed examples * fixed discrption * fixed prettier check * fixed enums * prettier check * Update readme.md * Added operations list * Create migrate.json * added OperationDisplay definition * error fixed * Update migrate.json * fixed errors * Update Operations_List.json * Update migrate.json * Removed parameters * Ran Prettier check * Update migrate.json * Update migrate.json * prettier check * Update migrate.json * Update migrate.json removed extra controllers * Update migrate.json * Added examples * fixed examples * Update migrate.json * Update MasterSite_Create.json * fixed prettier check * fixed prettier check * Update MasterSite_Create.json * Update migrate.json * Update MasterSite_Patch.json * Update migrate.json * fixed examples * Update PrivateEndpointConnections_Create.json * Update PrivateLinkResources_Get.json * fixed example * Update migrate.json * Update migrate.json * Update readme.md * Update readme.md * Update readme.md * Update readme.md * Update migrate.json * Update readme.md * Fixed examples * Update migrate.json * Update migrate.json * Update migrate.json * Update migrate.json * Update migrate.json * Update migrate.json * Update migrate.json * Update migrate.json * Update migrate.json * Update migrate.json * Update migrate.json * Update migrate.json * Update migrate.json * Fixed camel casing * Update migrate.json * Update migrate.json * Update migrate.json * Update migrate.json * Update migrate.json * added examples * fixed operations * Update migrate.json * Update readme.md * Update PrivateEndpointConnections_Delete.json * Update migrate.json * Update migrate.json * fixed prettier check * Update migrate.json * Update migrate.json * Added machine start, stop examples * Added examples * Added examples * Fixed prettier check * Update migrate.json * Update migrate.json --- schemas/2020-07-07/Microsoft.OffAzure.json | 84 +++++++++++++++++++++- schemas/common/autogeneratedResources.json | 3 + 2 files changed, 85 insertions(+), 2 deletions(-) diff --git a/schemas/2020-07-07/Microsoft.OffAzure.json b/schemas/2020-07-07/Microsoft.OffAzure.json index 6b8a3894f0..f07523cf49 100644 --- a/schemas/2020-07-07/Microsoft.OffAzure.json +++ b/schemas/2020-07-07/Microsoft.OffAzure.json @@ -188,6 +188,16 @@ ], "description": "Class for site properties." }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/masterSites_privateEndpointConnections_childResource" + } + ] + } + }, "type": { "type": "string", "enum": [ @@ -203,6 +213,33 @@ ], "description": "Microsoft.OffAzure/MasterSites" }, + "masterSites_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-07" + ] + }, + "name": { + "type": "string", + "description": "Private link resource name." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.OffAzure/masterSites/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.OffAzure/masterSites/privateEndpointConnections" + }, "VMwareSites": { "type": "object", "properties": { @@ -449,9 +486,25 @@ ], "description": "Value indicating whether multiple sites per site type are allowed." }, - "publicNetworkAccess": { + "customerStorageAccountArmId": { "type": "string", - "description": "State of public network access." + "description": "Gets or sets a value for customer storage account ARM id." + }, + "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 state of public network access." }, "sites": { "oneOf": [ @@ -470,6 +523,33 @@ }, "description": "Class for site properties." }, + "masterSites_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-07" + ] + }, + "name": { + "type": "string", + "description": "Private link resource name." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.OffAzure/masterSites/privateEndpointConnections" + }, "SiteAgentProperties": { "type": "object", "properties": { diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 6f2020066f..488a7023a2 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -7828,6 +7828,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-07-07/Microsoft.OffAzure.json#/resourceDefinitions/MasterSites" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-07/Microsoft.OffAzure.json#/resourceDefinitions/masterSites_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-07-07/Microsoft.OffAzure.json#/resourceDefinitions/VMwareSites" }, From 27e01750f1d80b696fe5ffa37b67feca7924b671 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 22 Sep 2021 12:59:39 +0000 Subject: [PATCH 229/243] CodeGen from PR 15841 in Azure/azure-rest-api-specs Azure Site Recovery: New version/2021 08 01 (#15841) * New Version 2021-08-01 * New Version 2021-08-01 * Adding new storage account input * Adding default value for automationAccount authentication type * Fixing indenation * removing new storage account changes Co-authored-by: Nilesh Gupta --- ...crosoft.RecoveryServices.SiteRecovery.json | 4392 +++++++++++++++++ schemas/common/autogeneratedResources.json | 42 + 2 files changed, 4434 insertions(+) create mode 100644 schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json diff --git a/schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json b/schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json new file mode 100644 index 0000000000..ff7b4af60d --- /dev/null +++ b/schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json @@ -0,0 +1,4392 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.RecoveryServices", + "description": "Microsoft RecoveryServices Resource Types", + "resourceDefinitions": { + "vaults_replicationAlertSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the email notification(alert) configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConfigureAlertRequestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a configure alert request." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationAlertSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationAlertSettings" + }, + "vaults_replicationFabrics": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "Name of the ASR fabric." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/FabricCreationInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of site details provided during the time of site creation." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/vaults_replicationFabrics_replicationProtectionContainers_childResource" + }, + { + "$ref": "#/definitions/vaults_replicationFabrics_replicationRecoveryServicesProviders_childResource" + }, + { + "$ref": "#/definitions/vaults_replicationFabrics_replicationvCenters_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationFabrics" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics" + }, + "vaults_replicationFabrics_replicationNetworks_replicationNetworkMappings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "Network mapping name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateNetworkMappingInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Common input details for network mapping operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings" + }, + "vaults_replicationFabrics_replicationProtectionContainers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "Unique protection container ARM name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateProtectionContainerInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create protection container input properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/vaults_replicationFabrics_replicationProtectionContainers_replicationMigrationItems_childResource" + }, + { + "$ref": "#/definitions/vaults_replicationFabrics_replicationProtectionContainers_replicationProtectedItems_childResource" + }, + { + "$ref": "#/definitions/vaults_replicationFabrics_replicationProtectionContainers_replicationProtectionContainerMappings_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers" + }, + "vaults_replicationFabrics_replicationProtectionContainers_replicationMigrationItems": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "Migration item name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EnableMigrationInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable migration input properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems" + }, + "vaults_replicationFabrics_replicationProtectionContainers_replicationProtectedItems": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "A name for the replication protected item." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EnableProtectionInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable protection input properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems" + }, + "vaults_replicationFabrics_replicationProtectionContainers_replicationProtectionContainerMappings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "Protection container mapping name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateProtectionContainerMappingInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configure pairing input properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings" + }, + "vaults_replicationFabrics_replicationRecoveryServicesProviders": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "Recovery services provider name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AddRecoveryServicesProviderInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an add provider request." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders" + }, + "vaults_replicationFabrics_replicationStorageClassifications_replicationStorageClassificationMappings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "Storage classification mapping name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/StorageMappingInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage mapping input properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings" + }, + "vaults_replicationFabrics_replicationvCenters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "vcenter name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AddVCenterRequestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an add vCenter request." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters" + }, + "vaults_replicationPolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "Replication policy name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreatePolicyInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy creation properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationPolicies" + }, + "vaults_replicationProtectionIntents": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "A name for the replication protection item." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateProtectionIntentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create protection intent input properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationProtectionIntents" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationProtectionIntents" + }, + "vaults_replicationRecoveryPlans": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "Recovery plan name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateRecoveryPlanInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery plan creation properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationRecoveryPlans" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationRecoveryPlans" + }, + "vaults_replicationVaultSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "Vault setting name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VaultSettingCreationInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input to create vault setting." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.RecoveryServices/vaults/replicationVaultSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationVaultSettings" + } + }, + "definitions": { + "A2AContainerCreationInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "A2A" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "A2A cloud creation input." + }, + "A2AContainerMappingInput": { + "type": "object", + "properties": { + "agentAutoUpdateStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating whether the auto update is enabled." + }, + "automationAccountArmId": { + "type": "string", + "description": "The automation account arm id." + }, + "automationAccountAuthenticationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "RunAsAccount", + "SystemAssignedIdentity" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating the type authentication to use for automation Account." + }, + "instanceType": { + "type": "string", + "enum": [ + "A2A" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "A2A container mapping input." + }, + "A2ACreateProtectionIntentInput": { + "type": "object", + "properties": { + "agentAutoUpdateStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating whether the auto update is enabled." + }, + "automationAccountArmId": { + "type": "string", + "description": "The automation account arm id." + }, + "automationAccountAuthenticationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "RunAsAccount", + "SystemAssignedIdentity" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating the authentication type for automation account. The default value is \"RunAsAccount\"." + }, + "autoProtectionOfDataDisk": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating whether the auto protection is enabled." + }, + "diskEncryptionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery disk encryption info (BEK and KEK)." + }, + "fabricObjectId": { + "type": "string", + "description": "The fabric specific object Id of the virtual machine." + }, + "instanceType": { + "type": "string", + "enum": [ + "A2A" + ] + }, + "multiVmGroupId": { + "type": "string", + "description": "The multi vm group id." + }, + "multiVmGroupName": { + "type": "string", + "description": "The multi vm group name." + }, + "primaryLocation": { + "type": "string", + "description": "The primary location for the virtual machine." + }, + "primaryStagingStorageAccountCustomInput": { + "oneOf": [ + { + "$ref": "#/definitions/StorageAccountCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage account custom input." + }, + "protectionProfileCustomInput": { + "oneOf": [ + { + "$ref": "#/definitions/ProtectionProfileCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Protection Profile custom input." + }, + "recoveryAvailabilitySetCustomInput": { + "oneOf": [ + { + "$ref": "#/definitions/RecoveryAvailabilitySetCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery Availability Set custom input." + }, + "recoveryAvailabilityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Single", + "AvailabilitySet", + "AvailabilityZone" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The recovery availability type of the virtual machine." + }, + "recoveryAvailabilityZone": { + "type": "string", + "description": "The recovery availability zone." + }, + "recoveryBootDiagStorageAccount": { + "oneOf": [ + { + "$ref": "#/definitions/StorageAccountCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage account custom input." + }, + "recoveryLocation": { + "type": "string", + "description": "The recovery location for the virtual machine." + }, + "recoveryProximityPlacementGroupCustomInput": { + "oneOf": [ + { + "$ref": "#/definitions/RecoveryProximityPlacementGroupCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery Proximity placement group custom input." + }, + "recoveryResourceGroupId": { + "type": "string", + "description": "The recovery resource group Id. Valid for V2 scenarios." + }, + "recoverySubscriptionId": { + "type": "string", + "description": "The recovery subscription Id of the virtual machine." + }, + "recoveryVirtualNetworkCustomInput": { + "oneOf": [ + { + "$ref": "#/definitions/RecoveryVirtualNetworkCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery Virtual network custom input." + }, + "vmDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/A2AProtectionIntentDiskInputDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of vm disk inputs." + }, + "vmManagedDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/A2AProtectionIntentManagedDiskInputDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of vm managed disk inputs." + } + }, + "required": [ + "fabricObjectId", + "instanceType", + "primaryLocation", + "recoveryAvailabilityType", + "recoveryLocation", + "recoveryResourceGroupId", + "recoverySubscriptionId" + ], + "description": "A2A create protection intent input." + }, + "A2ACrossClusterMigrationContainerCreationInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "A2ACrossClusterMigration" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "A2ACrossClusterMigration cloud creation input." + }, + "A2ACrossClusterMigrationEnableProtectionInput": { + "type": "object", + "properties": { + "fabricObjectId": { + "type": "string", + "description": "The fabric specific object Id of the virtual machine." + }, + "instanceType": { + "type": "string", + "enum": [ + "A2ACrossClusterMigration" + ] + }, + "recoveryContainerId": { + "type": "string", + "description": "The recovery container Id." + } + }, + "required": [ + "instanceType" + ], + "description": "A2A Cross-Cluster Migration enable protection input." + }, + "A2ACrossClusterMigrationPolicyCreationInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "A2ACrossClusterMigration" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "A2A Cross-Cluster Migration Policy creation input." + }, + "A2AEnableProtectionInput": { + "type": "object", + "properties": { + "diskEncryptionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery disk encryption info (BEK and KEK)." + }, + "fabricObjectId": { + "type": "string", + "description": "The fabric specific object Id of the virtual machine." + }, + "instanceType": { + "type": "string", + "enum": [ + "A2A" + ] + }, + "multiVmGroupId": { + "type": "string", + "description": "The multi vm group id." + }, + "multiVmGroupName": { + "type": "string", + "description": "The multi vm group name." + }, + "recoveryAvailabilitySetId": { + "type": "string", + "description": "The recovery availability set Id." + }, + "recoveryAvailabilityZone": { + "type": "string", + "description": "The recovery availability zone." + }, + "recoveryAzureNetworkId": { + "type": "string", + "description": "The recovery Azure virtual network ARM id." + }, + "recoveryBootDiagStorageAccountId": { + "type": "string", + "description": "The boot diagnostic storage account." + }, + "recoveryCapacityReservationGroupId": { + "type": "string", + "description": "The recovery capacity reservation group Id." + }, + "recoveryCloudServiceId": { + "type": "string", + "description": "The recovery cloud service Id. Valid for V1 scenarios." + }, + "recoveryContainerId": { + "type": "string", + "description": "The recovery container Id." + }, + "recoveryProximityPlacementGroupId": { + "type": "string", + "description": "The recovery proximity placement group Id." + }, + "recoveryResourceGroupId": { + "type": "string", + "description": "The recovery resource group Id. Valid for V2 scenarios." + }, + "recoverySubnetName": { + "type": "string", + "description": "The recovery subnet name." + }, + "recoveryVirtualMachineScaleSetId": { + "type": "string", + "description": "The virtual machine scale set Id." + }, + "vmDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/A2AVmDiskInputDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of vm disk details." + }, + "vmManagedDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/A2AVmManagedDiskInputDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of vm managed disk details." + } + }, + "required": [ + "fabricObjectId", + "instanceType" + ], + "description": "A2A enable protection input." + }, + "A2APolicyCreationInput": { + "type": "object", + "properties": { + "appConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The app consistent snapshot frequency (in minutes)." + }, + "crashConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The crash consistent snapshot frequency (in minutes)." + }, + "instanceType": { + "type": "string", + "enum": [ + "A2A" + ] + }, + "multiVmSyncStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or 'Disabled'." + }, + "recoveryPointHistory": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The duration in minutes until which the recovery points need to be stored." + } + }, + "required": [ + "instanceType", + "multiVmSyncStatus" + ], + "description": "A2A Policy creation input." + }, + "A2AProtectionIntentDiskInputDetails": { + "type": "object", + "properties": { + "diskUri": { + "type": "string", + "description": "The disk Uri." + }, + "primaryStagingStorageAccountCustomInput": { + "oneOf": [ + { + "$ref": "#/definitions/StorageAccountCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage account custom input." + }, + "recoveryAzureStorageAccountCustomInput": { + "oneOf": [ + { + "$ref": "#/definitions/StorageAccountCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage account custom input." + } + }, + "required": [ + "diskUri" + ], + "description": "Azure VM unmanaged disk input details." + }, + "A2AProtectionIntentManagedDiskInputDetails": { + "type": "object", + "properties": { + "diskEncryptionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery disk encryption info (BEK and KEK)." + }, + "diskId": { + "type": "string", + "description": "The disk Id." + }, + "primaryStagingStorageAccountCustomInput": { + "oneOf": [ + { + "$ref": "#/definitions/StorageAccountCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage account custom input." + }, + "recoveryDiskEncryptionSetId": { + "type": "string", + "description": "The recovery disk encryption set Id." + }, + "recoveryReplicaDiskAccountType": { + "type": "string", + "description": "The replica disk type. Its an optional value and will be same as source disk type if not user provided." + }, + "recoveryResourceGroupCustomInput": { + "oneOf": [ + { + "$ref": "#/definitions/RecoveryResourceGroupCustomDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery Resource Group custom input." + }, + "recoveryTargetDiskAccountType": { + "type": "string", + "description": "The target disk type after failover. Its an optional value and will be same as source disk type if not user provided." + } + }, + "required": [ + "diskId" + ], + "description": "Azure VM managed disk input details." + }, + "A2AVmDiskInputDetails": { + "type": "object", + "properties": { + "diskUri": { + "type": "string", + "description": "The disk Uri." + }, + "primaryStagingAzureStorageAccountId": { + "type": "string", + "description": "The primary staging storage account Id." + }, + "recoveryAzureStorageAccountId": { + "type": "string", + "description": "The recovery VHD storage account Id." + } + }, + "required": [ + "diskUri", + "primaryStagingAzureStorageAccountId", + "recoveryAzureStorageAccountId" + ], + "description": "A2A disk input details." + }, + "A2AVmManagedDiskInputDetails": { + "type": "object", + "properties": { + "diskEncryptionInfo": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery disk encryption info (BEK and KEK)." + }, + "diskId": { + "type": "string", + "description": "The disk Id." + }, + "primaryStagingAzureStorageAccountId": { + "type": "string", + "description": "The primary staging storage account Arm Id." + }, + "recoveryDiskEncryptionSetId": { + "type": "string", + "description": "The recovery disk encryption set Id." + }, + "recoveryReplicaDiskAccountType": { + "type": "string", + "description": "The replica disk type. Its an optional value and will be same as source disk type if not user provided." + }, + "recoveryResourceGroupId": { + "type": "string", + "description": "The target resource group Arm Id." + }, + "recoveryTargetDiskAccountType": { + "type": "string", + "description": "The target disk type after failover. Its an optional value and will be same as source disk type if not user provided." + } + }, + "required": [ + "diskId", + "primaryStagingAzureStorageAccountId", + "recoveryResourceGroupId" + ], + "description": "A2A managed disk input details." + }, + "AddRecoveryServicesProviderInputProperties": { + "type": "object", + "properties": { + "authenticationIdentityInput": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProviderInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity provider input." + }, + "biosId": { + "type": "string", + "description": "The Bios Id of the machine." + }, + "dataPlaneAuthenticationIdentityInput": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProviderInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity provider input." + }, + "machineId": { + "type": "string", + "description": "The Id of the machine where the provider is getting added." + }, + "machineName": { + "type": "string", + "description": "The name of the machine where the provider is getting added." + }, + "resourceAccessIdentityInput": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProviderInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity provider input." + } + }, + "required": [ + "authenticationIdentityInput", + "machineName", + "resourceAccessIdentityInput" + ], + "description": "The properties of an add provider request." + }, + "AddVCenterRequestProperties": { + "type": "object", + "properties": { + "friendlyName": { + "type": "string", + "description": "The friendly name of the vCenter." + }, + "ipAddress": { + "type": "string", + "description": "The IP address of the vCenter to be discovered." + }, + "port": { + "type": "string", + "description": "The port number for discovery." + }, + "processServerId": { + "type": "string", + "description": "The process server Id from where the discovery is orchestrated." + }, + "runAsAccountId": { + "type": "string", + "description": "The account Id which has privileges to discover the vCenter." + } + }, + "description": "The properties of an add vCenter request." + }, + "AzureFabricCreationInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "Azure" + ] + }, + "location": { + "type": "string", + "description": "The Location." + } + }, + "required": [ + "instanceType" + ], + "description": "Fabric provider specific settings." + }, + "AzureToAzureCreateNetworkMappingInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "AzureToAzure" + ] + }, + "primaryNetworkId": { + "type": "string", + "description": "The primary azure vnet Id." + } + }, + "required": [ + "instanceType", + "primaryNetworkId" + ], + "description": "Create network mappings input properties/behavior specific to Azure to Azure Network mapping." + }, + "ConfigureAlertRequestProperties": { + "type": "object", + "properties": { + "customEmailAddresses": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The custom email address for sending emails." + }, + "locale": { + "type": "string", + "description": "The locale for the email notification." + }, + "sendToOwners": { + "type": "string", + "description": "A value indicating whether to send email to subscription administrator." + } + }, + "description": "Properties of a configure alert request." + }, + "CreateNetworkMappingInputProperties": { + "type": "object", + "properties": { + "fabricSpecificDetails": { + "oneOf": [ + { + "$ref": "#/definitions/FabricSpecificCreateNetworkMappingInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Input details specific to fabrics during Network Mapping." + }, + "recoveryFabricName": { + "type": "string", + "description": "Recovery fabric Name." + }, + "recoveryNetworkId": { + "type": "string", + "description": "Recovery network Id." + } + }, + "required": [ + "recoveryNetworkId" + ], + "description": "Common input details for network mapping operation." + }, + "CreatePolicyInputProperties": { + "type": "object", + "properties": { + "providerSpecificInput": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyProviderSpecificInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for provider specific input." + } + }, + "description": "Policy creation properties." + }, + "CreateProtectionContainerInputProperties": { + "type": "object", + "properties": { + "providerSpecificInput": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ReplicationProviderSpecificContainerCreationInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provider specific inputs for container creation." + } + }, + "description": "Create protection container input properties." + }, + "CreateProtectionContainerMappingInputProperties": { + "type": "object", + "properties": { + "policyId": { + "type": "string", + "description": "Applicable policy." + }, + "providerSpecificInput": { + "oneOf": [ + { + "$ref": "#/definitions/ReplicationProviderSpecificContainerMappingInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provider specific input for pairing operations." + }, + "targetProtectionContainerId": { + "type": "string", + "description": "The target unique protection container name." + } + }, + "description": "Configure pairing input properties." + }, + "CreateProtectionIntentProperties": { + "type": "object", + "properties": { + "providerSpecificDetails": { + "oneOf": [ + { + "$ref": "#/definitions/CreateProtectionIntentProviderSpecificDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create protection intent provider specific input." + } + }, + "description": "Create protection intent input properties." + }, + "CreateProtectionIntentProviderSpecificDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/A2ACreateProtectionIntentInput" + } + ], + "properties": {}, + "description": "Create protection intent provider specific input." + }, + "CreateRecoveryPlanInputProperties": { + "type": "object", + "properties": { + "failoverDeploymentModel": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotApplicable", + "Classic", + "ResourceManager" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The failover deployment model." + }, + "groups": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RecoveryPlanGroup" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The recovery plan groups." + }, + "primaryFabricId": { + "type": "string", + "description": "The primary fabric Id." + }, + "providerSpecificInput": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RecoveryPlanProviderSpecificInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The provider specific input." + }, + "recoveryFabricId": { + "type": "string", + "description": "The recovery fabric Id." + } + }, + "required": [ + "groups", + "primaryFabricId", + "recoveryFabricId" + ], + "description": "Recovery plan creation properties." + }, + "DiskEncryptionInfo": { + "type": "object", + "properties": { + "diskEncryptionKeyInfo": { + "oneOf": [ + { + "$ref": "#/definitions/DiskEncryptionKeyInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Disk Encryption Key Information (BitLocker Encryption Key (BEK) on Windows)." + }, + "keyEncryptionKeyInfo": { + "oneOf": [ + { + "$ref": "#/definitions/KeyEncryptionKeyInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key Encryption Key (KEK) information." + } + }, + "description": "Recovery disk encryption info (BEK and KEK)." + }, + "DiskEncryptionKeyInfo": { + "type": "object", + "properties": { + "keyVaultResourceArmId": { + "type": "string", + "description": "The KeyVault resource ARM id for secret." + }, + "secretIdentifier": { + "type": "string", + "description": "The secret url / identifier." + } + }, + "description": "Disk Encryption Key Information (BitLocker Encryption Key (BEK) on Windows)." + }, + "EnableMigrationInputProperties": { + "type": "object", + "properties": { + "policyId": { + "type": "string", + "description": "The policy Id." + }, + "providerSpecificDetails": { + "oneOf": [ + { + "$ref": "#/definitions/EnableMigrationProviderSpecificInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable migration provider specific input." + } + }, + "required": [ + "policyId", + "providerSpecificDetails" + ], + "description": "Enable migration input properties." + }, + "EnableMigrationProviderSpecificInput": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/VMwareCbtEnableMigrationInput" + } + ], + "properties": {}, + "description": "Enable migration provider specific input." + }, + "EnableProtectionInputProperties": { + "type": "object", + "properties": { + "policyId": { + "type": "string", + "description": "The Policy Id." + }, + "protectableItemId": { + "type": "string", + "description": "The protectable item Id." + }, + "providerSpecificDetails": { + "oneOf": [ + { + "$ref": "#/definitions/EnableProtectionProviderSpecificInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable protection provider specific input." + } + }, + "description": "Enable protection input properties." + }, + "EnableProtectionProviderSpecificInput": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/A2ACrossClusterMigrationEnableProtectionInput" + }, + { + "$ref": "#/definitions/A2AEnableProtectionInput" + }, + { + "$ref": "#/definitions/HyperVReplicaAzureEnableProtectionInput" + }, + { + "$ref": "#/definitions/InMageAzureV2EnableProtectionInput" + }, + { + "$ref": "#/definitions/InMageEnableProtectionInput" + }, + { + "$ref": "#/definitions/InMageRcmEnableProtectionInput" + } + ], + "properties": {}, + "description": "Enable protection provider specific input." + }, + "ExistingProtectionProfile": { + "type": "object", + "properties": { + "protectionProfileId": { + "type": "string", + "description": "The protection profile Arm Id. Throw error, if resource does not exists." + }, + "resourceType": { + "type": "string", + "enum": [ + "Existing" + ] + } + }, + "required": [ + "protectionProfileId", + "resourceType" + ], + "description": "Existing storage account input." + }, + "ExistingRecoveryAvailabilitySet": { + "type": "object", + "properties": { + "recoveryAvailabilitySetId": { + "type": "string", + "description": "The recovery availability set Id. Will throw error, if resource does not exist." + }, + "resourceType": { + "type": "string", + "enum": [ + "Existing" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Existing recovery availability set input." + }, + "ExistingRecoveryProximityPlacementGroup": { + "type": "object", + "properties": { + "recoveryProximityPlacementGroupId": { + "type": "string", + "description": "The recovery proximity placement group Id. Will throw error, if resource does not exist." + }, + "resourceType": { + "type": "string", + "enum": [ + "Existing" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Existing recovery proximity placement group input." + }, + "ExistingRecoveryRecoveryResourceGroup": { + "type": "object", + "properties": { + "recoveryResourceGroupId": { + "type": "string", + "description": "The recovery resource group Id. Valid for V2 scenarios." + }, + "resourceType": { + "type": "string", + "enum": [ + "Existing" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Existing recovery resource group input." + }, + "ExistingRecoveryVirtualNetwork": { + "type": "object", + "properties": { + "recoverySubnetName": { + "type": "string", + "description": "The recovery subnet name." + }, + "recoveryVirtualNetworkId": { + "type": "string", + "description": "The recovery virtual network Id. Will throw error, if resource does not exist." + }, + "resourceType": { + "type": "string", + "enum": [ + "Existing" + ] + } + }, + "required": [ + "recoveryVirtualNetworkId", + "resourceType" + ], + "description": "Existing recovery virtual network input." + }, + "ExistingStorageAccount": { + "type": "object", + "properties": { + "azureStorageAccountId": { + "type": "string", + "description": "The storage account Arm Id. Throw error, if resource does not exists." + }, + "resourceType": { + "type": "string", + "enum": [ + "Existing" + ] + } + }, + "required": [ + "azureStorageAccountId", + "resourceType" + ], + "description": "Existing storage account input." + }, + "FabricCreationInputProperties": { + "type": "object", + "properties": { + "customDetails": { + "oneOf": [ + { + "$ref": "#/definitions/FabricSpecificCreationInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Fabric provider specific settings." + } + }, + "description": "Properties of site details provided during the time of site creation." + }, + "FabricSpecificCreateNetworkMappingInput": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureToAzureCreateNetworkMappingInput" + }, + { + "$ref": "#/definitions/VmmToAzureCreateNetworkMappingInput" + }, + { + "$ref": "#/definitions/VmmToVmmCreateNetworkMappingInput" + } + ], + "properties": {}, + "description": "Input details specific to fabrics during Network Mapping." + }, + "FabricSpecificCreationInput": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureFabricCreationInput" + }, + { + "$ref": "#/definitions/InMageRcmFabricCreationInput" + }, + { + "$ref": "#/definitions/VMwareV2FabricCreationInput" + } + ], + "properties": {}, + "description": "Fabric provider specific settings." + }, + "HyperVReplicaAzureDiskInputDetails": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "The DiskEncryptionSet ARM ID." + }, + "diskId": { + "type": "string", + "description": "The DiskId." + }, + "diskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The DiskType." + }, + "logStorageAccountId": { + "type": "string", + "description": "The LogStorageAccountId." + } + }, + "description": "Disk input details." + }, + "HyperVReplicaAzureEnableProtectionInput": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "The DiskEncryptionSet ARM Id." + }, + "disksToInclude": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of VHD Ids of disks to be protected." + }, + "disksToIncludeForManagedDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/HyperVReplicaAzureDiskInputDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disks to include list for managed disks." + }, + "diskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The DiskType." + }, + "enableRdpOnTargetOption": { + "type": "string", + "description": "The selected option to enable RDP\\SSH on target vm after failover. String value of SrsDataContract.EnableRDPOnTargetOption enum." + }, + "hvHostVmId": { + "type": "string", + "description": "The Hyper-V host VM Id." + }, + "instanceType": { + "type": "string", + "enum": [ + "HyperVReplicaAzure" + ] + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "NoLicenseType", + "WindowsServer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "License type." + }, + "logStorageAccountId": { + "type": "string", + "description": "The storage account to be used for logging during replication." + }, + "osType": { + "type": "string", + "description": "The OS type associated with VM." + }, + "seedManagedDiskTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the seed managed disks." + }, + "sqlServerLicenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "NoLicenseType", + "PAYG", + "AHUB" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SQL Server license type." + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "The target availability set ARM Id for resource manager deployment." + }, + "targetAvailabilityZone": { + "type": "string", + "description": "The target availability zone." + }, + "targetAzureNetworkId": { + "type": "string", + "description": "The selected target Azure network Id." + }, + "targetAzureSubnetId": { + "type": "string", + "description": "The selected target Azure subnet Id." + }, + "targetAzureV1ResourceGroupId": { + "type": "string", + "description": "The Id of the target resource group (for classic deployment) in which the failover VM is to be created." + }, + "targetAzureV2ResourceGroupId": { + "type": "string", + "description": "The Id of the target resource group (for resource manager deployment) in which the failover VM is to be created." + }, + "targetAzureVmName": { + "type": "string", + "description": "The target azure VM Name." + }, + "targetManagedDiskTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the target managed disks." + }, + "targetNicTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the target NICs." + }, + "targetProximityPlacementGroupId": { + "type": "string", + "description": "The proximity placement group ARM Id." + }, + "targetStorageAccountId": { + "type": "string", + "description": "The storage account Id." + }, + "targetVmSize": { + "type": "string", + "description": "The target VM size." + }, + "targetVmTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target VM tags." + }, + "useManagedDisks": { + "type": "string", + "description": "A value indicating whether managed disks should be used during failover." + }, + "useManagedDisksForReplication": { + "type": "string", + "description": "A value indicating whether managed disks should be used during replication." + }, + "vhdId": { + "type": "string", + "description": "The OS disk VHD id associated with VM." + }, + "vmName": { + "type": "string", + "description": "The VM Name." + } + }, + "required": [ + "instanceType" + ], + "description": "HyperVReplicaAzure specific enable protection input." + }, + "HyperVReplicaAzurePolicyInput": { + "type": "object", + "properties": { + "applicationConsistentSnapshotFrequencyInHours": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The interval (in hours) at which Hyper-V Replica should create an application consistent snapshot within the VM." + }, + "instanceType": { + "type": "string", + "enum": [ + "HyperVReplicaAzure" + ] + }, + "onlineReplicationStartTime": { + "type": "string", + "description": "The scheduled start time for the initial replication. If this parameter is Null, the initial replication starts immediately." + }, + "recoveryPointHistoryDuration": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The duration (in hours) to which point the recovery history needs to be maintained." + }, + "replicationInterval": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The replication interval." + }, + "storageAccounts": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of storage accounts to which the VMs in the primary cloud can replicate to." + } + }, + "required": [ + "instanceType" + ], + "description": "Hyper-V Replica Azure specific input for creating a protection profile." + }, + "HyperVReplicaBluePolicyInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "HyperVReplica2012R2" + ] + }, + "replicationFrequencyInSeconds": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating the replication interval." + } + }, + "required": [ + "instanceType" + ], + "description": "HyperV Replica Blue policy input." + }, + "HyperVReplicaPolicyInput": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/HyperVReplicaBluePolicyInput" + } + ], + "properties": { + "allowedAuthenticationType": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating the authentication type." + }, + "applicationConsistentSnapshotFrequencyInHours": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating the application consistent frequency." + }, + "compression": { + "type": "string", + "description": "A value indicating whether compression has to be enabled." + }, + "initialReplicationMethod": { + "type": "string", + "description": "A value indicating whether IR is online." + }, + "instanceType": { + "type": "string", + "enum": [ + "HyperVReplica2012" + ] + }, + "offlineReplicationExportPath": { + "type": "string", + "description": "A value indicating the offline IR export path." + }, + "offlineReplicationImportPath": { + "type": "string", + "description": "A value indicating the offline IR import path." + }, + "onlineReplicationStartTime": { + "type": "string", + "description": "A value indicating the online IR start time." + }, + "recoveryPoints": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating the number of recovery points." + }, + "replicaDeletion": { + "type": "string", + "description": "A value indicating whether the VM has to be auto deleted." + }, + "replicationPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating the recovery HTTPS port." + } + }, + "required": [ + "instanceType" + ], + "description": "Hyper-V Replica specific policy Input." + }, + "IdentityProviderInput": { + "type": "object", + "properties": { + "aadAuthority": { + "type": "string", + "description": "The base authority for Azure Active Directory authentication." + }, + "applicationId": { + "type": "string", + "description": "The 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": "The intended Audience of the service principal with which the on-premise management/data plane components would communicate with our Azure services." + }, + "objectId": { + "type": "string", + "description": "The 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": "The tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services." + } + }, + "required": [ + "aadAuthority", + "applicationId", + "audience", + "objectId", + "tenantId" + ], + "description": "Identity provider input." + }, + "InMageAzureV2DiskInputDetails": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "The DiskEncryptionSet ARM ID." + }, + "diskId": { + "type": "string", + "description": "The DiskId." + }, + "diskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The DiskType." + }, + "logStorageAccountId": { + "type": "string", + "description": "The LogStorageAccountId." + } + }, + "description": "Disk input details." + }, + "InMageAzureV2EnableProtectionInput": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "The DiskEncryptionSet ARM Id." + }, + "disksToInclude": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/InMageAzureV2DiskInputDetails" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disks to include list." + }, + "diskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The DiskType." + }, + "enableRdpOnTargetOption": { + "type": "string", + "description": "The selected option to enable RDP\\SSH on target VM after failover. String value of SrsDataContract.EnableRDPOnTargetOption enum." + }, + "instanceType": { + "type": "string", + "enum": [ + "InMageAzureV2" + ] + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "NoLicenseType", + "WindowsServer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "License type." + }, + "logStorageAccountId": { + "type": "string", + "description": "The storage account to be used for logging during replication." + }, + "masterTargetId": { + "type": "string", + "description": "The Master target Id." + }, + "multiVmGroupId": { + "type": "string", + "description": "The multi VM group Id." + }, + "multiVmGroupName": { + "type": "string", + "description": "The multi VM group name." + }, + "processServerId": { + "type": "string", + "description": "The Process Server Id." + }, + "runAsAccountId": { + "type": "string", + "description": "The CS account Id." + }, + "seedManagedDiskTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the seed managed disks." + }, + "sqlServerLicenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "NoLicenseType", + "PAYG", + "AHUB" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SQL Server license type." + }, + "storageAccountId": { + "type": "string", + "description": "The storage account Id." + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "The target availability set ARM Id for resource manager deployment." + }, + "targetAvailabilityZone": { + "type": "string", + "description": "The target availability zone." + }, + "targetAzureNetworkId": { + "type": "string", + "description": "The selected target Azure network Id." + }, + "targetAzureSubnetId": { + "type": "string", + "description": "The selected target Azure subnet Id." + }, + "targetAzureV1ResourceGroupId": { + "type": "string", + "description": "The Id of the target resource group (for classic deployment) in which the failover VM is to be created." + }, + "targetAzureV2ResourceGroupId": { + "type": "string", + "description": "The Id of the target resource group (for resource manager deployment) in which the failover VM is to be created." + }, + "targetAzureVmName": { + "type": "string", + "description": "The target azure VM Name." + }, + "targetManagedDiskTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the target managed disks." + }, + "targetNicTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the target NICs." + }, + "targetProximityPlacementGroupId": { + "type": "string", + "description": "The proximity placement group ARM Id." + }, + "targetVmSize": { + "type": "string", + "description": "The target VM size." + }, + "targetVmTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target VM tags." + } + }, + "required": [ + "instanceType" + ], + "description": "VMware Azure specific enable protection input." + }, + "InMageAzureV2PolicyInput": { + "type": "object", + "properties": { + "appConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The app consistent snapshot frequency (in minutes)." + }, + "crashConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The crash consistent snapshot frequency (in minutes)." + }, + "instanceType": { + "type": "string", + "enum": [ + "InMageAzureV2" + ] + }, + "multiVmSyncStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or 'Disabled'." + }, + "recoveryPointHistory": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The duration in minutes until which the recovery points need to be stored." + }, + "recoveryPointThresholdInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The recovery point threshold in minutes." + } + }, + "required": [ + "instanceType", + "multiVmSyncStatus" + ], + "description": "VMWare Azure specific policy Input." + }, + "InMageDiskExclusionInput": { + "type": "object", + "properties": { + "diskSignatureOptions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/InMageDiskSignatureExclusionOptions" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The guest disk signature based option for disk exclusion." + }, + "volumeOptions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/InMageVolumeExclusionOptions" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The volume label based option for disk exclusion." + } + }, + "description": "DiskExclusionInput when doing enable protection of virtual machine in InMage provider." + }, + "InMageDiskSignatureExclusionOptions": { + "type": "object", + "properties": { + "diskSignature": { + "type": "string", + "description": "The guest signature of disk to be excluded from replication." + } + }, + "description": "Guest disk signature based disk exclusion option when doing enable protection of virtual machine in InMage provider." + }, + "InMageEnableProtectionInput": { + "type": "object", + "properties": { + "datastoreName": { + "type": "string", + "description": "The target datastore name." + }, + "diskExclusionInput": { + "oneOf": [ + { + "$ref": "#/definitions/InMageDiskExclusionInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DiskExclusionInput when doing enable protection of virtual machine in InMage provider." + }, + "disksToInclude": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disks to include list." + }, + "instanceType": { + "type": "string", + "enum": [ + "InMage" + ] + }, + "masterTargetId": { + "type": "string", + "description": "The Master Target Id." + }, + "multiVmGroupId": { + "type": "string", + "description": "The multi VM group Id." + }, + "multiVmGroupName": { + "type": "string", + "description": "The multi VM group name." + }, + "processServerId": { + "type": "string", + "description": "The Process Server Id." + }, + "retentionDrive": { + "type": "string", + "description": "The retention drive to use on the MT." + }, + "runAsAccountId": { + "type": "string", + "description": "The CS account Id." + }, + "vmFriendlyName": { + "type": "string", + "description": "The VM Name." + } + }, + "required": [ + "instanceType", + "masterTargetId", + "multiVmGroupId", + "multiVmGroupName", + "processServerId", + "retentionDrive" + ], + "description": "VMware Azure specific enable protection input." + }, + "InMagePolicyInput": { + "type": "object", + "properties": { + "appConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The app consistent snapshot frequency (in minutes)." + }, + "instanceType": { + "type": "string", + "enum": [ + "InMage" + ] + }, + "multiVmSyncStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or 'Disabled'." + }, + "recoveryPointHistory": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The duration in minutes until which the recovery points need to be stored." + }, + "recoveryPointThresholdInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The recovery point threshold in minutes." + } + }, + "required": [ + "instanceType", + "multiVmSyncStatus" + ], + "description": "VMWare Azure specific protection profile Input." + }, + "InMageRcmDiskInput": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "The DiskEncryptionSet ARM Id." + }, + "diskId": { + "type": "string", + "description": "The disk Id." + }, + "diskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disk type." + }, + "logStorageAccountId": { + "type": "string", + "description": "The log storage account ARM Id." + } + }, + "required": [ + "diskId", + "diskType", + "logStorageAccountId" + ], + "description": "InMageRcm disk input." + }, + "InMageRcmDisksDefaultInput": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "The DiskEncryptionSet ARM Id." + }, + "diskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disk type." + }, + "logStorageAccountId": { + "type": "string", + "description": "The log storage account ARM Id." + } + }, + "required": [ + "diskType", + "logStorageAccountId" + ], + "description": "InMageRcm disk input." + }, + "InMageRcmEnableProtectionInput": { + "type": "object", + "properties": { + "disksDefault": { + "oneOf": [ + { + "$ref": "#/definitions/InMageRcmDisksDefaultInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "InMageRcm disk input." + }, + "disksToInclude": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/InMageRcmDiskInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disks to include list." + }, + "fabricDiscoveryMachineId": { + "type": "string", + "description": "The ARM Id of discovered machine." + }, + "instanceType": { + "type": "string", + "enum": [ + "InMageRcm" + ] + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "NoLicenseType", + "WindowsServer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The license type." + }, + "multiVmGroupName": { + "type": "string", + "description": "The multi VM group name." + }, + "processServerId": { + "type": "string", + "description": "The process server Id." + }, + "runAsAccountId": { + "type": "string", + "description": "The run-as account Id." + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "The target availability set ARM Id." + }, + "targetAvailabilityZone": { + "type": "string", + "description": "The target availability zone." + }, + "targetBootDiagnosticsStorageAccountId": { + "type": "string", + "description": "The target boot diagnostics storage account ARM Id." + }, + "targetNetworkId": { + "type": "string", + "description": "The selected target network ARM Id." + }, + "targetProximityPlacementGroupId": { + "type": "string", + "description": "The target proximity placement group Id." + }, + "targetResourceGroupId": { + "type": "string", + "description": "The target resource group ARM Id." + }, + "targetSubnetName": { + "type": "string", + "description": "The selected target subnet name." + }, + "targetVmName": { + "type": "string", + "description": "The target VM name." + }, + "targetVmSize": { + "type": "string", + "description": "The target VM size." + }, + "testNetworkId": { + "type": "string", + "description": "The selected test network ARM Id." + }, + "testSubnetName": { + "type": "string", + "description": "The selected test subnet name." + } + }, + "required": [ + "fabricDiscoveryMachineId", + "instanceType", + "processServerId", + "targetResourceGroupId" + ], + "description": "InMageRcm specific enable protection input." + }, + "InMageRcmFabricCreationInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "InMageRcm" + ] + }, + "physicalSiteId": { + "type": "string", + "description": "The ARM Id of the physical site." + }, + "sourceAgentIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProviderInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity provider input." + }, + "vmwareSiteId": { + "type": "string", + "description": "The ARM Id of the VMware site." + } + }, + "required": [ + "instanceType", + "physicalSiteId", + "sourceAgentIdentity", + "vmwareSiteId" + ], + "description": "InMageRcm fabric provider specific settings." + }, + "InMageRcmFailbackPolicyCreationInput": { + "type": "object", + "properties": { + "appConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The app consistent snapshot frequency (in minutes)." + }, + "crashConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The crash consistent snapshot frequency (in minutes)." + }, + "instanceType": { + "type": "string", + "enum": [ + "InMageRcmFailback" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "InMageRcmFailback policy creation input." + }, + "InMageRcmPolicyCreationInput": { + "type": "object", + "properties": { + "appConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The app consistent snapshot frequency (in minutes)." + }, + "crashConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The crash consistent snapshot frequency (in minutes)." + }, + "enableMultiVmSync": { + "type": "string", + "description": "A value indicating whether multi-VM sync has to be enabled." + }, + "instanceType": { + "type": "string", + "enum": [ + "InMageRcm" + ] + }, + "recoveryPointHistoryInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The duration in minutes until which the recovery points need to be stored." + } + }, + "required": [ + "instanceType" + ], + "description": "InMageRcm policy creation input." + }, + "InMageVolumeExclusionOptions": { + "type": "object", + "properties": { + "onlyExcludeIfSingleVolume": { + "type": "string", + "description": "The value indicating whether to exclude multi volume disk or not. If a disk has multiple volumes and one of the volume has label matching with VolumeLabel this disk will be excluded from replication if OnlyExcludeIfSingleVolume is false." + }, + "volumeLabel": { + "type": "string", + "description": "The volume label. The disk having any volume with this label will be excluded from replication." + } + }, + "description": "Guest disk signature based disk exclusion option when doing enable protection of virtual machine in InMage provider." + }, + "KeyEncryptionKeyInfo": { + "type": "object", + "properties": { + "keyIdentifier": { + "type": "string", + "description": "The key URL / identifier." + }, + "keyVaultResourceArmId": { + "type": "string", + "description": "The KeyVault resource ARM Id for key." + } + }, + "description": "Key Encryption Key (KEK) information." + }, + "NewProtectionProfile": { + "type": "object", + "properties": { + "appConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The app consistent snapshot frequency (in minutes)." + }, + "crashConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The crash consistent snapshot frequency (in minutes)." + }, + "multiVmSyncStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enable", + "Disable" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or 'Disabled'." + }, + "policyName": { + "type": "string", + "description": "The protection profile input." + }, + "recoveryPointHistory": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The duration in minutes until which the recovery points need to be stored." + }, + "resourceType": { + "type": "string", + "enum": [ + "New" + ] + } + }, + "required": [ + "multiVmSyncStatus", + "policyName", + "resourceType" + ], + "description": "New Protection profile input." + }, + "NewRecoveryVirtualNetwork": { + "type": "object", + "properties": { + "recoveryVirtualNetworkName": { + "type": "string", + "description": "The recovery virtual network name." + }, + "recoveryVirtualNetworkResourceGroupName": { + "type": "string", + "description": "The name of the resource group to be used to create the recovery virtual network. If absent, target network would be created in the same resource group as target VM." + }, + "resourceType": { + "type": "string", + "enum": [ + "New" + ] + } + }, + "required": [ + "resourceType" + ], + "description": "Recovery virtual network input to create new virtual network from given source network." + }, + "PolicyProviderSpecificInput": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/A2ACrossClusterMigrationPolicyCreationInput" + }, + { + "$ref": "#/definitions/A2APolicyCreationInput" + }, + { + "$ref": "#/definitions/HyperVReplicaAzurePolicyInput" + }, + { + "$ref": "#/definitions/HyperVReplicaPolicyInput" + }, + { + "$ref": "#/definitions/InMageAzureV2PolicyInput" + }, + { + "$ref": "#/definitions/InMagePolicyInput" + }, + { + "$ref": "#/definitions/InMageRcmFailbackPolicyCreationInput" + }, + { + "$ref": "#/definitions/InMageRcmPolicyCreationInput" + }, + { + "$ref": "#/definitions/VMwareCbtPolicyCreationInput" + } + ], + "properties": {}, + "description": "Base class for provider specific input." + }, + "ProtectionProfileCustomDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ExistingProtectionProfile" + }, + { + "$ref": "#/definitions/NewProtectionProfile" + } + ], + "properties": {}, + "description": "Protection Profile custom input." + }, + "RecoveryAvailabilitySetCustomDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ExistingRecoveryAvailabilitySet" + } + ], + "properties": {}, + "description": "Recovery Availability Set custom input." + }, + "RecoveryPlanA2AInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "A2A" + ] + }, + "primaryZone": { + "type": "string", + "description": "The primary zone." + }, + "recoveryZone": { + "type": "string", + "description": "The recovery zone." + } + }, + "required": [ + "instanceType" + ], + "description": "Recovery plan A2A input." + }, + "RecoveryPlanAction": { + "type": "object", + "properties": { + "actionName": { + "type": "string", + "description": "The action name." + }, + "customDetails": { + "oneOf": [ + { + "$ref": "#/definitions/RecoveryPlanActionDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Recovery plan action custom details." + }, + "failoverDirections": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "PrimaryToRecovery", + "RecoveryToPrimary" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of failover directions." + }, + "failoverTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ReverseReplicate", + "Commit", + "PlannedFailover", + "UnplannedFailover", + "DisableProtection", + "TestFailover", + "TestFailoverCleanup", + "Failback", + "FinalizeFailback", + "CancelFailover", + "ChangePit", + "RepairReplication", + "SwitchProtection", + "CompleteMigration" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of failover types." + } + }, + "required": [ + "actionName", + "customDetails", + "failoverDirections", + "failoverTypes" + ], + "description": "Recovery plan action details." + }, + "RecoveryPlanActionDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/RecoveryPlanAutomationRunbookActionDetails" + }, + { + "$ref": "#/definitions/RecoveryPlanManualActionDetails" + }, + { + "$ref": "#/definitions/RecoveryPlanScriptActionDetails" + } + ], + "properties": {}, + "description": "Recovery plan action custom details." + }, + "RecoveryPlanAutomationRunbookActionDetails": { + "type": "object", + "properties": { + "fabricLocation": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Primary", + "Recovery" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The fabric location." + }, + "instanceType": { + "type": "string", + "enum": [ + "AutomationRunbookActionDetails" + ] + }, + "runbookId": { + "type": "string", + "description": "The runbook ARM Id." + }, + "timeout": { + "type": "string", + "description": "The runbook timeout." + } + }, + "required": [ + "fabricLocation", + "instanceType" + ], + "description": "Recovery plan Automation runbook action details." + }, + "RecoveryPlanGroup": { + "type": "object", + "properties": { + "endGroupActions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RecoveryPlanAction" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The end group actions." + }, + "groupType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Shutdown", + "Boot", + "Failover" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The group type." + }, + "replicationProtectedItems": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RecoveryPlanProtectedItem" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of protected items." + }, + "startGroupActions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RecoveryPlanAction" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The start group actions." + } + }, + "required": [ + "groupType" + ], + "description": "Recovery plan group details." + }, + "RecoveryPlanManualActionDetails": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The manual action description." + }, + "instanceType": { + "type": "string", + "enum": [ + "ManualActionDetails" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "Recovery plan manual action details." + }, + "RecoveryPlanProtectedItem": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ARM Id of the recovery plan protected item." + }, + "virtualMachineId": { + "type": "string", + "description": "The virtual machine Id." + } + }, + "description": "Recovery plan protected item." + }, + "RecoveryPlanProviderSpecificInput": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/RecoveryPlanA2AInput" + } + ], + "properties": {}, + "description": "Recovery plan provider specific input base class." + }, + "RecoveryPlanScriptActionDetails": { + "type": "object", + "properties": { + "fabricLocation": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Primary", + "Recovery" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The fabric location." + }, + "instanceType": { + "type": "string", + "enum": [ + "ScriptActionDetails" + ] + }, + "path": { + "type": "string", + "description": "The script path." + }, + "timeout": { + "type": "string", + "description": "The script timeout." + } + }, + "required": [ + "fabricLocation", + "instanceType", + "path" + ], + "description": "Recovery plan script action details." + }, + "RecoveryProximityPlacementGroupCustomDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ExistingRecoveryProximityPlacementGroup" + } + ], + "properties": {}, + "description": "Recovery Proximity placement group custom input." + }, + "RecoveryResourceGroupCustomDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ExistingRecoveryRecoveryResourceGroup" + } + ], + "properties": {}, + "description": "Recovery Resource Group custom input." + }, + "RecoveryVirtualNetworkCustomDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ExistingRecoveryVirtualNetwork" + }, + { + "$ref": "#/definitions/NewRecoveryVirtualNetwork" + } + ], + "properties": {}, + "description": "Recovery Virtual network custom input." + }, + "ReplicationProviderSpecificContainerCreationInput": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/A2AContainerCreationInput" + }, + { + "$ref": "#/definitions/A2ACrossClusterMigrationContainerCreationInput" + }, + { + "$ref": "#/definitions/VMwareCbtContainerCreationInput" + } + ], + "properties": {}, + "description": "Provider specific input for container creation operation." + }, + "ReplicationProviderSpecificContainerMappingInput": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/A2AContainerMappingInput" + }, + { + "$ref": "#/definitions/VMwareCbtContainerMappingInput" + } + ], + "properties": {}, + "description": "Provider specific input for pairing operations." + }, + "StorageAccountCustomDetails": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ExistingStorageAccount" + } + ], + "properties": {}, + "description": "Storage account custom input." + }, + "StorageMappingInputProperties": { + "type": "object", + "properties": { + "targetStorageClassificationId": { + "type": "string", + "description": "The ID of the storage object." + } + }, + "description": "Storage mapping input properties." + }, + "VaultSettingCreationInputProperties": { + "type": "object", + "properties": { + "migrationSolutionId": { + "type": "string", + "description": "The migration solution Id." + }, + "vmwareToAzureProviderType": { + "type": "string", + "description": "VMware to Azure provider type." + } + }, + "description": "Input to create vault setting." + }, + "vaults_replicationFabrics_replicationProtectionContainers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "Unique protection container ARM name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateProtectionContainerInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create protection container input properties." + }, + "type": { + "type": "string", + "enum": [ + "replicationProtectionContainers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers" + }, + "vaults_replicationFabrics_replicationProtectionContainers_replicationMigrationItems_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "Migration item name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EnableMigrationInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable migration input properties." + }, + "type": { + "type": "string", + "enum": [ + "replicationMigrationItems" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationMigrationItems" + }, + "vaults_replicationFabrics_replicationProtectionContainers_replicationProtectedItems_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "A name for the replication protected item." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EnableProtectionInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable protection input properties." + }, + "type": { + "type": "string", + "enum": [ + "replicationProtectedItems" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems" + }, + "vaults_replicationFabrics_replicationProtectionContainers_replicationProtectionContainerMappings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "Protection container mapping name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CreateProtectionContainerMappingInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configure pairing input properties." + }, + "type": { + "type": "string", + "enum": [ + "replicationProtectionContainerMappings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings" + }, + "vaults_replicationFabrics_replicationRecoveryServicesProviders_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "Recovery services provider name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AddRecoveryServicesProviderInputProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an add provider request." + }, + "type": { + "type": "string", + "enum": [ + "replicationRecoveryServicesProviders" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders" + }, + "vaults_replicationFabrics_replicationvCenters_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-08-01" + ] + }, + "name": { + "type": "string", + "description": "vcenter name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AddVCenterRequestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an add vCenter request." + }, + "type": { + "type": "string", + "enum": [ + "replicationvCenters" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters" + }, + "VmmToAzureCreateNetworkMappingInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "VmmToAzure" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "Create network mappings input properties/behavior specific to Vmm to Azure Network mapping." + }, + "VmmToVmmCreateNetworkMappingInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "VmmToVmm" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "Create network mappings input properties/behavior specific to vmm to vmm Network mapping." + }, + "VMwareCbtContainerCreationInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "VMwareCbt" + ] + } + }, + "required": [ + "instanceType" + ], + "description": "VMwareCbt container creation input." + }, + "VMwareCbtContainerMappingInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "VMwareCbt" + ] + }, + "keyVaultId": { + "type": "string", + "description": "The target key vault ARM Id." + }, + "keyVaultUri": { + "type": "string", + "description": "The target key vault URL." + }, + "serviceBusConnectionStringSecretName": { + "type": "string", + "description": "The secret name of the service bus connection string." + }, + "storageAccountId": { + "type": "string", + "description": "The storage account ARM Id." + }, + "storageAccountSasSecretName": { + "type": "string", + "description": "The secret name of the storage account." + }, + "targetLocation": { + "type": "string", + "description": "The target location." + } + }, + "required": [ + "instanceType", + "keyVaultId", + "keyVaultUri", + "serviceBusConnectionStringSecretName", + "storageAccountId", + "storageAccountSasSecretName", + "targetLocation" + ], + "description": "VMwareCbt container mapping input." + }, + "VMwareCbtDiskInput": { + "type": "object", + "properties": { + "diskEncryptionSetId": { + "type": "string", + "description": "The DiskEncryptionSet ARM Id." + }, + "diskId": { + "type": "string", + "description": "The disk Id." + }, + "diskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disk type." + }, + "isOSDisk": { + "type": "string", + "description": "A value indicating whether the disk is the OS disk." + }, + "logStorageAccountId": { + "type": "string", + "description": "The log storage account ARM Id." + }, + "logStorageAccountSasSecretName": { + "type": "string", + "description": "The key vault secret name of the log storage account." + } + }, + "required": [ + "diskId", + "isOSDisk", + "logStorageAccountId", + "logStorageAccountSasSecretName" + ], + "description": "VMwareCbt disk input." + }, + "VMwareCbtEnableMigrationInput": { + "type": "object", + "properties": { + "dataMoverRunAsAccountId": { + "type": "string", + "description": "The data mover run as account Id." + }, + "disksToInclude": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VMwareCbtDiskInput" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The disks to include list." + }, + "instanceType": { + "type": "string", + "enum": [ + "VMwareCbt" + ] + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "NoLicenseType", + "WindowsServer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "License type." + }, + "performAutoResync": { + "type": "string", + "description": "A value indicating whether auto resync is to be done." + }, + "seedDiskTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the seed disks." + }, + "snapshotRunAsAccountId": { + "type": "string", + "description": "The snapshot run as account Id." + }, + "sqlServerLicenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "NotSpecified", + "NoLicenseType", + "PAYG", + "AHUB" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SQL Server license type." + }, + "targetAvailabilitySetId": { + "type": "string", + "description": "The target availability set ARM Id." + }, + "targetAvailabilityZone": { + "type": "string", + "description": "The target availability zone." + }, + "targetBootDiagnosticsStorageAccountId": { + "type": "string", + "description": "The target boot diagnostics storage account ARM Id." + }, + "targetDiskTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the target disks." + }, + "targetNetworkId": { + "type": "string", + "description": "The target network ARM Id." + }, + "targetNicTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The tags for the target NICs." + }, + "targetProximityPlacementGroupId": { + "type": "string", + "description": "The target proximity placement group ARM Id." + }, + "targetResourceGroupId": { + "type": "string", + "description": "The target resource group ARM Id." + }, + "targetSubnetName": { + "type": "string", + "description": "The target subnet name." + }, + "targetVmName": { + "type": "string", + "description": "The target VM name." + }, + "targetVmSize": { + "type": "string", + "description": "The target VM size." + }, + "targetVmTags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target VM tags." + }, + "vmwareMachineId": { + "type": "string", + "description": "The ARM Id of the VM discovered in VMware." + } + }, + "required": [ + "dataMoverRunAsAccountId", + "disksToInclude", + "instanceType", + "snapshotRunAsAccountId", + "targetNetworkId", + "targetResourceGroupId", + "vmwareMachineId" + ], + "description": "VMwareCbt specific enable migration input." + }, + "VMwareCbtPolicyCreationInput": { + "type": "object", + "properties": { + "appConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The app consistent snapshot frequency (in minutes)." + }, + "crashConsistentFrequencyInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The crash consistent snapshot frequency (in minutes)." + }, + "instanceType": { + "type": "string", + "enum": [ + "VMwareCbt" + ] + }, + "recoveryPointHistoryInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The duration in minutes until which the recovery points need to be stored." + } + }, + "required": [ + "instanceType" + ], + "description": "VMware Cbt policy creation input." + }, + "VMwareV2FabricCreationInput": { + "type": "object", + "properties": { + "instanceType": { + "type": "string", + "enum": [ + "VMwareV2" + ] + }, + "migrationSolutionId": { + "type": "string", + "description": "The ARM Id of the migration solution." + }, + "physicalSiteId": { + "type": "string", + "description": "The ARM Id of the physical site." + }, + "vmwareSiteId": { + "type": "string", + "description": "The ARM Id of the VMware site." + } + }, + "required": [ + "instanceType", + "migrationSolutionId" + ], + "description": "VMwareV2 fabric provider specific settings." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 488a7023a2..8be43a818b 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -8737,6 +8737,48 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationVaultSettings" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationAlertSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationFabrics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationFabrics_replicationNetworks_replicationNetworkMappings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationFabrics_replicationProtectionContainers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationFabrics_replicationProtectionContainers_replicationMigrationItems" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationFabrics_replicationProtectionContainers_replicationProtectedItems" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationFabrics_replicationProtectionContainers_replicationProtectionContainerMappings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationFabrics_replicationRecoveryServicesProviders" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationFabrics_replicationStorageClassifications_replicationStorageClassificationMappings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationFabrics_replicationvCenters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationProtectionIntents" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationRecoveryPlans" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.SiteRecovery.json#/resourceDefinitions/vaults_replicationVaultSettings" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-04-30/Microsoft.RedHatOpenShift.json#/resourceDefinitions/openShiftClusters" }, From 0fcd6978a32e1f3e20b8bb1de33f22c9b4ba1aca Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 23 Sep 2021 03:36:12 +0000 Subject: [PATCH 230/243] CodeGen from PR 15832 in Azure/azure-rest-api-specs Microsoft.ApiManagement : Release api-version 2021-04-01-preview (#15832) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Adds base for updating Microsoft.ApiManagement from version preview/2021-01-01-preview to version 2021-04-01-preview * Updates readme * Updates API version in new specs and examples * Added support for GraphQL API type (#14851) * Added support for GraphQL API type * Added missing enum value for GraphQL APIs. * add schema definition fix from 2021-01-01-preview (#14883) Co-authored-by: Alan Feng * Vanguard: Get Outbound Network Dependency (#14900) * outbound dependency * fix resource * Update backup/restore API for managed identities (#14973) * Update backup/restore API for system-assigned and user-assigned identities * Fix formatting issue * Rename user-assigned-msi-client-id with client-id * SystemData implemenation on API Management Control Plane (#14899) * system-data * fix spec * remove unreferenced file * APIM - Network Watcher Connectivity Check integration specs (#15056) * Connectivity Check API Specs * Fix * Fix errors * style fixs * Fix 202 code * HTTPConnect request parameters * Fix errors Co-authored-by: Nicolás Barrera * Parameter examples added (#14836) * platformversion (#15114) * fix update service (#15478) * HttpConnect example (#15493) * HttpConnect example * Prettifier fix Co-authored-by: Nicolás Barrera * Added properties of difference API spec format for "SchemaDocumentProperties" (#15703) * add schema definition fix from 2021-01-01-preview * added properties for SchemaDocumentProperties * updated the fix * updated fix * [APIM]Add private endpoint connection APIs (#15115) * Add private endpoint connection apis * add readme * quick fixes * fix to PE contract * Small fixes * small fixes * small fixes * Small fixes * small fixes * small fix * small fixes * small fixes * small fixes * Update readme.md * fix error * small fix * fix format * address comments * small fixes * Change to lower case * small fixes Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> * Adds base for updating Microsoft.ApiManagement from version preview/2021-01-01-preview to version 2021-04-01-preview * Updates readme * Updates API version in new specs and examples * Added support for GraphQL API type (#14851) * Added support for GraphQL API type * Added missing enum value for GraphQL APIs. * add schema definition fix from 2021-01-01-preview (#14883) Co-authored-by: Alan Feng * Vanguard: Get Outbound Network Dependency (#14900) * outbound dependency * fix resource * Update backup/restore API for managed identities (#14973) * Update backup/restore API for system-assigned and user-assigned identities * Fix formatting issue * Rename user-assigned-msi-client-id with client-id * SystemData implemenation on API Management Control Plane (#14899) * system-data * fix spec * remove unreferenced file * APIM - Network Watcher Connectivity Check integration specs (#15056) * Connectivity Check API Specs * Fix * Fix errors * style fixs * Fix 202 code * HTTPConnect request parameters * Fix errors Co-authored-by: Nicolás Barrera * Parameter examples added (#14836) * platformversion (#15114) * fix update service (#15478) * HttpConnect example (#15493) * HttpConnect example * Prettifier fix Co-authored-by: Nicolás Barrera * Added properties of difference API spec format for "SchemaDocumentProperties" (#15703) * add schema definition fix from 2021-01-01-preview * added properties for SchemaDocumentProperties * updated the fix * updated fix * [APIM]Add private endpoint connection APIs (#15115) * Add private endpoint connection apis * add readme * quick fixes * fix to PE contract * Small fixes * small fixes * small fixes * Small fixes * small fixes * small fix * small fixes * small fixes * small fixes * Update readme.md * fix error * small fix * fix format * address comments * small fixes * Change to lower case * small fixes Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> * fix tenant sync contract * fix linter issues * examples for managed identity backup * prettier * Fix Apis-Get and updated comments for api-version 2021-04-01-preview (#3) * add schema definition fix from 2021-01-01-preview * added fix * small fix (#6) * 'examples' added to RepresentationContract (#7) Co-authored-by: Alexander Zaslonov Co-authored-by: DreamlessA Co-authored-by: Alan Feng Co-authored-by: Jatin Sanghvi <20547963+JatinSanghvi@users.noreply.github.com> Co-authored-by: Nicolás Barrera Co-authored-by: Nicolás Barrera Co-authored-by: VitaliyKurokhtin Co-authored-by: RupengLiu Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> Co-authored-by: RupengLiu Co-authored-by: VitaliyKurokhtin --- .../Microsoft.ApiManagement.json | 8117 +++++++++++++++++ schemas/common/autogeneratedResources.json | 147 + 2 files changed, 8264 insertions(+) create mode 100644 schemas/2021-04-01-preview/Microsoft.ApiManagement.json diff --git a/schemas/2021-04-01-preview/Microsoft.ApiManagement.json b/schemas/2021-04-01-preview/Microsoft.ApiManagement.json new file mode 100644 index 0000000000..8744dd9612 --- /dev/null +++ b/schemas/2021-04-01-preview/Microsoft.ApiManagement.json @@ -0,0 +1,8117 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.ApiManagement", + "description": "Microsoft ApiManagement Resource Types", + "resourceDefinitions": { + "service": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ApiManagementServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity properties of the Api Management service resource." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$", + "minLength": 1, + "maxLength": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the API Management service." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiManagementServiceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an API Management service resource description." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/service_apis_childResource" + }, + { + "$ref": "#/definitions/service_tags_childResource" + }, + { + "$ref": "#/definitions/service_apiVersionSets_childResource" + }, + { + "$ref": "#/definitions/service_authorizationServers_childResource" + }, + { + "$ref": "#/definitions/service_backends_childResource" + }, + { + "$ref": "#/definitions/service_caches_childResource" + }, + { + "$ref": "#/definitions/service_certificates_childResource" + }, + { + "$ref": "#/definitions/service_contentTypes_childResource" + }, + { + "$ref": "#/definitions/service_diagnostics_childResource" + }, + { + "$ref": "#/definitions/service_templates_childResource" + }, + { + "$ref": "#/definitions/service_gateways_childResource" + }, + { + "$ref": "#/definitions/service_groups_childResource" + }, + { + "$ref": "#/definitions/service_identityProviders_childResource" + }, + { + "$ref": "#/definitions/service_loggers_childResource" + }, + { + "$ref": "#/definitions/service_namedValues_childResource" + }, + { + "$ref": "#/definitions/service_notifications_childResource" + }, + { + "$ref": "#/definitions/service_openidConnectProviders_childResource" + }, + { + "$ref": "#/definitions/service_policies_childResource" + }, + { + "$ref": "#/definitions/service_portalRevisions_childResource" + }, + { + "$ref": "#/definitions/service_portalsettings_childResource" + }, + { + "$ref": "#/definitions/service_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/service_products_childResource" + }, + { + "$ref": "#/definitions/service_subscriptions_childResource" + }, + { + "$ref": "#/definitions/service_tenant_childResource" + }, + { + "$ref": "#/definitions/service_users_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ApiManagementServiceSkuProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API Management service resource SKU 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.ApiManagement/service" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of availability zones denoting where the resource needs to come from." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.ApiManagement/service" + }, + "service_apis": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API Create or Update Properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/service_apis_releases_childResource" + }, + { + "$ref": "#/definitions/service_apis_operations_childResource" + }, + { + "$ref": "#/definitions/service_apis_tags_childResource" + }, + { + "$ref": "#/definitions/service_apis_policies_childResource" + }, + { + "$ref": "#/definitions/service_apis_schemas_childResource" + }, + { + "$ref": "#/definitions/service_apis_diagnostics_childResource" + }, + { + "$ref": "#/definitions/service_apis_issues_childResource" + }, + { + "$ref": "#/definitions/service_apis_tagDescriptions_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis" + }, + "service_apis_diagnostics": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic Entity Properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/diagnostics" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/diagnostics" + }, + "service_apis_issues": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Issue identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IssueContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Issue contract Properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/service_apis_issues_comments_childResource" + }, + { + "$ref": "#/definitions/service_apis_issues_attachments_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/issues" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/issues" + }, + "service_apis_issues_attachments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Attachment identifier within an Issue. Must be unique in the current Issue." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IssueAttachmentContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Issue Attachment contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/issues/attachments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/issues/attachments" + }, + "service_apis_issues_comments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Comment identifier within an Issue. Must be unique in the current Issue." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IssueCommentContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Issue Comment contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/issues/comments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/issues/comments" + }, + "service_apis_operations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Operation identifier within an API. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/OperationContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Operation Contract Properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/service_apis_operations_policies_childResource" + }, + { + "$ref": "#/definitions/service_apis_operations_tags_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/operations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/operations" + }, + "service_apis_operations_policies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/policy$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identifier of the Policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/operations/policies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/operations/policies" + }, + "service_apis_operations_tags": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/operations/tags" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/operations/tags" + }, + "service_apis_policies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/policy$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identifier of the Policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/policies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/policies" + }, + "service_apis_releases": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Release identifier within an API. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiReleaseContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API Release details" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/releases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/releases" + }, + "service_apis_schemas": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schema identifier within an API. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SchemaContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API Schema create or update contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/schemas" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/schemas" + }, + "service_apis_tagDescriptions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag description identifier. Used when creating tagDescription for API/Tag association. Based on API and Tag names." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TagDescriptionBaseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create TagDescription operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/tagDescriptions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/tagDescriptions" + }, + "service_apis_tags": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apis/tags" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/tags" + }, + "service_apiVersionSets": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Api Version Set identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiVersionSetContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an API Version Set." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/apiVersionSets" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apiVersionSets" + }, + "service_authorizationServers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the authorization server." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AuthorizationServerContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "External OAuth authorization server settings Properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/authorizationServers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/authorizationServers" + }, + "service_backends": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Identifier of the Backend entity. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackendContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create Backend operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/backends" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/backends" + }, + "service_caches": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the Cache entity. Cache identifier (should be either 'default' or valid Azure region identifier)." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CacheContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Cache contract." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/caches" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/caches" + }, + "service_certificates": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the certificate entity. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the CreateOrUpdate certificate operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/certificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/certificates" + }, + "service_contentTypes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Content type identifier." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/service_contentTypes_contentItems_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/contentTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/contentTypes" + }, + "service_contentTypes_contentItems": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Content item identifier." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/contentTypes/contentItems" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/contentTypes/contentItems" + }, + "service_diagnostics": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic Entity Properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/diagnostics" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/diagnostics" + }, + "service_gateways": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Gateway contract." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/service_gateways_hostnameConfigurations_childResource" + }, + { + "$ref": "#/definitions/service_gateways_apis_childResource" + }, + { + "$ref": "#/definitions/service_gateways_certificateAuthorities_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/gateways" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/gateways" + }, + "service_gateways_apis": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "API identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AssociationContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Association entity contract properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/gateways/apis" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/gateways/apis" + }, + "service_gateways_certificateAuthorities": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the certificate entity. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayCertificateAuthorityContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gateway certificate authority details." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/gateways/certificateAuthorities" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/gateways/certificateAuthorities" + }, + "service_gateways_hostnameConfigurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Gateway hostname configuration identifier. Must be unique in the scope of parent Gateway entity." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayHostnameConfigurationContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gateway hostname configuration details." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/gateways/hostnameConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/gateways/hostnameConfigurations" + }, + "service_groups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Group identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GroupCreateParametersProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create Group operation." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/service_groups_users_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/groups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/groups" + }, + "service_groups_users": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "User identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/groups/users" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/groups/users" + }, + "service_identityProviders": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "facebook", + "google", + "microsoft", + "twitter", + "aad", + "aadB2C" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity Provider Type identifier." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProviderCreateContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The external Identity Providers like Facebook, Google, Microsoft, Twitter or Azure Active Directory which can be used to enable access to the API Management service developer portal for all users." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/identityProviders" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/identityProviders" + }, + "service_loggers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Logger identifier. Must be unique in the API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LoggerContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Logger entity in API Management represents an event sink that you can use to log API Management events. Currently the Logger entity supports logging API Management events to Azure Event Hubs." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/loggers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/loggers" + }, + "service_namedValues": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the NamedValue." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NamedValueCreateContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NamedValue Contract properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/namedValues" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/namedValues" + }, + "service_notifications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "RequestPublisherNotificationMessage", + "PurchasePublisherNotificationMessage", + "NewApplicationNotificationMessage", + "BCC", + "NewIssuePublisherNotificationMessage", + "AccountClosedPublisher", + "QuotaLimitApproachingPublisherNotificationMessage" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Notification Name Identifier." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/service_notifications_recipientUsers_childResource" + }, + { + "$ref": "#/definitions/service_notifications_recipientEmails_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/notifications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/notifications" + }, + "service_notifications_recipientEmails": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "description": "Email identifier." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/notifications/recipientEmails" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/notifications/recipientEmails" + }, + "service_notifications_recipientUsers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "User identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/notifications/recipientUsers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/notifications/recipientUsers" + }, + "service_openidConnectProviders": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the OpenID Connect Provider." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/OpenidConnectProviderContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "OpenID Connect Providers Contract." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/openidConnectProviders" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/openidConnectProviders" + }, + "service_policies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/policy$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identifier of the Policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/policies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/policies" + }, + "service_portalRevisions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Portal revision identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PortalRevisionContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/portalRevisions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/portalRevisions" + }, + "service_portalsettings": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/signin$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PortalSigninSettingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sign-in settings contract properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.ApiManagement/service/portalsettings" + }, + { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/signup$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PortalSignupSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sign-up settings contract properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.ApiManagement/service/portalsettings" + }, + { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/delegation$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PortalDelegationSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Delegation settings contract properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.ApiManagement/service/portalsettings" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/portalsettings" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.ApiManagement/service/portalsettings" + }, + "service_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "id": { + "type": "string", + "description": "Private Endpoint Connection Resource Id." + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionRequestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The connection state of the private endpoint connection." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/privateEndpointConnections" + }, + "service_products": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Product identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProductContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Product profile." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/service_products_tags_childResource" + }, + { + "$ref": "#/definitions/service_products_apis_childResource" + }, + { + "$ref": "#/definitions/service_products_groups_childResource" + }, + { + "$ref": "#/definitions/service_products_policies_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/products" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/products" + }, + "service_products_apis": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/products/apis" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/products/apis" + }, + "service_products_groups": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Group identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/products/groups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/products/groups" + }, + "service_products_policies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/policy$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identifier of the Policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/products/policies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/products/policies" + }, + "service_products_tags": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/products/tags" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/products/tags" + }, + "service_subscriptions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Subscription entity Identifier. The entity represents the association between a user and a product in API Management." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SubscriptionCreateParameterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create subscription operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/subscriptions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/subscriptions" + }, + "service_tags": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TagContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/tags" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/tags" + }, + "service_templates": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "applicationApprovedNotificationMessage", + "accountClosedDeveloper", + "quotaLimitApproachingDeveloperNotificationMessage", + "newDeveloperNotificationMessage", + "emailChangeIdentityDefault", + "inviteUserNotificationMessage", + "newCommentNotificationMessage", + "confirmSignUpIdentityDefault", + "newIssueNotificationMessage", + "purchaseDeveloperNotificationMessage", + "passwordResetIdentityDefault", + "passwordResetByAdminNotificationMessage", + "rejectDeveloperNotificationMessage", + "requestDeveloperNotificationMessage" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Email Template Name Identifier." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EmailTemplateUpdateParameterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Email Template Update Contract properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/templates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/templates" + }, + "service_tenant": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "access", + "gitAccess" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identifier of the Access configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AccessInformationCreateParameterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tenant access information update parameters of the API Management service" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/tenant" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/tenant" + }, + "service_users": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "User identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/UserCreateParameterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create User operation." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/users" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/users" + } + }, + "definitions": { + "AccessInformationCreateParameterProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether direct access is enabled." + }, + "primaryKey": { + "type": "string", + "description": "Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value." + }, + "principalId": { + "type": "string", + "description": "Principal (User) Identifier." + }, + "secondaryKey": { + "type": "string", + "description": "Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value." + } + }, + "description": "Tenant access information update parameters of the API Management service" + }, + "AdditionalLocation": { + "type": "object", + "properties": { + "disableGateway": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property only valid for an Api Management service deployed in multiple locations. This can be used to disable the gateway in this additional location." + }, + "location": { + "type": "string", + "description": "The location name of the additional region among Azure Data center regions." + }, + "publicIpAddressId": { + "type": "string", + "description": "Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed service in the location. Supported only for Premium SKU being deployed in Virtual Network." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ApiManagementServiceSkuProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API Management service resource SKU properties." + }, + "virtualNetworkConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configuration of a virtual network to which API Management service is deployed." + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of availability zones denoting where the resource needs to come from." + } + }, + "required": [ + "location", + "sku" + ], + "description": "Description of an additional API Management resource location." + }, + "ApiContactInformation": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "The email address of the contact person/organization. MUST be in the format of an email address" + }, + "name": { + "type": "string", + "description": "The identifying name of the contact person/organization" + }, + "url": { + "type": "string", + "description": "The URL pointing to the contact information. MUST be in the format of a URL" + } + }, + "description": "API contact information" + }, + "ApiCreateOrUpdateProperties": { + "type": "object", + "properties": { + "apiRevision": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "description": "Describes the revision of the API. If no value is provided, default revision 1 is created" + }, + "apiRevisionDescription": { + "type": "string", + "maxLength": 256, + "description": "Description of the API Revision." + }, + "apiType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "http", + "soap", + "websocket", + "graphql" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of API to create. \n * `http` creates a REST API \n * `soap` creates a SOAP pass-through API \n * `websocket` creates websocket API \n * `graphql` creates GraphQL API." + }, + "apiVersion": { + "type": "string", + "maxLength": 100, + "description": "Indicates the version identifier of the API if the API is versioned" + }, + "apiVersionDescription": { + "type": "string", + "maxLength": 256, + "description": "Description of the API Version." + }, + "apiVersionSet": { + "oneOf": [ + { + "$ref": "#/definitions/ApiVersionSetContractDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An API Version Set contains the common configuration for a set of API Versions relating " + }, + "apiVersionSetId": { + "type": "string", + "description": "A resource identifier for the related ApiVersionSet." + }, + "authenticationSettings": { + "oneOf": [ + { + "$ref": "#/definitions/AuthenticationSettingsContract" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API Authentication Settings." + }, + "contact": { + "oneOf": [ + { + "$ref": "#/definitions/ApiContactInformation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API contact information" + }, + "description": { + "type": "string", + "description": "Description of the API. May include HTML formatting tags." + }, + "displayName": { + "type": "string", + "minLength": 1, + "maxLength": 300, + "description": "API name. Must be 1 to 300 characters long." + }, + "format": { + "oneOf": [ + { + "type": "string", + "enum": [ + "wadl-xml", + "wadl-link-json", + "swagger-json", + "swagger-link-json", + "wsdl", + "wsdl-link", + "openapi", + "openapi+json", + "openapi-link", + "openapi+json-link", + "graphql-link" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Format of the Content in which the API is getting imported." + }, + "isCurrent": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if API revision is current api revision." + }, + "license": { + "oneOf": [ + { + "$ref": "#/definitions/ApiLicenseInformation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API license information" + }, + "path": { + "type": "string", + "minLength": 0, + "maxLength": 400, + "description": "Relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. It is appended to the API endpoint base URL specified during the service instance creation to form a public URL for this API." + }, + "protocols": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "http", + "https", + "ws", + "wss" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes on which protocols the operations in this API can be invoked." + }, + "serviceUrl": { + "type": "string", + "minLength": 0, + "maxLength": 2000, + "description": "Absolute URL of the backend service implementing this API. Cannot be more than 2000 characters long." + }, + "sourceApiId": { + "type": "string", + "description": "API identifier of the source API." + }, + "subscriptionKeyParameterNames": { + "oneOf": [ + { + "$ref": "#/definitions/SubscriptionKeyParameterNamesContract" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Subscription key parameter names details." + }, + "subscriptionRequired": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether an API or Product subscription is required for accessing the API." + }, + "termsOfServiceUrl": { + "type": "string", + "description": " A URL to the Terms of Service for the API. MUST be in the format of a URL." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "http", + "soap", + "websocket", + "graphql" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of API." + }, + "value": { + "type": "string", + "description": "Content value when Importing an API." + }, + "wsdlSelector": { + "oneOf": [ + { + "$ref": "#/definitions/ApiCreateOrUpdatePropertiesWsdlSelector" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Criteria to limit import of WSDL to a subset of the document." + } + }, + "required": [ + "path" + ], + "description": "API Create or Update Properties." + }, + "ApiCreateOrUpdatePropertiesWsdlSelector": { + "type": "object", + "properties": { + "wsdlEndpointName": { + "type": "string", + "description": "Name of endpoint(port) to import from WSDL" + }, + "wsdlServiceName": { + "type": "string", + "description": "Name of service to import from WSDL" + } + }, + "description": "Criteria to limit import of WSDL to a subset of the document." + }, + "ApiLicenseInformation": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The license name used for the API" + }, + "url": { + "type": "string", + "description": "A URL to the license used for the API. MUST be in the format of a URL" + } + }, + "description": "API license information" + }, + "ApiManagementServiceIdentity": { + "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": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserIdentityProperties" + }, + "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 \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "required": [ + "type" + ], + "description": "Identity properties of the Api Management service resource." + }, + "ApiManagementServiceProperties": { + "type": "object", + "properties": { + "additionalLocations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalLocation" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional datacenter locations of the API Management service." + }, + "apiVersionConstraint": { + "oneOf": [ + { + "$ref": "#/definitions/ApiVersionConstraint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Control Plane Apis version constraint for the API Management service." + }, + "certificates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/CertificateConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Certificates that need to be installed in the API Management service. Max supported certificates that can be installed is 10." + }, + "customProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom properties of the API Management service.
    Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2).
    Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` can be used to disable just TLS 1.1.
    Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` can be used to disable TLS 1.0 on an API Management service.
    Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` can be used to disable just TLS 1.1 for communications with backends.
    Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` can be used to disable TLS 1.0 for communications with backends.
    Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can be used to enable HTTP2 protocol on an API Management service.
    Not specifying any of these properties on PATCH operation will reset omitted properties' values to their defaults. For all the settings except Http2 the default value is `True` if the service was created on or before April 1st 2018 and `False` otherwise. Http2 setting's default value is `False`.

    You can disable any of next ciphers by using settings `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`: TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. For example, `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`. The default value is `true` for them. Note: next ciphers can't be disabled since they are required by Azure CloudService internal components: TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_256_GCM_SHA384" + }, + "disableGateway": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property only valid for an Api Management service deployed in multiple locations. This can be used to disable the gateway in master region." + }, + "enableClientCertificate": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property only meant to be used for Consumption SKU Service. This enforces a client certificate to be presented on each request to the gateway. This also enables the ability to authenticate the certificate in the policy on the gateway." + }, + "hostnameConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/HostnameConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom hostname configuration of the API Management service." + }, + "notificationSenderEmail": { + "type": "string", + "maxLength": 100, + "description": "Email address from which the notification will be sent." + }, + "privateEndpointConnections": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RemotePrivateEndpointConnectionWrapper" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Private Endpoint Connections of this service." + }, + "publicIpAddressId": { + "type": "string", + "description": "Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed service in the region. Supported only for Developer and Premium SKU being deployed in Virtual Network." + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether or not public endpoint access is allowed for this API Management service. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'." + }, + "publisherEmail": { + "type": "string", + "maxLength": 100, + "description": "Publisher email." + }, + "publisherName": { + "type": "string", + "maxLength": 100, + "description": "Publisher name." + }, + "restore": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Undelete Api Management Service if it was previously soft-deleted. If this flag is specified and set to True all other properties will be ignored." + }, + "virtualNetworkConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configuration of a virtual network to which API Management service is deployed." + }, + "virtualNetworkType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "External", + "Internal" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of VPN in which API Management service needs to be configured in. None (Default Value) means the API Management service is not part of any Virtual Network, External means the API Management deployment is set up inside a Virtual Network having an Internet Facing Endpoint, and Internal means that API Management deployment is setup inside a Virtual Network having an Intranet Facing Endpoint only." + } + }, + "required": [ + "publisherEmail", + "publisherName" + ], + "description": "Properties of an API Management service resource description." + }, + "ApiManagementServiceSkuProperties": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Capacity of the SKU (number of deployed units of the SKU). For Consumption SKU capacity must be specified as 0." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Developer", + "Standard", + "Premium", + "Basic", + "Consumption", + "Isolated" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of the Sku." + } + }, + "required": [ + "capacity", + "name" + ], + "description": "API Management service resource SKU properties." + }, + "ApiReleaseContractProperties": { + "type": "object", + "properties": { + "apiId": { + "type": "string", + "description": "Identifier of the API the release belongs to." + }, + "notes": { + "type": "string", + "description": "Release Notes" + } + }, + "description": "API Release details" + }, + "ApiVersionConstraint": { + "type": "object", + "properties": { + "minApiVersion": { + "type": "string", + "description": "Limit control plane API calls to API Management service with version equal to or newer than this value." + } + }, + "description": "Control Plane Apis version constraint for the API Management service." + }, + "ApiVersionSetContractDetails": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of API Version Set." + }, + "id": { + "type": "string", + "description": "Identifier for existing API Version Set. Omit this value to create a new Version Set." + }, + "name": { + "type": "string", + "description": "The display Name of the API Version Set." + }, + "versionHeaderName": { + "type": "string", + "description": "Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`." + }, + "versioningScheme": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Segment", + "Query", + "Header" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An value that determines where the API Version identifier will be located in a HTTP request." + }, + "versionQueryName": { + "type": "string", + "description": "Name of query parameter that indicates the API Version if versioningScheme is set to `query`." + } + }, + "description": "An API Version Set contains the common configuration for a set of API Versions relating " + }, + "ApiVersionSetContractProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of API Version Set." + }, + "displayName": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "description": "Name of API Version Set" + }, + "versionHeaderName": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "description": "Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`." + }, + "versioningScheme": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Segment", + "Query", + "Header" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An value that determines where the API Version identifier will be located in a HTTP request." + }, + "versionQueryName": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "description": "Name of query parameter that indicates the API Version if versioningScheme is set to `query`." + } + }, + "required": [ + "displayName", + "versioningScheme" + ], + "description": "Properties of an API Version Set." + }, + "ArmIdWrapper": { + "type": "object", + "properties": {}, + "description": "A wrapper for an ARM resource id" + }, + "AssociationContractProperties": { + "type": "object", + "properties": { + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "created" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state." + } + }, + "description": "Association entity contract properties." + }, + "AuthenticationSettingsContract": { + "type": "object", + "properties": { + "oAuth2": { + "oneOf": [ + { + "$ref": "#/definitions/OAuth2AuthenticationSettingsContract" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API OAuth2 Authentication settings details." + }, + "openid": { + "oneOf": [ + { + "$ref": "#/definitions/OpenIdAuthenticationSettingsContract" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API OAuth2 Authentication settings details." + } + }, + "description": "API Authentication Settings." + }, + "AuthorizationServerContractProperties": { + "type": "object", + "properties": { + "authorizationEndpoint": { + "type": "string", + "description": "OAuth authorization endpoint. See http://tools.ietf.org/html/rfc6749#section-3.2." + }, + "authorizationMethods": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "HEAD", + "OPTIONS", + "TRACE", + "GET", + "POST", + "PUT", + "PATCH", + "DELETE" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HTTP verbs supported by the authorization endpoint. GET must be always present. POST is optional." + }, + "bearerTokenSendingMethods": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "authorizationHeader", + "query" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mechanism by which access token is passed to the API. " + }, + "clientAuthenticationMethod": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Basic", + "Body" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Method of authentication supported by the token endpoint of this authorization server. Possible values are Basic and/or Body. When Body is specified, client credentials and other parameters are passed within the request body in the application/x-www-form-urlencoded format." + }, + "clientId": { + "type": "string", + "description": "Client or app id registered with this authorization server." + }, + "clientRegistrationEndpoint": { + "type": "string", + "description": "Optional reference to a page where client or app registration for this authorization server is performed. Contains absolute URL to entity being referenced." + }, + "clientSecret": { + "type": "string", + "description": "Client or app secret registered with this authorization server. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value." + }, + "defaultScope": { + "type": "string", + "description": "Access token scope that is going to be requested by default. Can be overridden at the API level. Should be provided in the form of a string containing space-delimited values." + }, + "description": { + "type": "string", + "description": "Description of the authorization server. Can contain HTML formatting tags." + }, + "displayName": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "User-friendly authorization server name." + }, + "grantTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "authorizationCode", + "implicit", + "resourceOwnerPassword", + "clientCredentials" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Form of an authorization grant, which the client uses to request the access token." + }, + "resourceOwnerPassword": { + "type": "string", + "description": "Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner password." + }, + "resourceOwnerUsername": { + "type": "string", + "description": "Can be optionally specified when resource owner password grant type is supported by this authorization server. Default resource owner username." + }, + "supportState": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If true, authorization server will include state parameter from the authorization request to its response. Client may use state parameter to raise protocol security." + }, + "tokenBodyParameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TokenBodyParameterContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional parameters required by the token endpoint of this authorization server represented as an array of JSON objects with name and value string properties, i.e. {\"name\" : \"name value\", \"value\": \"a value\"}." + }, + "tokenEndpoint": { + "type": "string", + "description": "OAuth token endpoint. Contains absolute URI to entity being referenced." + } + }, + "required": [ + "authorizationEndpoint", + "clientId", + "clientRegistrationEndpoint", + "displayName", + "grantTypes" + ], + "description": "External OAuth authorization server settings Properties." + }, + "BackendAuthorizationHeaderCredentials": { + "type": "object", + "properties": { + "parameter": { + "type": "string", + "minLength": 1, + "maxLength": 300, + "description": "Authentication Parameter value." + }, + "scheme": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "description": "Authentication Scheme name." + } + }, + "required": [ + "parameter", + "scheme" + ], + "description": "Authorization header information." + }, + "BackendContractProperties": { + "type": "object", + "properties": { + "credentials": { + "oneOf": [ + { + "$ref": "#/definitions/BackendCredentialsContract" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details of the Credentials used to connect to Backend." + }, + "description": { + "type": "string", + "minLength": 1, + "maxLength": 2000, + "description": "Backend Description." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackendProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties specific to the Backend Type." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "http", + "soap" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backend communication protocol." + }, + "proxy": { + "oneOf": [ + { + "$ref": "#/definitions/BackendProxyContract" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details of the Backend WebProxy Server to use in the Request to Backend." + }, + "resourceId": { + "type": "string", + "minLength": 1, + "maxLength": 2000, + "description": "Management Uri of the Resource in External System. This url can be the Arm Resource Id of Logic Apps, Function Apps or API Apps." + }, + "title": { + "type": "string", + "minLength": 1, + "maxLength": 300, + "description": "Backend Title." + }, + "tls": { + "oneOf": [ + { + "$ref": "#/definitions/BackendTlsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties controlling TLS Certificate Validation." + }, + "url": { + "type": "string", + "minLength": 1, + "maxLength": 2000, + "description": "Runtime Url of the Backend." + } + }, + "required": [ + "protocol", + "url" + ], + "description": "Parameters supplied to the Create Backend operation." + }, + "BackendCredentialsContract": { + "type": "object", + "properties": { + "authorization": { + "oneOf": [ + { + "$ref": "#/definitions/BackendAuthorizationHeaderCredentials" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Authorization header information." + }, + "certificate": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Client Certificate Thumbprints. Will be ignored if certificatesIds are provided." + }, + "certificateIds": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Client Certificate Ids." + }, + "header": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Header Parameter description." + }, + "query": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Query Parameter description." + } + }, + "description": "Details of the Credentials used to connect to Backend." + }, + "BackendProperties": { + "type": "object", + "properties": { + "serviceFabricCluster": { + "oneOf": [ + { + "$ref": "#/definitions/BackendServiceFabricClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Service Fabric Type Backend." + } + }, + "description": "Properties specific to the Backend Type." + }, + "BackendProxyContract": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "Password to connect to the WebProxy Server" + }, + "url": { + "type": "string", + "minLength": 1, + "maxLength": 2000, + "description": "WebProxy Server AbsoluteUri property which includes the entire URI stored in the Uri instance, including all fragments and query strings." + }, + "username": { + "type": "string", + "description": "Username to connect to the WebProxy server" + } + }, + "required": [ + "url" + ], + "description": "Details of the Backend WebProxy Server to use in the Request to Backend." + }, + "BackendServiceFabricClusterProperties": { + "type": "object", + "properties": { + "clientCertificateId": { + "type": "string", + "description": "The client certificate id for the management endpoint." + }, + "clientCertificatethumbprint": { + "type": "string", + "description": "The client certificate thumbprint for the management endpoint. Will be ignored if certificatesIds are provided" + }, + "managementEndpoints": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The cluster management endpoint." + }, + "maxPartitionResolutionRetries": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum number of retries while attempting resolve the partition." + }, + "serverCertificateThumbprints": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Thumbprints of certificates cluster management service uses for tls communication" + }, + "serverX509Names": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/X509CertificateName" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Server X509 Certificate Names Collection" + } + }, + "required": [ + "managementEndpoints" + ], + "description": "Properties of the Service Fabric Type Backend." + }, + "BackendTlsProperties": { + "type": "object", + "properties": { + "validateCertificateChain": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for this backend host." + }, + "validateCertificateName": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for this backend host." + } + }, + "description": "Properties controlling TLS Certificate Validation." + }, + "BodyDiagnosticSettings": { + "type": "object", + "properties": { + "bytes": { + "oneOf": [ + { + "type": "integer", + "maximum": 8192 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of request body bytes to log." + } + }, + "description": "Body logging settings." + }, + "CacheContractProperties": { + "type": "object", + "properties": { + "connectionString": { + "type": "string", + "maxLength": 300, + "description": "Runtime connection string to cache" + }, + "description": { + "type": "string", + "maxLength": 2000, + "description": "Cache description" + }, + "resourceId": { + "type": "string", + "maxLength": 2000, + "description": "Original uri of entity in external system cache points to" + }, + "useFromLocation": { + "type": "string", + "maxLength": 256, + "description": "Location identifier to use cache from (should be either 'default' or valid Azure region identifier)" + } + }, + "required": [ + "connectionString", + "useFromLocation" + ], + "description": "Properties of the Cache contract." + }, + "CertificateConfiguration": { + "type": "object", + "properties": { + "certificate": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateInformation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SSL certificate information." + }, + "certificatePassword": { + "type": "string", + "description": "Certificate Password." + }, + "encodedCertificate": { + "type": "string", + "description": "Base64 Encoded certificate." + }, + "storeName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "CertificateAuthority", + "Root" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The System.Security.Cryptography.x509certificates.StoreName certificate store location. Only Root and CertificateAuthority are valid locations." + } + }, + "required": [ + "storeName" + ], + "description": "Certificate configuration which consist of non-trusted intermediates and root certificates." + }, + "CertificateCreateOrUpdateProperties": { + "type": "object", + "properties": { + "data": { + "type": "string", + "description": "Base 64 encoded certificate using the application/x-pkcs12 representation." + }, + "keyVault": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultContractCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create keyVault contract details." + }, + "password": { + "type": "string", + "description": "Password for the Certificate" + } + }, + "description": "Parameters supplied to the CreateOrUpdate certificate operation." + }, + "CertificateInformation": { + "type": "object", + "properties": { + "expiry": { + "type": "string", + "format": "date-time", + "description": "Expiration date of the certificate. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard." + }, + "subject": { + "type": "string", + "description": "Subject of the certificate." + }, + "thumbprint": { + "type": "string", + "description": "Thumbprint of the certificate." + } + }, + "required": [ + "expiry", + "subject", + "thumbprint" + ], + "description": "SSL certificate information." + }, + "DataMasking": { + "type": "object", + "properties": { + "headers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataMaskingEntity" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Masking settings for headers" + }, + "queryParams": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataMaskingEntity" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Masking settings for Url query parameters" + } + } + }, + "DataMaskingEntity": { + "type": "object", + "properties": { + "mode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Mask", + "Hide" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Data masking mode." + }, + "value": { + "type": "string", + "description": "The name of an entity to mask (e.g. a name of a header or a query parameter)." + } + } + }, + "DiagnosticContractProperties": { + "type": "object", + "properties": { + "alwaysLog": { + "oneOf": [ + { + "type": "string", + "enum": [ + "allErrors" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies for what type of messages sampling settings should not apply." + }, + "backend": { + "oneOf": [ + { + "$ref": "#/definitions/PipelineDiagnosticSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic settings for incoming/outgoing HTTP messages to the Gateway." + }, + "frontend": { + "oneOf": [ + { + "$ref": "#/definitions/PipelineDiagnosticSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic settings for incoming/outgoing HTTP messages to the Gateway." + }, + "httpCorrelationProtocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Legacy", + "W3C" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sets correlation protocol to use for Application Insights diagnostics." + }, + "logClientIp": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Log the ClientIP. Default is false." + }, + "loggerId": { + "type": "string", + "description": "Resource Id of a target logger." + }, + "operationNameFormat": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Name", + "Url" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The format of the Operation Name for Application Insights telemetries. Default is Name." + }, + "sampling": { + "oneOf": [ + { + "$ref": "#/definitions/SamplingSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sampling settings for Diagnostic." + }, + "verbosity": { + "oneOf": [ + { + "type": "string", + "enum": [ + "verbose", + "information", + "error" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The verbosity level applied to traces emitted by trace policies." + } + }, + "required": [ + "loggerId" + ], + "description": "Diagnostic Entity Properties" + }, + "EmailTemplateParametersContractProperties": { + "type": "object", + "properties": { + "description": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9-._]+$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Template parameter description." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9-._]+$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Template parameter name." + }, + "title": { + "type": "string", + "minLength": 1, + "maxLength": 4096, + "description": "Template parameter title." + } + }, + "description": "Email Template Parameter contract." + }, + "EmailTemplateUpdateParameterProperties": { + "type": "object", + "properties": { + "body": { + "type": "string", + "minLength": 1, + "description": "Email Template Body. This should be a valid XDocument" + }, + "description": { + "type": "string", + "description": "Description of the Email Template." + }, + "parameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/EmailTemplateParametersContractProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Email Template Parameter values." + }, + "subject": { + "type": "string", + "minLength": 1, + "maxLength": 1000, + "description": "Subject of the Template." + }, + "title": { + "type": "string", + "description": "Title of the Template." + } + }, + "description": "Email Template Update Contract properties." + }, + "GatewayCertificateAuthorityContractProperties": { + "type": "object", + "properties": { + "isTrusted": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether certificate authority is trusted." + } + }, + "description": "Gateway certificate authority details." + }, + "GatewayContractProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "maxLength": 1000, + "description": "Gateway description" + }, + "locationData": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceLocationDataContract" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource location data properties." + } + }, + "description": "Properties of the Gateway contract." + }, + "GatewayHostnameConfigurationContractProperties": { + "type": "object", + "properties": { + "certificateId": { + "type": "string", + "description": "Identifier of Certificate entity that will be used for TLS connection establishment" + }, + "hostname": { + "type": "string", + "description": "Hostname value. Supports valid domain name, partial or full wildcard" + }, + "http2Enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies if HTTP/2.0 is supported" + }, + "negotiateClientCertificate": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether gateway requests client certificate" + }, + "tls10Enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies if TLS 1.0 is supported" + }, + "tls11Enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies if TLS 1.1 is supported" + } + }, + "description": "Gateway hostname configuration details." + }, + "GroupCreateParametersProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Group description." + }, + "displayName": { + "type": "string", + "minLength": 1, + "maxLength": 300, + "description": "Group name." + }, + "externalId": { + "type": "string", + "description": "Identifier of the external groups, this property contains the id of the group from the external identity provider, e.g. for Azure Active Directory `aad://.onmicrosoft.com/groups/`; otherwise the value is null." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "custom", + "system", + "external" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Group type." + } + }, + "required": [ + "displayName" + ], + "description": "Parameters supplied to the Create Group operation." + }, + "HostnameConfiguration": { + "type": "object", + "properties": { + "certificate": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateInformation" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SSL certificate information." + }, + "certificatePassword": { + "type": "string", + "description": "Certificate Password." + }, + "certificateSource": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Managed", + "KeyVault", + "Custom", + "BuiltIn" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Certificate Source." + }, + "certificateStatus": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Completed", + "Failed", + "InProgress" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Certificate Status." + }, + "defaultSslBinding": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify true to setup the certificate associated with this Hostname as the Default SSL Certificate. If a client does not send the SNI header, then this will be the certificate that will be challenged. The property is useful if a service has multiple custom hostname enabled and it needs to decide on the default ssl certificate. The setting only applied to Proxy Hostname Type." + }, + "encodedCertificate": { + "type": "string", + "description": "Base64 Encoded certificate." + }, + "hostName": { + "type": "string", + "description": "Hostname to configure on the Api Management service." + }, + "identityClientId": { + "type": "string", + "description": "System or User Assigned Managed identity clientId as generated by Azure AD, which has GET access to the keyVault containing the SSL certificate." + }, + "keyVaultId": { + "type": "string", + "description": "Url to the KeyVault Secret containing the Ssl Certificate. If absolute Url containing version is provided, auto-update of ssl certificate will not work. This requires Api Management service to be configured with aka.ms/apimmsi. The secret should be of type *application/x-pkcs12*" + }, + "negotiateClientCertificate": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specify true to always negotiate client certificate on the hostname. Default Value is false." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Proxy", + "Portal", + "Management", + "Scm", + "DeveloperPortal" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Hostname type." + } + }, + "required": [ + "hostName", + "type" + ], + "description": "Custom hostname configuration." + }, + "HttpMessageDiagnostic": { + "type": "object", + "properties": { + "body": { + "oneOf": [ + { + "$ref": "#/definitions/BodyDiagnosticSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Body logging settings." + }, + "dataMasking": { + "oneOf": [ + { + "$ref": "#/definitions/DataMasking" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "headers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Array of HTTP Headers to log." + } + }, + "description": "Http message diagnostic settings." + }, + "IdentityProviderCreateContractProperties": { + "type": "object", + "properties": { + "allowedTenants": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Allowed Tenants when configuring Azure Active Directory login." + }, + "authority": { + "type": "string", + "description": "OpenID Connect discovery endpoint hostname for AAD or AAD B2C." + }, + "clientId": { + "type": "string", + "minLength": 1, + "description": "Client Id of the Application in the external Identity Provider. It is App ID for Facebook login, Client ID for Google login, App ID for Microsoft." + }, + "clientSecret": { + "type": "string", + "minLength": 1, + "description": "Client secret of the Application in external Identity Provider, used to authenticate login request. For example, it is App Secret for Facebook login, API Key for Google login, Public Key for Microsoft. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value." + }, + "passwordResetPolicyName": { + "type": "string", + "minLength": 1, + "description": "Password Reset Policy Name. Only applies to AAD B2C Identity Provider." + }, + "profileEditingPolicyName": { + "type": "string", + "minLength": 1, + "description": "Profile Editing Policy Name. Only applies to AAD B2C Identity Provider." + }, + "signinPolicyName": { + "type": "string", + "minLength": 1, + "description": "Signin Policy Name. Only applies to AAD B2C Identity Provider." + }, + "signinTenant": { + "type": "string", + "description": "The TenantId to use instead of Common when logging into Active Directory" + }, + "signupPolicyName": { + "type": "string", + "minLength": 1, + "description": "Signup Policy Name. Only applies to AAD B2C Identity Provider." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "facebook", + "google", + "microsoft", + "twitter", + "aad", + "aadB2C" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity Provider Type identifier." + } + }, + "required": [ + "clientId", + "clientSecret" + ], + "description": "The external Identity Providers like Facebook, Google, Microsoft, Twitter or Azure Active Directory which can be used to enable access to the API Management service developer portal for all users." + }, + "IssueAttachmentContractProperties": { + "type": "object", + "properties": { + "content": { + "type": "string", + "description": "An HTTP link or Base64-encoded binary data." + }, + "contentFormat": { + "type": "string", + "description": "Either 'link' if content is provided via an HTTP link or the MIME type of the Base64-encoded binary data provided in the 'content' property." + }, + "title": { + "type": "string", + "description": "Filename by which the binary data will be saved." + } + }, + "required": [ + "content", + "contentFormat", + "title" + ], + "description": "Issue Attachment contract Properties." + }, + "IssueCommentContractProperties": { + "type": "object", + "properties": { + "createdDate": { + "type": "string", + "format": "date-time", + "description": "Date and time when the comment was created." + }, + "text": { + "type": "string", + "description": "Comment text." + }, + "userId": { + "type": "string", + "description": "A resource identifier for the user who left the comment." + } + }, + "required": [ + "text", + "userId" + ], + "description": "Issue Comment contract Properties." + }, + "IssueContractProperties": { + "type": "object", + "properties": { + "apiId": { + "type": "string", + "description": "A resource identifier for the API the issue was created for." + }, + "createdDate": { + "type": "string", + "format": "date-time", + "description": "Date and time when the issue was created." + }, + "description": { + "type": "string", + "description": "Text describing the issue." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "proposed", + "open", + "removed", + "resolved", + "closed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Status of the issue." + }, + "title": { + "type": "string", + "description": "The issue title." + }, + "userId": { + "type": "string", + "description": "A resource identifier for the user created the issue." + } + }, + "required": [ + "description", + "title", + "userId" + ], + "description": "Issue contract Properties." + }, + "KeyVaultContractCreateProperties": { + "type": "object", + "properties": { + "identityClientId": { + "type": "string", + "description": "SystemAssignedIdentity or UserAssignedIdentity Client Id which will be used to access key vault secret." + }, + "secretIdentifier": { + "type": "string", + "description": "Key vault secret identifier for fetching secret. Providing a versioned secret will prevent auto-refresh. This requires API Management service to be configured with aka.ms/apimmsi" + } + }, + "description": "Create keyVault contract details." + }, + "LoggerContractProperties": { + "type": "object", + "properties": { + "credentials": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name and SendRule connection string of the event hub for azureEventHub logger.\nInstrumentation key for applicationInsights logger." + }, + "description": { + "type": "string", + "maxLength": 256, + "description": "Logger description." + }, + "isBuffered": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether records are buffered in the logger before publishing. Default is assumed to be true." + }, + "loggerType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "azureEventHub", + "applicationInsights", + "azureMonitor" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Logger type." + }, + "resourceId": { + "type": "string", + "description": "Azure Resource Id of a log target (either Azure Event Hub resource or Azure Application Insights resource)." + } + }, + "required": [ + "loggerType" + ], + "description": "The Logger entity in API Management represents an event sink that you can use to log API Management events. Currently the Logger entity supports logging API Management events to Azure Event Hubs." + }, + "NamedValueCreateContractProperties": { + "type": "object", + "properties": { + "displayName": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9-._]+$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters." + }, + "keyVault": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultContractCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create keyVault contract details." + }, + "secret": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether the value is a secret and should be encrypted or not. Default value is false." + }, + "tags": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional tags that when provided can be used to filter the NamedValue list." + }, + "value": { + "type": "string", + "maxLength": 4096, + "description": "Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value." + } + }, + "required": [ + "displayName" + ], + "description": "NamedValue Contract properties." + }, + "OAuth2AuthenticationSettingsContract": { + "type": "object", + "properties": { + "authorizationServerId": { + "type": "string", + "description": "OAuth authorization server identifier." + }, + "scope": { + "type": "string", + "description": "operations scope." + } + }, + "description": "API OAuth2 Authentication settings details." + }, + "OpenIdAuthenticationSettingsContract": { + "type": "object", + "properties": { + "bearerTokenSendingMethods": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "authorizationHeader", + "query" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "How to send token to the server." + }, + "openidProviderId": { + "type": "string", + "description": "OAuth authorization server identifier." + } + }, + "description": "API OAuth2 Authentication settings details." + }, + "OpenidConnectProviderContractProperties": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "Client ID of developer console which is the client application." + }, + "clientSecret": { + "type": "string", + "description": "Client Secret of developer console which is the client application." + }, + "description": { + "type": "string", + "description": "User-friendly description of OpenID Connect Provider." + }, + "displayName": { + "type": "string", + "maxLength": 50, + "description": "User-friendly OpenID Connect Provider name." + }, + "metadataEndpoint": { + "type": "string", + "description": "Metadata endpoint URI." + } + }, + "required": [ + "clientId", + "displayName", + "metadataEndpoint" + ], + "description": "OpenID Connect Providers Contract." + }, + "OperationContractProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "maxLength": 1000, + "description": "Description of the operation. May include HTML formatting tags." + }, + "displayName": { + "type": "string", + "minLength": 1, + "maxLength": 300, + "description": "Operation Name." + }, + "method": { + "type": "string", + "description": "A Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by only them." + }, + "policies": { + "type": "string", + "description": "Operation Policies" + }, + "request": { + "oneOf": [ + { + "$ref": "#/definitions/RequestContract" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Operation request details." + }, + "responses": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ResponseContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Array of Operation responses." + }, + "templateParameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ParameterContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of URL template parameters." + }, + "urlTemplate": { + "type": "string", + "minLength": 1, + "maxLength": 1000, + "description": "Relative URL template identifying the target resource for this operation. May include parameters. Example: /customers/{cid}/orders/{oid}/?date={date}" + } + }, + "required": [ + "displayName", + "method", + "urlTemplate" + ], + "description": "Operation Contract Properties" + }, + "ParameterContract": { + "type": "object", + "properties": { + "defaultValue": { + "type": "string", + "description": "Default parameter value." + }, + "description": { + "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." + }, + "required": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether parameter is required or not." + }, + "schemaId": { + "type": "string", + "description": "Schema identifier." + }, + "type": { + "type": "string", + "description": "Parameter type." + }, + "typeName": { + "type": "string", + "description": "Type name defined by the schema." + }, + "values": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameter values." + } + }, + "required": [ + "name", + "type" + ], + "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": { + "request": { + "oneOf": [ + { + "$ref": "#/definitions/HttpMessageDiagnostic" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Http message diagnostic settings." + }, + "response": { + "oneOf": [ + { + "$ref": "#/definitions/HttpMessageDiagnostic" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Http message diagnostic settings." + } + }, + "description": "Diagnostic settings for incoming/outgoing HTTP messages to the Gateway." + }, + "PolicyContractProperties": { + "type": "object", + "properties": { + "format": { + "oneOf": [ + { + "type": "string", + "enum": [ + "xml", + "xml-link", + "rawxml", + "rawxml-link" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Format of the policyContent." + }, + "value": { + "type": "string", + "description": "Contents of the Policy as defined by the format." + } + }, + "required": [ + "value" + ], + "description": "Policy contract Properties." + }, + "PortalDelegationSettingsProperties": { + "type": "object", + "properties": { + "subscriptions": { + "oneOf": [ + { + "$ref": "#/definitions/SubscriptionsDelegationSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Subscriptions delegation settings properties." + }, + "url": { + "type": "string", + "description": "A delegation Url." + }, + "userRegistration": { + "oneOf": [ + { + "$ref": "#/definitions/RegistrationDelegationSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User registration delegation settings properties." + }, + "validationKey": { + "type": "string", + "description": "A base64-encoded validation key to validate, that a request is coming from Azure API Management." + } + }, + "description": "Delegation settings contract properties." + }, + "PortalRevisionContractProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "maxLength": 2000, + "description": "Portal revision description." + }, + "isCurrent": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the portal's revision is public." + } + } + }, + "PortalSigninSettingProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Redirect Anonymous users to the Sign-In page." + } + }, + "description": "Sign-in settings contract properties." + }, + "PortalSignupSettingsProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allow users to sign up on a developer portal." + }, + "termsOfService": { + "oneOf": [ + { + "$ref": "#/definitions/TermsOfServiceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Terms of service contract properties." + } + }, + "description": "Sign-up settings contract properties." + }, + "PrivateEndpointConnectionRequestProperties": { + "type": "object", + "properties": { + "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." + } + }, + "description": "The connection state of the private endpoint connection." + }, + "PrivateEndpointConnectionWrapperProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/ArmIdWrapper" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A wrapper for an ARM resource id" + }, + "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." + } + }, + "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." + }, + "ProductContractProperties": { + "type": "object", + "properties": { + "approvalRequired": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "whether subscription approval is required. If false, new subscriptions will be approved automatically enabling developers to call the product’s APIs immediately after subscribing. If true, administrators must manually approve the subscription before the developer can any of the product’s APIs. Can be present only if subscriptionRequired property is present and has a value of false." + }, + "description": { + "type": "string", + "minLength": 0, + "maxLength": 1000, + "description": "Product description. May include HTML formatting tags." + }, + "displayName": { + "type": "string", + "minLength": 1, + "maxLength": 300, + "description": "Product name." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "notPublished", + "published" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is notPublished." + }, + "subscriptionRequired": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether a product subscription is required for accessing APIs included in this product. If true, the product is referred to as \"protected\" and a valid subscription key is required for a request to an API included in the product to succeed. If false, the product is referred to as \"open\" and requests to an API included in the product can be made without a subscription key. If property is omitted when creating a new product it's value is assumed to be true." + }, + "subscriptionsLimit": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the number of subscriptions a user can have to this product at the same time. Set to null or omit to allow unlimited per user subscriptions. Can be present only if subscriptionRequired property is present and has a value of false." + }, + "terms": { + "type": "string", + "description": "Product terms of use. Developers trying to subscribe to the product will be presented and required to accept these terms before they can complete the subscription process." + } + }, + "required": [ + "displayName" + ], + "description": "Product profile." + }, + "RegistrationDelegationSettingsProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable or disable delegation for user registration." + } + }, + "description": "User registration delegation settings properties." + }, + "RemotePrivateEndpointConnectionWrapper": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Private Endpoint connection resource id" + }, + "name": { + "type": "string", + "description": "Private Endpoint Connection Name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionWrapperProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "type": { + "type": "string", + "description": "Private Endpoint Connection Resource Type" + } + }, + "description": "Remote Private Endpoint Connection resource." + }, + "RepresentationContract": { + "type": "object", + "properties": { + "contentType": { + "type": "string", + "description": "Specifies a registered or custom content type for this representation, e.g. application/xml." + }, + "examples": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ParameterExampleContract" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameter examples." + }, + "formParameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ParameterContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of form parameters. Required if 'contentType' value is either 'application/x-www-form-urlencoded' or 'multipart/form-data'.." + }, + "schemaId": { + "type": "string", + "description": "Schema identifier. Applicable only if 'contentType' value is neither 'application/x-www-form-urlencoded' nor 'multipart/form-data'." + }, + "typeName": { + "type": "string", + "description": "Type name defined by the schema. Applicable only if 'contentType' value is neither 'application/x-www-form-urlencoded' nor 'multipart/form-data'." + } + }, + "required": [ + "contentType" + ], + "description": "Operation request/response representation details." + }, + "RequestContract": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Operation request description." + }, + "headers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ParameterContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of operation request headers." + }, + "queryParameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ParameterContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of operation request query parameters." + }, + "representations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RepresentationContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of operation request representations." + } + }, + "description": "Operation request details." + }, + "ResourceLocationDataContract": { + "type": "object", + "properties": { + "city": { + "type": "string", + "maxLength": 256, + "description": "The city or locality where the resource is located." + }, + "countryOrRegion": { + "type": "string", + "maxLength": 256, + "description": "The country or region where the resource is located." + }, + "district": { + "type": "string", + "maxLength": 256, + "description": "The district, state, or province where the resource is located." + }, + "name": { + "type": "string", + "maxLength": 256, + "description": "A canonical name for the geographic or physical location." + } + }, + "required": [ + "name" + ], + "description": "Resource location data properties." + }, + "ResponseContract": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Operation response description." + }, + "headers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ParameterContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of operation response headers." + }, + "representations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/RepresentationContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of operation response representations." + }, + "statusCode": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Operation response HTTP status code." + } + }, + "required": [ + "statusCode" + ], + "description": "Operation response details." + }, + "SamplingSettings": { + "type": "object", + "properties": { + "percentage": { + "oneOf": [ + { + "type": "number", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Rate of sampling for fixed-rate sampling." + }, + "samplingType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "fixed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sampling type." + } + }, + "description": "Sampling settings for Diagnostic." + }, + "SchemaContractProperties": { + "type": "object", + "properties": { + "contentType": { + "type": "string", + "description": "Must be a valid a media type used in a Content-Type header as defined in the RFC 2616. Media type of the schema document (e.g. application/json, application/xml).
    - `Swagger` Schema use `application/vnd.ms-azure-apim.swagger.definitions+json`
    - `WSDL` Schema use `application/vnd.ms-azure-apim.xsd+xml`
    - `OpenApi` Schema use `application/vnd.oai.openapi.components+json`
    - `WADL Schema` use `application/vnd.ms-azure-apim.wadl.grammars+xml`." + }, + "document": { + "oneOf": [ + { + "$ref": "#/definitions/SchemaDocumentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schema Document Properties." + } + }, + "required": [ + "contentType" + ], + "description": "API Schema create or update contract Properties." + }, + "SchemaDocumentProperties": { + "type": "object", + "properties": { + "components": { + "type": "object", + "properties": {}, + "description": "Types definitions. Used for OpenAPI v3 schemas only, null otherwise." + }, + "definitions": { + "type": "object", + "properties": {}, + "description": "Types definitions. Used for OpenAPI v2 (Swagger) schemas only, null otherwise." + }, + "value": { + "type": "string", + "description": "Json escaped string defining the document representing the Schema. Used for schemas other than Swagger/OpenAPI." + } + }, + "description": "Schema Document Properties." + }, + "service_apis_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API Create or Update Properties." + }, + "type": { + "type": "string", + "enum": [ + "apis" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis" + }, + "service_apis_diagnostics_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic Entity Properties" + }, + "type": { + "type": "string", + "enum": [ + "diagnostics" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/diagnostics" + }, + "service_apis_issues_attachments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Attachment identifier within an Issue. Must be unique in the current Issue." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IssueAttachmentContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Issue Attachment contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "attachments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/issues/attachments" + }, + "service_apis_issues_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Issue identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IssueContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Issue contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "issues" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/issues" + }, + "service_apis_issues_comments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Comment identifier within an Issue. Must be unique in the current Issue." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IssueCommentContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Issue Comment contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "comments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/issues/comments" + }, + "service_apis_operations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Operation identifier within an API. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/OperationContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Operation Contract Properties" + }, + "type": { + "type": "string", + "enum": [ + "operations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/operations" + }, + "service_apis_operations_policies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "policy" + ], + "description": "The identifier of the Policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "policies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/operations/policies" + }, + "service_apis_operations_tags_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "tags" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/operations/tags" + }, + "service_apis_policies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "policy" + ], + "description": "The identifier of the Policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "policies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/policies" + }, + "service_apis_releases_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Release identifier within an API. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiReleaseContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API Release details" + }, + "type": { + "type": "string", + "enum": [ + "releases" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/releases" + }, + "service_apis_schemas_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schema identifier within an API. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SchemaContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "API Schema create or update contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "schemas" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/schemas" + }, + "service_apis_tagDescriptions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag description identifier. Used when creating tagDescription for API/Tag association. Based on API and Tag names." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TagDescriptionBaseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create TagDescription operation." + }, + "type": { + "type": "string", + "enum": [ + "tagDescriptions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/tagDescriptions" + }, + "service_apis_tags_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "tags" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/apis/tags" + }, + "service_apiVersionSets_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Api Version Set identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApiVersionSetContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an API Version Set." + }, + "type": { + "type": "string", + "enum": [ + "apiVersionSets" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/apiVersionSets" + }, + "service_authorizationServers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the authorization server." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AuthorizationServerContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "External OAuth authorization server settings Properties." + }, + "type": { + "type": "string", + "enum": [ + "authorizationServers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/authorizationServers" + }, + "service_backends_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Identifier of the Backend entity. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackendContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create Backend operation." + }, + "type": { + "type": "string", + "enum": [ + "backends" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/backends" + }, + "service_caches_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the Cache entity. Cache identifier (should be either 'default' or valid Azure region identifier)." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CacheContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Cache contract." + }, + "type": { + "type": "string", + "enum": [ + "caches" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/caches" + }, + "service_certificates_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the certificate entity. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateCreateOrUpdateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the CreateOrUpdate certificate operation." + }, + "type": { + "type": "string", + "enum": [ + "certificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/certificates" + }, + "service_contentTypes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Content type identifier." + }, + "type": { + "type": "string", + "enum": [ + "contentTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/contentTypes" + }, + "service_contentTypes_contentItems_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Content item identifier." + }, + "type": { + "type": "string", + "enum": [ + "contentItems" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/contentTypes/contentItems" + }, + "service_diagnostics_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Diagnostic Entity Properties" + }, + "type": { + "type": "string", + "enum": [ + "diagnostics" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/diagnostics" + }, + "service_gateways_apis_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "API identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AssociationContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Association entity contract properties." + }, + "type": { + "type": "string", + "enum": [ + "apis" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/gateways/apis" + }, + "service_gateways_certificateAuthorities_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the certificate entity. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayCertificateAuthorityContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gateway certificate authority details." + }, + "type": { + "type": "string", + "enum": [ + "certificateAuthorities" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/gateways/certificateAuthorities" + }, + "service_gateways_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Gateway entity identifier. Must be unique in the current API Management service instance. Must not have value 'managed'" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Gateway contract." + }, + "type": { + "type": "string", + "enum": [ + "gateways" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/gateways" + }, + "service_gateways_hostnameConfigurations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "Gateway hostname configuration identifier. Must be unique in the scope of parent Gateway entity." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayHostnameConfigurationContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gateway hostname configuration details." + }, + "type": { + "type": "string", + "enum": [ + "hostnameConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/gateways/hostnameConfigurations" + }, + "service_groups_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Group identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/GroupCreateParametersProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create Group operation." + }, + "type": { + "type": "string", + "enum": [ + "groups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/groups" + }, + "service_groups_users_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "User identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "users" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/groups/users" + }, + "service_identityProviders_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "facebook", + "google", + "microsoft", + "twitter", + "aad", + "aadB2C" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity Provider Type identifier." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProviderCreateContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The external Identity Providers like Facebook, Google, Microsoft, Twitter or Azure Active Directory which can be used to enable access to the API Management service developer portal for all users." + }, + "type": { + "type": "string", + "enum": [ + "identityProviders" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/identityProviders" + }, + "service_loggers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Logger identifier. Must be unique in the API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LoggerContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Logger entity in API Management represents an event sink that you can use to log API Management events. Currently the Logger entity supports logging API Management events to Azure Event Hubs." + }, + "type": { + "type": "string", + "enum": [ + "loggers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/loggers" + }, + "service_namedValues_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the NamedValue." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NamedValueCreateContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NamedValue Contract properties." + }, + "type": { + "type": "string", + "enum": [ + "namedValues" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/namedValues" + }, + "service_notifications_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "RequestPublisherNotificationMessage", + "PurchasePublisherNotificationMessage", + "NewApplicationNotificationMessage", + "BCC", + "NewIssuePublisherNotificationMessage", + "AccountClosedPublisher", + "QuotaLimitApproachingPublisherNotificationMessage" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Notification Name Identifier." + }, + "type": { + "type": "string", + "enum": [ + "notifications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/notifications" + }, + "service_notifications_recipientEmails_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "description": "Email identifier." + }, + "type": { + "type": "string", + "enum": [ + "recipientEmails" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/notifications/recipientEmails" + }, + "service_notifications_recipientUsers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "User identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "recipientUsers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/notifications/recipientUsers" + }, + "service_openidConnectProviders_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identifier of the OpenID Connect Provider." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/OpenidConnectProviderContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "OpenID Connect Providers Contract." + }, + "type": { + "type": "string", + "enum": [ + "openidConnectProviders" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/openidConnectProviders" + }, + "service_policies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "policy" + ], + "description": "The identifier of the Policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "policies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/policies" + }, + "service_portalRevisions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Portal revision identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PortalRevisionContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "portalRevisions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/portalRevisions" + }, + "service_portalsettings_childResource": { + "type": "object", + "oneOf": [ + { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "signin" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PortalSigninSettingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sign-in settings contract properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.ApiManagement/service/portalsettings" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "signup" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PortalSignupSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sign-up settings contract properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.ApiManagement/service/portalsettings" + }, + { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "delegation" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PortalDelegationSettingsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Delegation settings contract properties." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Microsoft.ApiManagement/service/portalsettings" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "type": { + "type": "string", + "enum": [ + "portalsettings" + ] + } + }, + "required": [ + "apiVersion", + "type" + ], + "description": "Microsoft.ApiManagement/service/portalsettings" + }, + "service_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "id": { + "type": "string", + "description": "Private Endpoint Connection Resource Id." + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionRequestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The connection state of the private endpoint connection." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/privateEndpointConnections" + }, + "service_products_apis_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number." + }, + "type": { + "type": "string", + "enum": [ + "apis" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/products/apis" + }, + "service_products_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Product identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ProductContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Product profile." + }, + "type": { + "type": "string", + "enum": [ + "products" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/products" + }, + "service_products_groups_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Group identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "groups" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/products/groups" + }, + "service_products_policies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "policy" + ], + "description": "The identifier of the Policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "policies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/products/policies" + }, + "service_products_tags_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag identifier. Must be unique in the current API Management service instance." + }, + "type": { + "type": "string", + "enum": [ + "tags" + ] + } + }, + "required": [ + "apiVersion", + "name", + "type" + ], + "description": "Microsoft.ApiManagement/service/products/tags" + }, + "service_subscriptions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "maxLength": 256 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Subscription entity Identifier. The entity represents the association between a user and a product in API Management." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SubscriptionCreateParameterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create subscription operation." + }, + "type": { + "type": "string", + "enum": [ + "subscriptions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/subscriptions" + }, + "service_tags_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[^*#&+:<>?]+$", + "minLength": 1, + "maxLength": 80 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/TagContractProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag contract Properties." + }, + "type": { + "type": "string", + "enum": [ + "tags" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/tags" + }, + "service_templates_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "applicationApprovedNotificationMessage", + "accountClosedDeveloper", + "quotaLimitApproachingDeveloperNotificationMessage", + "newDeveloperNotificationMessage", + "emailChangeIdentityDefault", + "inviteUserNotificationMessage", + "newCommentNotificationMessage", + "confirmSignUpIdentityDefault", + "newIssueNotificationMessage", + "purchaseDeveloperNotificationMessage", + "passwordResetIdentityDefault", + "passwordResetByAdminNotificationMessage", + "rejectDeveloperNotificationMessage", + "requestDeveloperNotificationMessage" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Email Template Name Identifier." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EmailTemplateUpdateParameterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Email Template Update Contract properties." + }, + "type": { + "type": "string", + "enum": [ + "templates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/templates" + }, + "service_tenant_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "access", + "gitAccess" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identifier of the Access configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AccessInformationCreateParameterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tenant access information update parameters of the API Management service" + }, + "type": { + "type": "string", + "enum": [ + "tenant" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/tenant" + }, + "service_users_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-04-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 80, + "description": "User identifier. Must be unique in the current API Management service instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/UserCreateParameterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters supplied to the Create User operation." + }, + "type": { + "type": "string", + "enum": [ + "users" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/users" + }, + "SubscriptionCreateParameterProperties": { + "type": "object", + "properties": { + "allowTracing": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether tracing can be enabled" + }, + "displayName": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "description": "Subscription name." + }, + "ownerId": { + "type": "string", + "description": "User (user id path) for whom subscription is being created in form /users/{userId}" + }, + "primaryKey": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Primary subscription key. If not specified during request key will be generated automatically." + }, + "scope": { + "type": "string", + "description": "Scope like /products/{productId} or /apis or /apis/{apiId}." + }, + "secondaryKey": { + "type": "string", + "minLength": 1, + "maxLength": 256, + "description": "Secondary subscription key. If not specified during request key will be generated automatically." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "suspended", + "active", + "expired", + "submitted", + "rejected", + "cancelled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Initial subscription state. If no value is specified, subscription is created with Submitted state. Possible states are * active – the subscription is active, * suspended – the subscription is blocked, and the subscriber cannot call any APIs of the product, * submitted – the subscription request has been made by the developer, but has not yet been approved or rejected, * rejected – the subscription request has been denied by an administrator, * cancelled – the subscription has been cancelled by the developer or administrator, * expired – the subscription reached its expiration date and was deactivated." + } + }, + "required": [ + "displayName", + "scope" + ], + "description": "Parameters supplied to the Create subscription operation." + }, + "SubscriptionKeyParameterNamesContract": { + "type": "object", + "properties": { + "header": { + "type": "string", + "description": "Subscription key header name." + }, + "query": { + "type": "string", + "description": "Subscription key query string parameter name." + } + }, + "description": "Subscription key parameter names details." + }, + "SubscriptionsDelegationSettingsProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable or disable delegation for subscriptions." + } + }, + "description": "Subscriptions delegation settings properties." + }, + "TagContractProperties": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "minLength": 1, + "maxLength": 160, + "description": "Tag name." + } + }, + "required": [ + "displayName" + ], + "description": "Tag contract Properties." + }, + "TagDescriptionBaseProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Description of the Tag." + }, + "externalDocsDescription": { + "type": "string", + "description": "Description of the external resources describing the tag." + }, + "externalDocsUrl": { + "type": "string", + "maxLength": 2000, + "description": "Absolute URL of external resources describing the tag." + } + }, + "description": "Parameters supplied to the Create TagDescription operation." + }, + "TermsOfServiceProperties": { + "type": "object", + "properties": { + "consentRequired": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Ask user for consent to the terms of service." + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Display terms of service during a sign-up process." + }, + "text": { + "type": "string", + "description": "A terms of service text." + } + }, + "description": "Terms of service contract properties." + }, + "TokenBodyParameterContract": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "body parameter name." + }, + "value": { + "type": "string", + "description": "body parameter value." + } + }, + "required": [ + "name", + "value" + ], + "description": "OAuth acquire token request body parameter (www-url-form-encoded)." + }, + "UserCreateParameterProperties": { + "type": "object", + "properties": { + "appType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "portal", + "developerPortal" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines the type of application which send the create user request. Default is legacy portal." + }, + "confirmation": { + "oneOf": [ + { + "type": "string", + "enum": [ + "signup", + "invite" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines the type of confirmation e-mail that will be sent to the newly created user." + }, + "email": { + "type": "string", + "minLength": 1, + "maxLength": 254, + "description": "Email address. Must not be empty and must be unique within the service instance." + }, + "firstName": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "description": "First name." + }, + "identities": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/UserIdentityContract" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of user identities." + }, + "lastName": { + "type": "string", + "minLength": 1, + "maxLength": 100, + "description": "Last name." + }, + "note": { + "type": "string", + "description": "Optional note about a user set by the administrator." + }, + "password": { + "type": "string", + "description": "User Password. If no value is provided, a default password is generated." + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "active", + "blocked", + "pending", + "deleted" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active." + } + }, + "required": [ + "email", + "firstName", + "lastName" + ], + "description": "Parameters supplied to the Create User operation." + }, + "UserIdentityContract": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Identifier value within provider." + }, + "provider": { + "type": "string", + "description": "Identity provider name." + } + }, + "description": "User identity details." + }, + "UserIdentityProperties": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "The client id of user assigned identity." + }, + "principalId": { + "type": "string", + "description": "The principal id of user assigned identity." + } + } + }, + "VirtualNetworkConfiguration": { + "type": "object", + "properties": { + "subnetResourceId": { + "oneOf": [ + { + "type": "string", + "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The full resource ID of a subnet in a virtual network to deploy the API Management service in." + } + }, + "description": "Configuration of a virtual network to which API Management service is deployed." + }, + "X509CertificateName": { + "type": "object", + "properties": { + "issuerCertificateThumbprint": { + "type": "string", + "description": "Thumbprint for the Issuer of the Certificate." + }, + "name": { + "type": "string", + "description": "Common Name of the Certificate." + } + }, + "description": "Properties of server X509Names." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 8be43a818b..1b780500e4 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -1372,6 +1372,153 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-01-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_users" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_diagnostics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_issues" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_issues_attachments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_issues_comments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_operations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_operations_policies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_operations_tags" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_policies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_releases" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_schemas" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_tagDescriptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_apis_tags" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_apiVersionSets" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_authorizationServers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_backends" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_caches" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_certificates" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_contentTypes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_contentTypes_contentItems" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_diagnostics" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_gateways" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_gateways_apis" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_gateways_certificateAuthorities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_gateways_hostnameConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_groups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_groups_users" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_identityProviders" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_loggers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_namedValues" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_notifications" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_notifications_recipientEmails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_notifications_recipientUsers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_openidConnectProviders" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_policies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_portalRevisions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_portalsettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_products" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_products_apis" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_products_groups" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_products_policies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_products_tags" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_subscriptions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_tags" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_templates" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_tenant" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_users" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-02-01-preview/Microsoft.AppConfiguration.json#/resourceDefinitions/configurationStores" }, From 28bf66d435946a203aa4745ed040317bf6280aac Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 24 Sep 2021 01:50:40 +0000 Subject: [PATCH 231/243] CodeGen from PR 15881 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.RecoveryServices to add version stable/2021-08-01 (#15881) * Adds base for updating Microsoft.RecoveryServices from version stable/2021-07-01 to version 2021-08-01 * Updates readme * Updates API version in new specs and examples * Fixing readme file --- .../Microsoft.RecoveryServices.Backup.json | 4196 +++++++++++++++++ schemas/common/autogeneratedResources.json | 27 + 2 files changed, 4223 insertions(+) create mode 100644 schemas/2021-08-01/Microsoft.RecoveryServices.Backup.json diff --git a/schemas/2021-08-01/Microsoft.RecoveryServices.Backup.json b/schemas/2021-08-01/Microsoft.RecoveryServices.Backup.json new file mode 100644 index 0000000000..3d80ffce5b --- /dev/null +++ b/schemas/2021-08-01/Microsoft.RecoveryServices.Backup.json @@ -0,0 +1,4196 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-08-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-08-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-08-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-08-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-08-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-08-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-08-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-08-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-08-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-08-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-08-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 1b780500e4..17eddde680 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -8485,6 +8485,33 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupconfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupEncryptionConfigs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupFabrics_backupProtectionIntent" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupFabrics_protectionContainers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupFabrics_protectionContainers_protectedItems" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupResourceGuardProxies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_backupstorageconfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-08-01/Microsoft.RecoveryServices.Backup.json#/resourceDefinitions/vaults_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2016-06-01/Microsoft.RecoveryServices.json#/resourceDefinitions/vaults" }, From f429ccd5d365f5e5dfd5c822f3bdda60d4429c9c Mon Sep 17 00:00:00 2001 From: jorgecotillo Date: Fri, 24 Sep 2021 02:26:04 +0000 Subject: [PATCH 232/243] Update Generated Types Generate types for https://github.com/Azure/azure-rest-api-specs/tree/6b894714b047009e699fe48dada29106f328c8e8 --- .../subscriptionDeploymentTemplate.json | 3 - .../Microsoft.DeviceUpdate.json | 182 +- .../2020-04-01-preview/Microsoft.Synapse.json | 35 +- schemas/2020-06-01/Microsoft.Cache.json | 67 +- schemas/2020-12-01/Microsoft.Cache.json | 67 +- .../Microsoft.ServiceFabric.json | 2556 +++++++++++++++ .../Microsoft.SecurityInsights.json | 69 + .../2021-05-01/Microsoft.ServiceFabric.json | 2634 ++++++++++++++++ schemas/2021-06-01/Microsoft.Security.json | 139 - .../Microsoft.Security.json | 146 + .../Microsoft.ServiceFabric.json | 2791 +++++++++++++++++ schemas/common/autogeneratedResources.json | 63 + 12 files changed, 8595 insertions(+), 157 deletions(-) create mode 100644 schemas/2021-01-01-preview/Microsoft.ServiceFabric.json create mode 100644 schemas/2021-05-01/Microsoft.ServiceFabric.json create mode 100644 schemas/2021-07-01-preview/Microsoft.Security.json create mode 100644 schemas/2021-07-01-preview/Microsoft.ServiceFabric.json diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index d1a1a132cc..7f3a223e61 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -1055,9 +1055,6 @@ { "$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" }, diff --git a/schemas/2020-03-01-preview/Microsoft.DeviceUpdate.json b/schemas/2020-03-01-preview/Microsoft.DeviceUpdate.json index 7cf65a6d0f..ee4dd7bb5e 100644 --- a/schemas/2020-03-01-preview/Microsoft.DeviceUpdate.json +++ b/schemas/2020-03-01-preview/Microsoft.DeviceUpdate.json @@ -59,6 +59,9 @@ "oneOf": [ { "$ref": "#/definitions/accounts_instances_childResource" + }, + { + "$ref": "#/definitions/accounts_privateEndpointConnections_childResource" } ] } @@ -162,12 +165,67 @@ "type" ], "description": "Microsoft.DeviceUpdate/accounts/instances" + }, + "accounts_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-03-01-preview" + ] + }, + "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.DeviceUpdate/accounts/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DeviceUpdate/accounts/privateEndpointConnections" } }, "definitions": { "AccountProperties": { "type": "object", - "properties": {}, + "properties": { + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether or not public network access is allowed for the container registry." + } + }, "description": "Device Update account properties." }, "accounts_instances_childResource": { @@ -239,6 +297,45 @@ ], "description": "Microsoft.DeviceUpdate/accounts/instances" }, + "accounts_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-03-01-preview" + ] + }, + "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.DeviceUpdate/accounts/privateEndpointConnections" + }, "Identity": { "type": "object", "properties": { @@ -313,6 +410,89 @@ "resourceId" ], "description": "Device Update account integration with IoT Hub settings." + }, + "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." } } } \ No newline at end of file diff --git a/schemas/2020-04-01-preview/Microsoft.Synapse.json b/schemas/2020-04-01-preview/Microsoft.Synapse.json index cd0859d8d9..9a04885173 100644 --- a/schemas/2020-04-01-preview/Microsoft.Synapse.json +++ b/schemas/2020-04-01-preview/Microsoft.Synapse.json @@ -152,6 +152,22 @@ ], "description": "An ARM Resource SKU." }, + "SqlDatabaseDataRetention": { + "type": "object", + "properties": { + "dropRetentionPeriod": { + "type": "string", + "format": "duration", + "description": "Specifies the dropped database retention period (ISO8601 format)." + }, + "retentionPeriod": { + "type": "string", + "format": "duration", + "description": "Specifies the data retention period (ISO8601 format)." + } + }, + "description": "Sql database data retention." + }, "SqlDatabaseProperties": { "type": "object", "properties": { @@ -159,22 +175,33 @@ "type": "string", "description": "The collation of the database." }, + "dataRetention": { + "oneOf": [ + { + "$ref": "#/definitions/SqlDatabaseDataRetention" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sql database data retention." + }, "storageRedundancy": { "oneOf": [ { "type": "string", "enum": [ - "Geo", - "GeoZone", "Local", - "Zone" + "Geo", + "Zone", + "GeoZone" ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Storage redundancy of the database." + "description": "The storage redundancy of the database." } }, "description": "The sql database's properties." diff --git a/schemas/2020-06-01/Microsoft.Cache.json b/schemas/2020-06-01/Microsoft.Cache.json index 9974ca5777..ec0b3ddfa6 100644 --- a/schemas/2020-06-01/Microsoft.Cache.json +++ b/schemas/2020-06-01/Microsoft.Cache.json @@ -345,6 +345,67 @@ }, "description": "A collection of information about the state of the connection between service consumer and provider." }, + "RedisCommonPropertiesRedisConfiguration": { + "type": "object", + "properties": { + "additionalProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Unmatched properties from the message are deserialized this collection" + }, + "aof-storage-connection-string-0": { + "type": "string", + "description": "First storage account connection string" + }, + "aof-storage-connection-string-1": { + "type": "string", + "description": "First storage account connection string" + }, + "maxfragmentationmemory-reserved": { + "type": "string", + "description": "Value in megabytes reserved for fragmentation per shard" + }, + "maxmemory-delta": { + "type": "string", + "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover." + }, + "maxmemory-policy": { + "type": "string", + "description": "The eviction strategy used when your data won't fit within its memory limit." + }, + "maxmemory-reserved": { + "type": "string", + "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover." + }, + "rdb-backup-enabled": { + "type": "string", + "description": "Specifies whether the rdb backup is enabled" + }, + "rdb-backup-frequency": { + "type": "string", + "description": "Specifies the frequency for creating rdb backup" + }, + "rdb-backup-max-snapshot-count": { + "type": "string", + "description": "Specifies the maximum number of snapshots for rdb backup" + }, + "rdb-storage-connection-string": { + "type": "string", + "description": "The storage account connection string for storing rdb file" + } + }, + "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." + }, "RedisCreateProperties": { "type": "object", "properties": { @@ -393,11 +454,7 @@ "redisConfiguration": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} + "$ref": "#/definitions/RedisCommonPropertiesRedisConfiguration" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" diff --git a/schemas/2020-12-01/Microsoft.Cache.json b/schemas/2020-12-01/Microsoft.Cache.json index 304f4b22f1..5b5bb922fb 100644 --- a/schemas/2020-12-01/Microsoft.Cache.json +++ b/schemas/2020-12-01/Microsoft.Cache.json @@ -345,6 +345,67 @@ }, "description": "A collection of information about the state of the connection between service consumer and provider." }, + "RedisCommonPropertiesRedisConfiguration": { + "type": "object", + "properties": { + "additionalProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Unmatched properties from the message are deserialized this collection" + }, + "aof-storage-connection-string-0": { + "type": "string", + "description": "First storage account connection string" + }, + "aof-storage-connection-string-1": { + "type": "string", + "description": "First storage account connection string" + }, + "maxfragmentationmemory-reserved": { + "type": "string", + "description": "Value in megabytes reserved for fragmentation per shard" + }, + "maxmemory-delta": { + "type": "string", + "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover." + }, + "maxmemory-policy": { + "type": "string", + "description": "The eviction strategy used when your data won't fit within its memory limit." + }, + "maxmemory-reserved": { + "type": "string", + "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover." + }, + "rdb-backup-enabled": { + "type": "string", + "description": "Specifies whether the rdb backup is enabled" + }, + "rdb-backup-frequency": { + "type": "string", + "description": "Specifies the frequency for creating rdb backup" + }, + "rdb-backup-max-snapshot-count": { + "type": "string", + "description": "Specifies the maximum number of snapshots for rdb backup" + }, + "rdb-storage-connection-string": { + "type": "string", + "description": "The storage account connection string for storing rdb file" + } + }, + "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." + }, "RedisCreateProperties": { "type": "object", "properties": { @@ -393,11 +454,7 @@ "redisConfiguration": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} + "$ref": "#/definitions/RedisCommonPropertiesRedisConfiguration" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" diff --git a/schemas/2021-01-01-preview/Microsoft.ServiceFabric.json b/schemas/2021-01-01-preview/Microsoft.ServiceFabric.json new file mode 100644 index 0000000000..8f58b147b2 --- /dev/null +++ b/schemas/2021-01-01-preview/Microsoft.ServiceFabric.json @@ -0,0 +1,2556 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-01-01-preview/Microsoft.ServiceFabric.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.ServiceFabric", + "description": "Microsoft ServiceFabric Resource Types", + "resourceDefinitions": { + "managedClusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01-preview" + ] + }, + "location": { + "type": "string", + "description": "Azure resource location." + }, + "name": { + "type": "string", + "description": "The name of the cluster resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the managed cluster resource properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/managedclusters_applicationTypes_childResource" + }, + { + "$ref": "#/definitions/managedclusters_applications_childResource" + }, + { + "$ref": "#/definitions/managedClusters_nodeTypes_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Service Fabric managed cluster Sku definition" + }, + "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/managedClusters" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedClusters" + }, + "managedclusters_applications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01-preview" + ] + }, + "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": "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/managedclusters_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/managedclusters/applications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applications" + }, + "managedclusters_applications_services": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01-preview" + ] + }, + "location": { + "type": "string", + "description": "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/managedclusters/applications/services" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applications/services" + }, + "managedclusters_applicationTypes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01-preview" + ] + }, + "location": { + "type": "string", + "description": "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/managedclusters_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/managedclusters/applicationTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applicationTypes" + }, + "managedclusters_applicationTypes_versions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01-preview" + ] + }, + "location": { + "type": "string", + "description": "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/managedclusters/applicationTypes/versions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applicationTypes/versions" + }, + "managedClusters_nodeTypes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the node type." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NodeTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a node type in the cluster, each node type represents sub set of nodes in the cluster." + }, + "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/managedClusters/nodeTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedClusters/nodeTypes" + } + }, + "definitions": { + "ApplicationHealthPolicy": { + "type": "object", + "properties": { + "considerWarningAsError": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$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/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" + }, + "maxPercentUnhealthyDeployedApplications": { + "oneOf": [ + { + "type": "integer" + }, + { + "$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/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" + } + }, + "required": [ + "considerWarningAsError", + "maxPercentUnhealthyDeployedApplications" + ], + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities.\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." + }, + "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." + }, + "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." + }, + "version": { + "type": "string", + "description": "The version of the application type as defined in the application manifest.\nThis name must be the full Arm Resource ID for the referenced application type version.\n" + } + }, + "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" + ], + "description": "The policy used to clean up unused versions. When the policy is not specified explicitly, the default unused application versions to keep will be 3." + }, + "ApplicationUpgradePolicy": { + "type": "object", + "properties": { + "applicationHealthPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationHealthPolicy" + }, + { + "$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)." + }, + "instanceCloseDelayDuration": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster upgrade, only for those instances which have a non-zero delay duration configured in the service description." + }, + "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." + }, + "rollingUpgradeMonitoringPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/RollingUpgradeMonitoringPolicy" + }, + { + "$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": [ + "Monitored", + "UnmonitoredAuto" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "upgradeReplicaSetCheckTimeout": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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" + ] + }, + "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." + }, + "ClientCertificate": { + "type": "object", + "properties": { + "commonName": { + "type": "string", + "description": "Certificate common name." + }, + "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." + }, + "issuerThumbprint": { + "type": "string", + "description": "Issuer thumbprint for the certificate. Only used together with CommonName." + }, + "thumbprint": { + "type": "string", + "description": "Certificate thumbprint." + } + }, + "required": [ + "isAdmin" + ], + "description": "Client certificate definition." + }, + "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" + }, + "LoadBalancingRule": { + "type": "object", + "properties": { + "backendPort": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 65534 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535." + }, + "frontendPort": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 65534 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 1 and 65534." + }, + "probeProtocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "tcp", + "http", + "https" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "the reference to the load balancer probe used by the load balancing rule." + }, + "probeRequestPath": { + "type": "string", + "description": "The probe request path. Only supported for HTTP/HTTPS probes." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "tcp", + "udp" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The reference to the transport protocol used by the load balancing rule." + } + }, + "required": [ + "backendPort", + "frontendPort", + "probeProtocol", + "protocol" + ], + "description": "Describes a load balancing rule." + }, + "ManagedClusterProperties": { + "type": "object", + "properties": { + "addonFeatures": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of add-on features to enable on the cluster." + }, + "adminPassword": { + "type": "string", + "format": "password", + "description": "VM admin user password." + }, + "adminUserName": { + "type": "string", + "description": "VM admin user name." + }, + "allowRdpAccess": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Setting this to true enables RDP access to the VM. The default NSG rule opens RDP port to internet which can be overridden with custom Network Security Rules. The default value for this setting is false." + }, + "applicationTypeVersionsCleanupPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationTypeVersionsCleanupPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policy used to clean up unused versions. When the policy is not specified explicitly, the default unused application versions to keep will be 3." + }, + "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." + }, + "clientConnectionPort": { + "oneOf": [ + { + "type": "integer", + "default": "19000" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port used for client connections to the cluster." + }, + "clients": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ClientCertificate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Client certificates 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**." + }, + "clusterUpgradeCadence": { + "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." + }, + "dnsName": { + "type": "string", + "description": "The cluster dns name." + }, + "enableAutoOSUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Setting this to true enables automatic OS upgrade for the node types that are created using any platform OS image with version 'latest'. The default value for this setting is false." + }, + "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." + }, + "httpGatewayConnectionPort": { + "oneOf": [ + { + "type": "integer", + "default": "19080" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port used for HTTP connections to the cluster." + }, + "loadBalancingRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancingRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Load balancing rules that are applied to the public load balancer of the cluster." + }, + "networkSecurityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom Network Security Rules that are applied to the virtual network of the cluster." + } + }, + "required": [ + "adminUserName", + "dnsName" + ], + "description": "Describes the managed cluster resource properties." + }, + "managedclusters_applications_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01-preview" + ] + }, + "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": "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/managedclusters/applications" + }, + "managedclusters_applications_services_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01-preview" + ] + }, + "location": { + "type": "string", + "description": "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/managedclusters/applications/services" + }, + "managedclusters_applicationTypes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01-preview" + ] + }, + "location": { + "type": "string", + "description": "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/managedclusters/applicationTypes" + }, + "managedclusters_applicationTypes_versions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01-preview" + ] + }, + "location": { + "type": "string", + "description": "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/managedclusters/applicationTypes/versions" + }, + "managedClusters_nodeTypes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the node type." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NodeTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a node type in the cluster, each node type represents sub set of nodes in the cluster." + }, + "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": [ + "nodeTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedClusters/nodeTypes" + }, + "ManagedIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The 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." + }, + "NetworkSecurityRule": { + "type": "object", + "properties": { + "access": { + "oneOf": [ + { + "type": "string", + "enum": [ + "allow", + "deny" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The network traffic is allowed or denied." + }, + "description": { + "type": "string", + "description": "Network security rule description." + }, + "destinationAddressPrefixes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The destination address prefixes. CIDR or destination IP ranges." + }, + "destinationPortRanges": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The destination port ranges." + }, + "direction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "inbound", + "outbound" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network security rule direction." + }, + "name": { + "type": "string", + "description": "Network security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer", + "minimum": 1000, + "maximum": 3000 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "http", + "https", + "tcp", + "udp", + "icmp", + "ah", + "esp" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network protocol this rule applies to." + }, + "sourceAddressPrefixes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The CIDR or source IP ranges." + }, + "sourcePortRanges": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source port ranges." + } + }, + "required": [ + "access", + "direction", + "name", + "priority", + "protocol" + ], + "description": "Describes a network security rule." + }, + "NodeTypeProperties": { + "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." + }, + "dataDiskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Disk size for each vm in the node type in GBs." + }, + "ephemeralPorts": { + "oneOf": [ + { + "$ref": "#/definitions/EndpointRangeDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Port range details" + }, + "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." + }, + "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." + }, + "vmExtensions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VMSSExtension" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Set of extensions that should be installed onto the virtual machines." + }, + "vmImageOffer": { + "type": "string", + "description": "The offer type of the Azure Virtual Machines Marketplace image. For example, UbuntuServer or WindowsServer." + }, + "vmImagePublisher": { + "type": "string", + "description": "The publisher of the Azure Virtual Machines Marketplace image. For example, Canonical or MicrosoftWindowsServer." + }, + "vmImageSku": { + "type": "string", + "description": "The SKU of the Azure Virtual Machines Marketplace image. For example, 14.04.0-LTS or 2012-R2-Datacenter." + }, + "vmImageVersion": { + "type": "string", + "description": "The version of the Azure Virtual Machines Marketplace image. A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'." + }, + "vmInstanceCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 2147483647 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of nodes in the node type." + }, + "vmManagedIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/VmManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identities for the virtual machine scale set under the node type." + }, + "vmSecrets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The secrets to install in the virtual machines." + }, + "vmSize": { + "type": "string", + "description": "The size of virtual machines in the pool. All virtual machines in a pool are the same size. For example, Standard_D3." + } + }, + "required": [ + "dataDiskSizeGB", + "isPrimary", + "vmInstanceCount" + ], + "description": "Describes a node type in the cluster, each node type represents sub set of nodes in the cluster." + }, + "Partition": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/SingletonPartitionScheme" + } + ], + "properties": {}, + "description": "Describes how the service is partitioned." + }, + "RollingUpgradeMonitoringPolicy": { + "type": "object", + "properties": { + "failureAction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Rollback", + "Manual" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations. Invalid indicates the failure action is invalid. Rollback specifies that the upgrade will start rolling back automatically. Manual indicates that the upgrade will switch to UnmonitoredManual upgrade mode." + }, + "healthCheckRetryTimeout": { + "type": "string", + "description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "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. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "healthCheckWaitDuration": { + "type": "string", + "description": "The amount of time to wait after completing an upgrade domain before applying health policies. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "upgradeDomainTimeout": { + "type": "string", + "description": "The amount of time each upgrade domain has to complete before FailureAction is executed. Cannot be larger than 12 hours. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "upgradeTimeout": { + "type": "string", + "description": "The amount of time the overall upgrade has to complete before FailureAction is executed. Cannot be larger than 12 hours. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + } + }, + "required": [ + "failureAction", + "healthCheckRetryTimeout", + "healthCheckStableDuration", + "healthCheckWaitDuration", + "upgradeDomainTimeout", + "upgradeTimeout" + ], + "description": "The policy used for monitoring the application upgrade" + }, + "ScalingMechanism": { + "type": "object", + "properties": {}, + "description": "Describes the mechanism for performing a scaling operation." + }, + "ScalingPolicy": { + "type": "object", + "properties": { + "scalingMechanism": { + "oneOf": [ + { + "$ref": "#/definitions/ScalingMechanism" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the mechanism for performing a scaling operation." + }, + "scalingTrigger": { + "oneOf": [ + { + "$ref": "#/definitions/ScalingTrigger" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the trigger for performing a scaling operation." + } + }, + "required": [ + "scalingMechanism", + "scalingTrigger" + ], + "description": "Specifies a metric to load balance a service during runtime." + }, + "ScalingTrigger": { + "type": "object", + "properties": {}, + "description": "Describes the trigger for performing a scaling operation." + }, + "ServiceCorrelation": { + "type": "object", + "properties": { + "scheme": { + "oneOf": [ + { + "type": "string", + "enum": [ + "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 ARM Resource ID describing the service resource" + } + }, + "required": [ + "scheme", + "serviceName" + ], + "description": "Creates a particular correlation between services." + }, + "ServiceLoadMetric": { + "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." + }, + "ServicePlacementNonPartiallyPlaceServicePolicy": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "NonPartiallyPlaceService" + ] + } + }, + "required": [ + "type" + ], + "description": "ServicePlacementNonPartiallyPlaceServicePolicy" + }, + "ServicePlacementPolicy": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ServicePlacementNonPartiallyPlaceServicePolicy" + } + ], + "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/ServiceCorrelation" + } + }, + { + "$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/Partition" + }, + { + "$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)\"." + }, + "scalingPolicies": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ScalingPolicy" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Scaling policies for this service." + }, + "serviceLoadMetrics": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceLoadMetric" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The service load metrics is given as an array of ServiceLoadMetric 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/ServicePlacementPolicy" + } + }, + { + "$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" + } + }, + "required": [ + "partitionDescription", + "serviceTypeName" + ], + "description": "The service resource properties." + }, + "ServiceTypeHealthPolicy": { + "type": "object", + "properties": { + "maxPercentUnhealthyPartitionsPerService": { + "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 unhealthy partitions per service.\n\nThe percentage represents the maximum tolerated percentage of partitions that can be unhealthy before the service is considered in error.\nIf the percentage is respected but there is at least one unhealthy partition, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy partitions over the total number of partitions in the service.\nThe computation rounds up to tolerate one failure on small numbers of partitions.\n" + }, + "maxPercentUnhealthyReplicasPerPartition": { + "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 unhealthy replicas per partition.\n\nThe percentage represents the maximum tolerated percentage of replicas that can be unhealthy before the partition is considered in error.\nIf the percentage is respected but there is at least one unhealthy replica, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy replicas over the total number of replicas in the partition.\nThe computation rounds up to tolerate one failure on small numbers of replicas.\n" + }, + "maxPercentUnhealthyServices": { + "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 unhealthy services.\n\nThe percentage represents the maximum tolerated percentage of services that can be unhealthy before the application is considered in error.\nIf the percentage is respected but there is at least one unhealthy service, the health is evaluated as Warning.\nThis is calculated by dividing the number of unhealthy services of the specific service type over the total number of services of the specific service type.\nThe computation rounds up to tolerate one failure on small numbers of services.\n" + } + }, + "required": [ + "maxPercentUnhealthyPartitionsPerService", + "maxPercentUnhealthyReplicasPerPartition", + "maxPercentUnhealthyServices" + ], + "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." + }, + "SingletonPartitionScheme": { + "type": "object", + "properties": { + "partitionScheme": { + "type": "string", + "enum": [ + "Singleton" + ] + } + }, + "required": [ + "partitionScheme" + ], + "description": "SingletonPartitionScheme" + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic", + "Standard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku Name." + } + }, + "required": [ + "name" + ], + "description": "Service Fabric managed cluster Sku definition" + }, + "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", + "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\"." + }, + "replicaRestartWaitDuration": { + "type": "string", + "description": "The duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format \"hh:mm:ss\"." + }, + "serviceKind": { + "type": "string", + "enum": [ + "Stateful" + ] + }, + "servicePlacementTimeLimit": { + "type": "string", + "description": "The duration for which replicas can stay InBuild before reporting that build is stuck, represented in ISO 8601 format \"hh:mm:ss\"." + }, + "standByReplicaKeepDuration": { + "type": "string", + "description": "The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format \"hh:mm:ss\"." + }, + "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": { + "instanceCount": { + "oneOf": [ + { + "type": "integer", + "minimum": -1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance count." + }, + "minInstanceCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MinInstanceCount is the minimum number of instances that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstanceCount computation -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service." + }, + "minInstancePercentage": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MinInstancePercentage is the minimum percentage of InstanceCount that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstancePercentage computation, -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service." + }, + "serviceKind": { + "type": "string", + "enum": [ + "Stateless" + ] + } + }, + "required": [ + "instanceCount", + "serviceKind" + ], + "description": "The properties of a stateless service resource." + }, + "SubResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Azure resource identifier." + } + }, + "description": "Azure resource identifier." + }, + "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": {} + }, + "VaultCertificate": { + "type": "object", + "properties": { + "certificateStore": { + "type": "string", + "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.

    For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted." + }, + "certificateUrl": { + "type": "string", + "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:

    {
    \"data\":\"\",
    \"dataType\":\"pfx\",
    \"password\":\"\"
    }" + } + }, + "required": [ + "certificateStore", + "certificateUrl" + ], + "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM." + }, + "VaultSecretGroup": { + "type": "object", + "properties": { + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure resource identifier." + }, + "vaultCertificates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultCertificate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of key vault references in SourceVault which contain certificates." + } + }, + "required": [ + "sourceVault", + "vaultCertificates" + ], + "description": "Specifies set of certificates that should be installed onto the virtual machines." + }, + "VmManagedIdentity": { + "type": "object", + "properties": { + "userAssignedIdentities": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the virtual machine scale set under the node type. Each entry will be an ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identities for the virtual machine scale set under the node type." + }, + "VMSSExtension": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VMSSExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Specifies set of extensions that should be installed onto the virtual machines." + }, + "VMSSExtensionProperties": { + "type": "object", + "properties": { + "autoUpgradeMinorVersion": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "forceUpdateTag": { + "type": "string", + "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed." + }, + "protectedSettings": { + "type": "object", + "properties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "provisionAfterExtensions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of extension names after which this extension needs to be provisioned." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "settings": { + "type": "object", + "properties": {}, + "description": "Json formatted public settings for the extension." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion" + ], + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + } + } +} \ No newline at end of file diff --git a/schemas/2021-03-01-preview/Microsoft.SecurityInsights.json b/schemas/2021-03-01-preview/Microsoft.SecurityInsights.json index 7d7fe5dfc5..41955ae39e 100644 --- a/schemas/2021-03-01-preview/Microsoft.SecurityInsights.json +++ b/schemas/2021-03-01-preview/Microsoft.SecurityInsights.json @@ -2407,6 +2407,40 @@ }, "description": "Publisher or creator of the content item." }, + "MetadataCategories": { + "type": "object", + "properties": { + "domains": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "domain for the solution content item" + }, + "verticals": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Industry verticals for the solution content item" + } + }, + "description": "ies for the solution content item" + }, "MetadataDependencies": { "type": "object", "properties": { @@ -2495,6 +2529,17 @@ ], "description": "Publisher or creator of the content item." }, + "categories": { + "oneOf": [ + { + "$ref": "#/definitions/MetadataCategories" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ies for the solution content item" + }, "contentId": { "type": "string", "description": "Static ID for the content. Used to identify dependencies and content from solutions or community. Hard-coded/static for out of the box content and solutions. Can be optionally set for user created content to define dependencies. If an active content item is made from a template, both will have the same contentId." @@ -2510,6 +2555,11 @@ ], "description": "Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies." }, + "firstPublishDate": { + "type": "string", + "format": "date", + "description": "first publish date of solution content item" + }, "kind": { "oneOf": [ { @@ -2537,10 +2587,29 @@ ], "description": "The kind of content the metadata is for." }, + "lastPublishDate": { + "type": "string", + "format": "date", + "description": "last publish date of solution content item" + }, "parentId": { "type": "string", "description": "Full parent resource ID of the content item the metadata is for. This is the full resource ID including the scope (subscription and resource group)" }, + "providers": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Providers for the solution content item" + }, "source": { "oneOf": [ { diff --git a/schemas/2021-05-01/Microsoft.ServiceFabric.json b/schemas/2021-05-01/Microsoft.ServiceFabric.json new file mode 100644 index 0000000000..c41d897d08 --- /dev/null +++ b/schemas/2021-05-01/Microsoft.ServiceFabric.json @@ -0,0 +1,2634 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.ServiceFabric.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.ServiceFabric", + "description": "Microsoft ServiceFabric Resource Types", + "resourceDefinitions": { + "managedClusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-05-01" + ] + }, + "location": { + "type": "string", + "description": "Azure resource location." + }, + "name": { + "type": "string", + "description": "The name of the cluster resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the managed cluster resource properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/managedclusters_applicationTypes_childResource" + }, + { + "$ref": "#/definitions/managedclusters_applications_childResource" + }, + { + "$ref": "#/definitions/managedClusters_nodeTypes_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Service Fabric managed cluster Sku definition" + }, + "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/managedClusters" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedClusters" + }, + "managedclusters_applications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-05-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": "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/managedclusters_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/managedclusters/applications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applications" + }, + "managedclusters_applications_services": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-05-01" + ] + }, + "location": { + "type": "string", + "description": "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/managedclusters/applications/services" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applications/services" + }, + "managedclusters_applicationTypes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-05-01" + ] + }, + "location": { + "type": "string", + "description": "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/managedclusters_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/managedclusters/applicationTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applicationTypes" + }, + "managedclusters_applicationTypes_versions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-05-01" + ] + }, + "location": { + "type": "string", + "description": "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/managedclusters/applicationTypes/versions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applicationTypes/versions" + }, + "managedClusters_nodeTypes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-05-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the node type." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NodeTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a node type in the cluster, each node type represents sub set of nodes in the cluster." + }, + "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/managedClusters/nodeTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedClusters/nodeTypes" + } + }, + "definitions": { + "ApplicationHealthPolicy": { + "type": "object", + "properties": { + "considerWarningAsError": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$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/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" + }, + "maxPercentUnhealthyDeployedApplications": { + "oneOf": [ + { + "type": "integer" + }, + { + "$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/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" + } + }, + "required": [ + "considerWarningAsError", + "maxPercentUnhealthyDeployedApplications" + ], + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities.\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." + }, + "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." + }, + "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." + }, + "version": { + "type": "string", + "description": "The version of the application type as defined in the application manifest.\nThis name must be the full Arm Resource ID for the referenced application type version.\n" + } + }, + "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" + ], + "description": "The policy used to clean up unused versions. When the policy is not specified explicitly, the default unused application versions to keep will be 3." + }, + "ApplicationUpgradePolicy": { + "type": "object", + "properties": { + "applicationHealthPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationHealthPolicy" + }, + { + "$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)." + }, + "instanceCloseDelayDuration": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster upgrade, only for those instances which have a non-zero delay duration configured in the service description." + }, + "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." + }, + "rollingUpgradeMonitoringPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/RollingUpgradeMonitoringPolicy" + }, + { + "$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": [ + "Monitored", + "UnmonitoredAuto" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "upgradeReplicaSetCheckTimeout": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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" + ] + }, + "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." + }, + "ClientCertificate": { + "type": "object", + "properties": { + "commonName": { + "type": "string", + "description": "Certificate common name." + }, + "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." + }, + "issuerThumbprint": { + "type": "string", + "description": "Issuer thumbprint for the certificate. Only used together with CommonName." + }, + "thumbprint": { + "type": "string", + "description": "Certificate thumbprint." + } + }, + "required": [ + "isAdmin" + ], + "description": "Client certificate definition." + }, + "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" + }, + "LoadBalancingRule": { + "type": "object", + "properties": { + "backendPort": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 65534 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535." + }, + "frontendPort": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 65534 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 1 and 65534." + }, + "probePort": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 65534 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The prob port used by the load balancing rule. Acceptable values are between 1 and 65535." + }, + "probeProtocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "tcp", + "http", + "https" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "the reference to the load balancer probe used by the load balancing rule." + }, + "probeRequestPath": { + "type": "string", + "description": "The probe request path. Only supported for HTTP/HTTPS probes." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "tcp", + "udp" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The reference to the transport protocol used by the load balancing rule." + } + }, + "required": [ + "backendPort", + "frontendPort", + "probeProtocol", + "protocol" + ], + "description": "Describes a load balancing rule." + }, + "ManagedClusterProperties": { + "type": "object", + "properties": { + "addonFeatures": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of add-on features to enable on the cluster." + }, + "adminPassword": { + "type": "string", + "format": "password", + "description": "VM admin user password." + }, + "adminUserName": { + "type": "string", + "description": "VM admin user name." + }, + "allowRdpAccess": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Setting this to true enables RDP access to the VM. The default NSG rule opens RDP port to internet which can be overridden with custom Network Security Rules. The default value for this setting is false." + }, + "applicationTypeVersionsCleanupPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationTypeVersionsCleanupPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policy used to clean up unused versions. When the policy is not specified explicitly, the default unused application versions to keep will be 3." + }, + "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." + }, + "clientConnectionPort": { + "oneOf": [ + { + "type": "integer", + "default": "19000" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port used for client connections to the cluster." + }, + "clients": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ClientCertificate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Client certificates that are allowed to manage the cluster." + }, + "clusterCodeVersion": { + "type": "string", + "description": "The Service Fabric runtime version of the cluster. This property is required when **clusterUpgradeMode** 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**." + }, + "clusterUpgradeCadence": { + "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 **clusterUpgradeMode** is set to 'Automatic'." + }, + "clusterUpgradeMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Automatic", + "Manual" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "dnsName": { + "type": "string", + "description": "The cluster dns name." + }, + "enableAutoOSUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Setting this to true enables automatic OS upgrade for the node types that are created using any platform OS image with version 'latest'. The default value for this setting is false." + }, + "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." + }, + "httpGatewayConnectionPort": { + "oneOf": [ + { + "type": "integer", + "default": "19080" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port used for HTTP connections to the cluster." + }, + "loadBalancingRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancingRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Load balancing rules that are applied to the public load balancer of the cluster." + }, + "networkSecurityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom Network Security Rules that are applied to the virtual network of the cluster." + }, + "zonalResiliency": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the cluster has zone resiliency." + } + }, + "required": [ + "adminUserName", + "dnsName" + ], + "description": "Describes the managed cluster resource properties." + }, + "managedclusters_applications_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-05-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": "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/managedclusters/applications" + }, + "managedclusters_applications_services_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-05-01" + ] + }, + "location": { + "type": "string", + "description": "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/managedclusters/applications/services" + }, + "managedclusters_applicationTypes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-05-01" + ] + }, + "location": { + "type": "string", + "description": "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/managedclusters/applicationTypes" + }, + "managedclusters_applicationTypes_versions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-05-01" + ] + }, + "location": { + "type": "string", + "description": "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/managedclusters/applicationTypes/versions" + }, + "managedClusters_nodeTypes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-05-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the node type." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NodeTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a node type in the cluster, each node type represents sub set of nodes in the cluster." + }, + "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": [ + "nodeTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedClusters/nodeTypes" + }, + "ManagedIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The 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." + }, + "NetworkSecurityRule": { + "type": "object", + "properties": { + "access": { + "oneOf": [ + { + "type": "string", + "enum": [ + "allow", + "deny" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The network traffic is allowed or denied." + }, + "description": { + "type": "string", + "description": "Network security rule description." + }, + "destinationAddressPrefixes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The destination address prefixes. CIDR or destination IP ranges." + }, + "destinationPortRanges": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The destination port ranges." + }, + "direction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "inbound", + "outbound" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network security rule direction." + }, + "name": { + "type": "string", + "description": "Network security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer", + "minimum": 1000, + "maximum": 3000 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "http", + "https", + "tcp", + "udp", + "icmp", + "ah", + "esp" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network protocol this rule applies to." + }, + "sourceAddressPrefixes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The CIDR or source IP ranges." + }, + "sourcePortRanges": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source port ranges." + } + }, + "required": [ + "access", + "direction", + "name", + "priority", + "protocol" + ], + "description": "Describes a network security rule." + }, + "NodeTypeProperties": { + "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." + }, + "dataDiskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Disk size for each vm in the node type in GBs." + }, + "dataDiskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "StandardSSD_LRS", + "Premium_LRS" + ] + }, + { + "$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" + }, + "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", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the node type can only host Stateless workloads." + }, + "multiplePlacementGroups": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if scale set associated with the node type can be composed of multiple placement groups." + }, + "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." + }, + "vmExtensions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VMSSExtension" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Set of extensions that should be installed onto the virtual machines." + }, + "vmImageOffer": { + "type": "string", + "description": "The offer type of the Azure Virtual Machines Marketplace image. For example, UbuntuServer or WindowsServer." + }, + "vmImagePublisher": { + "type": "string", + "description": "The publisher of the Azure Virtual Machines Marketplace image. For example, Canonical or MicrosoftWindowsServer." + }, + "vmImageSku": { + "type": "string", + "description": "The SKU of the Azure Virtual Machines Marketplace image. For example, 14.04.0-LTS or 2012-R2-Datacenter." + }, + "vmImageVersion": { + "type": "string", + "description": "The version of the Azure Virtual Machines Marketplace image. A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'." + }, + "vmInstanceCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 2147483647 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of nodes in the node type." + }, + "vmManagedIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/VmManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identities for the virtual machine scale set under the node type." + }, + "vmSecrets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The secrets to install in the virtual machines." + }, + "vmSize": { + "type": "string", + "description": "The size of virtual machines in the pool. All virtual machines in a pool are the same size. For example, Standard_D3." + } + }, + "required": [ + "dataDiskSizeGB", + "isPrimary", + "vmInstanceCount" + ], + "description": "Describes a node type in the cluster, each node type represents sub set of nodes in the cluster." + }, + "Partition": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/SingletonPartitionScheme" + } + ], + "properties": {}, + "description": "Describes how the service is partitioned." + }, + "RollingUpgradeMonitoringPolicy": { + "type": "object", + "properties": { + "failureAction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Rollback", + "Manual" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations. Invalid indicates the failure action is invalid. Rollback specifies that the upgrade will start rolling back automatically. Manual indicates that the upgrade will switch to UnmonitoredManual upgrade mode." + }, + "healthCheckRetryTimeout": { + "type": "string", + "description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "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. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "healthCheckWaitDuration": { + "type": "string", + "description": "The amount of time to wait after completing an upgrade domain before applying health policies. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "upgradeDomainTimeout": { + "type": "string", + "description": "The amount of time each upgrade domain has to complete before FailureAction is executed. Cannot be larger than 12 hours. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "upgradeTimeout": { + "type": "string", + "description": "The amount of time the overall upgrade has to complete before FailureAction is executed. Cannot be larger than 12 hours. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + } + }, + "required": [ + "failureAction", + "healthCheckRetryTimeout", + "healthCheckStableDuration", + "healthCheckWaitDuration", + "upgradeDomainTimeout", + "upgradeTimeout" + ], + "description": "The policy used for monitoring the application upgrade" + }, + "ScalingMechanism": { + "type": "object", + "properties": {}, + "description": "Describes the mechanism for performing a scaling operation." + }, + "ScalingPolicy": { + "type": "object", + "properties": { + "scalingMechanism": { + "oneOf": [ + { + "$ref": "#/definitions/ScalingMechanism" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the mechanism for performing a scaling operation." + }, + "scalingTrigger": { + "oneOf": [ + { + "$ref": "#/definitions/ScalingTrigger" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the trigger for performing a scaling operation." + } + }, + "required": [ + "scalingMechanism", + "scalingTrigger" + ], + "description": "Specifies a metric to load balance a service during runtime." + }, + "ScalingTrigger": { + "type": "object", + "properties": {}, + "description": "Describes the trigger for performing a scaling operation." + }, + "ServiceCorrelation": { + "type": "object", + "properties": { + "scheme": { + "oneOf": [ + { + "type": "string", + "enum": [ + "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 ARM Resource ID describing the service resource" + } + }, + "required": [ + "scheme", + "serviceName" + ], + "description": "Creates a particular correlation between services." + }, + "ServiceLoadMetric": { + "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." + }, + "ServicePlacementNonPartiallyPlaceServicePolicy": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "NonPartiallyPlaceService" + ] + } + }, + "required": [ + "type" + ], + "description": "ServicePlacementNonPartiallyPlaceServicePolicy" + }, + "ServicePlacementPolicy": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ServicePlacementNonPartiallyPlaceServicePolicy" + } + ], + "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/ServiceCorrelation" + } + }, + { + "$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/Partition" + }, + { + "$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)\"." + }, + "scalingPolicies": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ScalingPolicy" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Scaling policies for this service." + }, + "serviceLoadMetrics": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceLoadMetric" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The service load metrics is given as an array of ServiceLoadMetric 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/ServicePlacementPolicy" + } + }, + { + "$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" + } + }, + "required": [ + "partitionDescription", + "serviceTypeName" + ], + "description": "The service resource properties." + }, + "ServiceTypeHealthPolicy": { + "type": "object", + "properties": { + "maxPercentUnhealthyPartitionsPerService": { + "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 unhealthy partitions per service.\n\nThe percentage represents the maximum tolerated percentage of partitions that can be unhealthy before the service is considered in error.\nIf the percentage is respected but there is at least one unhealthy partition, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy partitions over the total number of partitions in the service.\nThe computation rounds up to tolerate one failure on small numbers of partitions.\n" + }, + "maxPercentUnhealthyReplicasPerPartition": { + "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 unhealthy replicas per partition.\n\nThe percentage represents the maximum tolerated percentage of replicas that can be unhealthy before the partition is considered in error.\nIf the percentage is respected but there is at least one unhealthy replica, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy replicas over the total number of replicas in the partition.\nThe computation rounds up to tolerate one failure on small numbers of replicas.\n" + }, + "maxPercentUnhealthyServices": { + "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 unhealthy services.\n\nThe percentage represents the maximum tolerated percentage of services that can be unhealthy before the application is considered in error.\nIf the percentage is respected but there is at least one unhealthy service, the health is evaluated as Warning.\nThis is calculated by dividing the number of unhealthy services of the specific service type over the total number of services of the specific service type.\nThe computation rounds up to tolerate one failure on small numbers of services.\n" + } + }, + "required": [ + "maxPercentUnhealthyPartitionsPerService", + "maxPercentUnhealthyReplicasPerPartition", + "maxPercentUnhealthyServices" + ], + "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." + }, + "SingletonPartitionScheme": { + "type": "object", + "properties": { + "partitionScheme": { + "type": "string", + "enum": [ + "Singleton" + ] + } + }, + "required": [ + "partitionScheme" + ], + "description": "SingletonPartitionScheme" + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic", + "Standard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku Name." + } + }, + "required": [ + "name" + ], + "description": "Service Fabric managed cluster Sku definition" + }, + "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", + "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\"." + }, + "replicaRestartWaitDuration": { + "type": "string", + "description": "The duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format \"hh:mm:ss\"." + }, + "serviceKind": { + "type": "string", + "enum": [ + "Stateful" + ] + }, + "servicePlacementTimeLimit": { + "type": "string", + "description": "The duration for which replicas can stay InBuild before reporting that build is stuck, represented in ISO 8601 format \"hh:mm:ss\"." + }, + "standByReplicaKeepDuration": { + "type": "string", + "description": "The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format \"hh:mm:ss\"." + }, + "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": { + "instanceCount": { + "oneOf": [ + { + "type": "integer", + "minimum": -1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance count." + }, + "minInstanceCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MinInstanceCount is the minimum number of instances that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstanceCount computation -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service." + }, + "minInstancePercentage": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MinInstancePercentage is the minimum percentage of InstanceCount that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstancePercentage computation, -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service." + }, + "serviceKind": { + "type": "string", + "enum": [ + "Stateless" + ] + } + }, + "required": [ + "instanceCount", + "serviceKind" + ], + "description": "The properties of a stateless service resource." + }, + "SubResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Azure resource identifier." + } + }, + "description": "Azure resource identifier." + }, + "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": {} + }, + "VaultCertificate": { + "type": "object", + "properties": { + "certificateStore": { + "type": "string", + "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.

    For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted." + }, + "certificateUrl": { + "type": "string", + "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:

    {
    \"data\":\"\",
    \"dataType\":\"pfx\",
    \"password\":\"\"
    }" + } + }, + "required": [ + "certificateStore", + "certificateUrl" + ], + "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM." + }, + "VaultSecretGroup": { + "type": "object", + "properties": { + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure resource identifier." + }, + "vaultCertificates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultCertificate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of key vault references in SourceVault which contain certificates." + } + }, + "required": [ + "sourceVault", + "vaultCertificates" + ], + "description": "Specifies set of certificates that should be installed onto the virtual machines." + }, + "VmManagedIdentity": { + "type": "object", + "properties": { + "userAssignedIdentities": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the virtual machine scale set under the node type. Each entry will be an ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identities for the virtual machine scale set under the node type." + }, + "VMSSExtension": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VMSSExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Specifies set of extensions that should be installed onto the virtual machines." + }, + "VMSSExtensionProperties": { + "type": "object", + "properties": { + "autoUpgradeMinorVersion": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "forceUpdateTag": { + "type": "string", + "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed." + }, + "protectedSettings": { + "type": "object", + "properties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "provisionAfterExtensions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of extension names after which this extension needs to be provisioned." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "settings": { + "type": "object", + "properties": {}, + "description": "Json formatted public settings for the extension." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion" + ], + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + } + } +} \ 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 239bb0ed90..a75669a511 100644 --- a/schemas/2021-06-01/Microsoft.Security.json +++ b/schemas/2021-06-01/Microsoft.Security.json @@ -43,53 +43,6 @@ "type" ], "description": "Microsoft.Security/assessmentMetadata" - }, - "settings": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/DataExportSettings" - }, - { - "$ref": "#/definitions/AlertSyncSettings" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "MCAS", - "WDATP", - "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" } }, "unknown_resourceDefinitions": { @@ -134,52 +87,6 @@ } }, "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" - }, "AssessmentLinks": { "type": "object", "properties": {}, @@ -233,52 +140,6 @@ ], "description": "Details of the Azure resource that was assessed" }, - "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" - }, "OnPremiseResourceDetails": { "type": "object", "oneOf": [ diff --git a/schemas/2021-07-01-preview/Microsoft.Security.json b/schemas/2021-07-01-preview/Microsoft.Security.json new file mode 100644 index 0000000000..d72185fd0c --- /dev/null +++ b/schemas/2021-07-01-preview/Microsoft.Security.json @@ -0,0 +1,146 @@ +{ + "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": { + "customAssessmentAutomations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the Custom Assessment Automation." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CustomAssessmentAutomationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "describes the Custom Assessment Automation properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Security/customAssessmentAutomations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Security/customAssessmentAutomations" + }, + "customEntityStoreAssignments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the custom entity store assignment. Generated name is GUID." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CustomEntityStoreAssignmentRequestProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "describes properties of custom entity store assignment request" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Security/customEntityStoreAssignments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Security/customEntityStoreAssignments" + } + }, + "definitions": { + "CustomAssessmentAutomationProperties": { + "type": "object", + "properties": { + "compressedQuery": { + "type": "string", + "description": "GZip encoded KQL query representing the assessment automation results required." + }, + "description": { + "type": "string", + "description": "The description to relate to the assessments generated by this assessment automation." + }, + "remediationDescription": { + "type": "string", + "description": "The remediation description to relate to the assessments generated by this assessment automation." + }, + "severity": { + "oneOf": [ + { + "type": "string", + "enum": [ + "High", + "Medium", + "Low" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The severity to relate to the assessments generated by this assessment automation." + }, + "supportedCloud": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AWS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Relevant cloud for the custom assessment automation." + } + }, + "description": "describes the Custom Assessment Automation properties" + }, + "CustomEntityStoreAssignmentRequestProperties": { + "type": "object", + "properties": { + "principal": { + "type": "string", + "description": "The principal assigned with entity store. If not provided, will use caller principal. Format of principal is: [AAD type]=[PrincipalObjectId];[TenantId]" + } + }, + "description": "describes properties of custom entity store assignment request" + } + } +} \ No newline at end of file diff --git a/schemas/2021-07-01-preview/Microsoft.ServiceFabric.json b/schemas/2021-07-01-preview/Microsoft.ServiceFabric.json new file mode 100644 index 0000000000..ea20bdf536 --- /dev/null +++ b/schemas/2021-07-01-preview/Microsoft.ServiceFabric.json @@ -0,0 +1,2791 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.ServiceFabric.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.ServiceFabric", + "description": "Microsoft ServiceFabric Resource Types", + "resourceDefinitions": { + "managedClusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "location": { + "type": "string", + "description": "Azure resource location." + }, + "name": { + "type": "string", + "description": "The name of the cluster resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the managed cluster resource properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/managedclusters_applicationTypes_childResource" + }, + { + "$ref": "#/definitions/managedclusters_applications_childResource" + }, + { + "$ref": "#/definitions/managedClusters_nodeTypes_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Service Fabric managed cluster Sku definition" + }, + "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/managedClusters" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedClusters" + }, + "managedclusters_applications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "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": "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/managedclusters_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/managedclusters/applications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applications" + }, + "managedclusters_applications_services": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "location": { + "type": "string", + "description": "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/managedclusters/applications/services" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applications/services" + }, + "managedclusters_applicationTypes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "location": { + "type": "string", + "description": "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/managedclusters_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/managedclusters/applicationTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applicationTypes" + }, + "managedclusters_applicationTypes_versions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "location": { + "type": "string", + "description": "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/managedclusters/applicationTypes/versions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applicationTypes/versions" + }, + "managedClusters_nodeTypes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the node type." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NodeTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a node type in the cluster, each node type represents sub set of nodes in the cluster." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/NodeTypeSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a node type sku." + }, + "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/managedClusters/nodeTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedClusters/nodeTypes" + } + }, + "definitions": { + "ApplicationHealthPolicy": { + "type": "object", + "properties": { + "considerWarningAsError": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$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/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" + }, + "maxPercentUnhealthyDeployedApplications": { + "oneOf": [ + { + "type": "integer" + }, + { + "$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/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" + } + }, + "required": [ + "considerWarningAsError", + "maxPercentUnhealthyDeployedApplications" + ], + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities.\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." + }, + "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." + }, + "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." + }, + "version": { + "type": "string", + "description": "The version of the application type as defined in the application manifest.\nThis name must be the full Arm Resource ID for the referenced application type version.\n" + } + }, + "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" + ], + "description": "The policy used to clean up unused versions. When the policy is not specified explicitly, the default unused application versions to keep will be 3." + }, + "ApplicationUpgradePolicy": { + "type": "object", + "properties": { + "applicationHealthPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationHealthPolicy" + }, + { + "$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)." + }, + "instanceCloseDelayDuration": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster upgrade, only for those instances which have a non-zero delay duration configured in the service description." + }, + "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." + }, + "rollingUpgradeMonitoringPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/RollingUpgradeMonitoringPolicy" + }, + { + "$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": [ + "Monitored", + "UnmonitoredAuto" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "upgradeReplicaSetCheckTimeout": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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" + ] + }, + "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." + }, + "ClientCertificate": { + "type": "object", + "properties": { + "commonName": { + "type": "string", + "description": "Certificate common name." + }, + "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." + }, + "issuerThumbprint": { + "type": "string", + "description": "Issuer thumbprint for the certificate. Only used together with CommonName." + }, + "thumbprint": { + "type": "string", + "description": "Certificate thumbprint." + } + }, + "required": [ + "isAdmin" + ], + "description": "Client certificate definition." + }, + "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" + }, + "FrontendConfiguration": { + "type": "object", + "properties": { + "ipAddressType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The IP address type of this frontend configuration. If omitted the default value is IPv4." + }, + "loadBalancerBackendAddressPoolId": { + "type": "string", + "description": "The resource Id of the Load Balancer backend address pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//backendAddressPools/'." + }, + "loadBalancerInboundNatPoolId": { + "type": "string", + "description": "The resource Id of the Load Balancer inbound NAT pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//inboundNatPools/'." + } + }, + "description": "Describes the frontend configurations for the node type." + }, + "IPTag": { + "type": "object", + "properties": { + "ipTagType": { + "type": "string", + "description": "The IP tag type." + }, + "tag": { + "type": "string", + "description": "The value of the IP tag." + } + }, + "required": [ + "ipTagType", + "tag" + ], + "description": "IPTag associated with the object." + }, + "LoadBalancingRule": { + "type": "object", + "properties": { + "backendPort": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 65534 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535." + }, + "frontendPort": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 65534 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 1 and 65534." + }, + "probePort": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 65534 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The prob port used by the load balancing rule. Acceptable values are between 1 and 65535." + }, + "probeProtocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "tcp", + "http", + "https" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "the reference to the load balancer probe used by the load balancing rule." + }, + "probeRequestPath": { + "type": "string", + "description": "The probe request path. Only supported for HTTP/HTTPS probes." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "tcp", + "udp" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The reference to the transport protocol used by the load balancing rule." + } + }, + "required": [ + "backendPort", + "frontendPort", + "probeProtocol", + "protocol" + ], + "description": "Describes a load balancing rule." + }, + "ManagedClusterProperties": { + "type": "object", + "properties": { + "addonFeatures": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of add-on features to enable on the cluster." + }, + "adminPassword": { + "type": "string", + "format": "password", + "description": "VM admin user password." + }, + "adminUserName": { + "type": "string", + "description": "VM admin user name." + }, + "allowRdpAccess": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Setting this to true enables RDP access to the VM. The default NSG rule opens RDP port to Internet which can be overridden with custom Network Security Rules. The default value for this setting is false." + }, + "applicationTypeVersionsCleanupPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationTypeVersionsCleanupPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policy used to clean up unused versions. When the policy is not specified explicitly, the default unused application versions to keep will be 3." + }, + "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." + }, + "clientConnectionPort": { + "oneOf": [ + { + "type": "integer", + "default": "19000" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port used for client connections to the cluster." + }, + "clients": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ClientCertificate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Client certificates that are allowed to manage the cluster." + }, + "clusterCodeVersion": { + "type": "string", + "description": "The Service Fabric runtime version of the cluster. This property is required when **clusterUpgradeMode** 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**." + }, + "clusterUpgradeCadence": { + "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 **clusterUpgradeMode** is set to 'Automatic'." + }, + "clusterUpgradeMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Automatic", + "Manual" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "dnsName": { + "type": "string", + "description": "The cluster dns name." + }, + "enableAutoOSUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Setting this to true enables automatic OS upgrade for the node types that are created using any platform OS image with version 'latest'. The default value for this setting is false." + }, + "enableIpv6": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Setting this to true creates IPv6 address space for the default VNet used by the cluster. This setting cannot be changed once the cluster is created. The default value for this setting is false." + }, + "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." + }, + "httpGatewayConnectionPort": { + "oneOf": [ + { + "type": "integer", + "default": "19080" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port used for HTTP connections to the cluster." + }, + "ipTags": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IPTag" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of IP tags associated with the default public IP address of the cluster." + }, + "loadBalancingRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancingRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Load balancing rules that are applied to the public load balancer of the cluster." + }, + "networkSecurityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom Network Security Rules that are applied to the Virtual Network of the cluster." + }, + "subnetId": { + "type": "string", + "description": "If specified, the node types for the cluster are created in this subnet instead of the default VNet. The **networkSecurityRules** specified for the cluster are also applied to this subnet. This setting cannot be changed once the cluster is created." + }, + "zonalResiliency": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the cluster has zone resiliency." + } + }, + "required": [ + "adminUserName", + "dnsName" + ], + "description": "Describes the managed cluster resource properties." + }, + "managedclusters_applications_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "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": "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/managedclusters/applications" + }, + "managedclusters_applications_services_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "location": { + "type": "string", + "description": "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/managedclusters/applications/services" + }, + "managedclusters_applicationTypes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "location": { + "type": "string", + "description": "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/managedclusters/applicationTypes" + }, + "managedclusters_applicationTypes_versions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "location": { + "type": "string", + "description": "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/managedclusters/applicationTypes/versions" + }, + "managedClusters_nodeTypes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the node type." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NodeTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a node type in the cluster, each node type represents sub set of nodes in the cluster." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/NodeTypeSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a node type sku." + }, + "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": [ + "nodeTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedClusters/nodeTypes" + }, + "ManagedIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The 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." + }, + "NetworkSecurityRule": { + "type": "object", + "properties": { + "access": { + "oneOf": [ + { + "type": "string", + "enum": [ + "allow", + "deny" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The network traffic is allowed or denied." + }, + "description": { + "type": "string", + "description": "Network security rule description." + }, + "destinationAddressPrefixes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The destination address prefixes. CIDR or destination IP ranges." + }, + "destinationPortRanges": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The destination port ranges." + }, + "direction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "inbound", + "outbound" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network security rule direction." + }, + "name": { + "type": "string", + "description": "Network security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer", + "minimum": 1000, + "maximum": 3000 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "http", + "https", + "tcp", + "udp", + "icmp", + "ah", + "esp" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network protocol this rule applies to." + }, + "sourceAddressPrefixes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The CIDR or source IP ranges." + }, + "sourcePortRanges": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source port ranges." + } + }, + "required": [ + "access", + "direction", + "name", + "priority", + "protocol" + ], + "description": "Describes a network security rule." + }, + "NodeTypeProperties": { + "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." + }, + "dataDiskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Disk size for each vm in the node type in GBs." + }, + "dataDiskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "StandardSSD_LRS", + "Premium_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed data disk type." + }, + "ephemeralPorts": { + "oneOf": [ + { + "$ref": "#/definitions/EndpointRangeDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Port range details" + }, + "frontendConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/FrontendConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the node type uses its own frontend configurations instead of the default one for the cluster. This setting can only be specified for non-primary node types and can not be added or removed after the node type is created." + }, + "isPrimary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the Service Fabric system services for the cluster will run on this node type. This setting cannot be changed once the node type is created." + }, + "isStateless": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the node type can only host Stateless workloads." + }, + "multiplePlacementGroups": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if scale set associated with the node type can be composed of multiple placement groups." + }, + "networkSecurityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Network Security Rules for this node type. This setting can only be specified for node types that are configured with frontend configurations." + }, + "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." + }, + "vmExtensions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VMSSExtension" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Set of extensions that should be installed onto the virtual machines." + }, + "vmImageOffer": { + "type": "string", + "description": "The offer type of the Azure Virtual Machines Marketplace image. For example, UbuntuServer or WindowsServer." + }, + "vmImagePublisher": { + "type": "string", + "description": "The publisher of the Azure Virtual Machines Marketplace image. For example, Canonical or MicrosoftWindowsServer." + }, + "vmImageSku": { + "type": "string", + "description": "The SKU of the Azure Virtual Machines Marketplace image. For example, 14.04.0-LTS or 2012-R2-Datacenter." + }, + "vmImageVersion": { + "type": "string", + "description": "The version of the Azure Virtual Machines Marketplace image. A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'." + }, + "vmInstanceCount": { + "oneOf": [ + { + "type": "integer", + "minimum": -1, + "maximum": 2147483647 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of nodes in the node type.

    **Values:**
    -1 - Use when auto scale rules are configured or sku.capacity is defined
    0 - Not supported
    >0 - Use for manual scale." + }, + "vmManagedIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/VmManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identities for the virtual machine scale set under the node type." + }, + "vmSecrets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The secrets to install in the virtual machines." + }, + "vmSize": { + "type": "string", + "description": "The size of virtual machines in the pool. All virtual machines in a pool are the same size. For example, Standard_D3." + } + }, + "required": [ + "dataDiskSizeGB", + "isPrimary", + "vmInstanceCount" + ], + "description": "Describes a node type in the cluster, each node type represents sub set of nodes in the cluster." + }, + "NodeTypeSku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 2147483647 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of nodes in the node type.

    If present in request it will override properties.vmInstanceCount." + }, + "name": { + "type": "string", + "description": "The sku name.

    Name is internally generated and is used in auto-scale scenarios.
    Property does not allow to be changed to other values than generated.
    To avoid deployment errors please omit the property." + }, + "tier": { + "type": "string", + "description": "Specifies the tier of the node type.

    Possible Values:
    **Standard**" + } + }, + "required": [ + "capacity" + ], + "description": "Describes a node type sku." + }, + "Partition": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/SingletonPartitionScheme" + } + ], + "properties": {}, + "description": "Describes how the service is partitioned." + }, + "RollingUpgradeMonitoringPolicy": { + "type": "object", + "properties": { + "failureAction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Rollback", + "Manual" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations. Invalid indicates the failure action is invalid. Rollback specifies that the upgrade will start rolling back automatically. Manual indicates that the upgrade will switch to UnmonitoredManual upgrade mode." + }, + "healthCheckRetryTimeout": { + "type": "string", + "description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "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. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "healthCheckWaitDuration": { + "type": "string", + "description": "The amount of time to wait after completing an upgrade domain before applying health policies. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "upgradeDomainTimeout": { + "type": "string", + "description": "The amount of time each upgrade domain has to complete before FailureAction is executed. Cannot be larger than 12 hours. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "upgradeTimeout": { + "type": "string", + "description": "The amount of time the overall upgrade has to complete before FailureAction is executed. Cannot be larger than 12 hours. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + } + }, + "required": [ + "failureAction", + "healthCheckRetryTimeout", + "healthCheckStableDuration", + "healthCheckWaitDuration", + "upgradeDomainTimeout", + "upgradeTimeout" + ], + "description": "The policy used for monitoring the application upgrade" + }, + "ScalingMechanism": { + "type": "object", + "properties": {}, + "description": "Describes the mechanism for performing a scaling operation." + }, + "ScalingPolicy": { + "type": "object", + "properties": { + "scalingMechanism": { + "oneOf": [ + { + "$ref": "#/definitions/ScalingMechanism" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the mechanism for performing a scaling operation." + }, + "scalingTrigger": { + "oneOf": [ + { + "$ref": "#/definitions/ScalingTrigger" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the trigger for performing a scaling operation." + } + }, + "required": [ + "scalingMechanism", + "scalingTrigger" + ], + "description": "Specifies a metric to load balance a service during runtime." + }, + "ScalingTrigger": { + "type": "object", + "properties": {}, + "description": "Describes the trigger for performing a scaling operation." + }, + "ServiceCorrelation": { + "type": "object", + "properties": { + "scheme": { + "oneOf": [ + { + "type": "string", + "enum": [ + "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 ARM Resource ID describing the service resource" + } + }, + "required": [ + "scheme", + "serviceName" + ], + "description": "Creates a particular correlation between services." + }, + "ServiceLoadMetric": { + "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." + }, + "ServicePlacementNonPartiallyPlaceServicePolicy": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "NonPartiallyPlaceService" + ] + } + }, + "required": [ + "type" + ], + "description": "ServicePlacementNonPartiallyPlaceServicePolicy" + }, + "ServicePlacementPolicy": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ServicePlacementNonPartiallyPlaceServicePolicy" + } + ], + "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/ServiceCorrelation" + } + }, + { + "$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/Partition" + }, + { + "$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)\"." + }, + "scalingPolicies": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ScalingPolicy" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Scaling policies for this service." + }, + "serviceLoadMetrics": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceLoadMetric" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The service load metrics is given as an array of ServiceLoadMetric 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/ServicePlacementPolicy" + } + }, + { + "$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" + } + }, + "required": [ + "partitionDescription", + "serviceTypeName" + ], + "description": "The service resource properties." + }, + "ServiceTypeHealthPolicy": { + "type": "object", + "properties": { + "maxPercentUnhealthyPartitionsPerService": { + "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 unhealthy partitions per service.\n\nThe percentage represents the maximum tolerated percentage of partitions that can be unhealthy before the service is considered in error.\nIf the percentage is respected but there is at least one unhealthy partition, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy partitions over the total number of partitions in the service.\nThe computation rounds up to tolerate one failure on small numbers of partitions.\n" + }, + "maxPercentUnhealthyReplicasPerPartition": { + "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 unhealthy replicas per partition.\n\nThe percentage represents the maximum tolerated percentage of replicas that can be unhealthy before the partition is considered in error.\nIf the percentage is respected but there is at least one unhealthy replica, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy replicas over the total number of replicas in the partition.\nThe computation rounds up to tolerate one failure on small numbers of replicas.\n" + }, + "maxPercentUnhealthyServices": { + "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 unhealthy services.\n\nThe percentage represents the maximum tolerated percentage of services that can be unhealthy before the application is considered in error.\nIf the percentage is respected but there is at least one unhealthy service, the health is evaluated as Warning.\nThis is calculated by dividing the number of unhealthy services of the specific service type over the total number of services of the specific service type.\nThe computation rounds up to tolerate one failure on small numbers of services.\n" + } + }, + "required": [ + "maxPercentUnhealthyPartitionsPerService", + "maxPercentUnhealthyReplicasPerPartition", + "maxPercentUnhealthyServices" + ], + "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." + }, + "SingletonPartitionScheme": { + "type": "object", + "properties": { + "partitionScheme": { + "type": "string", + "enum": [ + "Singleton" + ] + } + }, + "required": [ + "partitionScheme" + ], + "description": "SingletonPartitionScheme" + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic", + "Standard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku Name." + } + }, + "required": [ + "name" + ], + "description": "Service Fabric managed cluster Sku definition" + }, + "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", + "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\"." + }, + "replicaRestartWaitDuration": { + "type": "string", + "description": "The duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format \"hh:mm:ss\"." + }, + "serviceKind": { + "type": "string", + "enum": [ + "Stateful" + ] + }, + "servicePlacementTimeLimit": { + "type": "string", + "description": "The duration for which replicas can stay InBuild before reporting that build is stuck, represented in ISO 8601 format \"hh:mm:ss\"." + }, + "standByReplicaKeepDuration": { + "type": "string", + "description": "The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format \"hh:mm:ss\"." + }, + "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": { + "instanceCount": { + "oneOf": [ + { + "type": "integer", + "minimum": -1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance count." + }, + "minInstanceCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MinInstanceCount is the minimum number of instances that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstanceCount computation -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service." + }, + "minInstancePercentage": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MinInstancePercentage is the minimum percentage of InstanceCount that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstancePercentage computation, -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service." + }, + "serviceKind": { + "type": "string", + "enum": [ + "Stateless" + ] + } + }, + "required": [ + "instanceCount", + "serviceKind" + ], + "description": "The properties of a stateless service resource." + }, + "SubResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Azure resource identifier." + } + }, + "description": "Azure resource identifier." + }, + "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": {} + }, + "VaultCertificate": { + "type": "object", + "properties": { + "certificateStore": { + "type": "string", + "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.

    For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted." + }, + "certificateUrl": { + "type": "string", + "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:

    {
    \"data\":\"\",
    \"dataType\":\"pfx\",
    \"password\":\"\"
    }" + } + }, + "required": [ + "certificateStore", + "certificateUrl" + ], + "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM." + }, + "VaultSecretGroup": { + "type": "object", + "properties": { + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure resource identifier." + }, + "vaultCertificates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultCertificate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of key vault references in SourceVault which contain certificates." + } + }, + "required": [ + "sourceVault", + "vaultCertificates" + ], + "description": "Specifies set of certificates that should be installed onto the virtual machines." + }, + "VmManagedIdentity": { + "type": "object", + "properties": { + "userAssignedIdentities": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the virtual machine scale set under the node type. Each entry will be an ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identities for the virtual machine scale set under the node type." + }, + "VMSSExtension": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VMSSExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Specifies set of extensions that should be installed onto the virtual machines." + }, + "VMSSExtensionProperties": { + "type": "object", + "properties": { + "autoUpgradeMinorVersion": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "forceUpdateTag": { + "type": "string", + "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed." + }, + "protectedSettings": { + "type": "object", + "properties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "provisionAfterExtensions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of extension names after which this extension needs to be provisioned." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "settings": { + "type": "object", + "properties": {}, + "description": "Json formatted public settings for the extension." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion" + ], + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 1b780500e4..4226e27bf0 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -4585,6 +4585,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-03-01-preview/Microsoft.DeviceUpdate.json#/resourceDefinitions/accounts_instances" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-03-01-preview/Microsoft.DeviceUpdate.json#/resourceDefinitions/accounts_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-07-01-preview/Microsoft.DevOps.json#/resourceDefinitions/pipelines" }, @@ -9178,6 +9181,12 @@ { "$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/customAssessmentAutomations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.Security.json#/resourceDefinitions/customEntityStoreAssignments" + }, { "$ref": "https://schema.management.azure.com/schemas/2015-08-01/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces" }, @@ -9463,6 +9472,42 @@ { "$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-01-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedClusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedclusters_applications" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedclusters_applications_services" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedclusters_applicationTypes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedclusters_applicationTypes_versions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-01-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedClusters_nodeTypes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.ServiceFabric.json#/resourceDefinitions/managedClusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.ServiceFabric.json#/resourceDefinitions/managedclusters_applications" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.ServiceFabric.json#/resourceDefinitions/managedclusters_applications_services" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.ServiceFabric.json#/resourceDefinitions/managedclusters_applicationTypes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.ServiceFabric.json#/resourceDefinitions/managedclusters_applicationTypes_versions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.ServiceFabric.json#/resourceDefinitions/managedClusters_nodeTypes" + }, { "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.ServiceFabric.json#/resourceDefinitions/clusters" }, @@ -9478,6 +9523,24 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.ServiceFabric.json#/resourceDefinitions/clusters_applicationTypes_versions" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedClusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedclusters_applications" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedclusters_applications_services" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedclusters_applicationTypes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedclusters_applicationTypes_versions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedClusters_nodeTypes" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-07-01-preview/Microsoft.ServiceFabricMesh.json#/resourceDefinitions/applications" }, From 5f84126501fd83116e6a6d2ba0e1b4aa67876ef1 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 24 Sep 2021 02:50:26 +0000 Subject: [PATCH 233/243] CodeGen from PR 15718 in Azure/azure-rest-api-specs [Hub Generated] Review request for Microsoft.TimeSeriesInsights to add version preview/2021-03-31-preview (#15718) * Adds base for updating Microsoft.TimeSeriesInsights from version stable/2020-05-15 to version 2021-03-31-preview * Updates readme * Updates API version in new specs and examples * Add private links resources * Add examples * Rename example * Remove unused example * fix lintdiff errors * Fix more linting errors * Use common privatelinks definitions * Use common resource type definition * Add suppression for R4009 lintdiff errors --- .../Microsoft.TimeSeriesInsights.json | 1215 +++++++++++++++++ schemas/common/autogeneratedResources.json | 15 + 2 files changed, 1230 insertions(+) create mode 100644 schemas/2021-03-31-preview/Microsoft.TimeSeriesInsights.json diff --git a/schemas/2021-03-31-preview/Microsoft.TimeSeriesInsights.json b/schemas/2021-03-31-preview/Microsoft.TimeSeriesInsights.json new file mode 100644 index 0000000000..7601679b42 --- /dev/null +++ b/schemas/2021-03-31-preview/Microsoft.TimeSeriesInsights.json @@ -0,0 +1,1215 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-03-31-preview/Microsoft.TimeSeriesInsights.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.TimeSeriesInsights", + "description": "Microsoft TimeSeriesInsights Resource Types", + "resourceDefinitions": { + "environments": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/Gen1EnvironmentCreateOrUpdateParameters" + }, + { + "$ref": "#/definitions/Gen2EnvironmentCreateOrUpdateParameters" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-03-31-preview" + ] + }, + "location": { + "type": "string", + "description": "The location of the resource." + }, + "name": { + "type": "string", + "description": "Name of the environment" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/environments_eventSources_childResource" + }, + { + "$ref": "#/definitions/environments_referenceDataSets_childResource" + }, + { + "$ref": "#/definitions/environments_accessPolicies_childResource" + }, + { + "$ref": "#/definitions/environments_privateEndpointConnections_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1). For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key-value pairs of additional properties for the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.TimeSeriesInsights/environments" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "sku", + "type" + ], + "description": "Microsoft.TimeSeriesInsights/environments" + }, + "environments_accessPolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-03-31-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the access policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AccessPolicyResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.TimeSeriesInsights/environments/accessPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.TimeSeriesInsights/environments/accessPolicies" + }, + "environments_eventSources": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/EventHubEventSourceCreateOrUpdateParameters" + }, + { + "$ref": "#/definitions/IoTHubEventSourceCreateOrUpdateParameters" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-03-31-preview" + ] + }, + "localTimestamp": { + "oneOf": [ + { + "$ref": "#/definitions/LocalTimestamp" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events." + }, + "location": { + "type": "string", + "description": "The location of the resource." + }, + "name": { + "type": "string", + "description": "Name of the event source." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key-value pairs of additional properties for the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.TimeSeriesInsights/environments/eventSources" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "type" + ], + "description": "Microsoft.TimeSeriesInsights/environments/eventSources" + }, + "environments_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-03-31-preview" + ] + }, + "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.TimeSeriesInsights/environments/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.TimeSeriesInsights/environments/privateEndpointConnections" + }, + "environments_referenceDataSets": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-03-31-preview" + ] + }, + "location": { + "type": "string", + "description": "The location of the resource." + }, + "name": { + "type": "string", + "description": "Name of the reference data set." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ReferenceDataSetCreationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties used to create a reference data set." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key-value pairs of additional properties for the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.TimeSeriesInsights/environments/referenceDataSets" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.TimeSeriesInsights/environments/referenceDataSets" + } + }, + "definitions": { + "AccessPolicyResourceProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "An description of the access policy." + }, + "principalObjectId": { + "type": "string", + "description": "The objectId of the principal in Azure Active Directory." + }, + "roles": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Reader", + "Contributor" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of roles the principal is assigned on the environment." + } + } + }, + "environments_accessPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-03-31-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the access policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AccessPolicyResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "type": { + "type": "string", + "enum": [ + "accessPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.TimeSeriesInsights/environments/accessPolicies" + }, + "environments_eventSources_childResource": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/EventHubEventSourceCreateOrUpdateParameters" + }, + { + "$ref": "#/definitions/IoTHubEventSourceCreateOrUpdateParameters" + } + ], + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-03-31-preview" + ] + }, + "localTimestamp": { + "oneOf": [ + { + "$ref": "#/definitions/LocalTimestamp" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events." + }, + "location": { + "type": "string", + "description": "The location of the resource." + }, + "name": { + "type": "string", + "description": "Name of the event source." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key-value pairs of additional properties for the resource." + }, + "type": { + "type": "string", + "enum": [ + "eventSources" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "type" + ], + "description": "Microsoft.TimeSeriesInsights/environments/eventSources" + }, + "environments_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-03-31-preview" + ] + }, + "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.TimeSeriesInsights/environments/privateEndpointConnections" + }, + "environments_referenceDataSets_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-03-31-preview" + ] + }, + "location": { + "type": "string", + "description": "The location of the resource." + }, + "name": { + "type": "string", + "description": "Name of the reference data set." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ReferenceDataSetCreationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties used to create a reference data set." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key-value pairs of additional properties for the resource." + }, + "type": { + "type": "string", + "enum": [ + "referenceDataSets" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.TimeSeriesInsights/environments/referenceDataSets" + }, + "EventHubEventSourceCreateOrUpdateParameters": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "Microsoft.EventHub" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/EventHubEventSourceCreationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the EventHub event source that are required on create or update requests." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "Parameters supplied to the Create or Update Event Source operation for an EventHub event source." + }, + "EventHubEventSourceCreationProperties": { + "type": "object", + "properties": { + "consumerGroupName": { + "type": "string", + "description": "The name of the event hub's consumer group that holds the partitions from which events will be read." + }, + "eventHubName": { + "type": "string", + "description": "The name of the event hub." + }, + "eventSourceResourceId": { + "type": "string", + "description": "The resource id of the event source in Azure Resource Manager." + }, + "ingressStartAt": { + "oneOf": [ + { + "$ref": "#/definitions/IngressStartAtProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An object that contains the details about the starting point in time to ingest events." + }, + "keyName": { + "type": "string", + "description": "The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub." + }, + "localTimestamp": { + "oneOf": [ + { + "$ref": "#/definitions/LocalTimestamp" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Updating", + "Succeeded", + "Failed", + "Deleting" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the resource." + }, + "serviceBusNamespace": { + "type": "string", + "description": "The name of the service bus that contains the event hub." + }, + "sharedAccessKey": { + "type": "string", + "description": "The value of the shared access key that grants the Time Series Insights service read access to the event hub. This property is not shown in event source responses." + }, + "timestampPropertyName": { + "type": "string", + "description": "The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used." + } + }, + "required": [ + "consumerGroupName", + "eventHubName", + "eventSourceResourceId", + "keyName", + "serviceBusNamespace", + "sharedAccessKey" + ], + "description": "Properties of the EventHub event source that are required on create or update requests." + }, + "Gen1EnvironmentCreateOrUpdateParameters": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "Gen1" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/Gen1EnvironmentCreationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties used to create a Gen1 environment." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "Parameters supplied to the Create or Update Environment operation for a Gen1 environment." + }, + "Gen1EnvironmentCreationProperties": { + "type": "object", + "properties": { + "dataRetentionTime": { + "type": "string", + "format": "duration", + "description": "ISO8601 timespan specifying the minimum number of days the environment's events will be available for query." + }, + "partitionKeyProperties": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TimeSeriesIdProperty" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of event properties which will be used to partition data in the environment. Currently, only a single partition key property is supported." + }, + "storageLimitExceededBehavior": { + "oneOf": [ + { + "type": "string", + "enum": [ + "PurgeOldData", + "PauseIngress" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If \"PauseIngress\" is specified, new events will not be read from the event source. If \"PurgeOldData\" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData." + } + }, + "required": [ + "dataRetentionTime" + ], + "description": "Properties used to create a Gen1 environment." + }, + "Gen2EnvironmentCreateOrUpdateParameters": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "Gen2" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/Gen2EnvironmentCreationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties used to create a Gen2 environment." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "Parameters supplied to the Create or Update Environment operation for a Gen2 environment." + }, + "Gen2EnvironmentCreationProperties": { + "type": "object", + "properties": { + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "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." + }, + "storageConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/Gen2StorageConfigurationInput" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The storage configuration provides the connection details that allows the Time Series Insights service to connect to the customer storage account that is used to store the environment's data." + }, + "timeSeriesIdProperties": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TimeSeriesIdProperty" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of event properties which will be used to define the environment's time series id." + }, + "warmStoreConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/WarmStoreConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query." + } + }, + "required": [ + "storageConfiguration", + "timeSeriesIdProperties" + ], + "description": "Properties used to create a Gen2 environment." + }, + "Gen2StorageConfigurationInput": { + "type": "object", + "properties": { + "accountName": { + "type": "string", + "description": "The name of the storage account that will hold the environment's Gen2 data." + }, + "managementKey": { + "type": "string", + "description": "The value of the management key that grants the Time Series Insights service write access to the storage account. This property is not shown in environment responses." + } + }, + "required": [ + "accountName", + "managementKey" + ], + "description": "The storage configuration provides the connection details that allows the Time Series Insights service to connect to the customer storage account that is used to store the environment's data." + }, + "IngressStartAtProperties": { + "type": "object", + "properties": { + "time": { + "type": "string", + "description": "ISO8601 UTC datetime with seconds precision (milliseconds are optional), specifying the date and time that will be the starting point for Events to be consumed." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "EarliestAvailable", + "EventSourceCreationTime", + "CustomEnqueuedTime" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of the ingressStartAt, It can be \"EarliestAvailable\", \"EventSourceCreationTime\", \"CustomEnqueuedTime\"." + } + }, + "description": "An object that contains the details about the starting point in time to ingest events." + }, + "IoTHubEventSourceCreateOrUpdateParameters": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "Microsoft.IoTHub" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IoTHubEventSourceCreationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the IoTHub event source that are required on create or update requests." + } + }, + "required": [ + "kind", + "properties" + ], + "description": "Parameters supplied to the Create or Update Event Source operation for an IoTHub event source." + }, + "IoTHubEventSourceCreationProperties": { + "type": "object", + "properties": { + "consumerGroupName": { + "type": "string", + "description": "The name of the iot hub's consumer group that holds the partitions from which events will be read." + }, + "eventSourceResourceId": { + "type": "string", + "description": "The resource id of the event source in Azure Resource Manager." + }, + "ingressStartAt": { + "oneOf": [ + { + "$ref": "#/definitions/IngressStartAtProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An object that contains the details about the starting point in time to ingest events." + }, + "iotHubName": { + "type": "string", + "description": "The name of the iot hub." + }, + "keyName": { + "type": "string", + "description": "The name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub." + }, + "localTimestamp": { + "oneOf": [ + { + "$ref": "#/definitions/LocalTimestamp" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Updating", + "Succeeded", + "Failed", + "Deleting" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provisioning state of the resource." + }, + "sharedAccessKey": { + "type": "string", + "description": "The value of the Shared Access Policy key that grants the Time Series Insights service read access to the iot hub. This property is not shown in event source responses." + }, + "timestampPropertyName": { + "type": "string", + "description": "The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used." + } + }, + "required": [ + "consumerGroupName", + "eventSourceResourceId", + "iotHubName", + "keyName", + "sharedAccessKey" + ], + "description": "Properties of the IoTHub event source that are required on create or update requests." + }, + "LocalTimestamp": { + "type": "object", + "properties": { + "format": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Embedded" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An enum that represents the format of the local timestamp property that needs to be set." + }, + "timeZoneOffset": { + "oneOf": [ + { + "$ref": "#/definitions/LocalTimestampTimeZoneOffset" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded." + } + }, + "description": "An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events." + }, + "LocalTimestampTimeZoneOffset": { + "type": "object", + "properties": { + "propertyName": { + "type": "string", + "description": "The event property that will be contain the offset information to calculate the local timestamp. When the LocalTimestampFormat is Iana, the property name will contain the name of the column which contains IANA Timezone Name (eg: Americas/Los Angeles). When LocalTimestampFormat is Timespan, it contains the name of property which contains values representing the offset (eg: P1D or 1.00:00:00)" + } + }, + "description": "An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded." + }, + "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." + }, + "ReferenceDataSetCreationProperties": { + "type": "object", + "properties": { + "dataStringComparisonBehavior": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Ordinal", + "OrdinalIgnoreCase" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The reference data set key comparison behavior can be set using this property. By default, the value is 'Ordinal' - which means case sensitive key comparison will be performed while joining reference data with events or while adding new reference data. When 'OrdinalIgnoreCase' is set, case insensitive comparison will be used." + }, + "keyProperties": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ReferenceDataSetKeyProperty" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of key properties for the reference data set." + } + }, + "required": [ + "keyProperties" + ], + "description": "Properties used to create a reference data set." + }, + "ReferenceDataSetKeyProperty": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the key property." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "String", + "Double", + "Bool", + "DateTime" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of the key property." + } + }, + "description": "A key property for the reference data set. A reference data set can have multiple key properties." + }, + "Sku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 10 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The capacity of the sku. For Gen1 environments, this value can be changed to support scale out of environments after they have been created." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "S1", + "S2", + "P1", + "L1" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of this SKU." + } + }, + "required": [ + "capacity", + "name" + ], + "description": "The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1). For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate." + }, + "TimeSeriesIdProperty": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the property." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "String" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of the property." + } + }, + "description": "The structure of the property that a time series id can have. An environment can have multiple such properties." + }, + "WarmStoreConfigurationProperties": { + "type": "object", + "properties": { + "dataRetention": { + "type": "string", + "format": "duration", + "description": "ISO8601 timespan specifying the number of days the environment's events will be available for query from the warm store." + } + }, + "required": [ + "dataRetention" + ], + "description": "The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 17eddde680..bc5a09838a 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -11959,6 +11959,21 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-05-15/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments_referenceDataSets" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-03-31-preview/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-03-31-preview/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments_accessPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-03-31-preview/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments_eventSources" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-03-31-preview/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-03-31-preview/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments_referenceDataSets" + }, { "$ref": "https://schema.management.azure.com/schemas/2021-06-30-preview/Microsoft.TimeSeriesInsights.json#/resourceDefinitions/environments" }, From 723753e2f07bc233dda684fee00b4343f017bcab Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Sun, 26 Sep 2021 02:25:45 +0000 Subject: [PATCH 234/243] CodeGen from PR 16144 in Azure/azure-rest-api-specs Update databox.json (#16144) --- schemas/2021-08-01-preview/Microsoft.DataBox.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/schemas/2021-08-01-preview/Microsoft.DataBox.json b/schemas/2021-08-01-preview/Microsoft.DataBox.json index 8c07aa6dc3..29f10606e4 100644 --- a/schemas/2021-08-01-preview/Microsoft.DataBox.json +++ b/schemas/2021-08-01-preview/Microsoft.DataBox.json @@ -453,6 +453,21 @@ } ], "description": "Account details of the data to be transferred" + }, + "logCollectionLevel": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Error", + "Verbose" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Level of the logs to be collected." } }, "required": [ From 6e683b0597a1d8437e914539d5e2ef8efd503ac7 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 27 Sep 2021 01:55:34 +0000 Subject: [PATCH 235/243] CodeGen from PR 16155 in Azure/azure-rest-api-specs Improve desire count desc (#16155) * Adds base for updating Microsoft.ContainerService from version stable/2019-02-01 to version 2019-04-01 * Updates readme * Updates API version in new specs and examples * Adding windowsProfile and maxAgentPools property in the new 2019-04-01 api version (#5465) * add maxAgentPools and windowsprofile properties * fixing the sdk generation error * adding load balancer sku property (#5556) * Add support VMSS agent nodes with public IP. (#5748) * Add identity property in managedCluster definition and add an example (#5709) * Add identity property in managedCluster definition and add an example * Fix typo * Adds base for updating Microsoft.ContainerService from version stable/2020-02-01 to version 2020-03-01 * Updates readme * Updates API version in new specs and examples * added sku to managed cluster api (#8426) * added sku to managed cluster api * move managedcluster sku data model location * improve count description * remove useless file Co-authored-by: Xiaofang Zhang Co-authored-by: Jun Sun <33297523+JunSun17@users.noreply.github.com> Co-authored-by: Tongyao Si Co-authored-by: mslonli --- schemas/2021-08-01/Microsoft.ContainerService.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/2021-08-01/Microsoft.ContainerService.json b/schemas/2021-08-01/Microsoft.ContainerService.json index ec17d0587d..674502bfb7 100644 --- a/schemas/2021-08-01/Microsoft.ContainerService.json +++ b/schemas/2021-08-01/Microsoft.ContainerService.json @@ -879,7 +879,7 @@ "$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." + "description": "Desired Number of agents (VMs) specified 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." }, "creationData": { "oneOf": [ @@ -1311,7 +1311,7 @@ "$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." + "description": "Desired Number of agents (VMs) specified 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." }, "creationData": { "oneOf": [ From 78138531e2ba5d7a75bf3da34c7262a5d455571f Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 27 Sep 2021 04:54:36 +0000 Subject: [PATCH 236/243] CodeGen from PR 16126 in Azure/azure-rest-api-specs Fixing bug from 2021-07-01-preview (#16126) --- .../Microsoft.DocumentDB.json | 36 +++++++++---------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/schemas/2021-07-01-preview/Microsoft.DocumentDB.json b/schemas/2021-07-01-preview/Microsoft.DocumentDB.json index 00ce62db56..ab4fd14f62 100644 --- a/schemas/2021-07-01-preview/Microsoft.DocumentDB.json +++ b/schemas/2021-07-01-preview/Microsoft.DocumentDB.json @@ -3193,11 +3193,6 @@ }, "DatabaseAccountCreateUpdateProperties": { "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/DefaultRequestDatabaseAccountCreateUpdateProperties" - } - ], "properties": { "analyticalStorageConfiguration": { "oneOf": [ @@ -3284,6 +3279,21 @@ ], "description": "The CORS policy for the Cosmos DB database account." }, + "createMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Default", + "Restore" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enum to indicate the mode of account creation." + }, "databaseAccountOfferType": { "oneOf": [ { @@ -3504,6 +3514,7 @@ } }, "required": [ + "createMode", "databaseAccountOfferType", "locations" ], @@ -5444,21 +5455,6 @@ }, "description": "Properties of a managed Cassandra data center." }, - "DefaultRequestDatabaseAccountCreateUpdateProperties": { - "type": "object", - "properties": { - "createMode": { - "type": "string", - "enum": [ - "Default" - ] - } - }, - "required": [ - "createMode" - ], - "description": "Properties for non-restore Azure Cosmos DB database account requests." - }, "DiagnosticLogSettings": { "type": "object", "properties": { From 636480a1f8d69d410692a39c9ef8323ea2b854f0 Mon Sep 17 00:00:00 2001 From: Nan Jiang Date: Mon, 27 Sep 2021 16:59:30 +0800 Subject: [PATCH 237/243] Add servicelinker to autogenlist --- generator/autogenlist.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/generator/autogenlist.ts b/generator/autogenlist.ts index dfd0df4393..3f1c2367e0 100644 --- a/generator/autogenlist.ts +++ b/generator/autogenlist.ts @@ -771,6 +771,16 @@ const autoGenList: AutoGenConfig[] = [ basePath: 'servicefabricmesh/resource-manager', namespace: 'Microsoft.ServiceFabricMesh', }, + { + basePath: 'servicelinker/resource-manager', + namespace: 'Microsoft.ServiceLinker', + resourceConfig: [ + { + type: 'linkers', + scopes: ScopeType.Extension, + }, + ], + }, { basePath: 'signalr/resource-manager', namespace: 'Microsoft.SignalRService', From 3ba7a7eee79eb7a4a4f46dd31017ae095f023059 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 27 Sep 2021 09:26:38 +0000 Subject: [PATCH 238/243] CodeGen from PR 16176 in Azure/azure-rest-api-specs add azure-resource-manager-schema to servicelinker (#16176) Co-authored-by: Nan Jiang --- .../Microsoft.ServiceLinker.json | 239 ++++++++++++++++++ 1 file changed, 239 insertions(+) create mode 100644 schemas/2021-11-01-preview/Microsoft.ServiceLinker.json diff --git a/schemas/2021-11-01-preview/Microsoft.ServiceLinker.json b/schemas/2021-11-01-preview/Microsoft.ServiceLinker.json new file mode 100644 index 0000000000..9d711b86d0 --- /dev/null +++ b/schemas/2021-11-01-preview/Microsoft.ServiceLinker.json @@ -0,0 +1,239 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-11-01-preview/Microsoft.ServiceLinker.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.ServiceLinker", + "description": "Microsoft ServiceLinker Resource Types", + "resourceDefinitions": {}, + "unknown_resourceDefinitions": { + "linkers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-11-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name Linker resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LinkerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the linker." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceLinker/linkers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceLinker/linkers" + } + }, + "definitions": { + "AuthInfoBase": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/SecretAuthInfo" + }, + { + "$ref": "#/definitions/UserAssignedIdentityAuthInfo" + }, + { + "$ref": "#/definitions/SystemAssignedIdentityAuthInfo" + }, + { + "$ref": "#/definitions/ServicePrincipalSecretAuthInfo" + }, + { + "$ref": "#/definitions/ServicePrincipalCertificateAuthInfo" + } + ], + "properties": {}, + "description": "The authentication info" + }, + "LinkerProperties": { + "type": "object", + "properties": { + "authInfo": { + "oneOf": [ + { + "$ref": "#/definitions/AuthInfoBase" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The authentication info" + }, + "clientType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "none", + "dotnet", + "java", + "python", + "go", + "php", + "ruby", + "django", + "nodejs", + "springBoot" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The application client type." + }, + "targetId": { + "type": "string", + "description": "The resource Id of target service." + } + }, + "description": "The properties of the linker." + }, + "SecretAuthInfo": { + "type": "object", + "properties": { + "authType": { + "type": "string", + "enum": [ + "secret" + ] + }, + "name": { + "type": "string", + "description": "Username or account name for secret auth." + }, + "secret": { + "type": "string", + "description": "Password or account key for secret auth." + } + }, + "required": [ + "authType" + ], + "description": "The authentication info when authType is secret" + }, + "ServicePrincipalCertificateAuthInfo": { + "type": "object", + "properties": { + "authType": { + "type": "string", + "enum": [ + "servicePrincipalCertificate" + ] + }, + "certificate": { + "type": "string", + "description": "ServicePrincipal certificate for servicePrincipal auth." + }, + "clientId": { + "type": "string", + "description": "Application clientId for servicePrincipal auth." + }, + "principalId": { + "type": "string", + "description": "Principal Id for servicePrincipal auth." + } + }, + "required": [ + "authType", + "certificate", + "clientId", + "principalId" + ], + "description": "The authentication info when authType is servicePrincipal certificate" + }, + "ServicePrincipalSecretAuthInfo": { + "type": "object", + "properties": { + "authType": { + "type": "string", + "enum": [ + "servicePrincipalSecret" + ] + }, + "clientId": { + "type": "string", + "description": "ServicePrincipal application clientId for servicePrincipal auth." + }, + "principalId": { + "type": "string", + "description": "Principal Id for servicePrincipal auth." + }, + "secret": { + "type": "string", + "description": "Secret for servicePrincipal auth." + } + }, + "required": [ + "authType", + "clientId", + "principalId", + "secret" + ], + "description": "The authentication info when authType is servicePrincipal secret" + }, + "SystemAssignedIdentityAuthInfo": { + "type": "object", + "properties": { + "authType": { + "type": "string", + "enum": [ + "systemAssignedIdentity" + ] + } + }, + "required": [ + "authType" + ], + "description": "The authentication info when authType is systemAssignedIdentity" + }, + "UserAssignedIdentityAuthInfo": { + "type": "object", + "properties": { + "authType": { + "type": "string", + "enum": [ + "userAssignedIdentity" + ] + }, + "clientId": { + "type": "string", + "description": "Client Id for userAssignedIdentity." + }, + "subscriptionId": { + "type": "string", + "description": "Subscription id for userAssignedIdentity." + } + }, + "required": [ + "authType", + "clientId", + "subscriptionId" + ], + "description": "The authentication info when authType is userAssignedIdentity" + } + } +} \ No newline at end of file From da1dfd0469466ab4a85698df72e96c2913d695f0 Mon Sep 17 00:00:00 2001 From: vasundhraManhas <42461257+vasundhraManhas@users.noreply.github.com> Date: Tue, 28 Sep 2021 10:00:14 +0530 Subject: [PATCH 239/243] Update autogenlist.ts Add resourceConfig for datamigration in autogenlist --- generator/autogenlist.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/generator/autogenlist.ts b/generator/autogenlist.ts index 3f1c2367e0..3459772c66 100644 --- a/generator/autogenlist.ts +++ b/generator/autogenlist.ts @@ -944,6 +944,12 @@ const autoGenList: AutoGenConfig[] = [ { basePath: 'datamigration/resource-manager', namespace: 'Microsoft.DataMigration', + resourceConfig: [ + { + type: 'databaseMigrations', + scopes: ScopeType.Extension, + }, + ] }, { basePath: 'datadog/resource-manager', From 861f09bf797e530915a7ca6a041c5676fb5655c7 Mon Sep 17 00:00:00 2001 From: vasundhraManhas <42461257+vasundhraManhas@users.noreply.github.com> Date: Tue, 28 Sep 2021 10:23:35 +0530 Subject: [PATCH 240/243] indentation changes --- generator/autogenlist.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/generator/autogenlist.ts b/generator/autogenlist.ts index 3459772c66..9e90eddc62 100644 --- a/generator/autogenlist.ts +++ b/generator/autogenlist.ts @@ -945,10 +945,10 @@ const autoGenList: AutoGenConfig[] = [ basePath: 'datamigration/resource-manager', namespace: 'Microsoft.DataMigration', resourceConfig: [ - { - type: 'databaseMigrations', - scopes: ScopeType.Extension, - }, + { + type: 'sourceControlConfigurations', + scopes: ScopeType.Extension + } ] }, { From 91e1f6f34a0c839245f50d2a6cbb1f52cec2d6f7 Mon Sep 17 00:00:00 2001 From: vasundhraManhas <42461257+vasundhraManhas@users.noreply.github.com> Date: Tue, 28 Sep 2021 10:27:16 +0530 Subject: [PATCH 241/243] correction in type under resourceConfig --- generator/autogenlist.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/autogenlist.ts b/generator/autogenlist.ts index 9e90eddc62..66df9e1cfb 100644 --- a/generator/autogenlist.ts +++ b/generator/autogenlist.ts @@ -946,7 +946,7 @@ const autoGenList: AutoGenConfig[] = [ namespace: 'Microsoft.DataMigration', resourceConfig: [ { - type: 'sourceControlConfigurations', + type: 'databaseMigrations', scopes: ScopeType.Extension } ] From 44b78f0e35bbe2159088f0807a8bcb9f9b324ca5 Mon Sep 17 00:00:00 2001 From: vasundhraManhas <42461257+vasundhraManhas@users.noreply.github.com> Date: Tue, 28 Sep 2021 10:39:46 +0530 Subject: [PATCH 242/243] indent changes --- generator/autogenlist.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/generator/autogenlist.ts b/generator/autogenlist.ts index 66df9e1cfb..4932ff5860 100644 --- a/generator/autogenlist.ts +++ b/generator/autogenlist.ts @@ -944,11 +944,11 @@ const autoGenList: AutoGenConfig[] = [ { basePath: 'datamigration/resource-manager', namespace: 'Microsoft.DataMigration', - resourceConfig: [ - { - type: 'databaseMigrations', - scopes: ScopeType.Extension - } + resourceConfig: [ + { + type: 'databaseMigrations', + scopes: ScopeType.Extension + } ] }, { From 2c0be283687790960f5b5b2bf265f38e3bbc1e78 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 29 Sep 2021 04:06:12 +0000 Subject: [PATCH 243/243] CodeGen from PR 15457 in Azure/azure-rest-api-specs Merge c2635232612e13319a00584e5a949f5b2ecdba99 into a5f8ef67c8170e4081527e400473c6deddcfabfd --- schemas/2016-08-01/Microsoft.Web.json | 4 ++-- schemas/2018-02-01/Microsoft.Web.json | 4 ++-- schemas/2018-11-01/Microsoft.Web.json | 4 ++-- schemas/2019-08-01/Microsoft.Web.json | 4 ++-- schemas/2020-06-01/Microsoft.Web.json | 4 ++-- schemas/2020-09-01/Microsoft.Web.json | 4 ++-- schemas/2020-10-01/Microsoft.Web.json | 4 ++-- schemas/2020-12-01/Microsoft.Web.json | 4 ++-- schemas/2021-01-01/Microsoft.Web.json | 4 ++-- schemas/2021-01-15/Microsoft.Web.json | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/schemas/2016-08-01/Microsoft.Web.json b/schemas/2016-08-01/Microsoft.Web.json index 2858b414eb..0774b89515 100644 --- a/schemas/2016-08-01/Microsoft.Web.json +++ b/schemas/2016-08-01/Microsoft.Web.json @@ -1111,7 +1111,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ @@ -5784,7 +5784,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ diff --git a/schemas/2018-02-01/Microsoft.Web.json b/schemas/2018-02-01/Microsoft.Web.json index 52e38d1ece..e76e77d04b 100644 --- a/schemas/2018-02-01/Microsoft.Web.json +++ b/schemas/2018-02-01/Microsoft.Web.json @@ -1659,7 +1659,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ @@ -7435,7 +7435,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ diff --git a/schemas/2018-11-01/Microsoft.Web.json b/schemas/2018-11-01/Microsoft.Web.json index b922f5589e..3bebf7892c 100644 --- a/schemas/2018-11-01/Microsoft.Web.json +++ b/schemas/2018-11-01/Microsoft.Web.json @@ -1267,7 +1267,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ @@ -6366,7 +6366,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ diff --git a/schemas/2019-08-01/Microsoft.Web.json b/schemas/2019-08-01/Microsoft.Web.json index 93d7787659..b00239edd9 100644 --- a/schemas/2019-08-01/Microsoft.Web.json +++ b/schemas/2019-08-01/Microsoft.Web.json @@ -1803,7 +1803,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ @@ -7983,7 +7983,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ diff --git a/schemas/2020-06-01/Microsoft.Web.json b/schemas/2020-06-01/Microsoft.Web.json index a8e1651a6d..b0afd00f6c 100644 --- a/schemas/2020-06-01/Microsoft.Web.json +++ b/schemas/2020-06-01/Microsoft.Web.json @@ -1839,7 +1839,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ @@ -9696,7 +9696,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ diff --git a/schemas/2020-09-01/Microsoft.Web.json b/schemas/2020-09-01/Microsoft.Web.json index a7130ad03d..24cafc1fc7 100644 --- a/schemas/2020-09-01/Microsoft.Web.json +++ b/schemas/2020-09-01/Microsoft.Web.json @@ -2224,7 +2224,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ @@ -11082,7 +11082,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ diff --git a/schemas/2020-10-01/Microsoft.Web.json b/schemas/2020-10-01/Microsoft.Web.json index afc1b673d7..45cdd6d01e 100644 --- a/schemas/2020-10-01/Microsoft.Web.json +++ b/schemas/2020-10-01/Microsoft.Web.json @@ -2224,7 +2224,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ @@ -11093,7 +11093,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ diff --git a/schemas/2020-12-01/Microsoft.Web.json b/schemas/2020-12-01/Microsoft.Web.json index d41d6b3c0e..94e81d14b1 100644 --- a/schemas/2020-12-01/Microsoft.Web.json +++ b/schemas/2020-12-01/Microsoft.Web.json @@ -1939,7 +1939,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ @@ -10117,7 +10117,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ diff --git a/schemas/2021-01-01/Microsoft.Web.json b/schemas/2021-01-01/Microsoft.Web.json index 09c9cbb0d0..e416816660 100644 --- a/schemas/2021-01-01/Microsoft.Web.json +++ b/schemas/2021-01-01/Microsoft.Web.json @@ -2046,7 +2046,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ @@ -10381,7 +10381,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ diff --git a/schemas/2021-01-15/Microsoft.Web.json b/schemas/2021-01-15/Microsoft.Web.json index a57d3872ba..217225d3ae 100644 --- a/schemas/2021-01-15/Microsoft.Web.json +++ b/schemas/2021-01-15/Microsoft.Web.json @@ -2046,7 +2046,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [ @@ -10441,7 +10441,7 @@ }, "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." + "description": "Name of the deployment slot to create or update. The name 'production' is reserved." }, "properties": { "oneOf": [