diff --git a/generator/resources.json b/generator/resources.json index 9b6b30dc29..0489448330 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -5,7 +5,6 @@ "2020-01-01" ], "Microsoft.AVS/privateClouds": [ - "2019-08-09-preview", "2020-03-20", "2020-07-17-preview" ], @@ -14,7 +13,6 @@ "2020-07-17-preview" ], "Microsoft.AVS/privateClouds/clusters": [ - "2019-08-09-preview", "2020-03-20", "2020-07-17-preview" ], @@ -893,7 +891,8 @@ "2019-04-01" ], "Microsoft.Capacity/resourceProviders/locations/serviceLimits": [ - "2019-07-19-preview" + "2019-07-19-preview", + "2020-10-25" ], "Microsoft.Cdn/CdnWebApplicationFirewallPolicies": [ "2019-06-15", @@ -1770,11 +1769,16 @@ ], "Microsoft.DigitalTwins/digitalTwinsInstances": [ "2020-03-01-preview", - "2020-10-31" + "2020-10-31", + "2020-12-01" ], "Microsoft.DigitalTwins/digitalTwinsInstances/endpoints": [ "2020-03-01-preview", - "2020-10-31" + "2020-10-31", + "2020-12-01" + ], + "Microsoft.DigitalTwins/digitalTwinsInstances/privateEndpointConnections": [ + "2020-12-01" ], "Microsoft.DocumentDB/databaseAccounts": [ "2015-04-01", @@ -2199,7 +2203,7 @@ "2018-10-31-preview" ], "Microsoft.HealthBot/healthBots": [ - "2020-10-20-preview" + "2020-12-08" ], "Microsoft.HealthcareApis/services": [ "2018-08-20-preview", @@ -2705,12 +2709,14 @@ "2020-02-01", "2020-06-01", "2020-07-01", - "2020-08-01" + "2020-08-01", + "2020-09-01" ], "Microsoft.NetApp/netAppAccounts/backupPolicies": [ "2020-06-01", "2020-07-01", - "2020-08-01" + "2020-08-01", + "2020-09-01" ], "Microsoft.NetApp/netAppAccounts/capacityPools": [ "2017-08-15", @@ -2723,7 +2729,8 @@ "2020-02-01", "2020-06-01", "2020-07-01", - "2020-08-01" + "2020-08-01", + "2020-09-01" ], "Microsoft.NetApp/netAppAccounts/capacityPools/volumes": [ "2017-08-15", @@ -2736,12 +2743,14 @@ "2020-02-01", "2020-06-01", "2020-07-01", - "2020-08-01" + "2020-08-01", + "2020-09-01" ], "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups": [ "2020-06-01", "2020-07-01", - "2020-08-01" + "2020-08-01", + "2020-09-01" ], "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots": [ "2017-08-15", @@ -2754,12 +2763,14 @@ "2020-02-01", "2020-06-01", "2020-07-01", - "2020-08-01" + "2020-08-01", + "2020-09-01" ], "Microsoft.NetApp/netAppAccounts/snapshotPolicies": [ "2020-06-01", "2020-07-01", - "2020-08-01" + "2020-08-01", + "2020-09-01" ], "Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies": [ "2018-12-01", @@ -4068,6 +4079,12 @@ "2020-08-01", "2020-10-01" ], + "Microsoft.OperationalInsights/queryPacks": [ + "2019-09-01-preview" + ], + "Microsoft.OperationalInsights/queryPacks/queries": [ + "2019-09-01-preview" + ], "Microsoft.OperationalInsights/workspaces": [ "2015-11-01-preview", "2020-03-01-preview", @@ -4377,30 +4394,68 @@ ], "Microsoft.Security/advancedThreatProtectionSettings": [ "2017-08-01-preview", - "2018-06-01" + "2019-01-01" + ], + "Microsoft.Security/alertsSuppressionRules": [ + "2019-01-01-preview" + ], + "Microsoft.Security/assessmentMetadata": [ + "2019-01-01-preview", + "2020-01-01" + ], + "Microsoft.Security/assessments": [ + "2019-01-01-preview", + "2020-01-01" ], "Microsoft.Security/autoProvisioningSettings": [ + "2017-08-01-preview" + ], + "Microsoft.Security/automations": [ + "2019-01-01-preview" + ], + "Microsoft.Security/connectors": [ + "2020-01-01-preview" + ], + "Microsoft.Security/deviceSecurityGroups": [ "2017-08-01-preview", - "2018-06-01" + "2019-08-01" ], "Microsoft.Security/informationProtectionPolicies": [ + "2017-08-01-preview" + ], + "Microsoft.Security/iotDefenderSettings": [ + "2020-08-06-preview" + ], + "Microsoft.Security/iotSecuritySolutions": [ "2017-08-01-preview", - "2018-06-01" + "2019-08-01" + ], + "Microsoft.Security/iotSensors": [ + "2020-08-06-preview" + ], + "Microsoft.Security/locations/applicationWhitelistings": [ + "2015-06-01-preview", + "2020-01-01" ], "Microsoft.Security/locations/jitNetworkAccessPolicies": [ - "2015-06-01-preview" + "2015-06-01-preview", + "2020-01-01" ], "Microsoft.Security/pricings": [ + "2017-08-01-preview", "2017-08-01-preview", "2018-06-01" ], "Microsoft.Security/securityContacts": [ "2017-08-01-preview", - "2018-06-01" + "2020-01-01-preview" ], - "Microsoft.Security/workspaceSettings": [ + "Microsoft.Security/settings": [ "2017-08-01-preview", - "2018-06-01" + "2019-01-01" + ], + "Microsoft.Security/workspaceSettings": [ + "2017-08-01-preview" ], "Microsoft.ServiceBus/namespaces": [ "2015-08-01", @@ -4409,16 +4464,19 @@ ], "Microsoft.ServiceBus/namespaces/AuthorizationRules": [ "2015-08-01", - "2017-04-01" + "2017-04-01", + "2018-01-01-preview" ], "Microsoft.ServiceBus/namespaces/disasterRecoveryConfigs": [ - "2017-04-01" + "2017-04-01", + "2018-01-01-preview" ], "Microsoft.ServiceBus/namespaces/ipfilterrules": [ "2018-01-01-preview" ], "Microsoft.ServiceBus/namespaces/migrationConfigurations": [ - "2017-04-01" + "2017-04-01", + "2018-01-01-preview" ], "Microsoft.ServiceBus/namespaces/networkRuleSets": [ "2017-04-01", @@ -4429,26 +4487,32 @@ ], "Microsoft.ServiceBus/namespaces/queues": [ "2015-08-01", - "2017-04-01" + "2017-04-01", + "2018-01-01-preview" ], "Microsoft.ServiceBus/namespaces/queues/authorizationRules": [ "2015-08-01", - "2017-04-01" + "2017-04-01", + "2018-01-01-preview" ], "Microsoft.ServiceBus/namespaces/topics": [ "2015-08-01", - "2017-04-01" + "2017-04-01", + "2018-01-01-preview" ], "Microsoft.ServiceBus/namespaces/topics/authorizationRules": [ "2015-08-01", - "2017-04-01" + "2017-04-01", + "2018-01-01-preview" ], "Microsoft.ServiceBus/namespaces/topics/subscriptions": [ "2015-08-01", - "2017-04-01" + "2017-04-01", + "2018-01-01-preview" ], "Microsoft.ServiceBus/namespaces/topics/subscriptions/rules": [ - "2017-04-01" + "2017-04-01", + "2018-01-01-preview" ], "Microsoft.ServiceBus/namespaces/virtualnetworkrules": [ "2018-01-01-preview" @@ -4631,6 +4695,7 @@ "2017-03-01-preview", "2017-10-01-preview", "2019-06-01-preview", + "2020-02-02-preview", "2020-08-01-preview" ], "Microsoft.Sql/servers/databases/advisors": [ diff --git a/schemas/2014-04-01-preview/deploymentTemplate.json b/schemas/2014-04-01-preview/deploymentTemplate.json index ab2b232cb6..f5fddb5c9f 100644 --- a/schemas/2014-04-01-preview/deploymentTemplate.json +++ b/schemas/2014-04-01-preview/deploymentTemplate.json @@ -1887,7 +1887,7 @@ { "$ref": "https://schema.management.azure.com/schemas/2017-04-01/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces_topics_subscriptions_rules" }, { "$ref": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces" }, { "$ref": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces_ipfilterrules" }, - { "$ref": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces_networkrulesets" }, + { "$ref": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces_networkRuleSets" }, { "$ref": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces_virtualnetworkrules" }, { "$ref": "https://schema.management.azure.com/schemas/2014-04-01-preview/Microsoft.VisualStudio.json#/resourceDefinitions/account" }, { "$ref": "https://schema.management.azure.com/schemas/2014-04-01-preview/Microsoft.VisualStudio.json#/resourceDefinitions/account_extension" }, diff --git a/schemas/2015-01-01/deploymentTemplate.json b/schemas/2015-01-01/deploymentTemplate.json index d49166c4b4..bec9bdd3b9 100644 --- a/schemas/2015-01-01/deploymentTemplate.json +++ b/schemas/2015-01-01/deploymentTemplate.json @@ -2026,7 +2026,7 @@ { "$ref": "https://schema.management.azure.com/schemas/2017-04-01/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces_topics_subscriptions_rules" }, { "$ref": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces" }, { "$ref": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces_ipfilterrules" }, - { "$ref": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces_networkrulesets" }, + { "$ref": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces_networkRuleSets" }, { "$ref": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.ServiceBus.json#/resourceDefinitions/namespaces_virtualnetworkrules" }, { "$ref": "https://schema.management.azure.com/schemas/2014-04-01-preview/Microsoft.VisualStudio.json#/resourceDefinitions/account" }, { "$ref": "https://schema.management.azure.com/schemas/2014-04-01-preview/Microsoft.VisualStudio.json#/resourceDefinitions/account_extension" }, diff --git a/schemas/2017-06-01/Microsoft.AAD.json b/schemas/2017-06-01/Microsoft.AAD.json index 95b6818c05..c03bbf9004 100644 --- a/schemas/2017-06-01/Microsoft.AAD.json +++ b/schemas/2017-06-01/Microsoft.AAD.json @@ -246,17 +246,6 @@ ], "description": "Secure LDAP Settings" }, - "migrationProperties": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Migration Properties" - }, "notificationSettings": { "oneOf": [ { @@ -399,52 +388,6 @@ }, "description": "Secure LDAP Settings" }, - "MigrationProgress": { - "type": "object", - "properties": { - "completionPercentage": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Completion Percentage" - }, - "progressMessage": { - "type": "string", - "description": "Progress Message" - } - }, - "description": "Migration Progress" - }, - "MigrationProperties": { - "type": "object", - "properties": { - "migrationProgress": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationProgress" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Migration Progress" - }, - "oldSubnetId": { - "type": "string", - "description": "Old Subnet Id" - }, - "oldVnetSiteId": { - "type": "string", - "description": "Old Vnet Site Id" - } - }, - "description": "Migration Properties" - }, "NotificationSettings": { "type": "object", "properties": { diff --git a/schemas/2018-01-01-preview/Microsoft.ServiceBus.json b/schemas/2018-01-01-preview/Microsoft.ServiceBus.json index c9b366961e..9299008d2d 100644 --- a/schemas/2018-01-01-preview/Microsoft.ServiceBus.json +++ b/schemas/2018-01-01-preview/Microsoft.ServiceBus.json @@ -51,13 +51,28 @@ "$ref": "#/definitions/namespaces_ipfilterrules_childResource" }, { - "$ref": "#/definitions/namespaces_networkrulesets_childResource" + "$ref": "#/definitions/namespaces_virtualnetworkrules_childResource" }, { - "$ref": "#/definitions/namespaces_virtualnetworkrules_childResource" + "$ref": "#/definitions/namespaces_AuthorizationRules_childResource" + }, + { + "$ref": "#/definitions/namespaces_networkRuleSets_childResource" }, { "$ref": "#/definitions/namespaces_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/namespaces_disasterRecoveryConfigs_childResource" + }, + { + "$ref": "#/definitions/namespaces_queues_childResource" + }, + { + "$ref": "#/definitions/namespaces_topics_childResource" + }, + { + "$ref": "#/definitions/namespaces_migrationConfigurations_childResource" } ] } @@ -104,7 +119,7 @@ ], "description": "Microsoft.ServiceBus/namespaces" }, - "namespaces_ipfilterrules": { + "namespaces_AuthorizationRules": { "type": "object", "properties": { "apiVersion": { @@ -116,23 +131,24 @@ "name": { "type": "string", "minLength": 1, - "description": "The IP Filter Rule name." + "maxLength": 50, + "description": "The authorization rule name." }, "properties": { "oneOf": [ { - "$ref": "#/definitions/IpFilterRuleProperties" + "$ref": "#/definitions/SBAuthorizationRuleProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Properties supplied to create or update IpFilterRules" + "description": "AuthorizationRule properties." }, "type": { "type": "string", "enum": [ - "Microsoft.ServiceBus/namespaces/ipfilterrules" + "Microsoft.ServiceBus/namespaces/AuthorizationRules" ] } }, @@ -142,9 +158,9 @@ "properties", "type" ], - "description": "Microsoft.ServiceBus/namespaces/ipfilterrules" + "description": "Microsoft.ServiceBus/namespaces/AuthorizationRules" }, - "namespaces_networkrulesets": { + "namespaces_disasterRecoveryConfigs": { "type": "object", "properties": { "apiVersion": { @@ -154,31 +170,26 @@ ] }, "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "The Disaster Recovery configuration name" }, "properties": { "oneOf": [ { - "$ref": "#/definitions/NetworkRuleSetProperties" + "$ref": "#/definitions/ArmDisasterRecoveryProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "NetworkRuleSet properties" + "description": "Properties required to the Create Or Update Alias(Disaster Recovery configurations)" }, "type": { "type": "string", "enum": [ - "Microsoft.ServiceBus/namespaces/networkrulesets" + "Microsoft.ServiceBus/namespaces/disasterRecoveryConfigs" ] } }, @@ -188,9 +199,9 @@ "properties", "type" ], - "description": "Microsoft.ServiceBus/namespaces/networkrulesets" + "description": "Microsoft.ServiceBus/namespaces/disasterRecoveryConfigs" }, - "namespaces_privateEndpointConnections": { + "namespaces_ipfilterrules": { "type": "object", "properties": { "apiVersion": { @@ -201,23 +212,24 @@ }, "name": { "type": "string", - "description": "The PrivateEndpointConnection name" + "minLength": 1, + "description": "The IP Filter Rule name." }, "properties": { "oneOf": [ { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" + "$ref": "#/definitions/IpFilterRuleProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Properties of the private endpoint connection resource." + "description": "Properties supplied to create or update IpFilterRules" }, "type": { "type": "string", "enum": [ - "Microsoft.ServiceBus/namespaces/privateEndpointConnections" + "Microsoft.ServiceBus/namespaces/ipfilterrules" ] } }, @@ -227,9 +239,9 @@ "properties", "type" ], - "description": "Microsoft.ServiceBus/namespaces/privateEndpointConnections" + "description": "Microsoft.ServiceBus/namespaces/ipfilterrules" }, - "namespaces_virtualnetworkrules": { + "namespaces_migrationConfigurations": { "type": "object", "properties": { "apiVersion": { @@ -239,25 +251,32 @@ ] }, "name": { - "type": "string", - "minLength": 1, - "description": "The Virtual Network Rule name." + "oneOf": [ + { + "type": "string", + "pattern": "^.*/\\$default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The configuration name. Should always be \"$default\"." }, "properties": { "oneOf": [ { - "$ref": "#/definitions/VirtualNetworkRuleProperties" + "$ref": "#/definitions/MigrationConfigPropertiesProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Properties supplied to create or update VirtualNetworkRules" + "description": "Properties required to the Create Migration Configuration" }, "type": { "type": "string", "enum": [ - "Microsoft.ServiceBus/namespaces/virtualnetworkrules" + "Microsoft.ServiceBus/namespaces/migrationConfigurations" ] } }, @@ -267,140 +286,144 @@ "properties", "type" ], - "description": "Microsoft.ServiceBus/namespaces/virtualnetworkrules" - } - }, - "definitions": { - "ConnectionState": { + "description": "Microsoft.ServiceBus/namespaces/migrationConfigurations" + }, + "namespaces_networkRuleSets": { "type": "object", "properties": { - "description": { + "apiVersion": { "type": "string", - "description": "Description of the connection state." + "enum": [ + "2018-01-01-preview" + ] }, - "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." - }, - "Encryption": { - "type": "object", - "properties": { - "keySource": { + "name": { "oneOf": [ { "type": "string", - "enum": [ - "Microsoft.KeyVault" - ] + "pattern": "^.*/default$" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "Enumerates the possible value of keySource for Encryption." + ] }, - "keyVaultProperties": { + "properties": { "oneOf": [ { - "$ref": "#/definitions/KeyVaultProperties" + "$ref": "#/definitions/NetworkRuleSetProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Properties to configure keyVault Properties" + "description": "NetworkRuleSet properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceBus/namespaces/networkRuleSets" + ] } }, - "description": "Properties to configure Encryption" + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceBus/namespaces/networkRuleSets" }, - "Identity": { + "namespaces_privateEndpointConnections": { "type": "object", "properties": { - "principalId": { + "apiVersion": { "type": "string", - "description": "ObjectId from the KeyVault" + "enum": [ + "2018-01-01-preview" + ] }, - "tenantId": { + "name": { "type": "string", - "description": "TenantId from the KeyVault" + "description": "The PrivateEndpointConnection name" }, - "type": { + "properties": { "oneOf": [ { - "type": "string", - "enum": [ - "SystemAssigned" - ] + "$ref": "#/definitions/PrivateEndpointConnectionProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Enumerates the possible value Identity type, which currently supports only 'SystemAssigned'." + "description": "Properties of the private endpoint connection resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceBus/namespaces/privateEndpointConnections" + ] } }, - "description": "Properties to configure Identity for Bring your Own Keys" + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceBus/namespaces/privateEndpointConnections" }, - "IpFilterRuleProperties": { + "namespaces_queues": { "type": "object", "properties": { - "action": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-01-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "description": "The queue name." + }, + "properties": { "oneOf": [ { - "type": "string", - "enum": [ - "Accept", - "Reject" - ] + "$ref": "#/definitions/SBQueueProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The IP Filter Action." - }, - "filterName": { - "type": "string", - "description": "IP Filter name" + "description": "The Queue Properties definition." }, - "ipMask": { - "type": "string", - "description": "IP Mask" - } - }, - "description": "Properties supplied to create or update IpFilterRules" - }, - "KeyVaultProperties": { - "type": "object", - "properties": { - "keyName": { - "type": "string", - "description": "Name of the Key from KeyVault" + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/namespaces_queues_authorizationRules_childResource" + } + ] + } }, - "keyVaultUri": { + "type": { "type": "string", - "description": "Uri of KeyVault" + "enum": [ + "Microsoft.ServiceBus/namespaces/queues" + ] } }, - "description": "Properties to configure keyVault Properties" + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceBus/namespaces/queues" }, - "namespaces_ipfilterrules_childResource": { + "namespaces_queues_authorizationRules": { "type": "object", "properties": { "apiVersion": { @@ -412,23 +435,24 @@ "name": { "type": "string", "minLength": 1, - "description": "The IP Filter Rule name." + "maxLength": 50, + "description": "The authorization rule name." }, "properties": { "oneOf": [ { - "$ref": "#/definitions/IpFilterRuleProperties" + "$ref": "#/definitions/SBAuthorizationRuleProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Properties supplied to create or update IpFilterRules" + "description": "AuthorizationRule properties." }, "type": { "type": "string", "enum": [ - "ipfilterrules" + "Microsoft.ServiceBus/namespaces/queues/authorizationRules" ] } }, @@ -438,9 +462,9 @@ "properties", "type" ], - "description": "Microsoft.ServiceBus/namespaces/ipfilterrules" + "description": "Microsoft.ServiceBus/namespaces/queues/authorizationRules" }, - "namespaces_networkrulesets_childResource": { + "namespaces_topics": { "type": "object", "properties": { "apiVersion": { @@ -451,25 +475,37 @@ }, "name": { "type": "string", - "enum": [ - "default" - ] + "minLength": 1, + "description": "The topic name." }, "properties": { "oneOf": [ { - "$ref": "#/definitions/NetworkRuleSetProperties" + "$ref": "#/definitions/SBTopicProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "NetworkRuleSet properties" + "description": "The Topic Properties definition." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/namespaces_topics_authorizationRules_childResource" + }, + { + "$ref": "#/definitions/namespaces_topics_subscriptions_childResource" + } + ] + } }, "type": { "type": "string", "enum": [ - "networkrulesets" + "Microsoft.ServiceBus/namespaces/topics" ] } }, @@ -479,9 +515,9 @@ "properties", "type" ], - "description": "Microsoft.ServiceBus/namespaces/networkrulesets" + "description": "Microsoft.ServiceBus/namespaces/topics" }, - "namespaces_privateEndpointConnections_childResource": { + "namespaces_topics_authorizationRules": { "type": "object", "properties": { "apiVersion": { @@ -492,23 +528,25 @@ }, "name": { "type": "string", - "description": "The PrivateEndpointConnection name" + "minLength": 1, + "maxLength": 50, + "description": "The authorization rule name." }, "properties": { "oneOf": [ { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" + "$ref": "#/definitions/SBAuthorizationRuleProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Properties of the private endpoint connection resource." + "description": "AuthorizationRule properties." }, "type": { "type": "string", "enum": [ - "privateEndpointConnections" + "Microsoft.ServiceBus/namespaces/topics/authorizationRules" ] } }, @@ -518,9 +556,9 @@ "properties", "type" ], - "description": "Microsoft.ServiceBus/namespaces/privateEndpointConnections" + "description": "Microsoft.ServiceBus/namespaces/topics/authorizationRules" }, - "namespaces_virtualnetworkrules_childResource": { + "namespaces_topics_subscriptions": { "type": "object", "properties": { "apiVersion": { @@ -532,23 +570,115 @@ "name": { "type": "string", "minLength": 1, - "description": "The Virtual Network Rule name." + "maxLength": 50, + "description": "The subscription name." }, "properties": { "oneOf": [ { - "$ref": "#/definitions/VirtualNetworkRuleProperties" + "$ref": "#/definitions/SBSubscriptionProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Properties supplied to create or update VirtualNetworkRules" + "description": "Description of Subscription Resource." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/namespaces_topics_subscriptions_rules_childResource" + } + ] + } }, "type": { "type": "string", "enum": [ - "virtualnetworkrules" + "Microsoft.ServiceBus/namespaces/topics/subscriptions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceBus/namespaces/topics/subscriptions" + }, + "namespaces_topics_subscriptions_rules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-01-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "The rule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/Ruleproperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Description of Rule Resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceBus/namespaces/topics/subscriptions/rules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceBus/namespaces/topics/subscriptions/rules" + }, + "namespaces_virtualnetworkrules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-01-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "description": "The Virtual Network Rule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties supplied to create or update VirtualNetworkRules" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceBus/namespaces/virtualnetworkrules" ] } }, @@ -559,84 +689,1269 @@ "type" ], "description": "Microsoft.ServiceBus/namespaces/virtualnetworkrules" + } + }, + "definitions": { + "Action": { + "type": "object", + "properties": { + "compatibilityLevel": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20." + }, + "requiresPreprocessing": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Value that indicates whether the rule action requires preprocessing." + }, + "sqlExpression": { + "type": "string", + "description": "SQL expression. e.g. MyProperty='ABC'" + } + }, + "description": "Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression." }, - "NetworkRuleSetProperties": { + "ArmDisasterRecoveryProperties": { "type": "object", "properties": { - "defaultAction": { + "alternateName": { + "type": "string", + "description": "Primary/Secondary eventhub namespace name, which is part of GEO DR pairing" + }, + "partnerNamespace": { + "type": "string", + "description": "ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing" + } + }, + "description": "Properties required to the Create Or Update Alias(Disaster Recovery configurations)" + }, + "ConnectionState": { + "type": "object", + "properties": { + "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." + }, + "CorrelationFilter": { + "type": "object", + "properties": { + "contentType": { + "type": "string", + "description": "Content type of the message." + }, + "correlationId": { + "type": "string", + "description": "Identifier of the correlation." + }, + "label": { + "type": "string", + "description": "Application specific label." + }, + "messageId": { + "type": "string", + "description": "Identifier of the message." + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "dictionary object for custom filters" + }, + "replyTo": { + "type": "string", + "description": "Address of the queue to reply to." + }, + "replyToSessionId": { + "type": "string", + "description": "Session identifier to reply to." + }, + "requiresPreprocessing": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Value that indicates whether the rule action requires preprocessing." + }, + "sessionId": { + "type": "string", + "description": "Session identifier." + }, + "to": { + "type": "string", + "description": "Address to send to." + } + }, + "description": "Represents the correlation filter expression." + }, + "Encryption": { + "type": "object", + "properties": { + "keySource": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Microsoft.KeyVault" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enumerates the possible value of keySource for Encryption." + }, + "keyVaultProperties": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to configure keyVault Properties" + } + }, + "description": "Properties to configure Encryption" + }, + "Identity": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "ObjectId from the KeyVault" + }, + "tenantId": { + "type": "string", + "description": "TenantId from the KeyVault" + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enumerates the possible value Identity type, which currently supports only 'SystemAssigned'." + } + }, + "description": "Properties to configure Identity for Bring your Own Keys" + }, + "IpFilterRuleProperties": { + "type": "object", + "properties": { + "action": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accept", + "Reject" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The IP Filter Action." + }, + "filterName": { + "type": "string", + "description": "IP Filter name" + }, + "ipMask": { + "type": "string", + "description": "IP Mask" + } + }, + "description": "Properties supplied to create or update IpFilterRules" + }, + "KeyVaultProperties": { + "type": "object", + "properties": { + "keyName": { + "type": "string", + "description": "Name of the Key from KeyVault" + }, + "keyVaultUri": { + "type": "string", + "description": "Uri of KeyVault" + } + }, + "description": "Properties to configure keyVault Properties" + }, + "MigrationConfigPropertiesProperties": { + "type": "object", + "properties": { + "postMigrationName": { + "type": "string", + "description": "Name to access Standard Namespace after migration" + }, + "targetNamespace": { + "type": "string", + "description": "Existing premium Namespace ARM Id name which has no entities, will be used for migration" + } + }, + "required": [ + "postMigrationName", + "targetNamespace" + ], + "description": "Properties required to the Create Migration Configuration" + }, + "namespaces_AuthorizationRules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-01-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "The authorization rule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SBAuthorizationRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AuthorizationRule properties." + }, + "type": { + "type": "string", + "enum": [ + "AuthorizationRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceBus/namespaces/AuthorizationRules" + }, + "namespaces_disasterRecoveryConfigs_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-01-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "The Disaster Recovery configuration name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ArmDisasterRecoveryProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties required to the Create Or Update Alias(Disaster Recovery configurations)" + }, + "type": { + "type": "string", + "enum": [ + "disasterRecoveryConfigs" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceBus/namespaces/disasterRecoveryConfigs" + }, + "namespaces_ipfilterrules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-01-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "description": "The IP Filter Rule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/IpFilterRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties supplied to create or update IpFilterRules" + }, + "type": { + "type": "string", + "enum": [ + "ipfilterrules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceBus/namespaces/ipfilterrules" + }, + "namespaces_migrationConfigurations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-01-01-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "$default" + ], + "description": "The configuration name. Should always be \"$default\"." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MigrationConfigPropertiesProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties required to the Create Migration Configuration" + }, + "type": { + "type": "string", + "enum": [ + "migrationConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceBus/namespaces/migrationConfigurations" + }, + "namespaces_networkRuleSets_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-01-01-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkRuleSetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NetworkRuleSet properties" + }, + "type": { + "type": "string", + "enum": [ + "networkRuleSets" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceBus/namespaces/networkRuleSets" + }, + "namespaces_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-01-01-preview" + ] + }, + "name": { + "type": "string", + "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.ServiceBus/namespaces/privateEndpointConnections" + }, + "namespaces_queues_authorizationRules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-01-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "The authorization rule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SBAuthorizationRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AuthorizationRule properties." + }, + "type": { + "type": "string", + "enum": [ + "authorizationRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceBus/namespaces/queues/authorizationRules" + }, + "namespaces_queues_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-01-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "description": "The queue name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SBQueueProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Queue Properties definition." + }, + "type": { + "type": "string", + "enum": [ + "queues" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceBus/namespaces/queues" + }, + "namespaces_topics_authorizationRules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-01-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "The authorization rule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SBAuthorizationRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AuthorizationRule properties." + }, + "type": { + "type": "string", + "enum": [ + "authorizationRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceBus/namespaces/topics/authorizationRules" + }, + "namespaces_topics_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-01-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "description": "The topic name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SBTopicProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Topic Properties definition." + }, + "type": { + "type": "string", + "enum": [ + "topics" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceBus/namespaces/topics" + }, + "namespaces_topics_subscriptions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-01-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "The subscription name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SBSubscriptionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Description of Subscription Resource." + }, + "type": { + "type": "string", + "enum": [ + "subscriptions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceBus/namespaces/topics/subscriptions" + }, + "namespaces_topics_subscriptions_rules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-01-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "maxLength": 50, + "description": "The rule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/Ruleproperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Description of Rule Resource." + }, + "type": { + "type": "string", + "enum": [ + "rules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceBus/namespaces/topics/subscriptions/rules" + }, + "namespaces_virtualnetworkrules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-01-01-preview" + ] + }, + "name": { + "type": "string", + "minLength": 1, + "description": "The Virtual Network Rule name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualNetworkRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties supplied to create or update VirtualNetworkRules" + }, + "type": { + "type": "string", + "enum": [ + "virtualnetworkrules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceBus/namespaces/virtualnetworkrules" + }, + "NetworkRuleSetProperties": { + "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 for Network Rule Set." + }, + "ipRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NWRuleSetIpRules" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of IpRules" + }, + "virtualNetworkRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NWRuleSetVirtualNetworkRules" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List VirtualNetwork Rules" + } + }, + "description": "NetworkRuleSet properties" + }, + "NWRuleSetIpRules": { + "type": "object", + "properties": { + "action": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Allow" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The IP Filter Action." + }, + "ipMask": { + "type": "string", + "description": "IP Mask" + } + }, + "description": "Description of NetWorkRuleSet - IpRules resource." + }, + "NWRuleSetVirtualNetworkRules": { + "type": "object", + "properties": { + "ignoreMissingVnetServiceEndpoint": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Value that indicates whether to ignore missing VNet Service Endpoint" + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/Subnet" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties supplied for Subnet" + } + }, + "description": "Description of VirtualNetworkRules - NetworkRules resource." + }, + "PrivateEndpoint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ARM identifier for Private Endpoint." + } + }, + "description": "PrivateEndpoint information." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "PrivateEndpoint information." + }, + "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." + } + }, + "description": "Properties of the private endpoint connection resource." + }, + "Ruleproperties": { + "type": "object", + "properties": { + "action": { + "oneOf": [ + { + "$ref": "#/definitions/Action" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression." + }, + "correlationFilter": { + "oneOf": [ + { + "$ref": "#/definitions/CorrelationFilter" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents the correlation filter expression." + }, + "filterType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SqlFilter", + "CorrelationFilter" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Filter type that is evaluated against a BrokeredMessage." + }, + "sqlFilter": { + "oneOf": [ + { + "$ref": "#/definitions/SqlFilter" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents a filter which is a composition of an expression and an action that is executed in the pub/sub pipeline." + } + }, + "description": "Description of Rule Resource." + }, + "SBAuthorizationRuleProperties": { + "type": "object", + "properties": { + "rights": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Manage", + "Send", + "Listen" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The rights associated with the rule." + } + }, + "required": [ + "rights" + ], + "description": "AuthorizationRule properties." + }, + "SBNamespaceProperties": { + "type": "object", + "properties": { + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/Encryption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties to configure Encryption" + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones." + } + }, + "description": "Properties of the namespace." + }, + "SBQueueProperties": { + "type": "object", + "properties": { + "autoDeleteOnIdle": { + "type": "string", + "format": "duration", + "description": "ISO 8061 timeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes." + }, + "deadLetteringOnMessageExpiration": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value that indicates whether this queue has dead letter support when a message expires." + }, + "defaultMessageTimeToLive": { + "type": "string", + "format": "duration", + "description": "ISO 8601 default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself." + }, + "duplicateDetectionHistoryTimeWindow": { + "type": "string", + "format": "duration", + "description": "ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes." + }, + "enableBatchedOperations": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Value that indicates whether server-side batched operations are enabled." + }, + "enableExpress": { "oneOf": [ { - "type": "string", - "enum": [ - "Allow", - "Deny" - ] + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Default Action for Network Rule Set." + "description": "A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage." }, - "ipRules": { + "enablePartitioning": { "oneOf": [ { - "type": "array", - "items": { - "$ref": "#/definitions/NWRuleSetIpRules" - } + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "List of IpRules" + "description": "A value that indicates whether the queue is to be partitioned across multiple message brokers." }, - "virtualNetworkRules": { + "forwardDeadLetteredMessagesTo": { + "type": "string", + "description": "Queue/Topic name to forward the Dead Letter message" + }, + "forwardTo": { + "type": "string", + "description": "Queue/Topic name to forward the messages" + }, + "lockDuration": { + "type": "string", + "format": "duration", + "description": "ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute." + }, + "maxDeliveryCount": { "oneOf": [ { - "type": "array", - "items": { - "$ref": "#/definitions/NWRuleSetVirtualNetworkRules" - } + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "List VirtualNetwork Rules" + "description": "The maximum delivery count. A message is automatically deadlettered after this number of deliveries. default value is 10." + }, + "maxSizeInMegabytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum size of the queue in megabytes, which is the size of memory allocated for the queue. Default is 1024." + }, + "requiresDuplicateDetection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value indicating if this queue requires duplicate detection." + }, + "requiresSession": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A value that indicates whether the queue supports the concept of sessions." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Active", + "Disabled", + "Restoring", + "SendDisabled", + "ReceiveDisabled", + "Creating", + "Deleting", + "Renaming", + "Unknown" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enumerates the possible values for the status of a messaging entity." } }, - "description": "NetworkRuleSet properties" + "description": "The Queue Properties definition." }, - "NWRuleSetIpRules": { + "SBSku": { "type": "object", "properties": { - "action": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The specified messaging units for the tier. For Premium tier, capacity are 1,2 and 4." + }, + "name": { "oneOf": [ { "type": "string", "enum": [ - "Allow" + "Basic", + "Standard", + "Premium" ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The IP Filter Action." + "description": "Name of this SKU." }, - "ipMask": { - "type": "string", - "description": "IP Mask" + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic", + "Standard", + "Premium" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The billing tier of this particular SKU." } }, - "description": "The response from the List namespace operation." + "required": [ + "name" + ], + "description": "SKU of the namespace." }, - "NWRuleSetVirtualNetworkRules": { + "SBSubscriptionProperties": { "type": "object", "properties": { - "ignoreMissingVnetServiceEndpoint": { + "autoDeleteOnIdle": { + "type": "string", + "format": "duration", + "description": "ISO 8061 timeSpan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes." + }, + "deadLetteringOnFilterEvaluationExceptions": { "oneOf": [ { "type": "boolean" @@ -645,94 +1960,130 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Value that indicates whether to ignore missing Vnet Service Endpoint" + "description": "Value that indicates whether a subscription has dead letter support on filter evaluation exceptions." }, - "subnet": { + "deadLetteringOnMessageExpiration": { "oneOf": [ { - "$ref": "#/definitions/Subnet" + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Properties supplied for Subnet" - } - }, - "description": "The response from the List namespace operation." - }, - "PrivateEndpoint": { - "type": "object", - "properties": { - "id": { + "description": "Value that indicates whether a subscription has dead letter support when a message expires." + }, + "defaultMessageTimeToLive": { "type": "string", - "description": "The ARM identifier for Private Endpoint." - } - }, - "description": "PrivateEndpoint information." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { + "format": "duration", + "description": "ISO 8061 Default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself." + }, + "duplicateDetectionHistoryTimeWindow": { + "type": "string", + "format": "duration", + "description": "ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes." + }, + "enableBatchedOperations": { "oneOf": [ { - "$ref": "#/definitions/PrivateEndpoint" + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "PrivateEndpoint information." + "description": "Value that indicates whether server-side batched operations are enabled." }, - "privateLinkServiceConnectionState": { + "forwardDeadLetteredMessagesTo": { + "type": "string", + "description": "Queue/Topic name to forward the Dead Letter message" + }, + "forwardTo": { + "type": "string", + "description": "Queue/Topic name to forward the messages" + }, + "lockDuration": { + "type": "string", + "format": "duration", + "description": "ISO 8061 lock duration timespan for the subscription. The default value is 1 minute." + }, + "maxDeliveryCount": { "oneOf": [ { - "$ref": "#/definitions/ConnectionState" + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "ConnectionState information." + "description": "Number of maximum deliveries." }, - "provisioningState": { + "requiresSession": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Value indicating if a subscription supports the concept of sessions." + }, + "status": { "oneOf": [ { "type": "string", "enum": [ + "Active", + "Disabled", + "Restoring", + "SendDisabled", + "ReceiveDisabled", "Creating", - "Updating", "Deleting", - "Succeeded", - "Canceled", - "Failed" + "Renaming", + "Unknown" ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Provisioning state of the Private Endpoint Connection." + "description": "Enumerates the possible values for the status of a messaging entity." } }, - "description": "Properties of the private endpoint connection resource." + "description": "Description of Subscription Resource." }, - "SBNamespaceProperties": { + "SBTopicProperties": { "type": "object", "properties": { - "encryption": { + "autoDeleteOnIdle": { + "type": "string", + "format": "duration", + "description": "ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes." + }, + "defaultMessageTimeToLive": { + "type": "string", + "format": "duration", + "description": "ISO 8601 Default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself." + }, + "duplicateDetectionHistoryTimeWindow": { + "type": "string", + "format": "duration", + "description": "ISO8601 timespan structure that defines the duration of the duplicate detection history. The default value is 10 minutes." + }, + "enableBatchedOperations": { "oneOf": [ { - "$ref": "#/definitions/Encryption" + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Properties to configure Encryption" + "description": "Value that indicates whether server-side batched operations are enabled." }, - "zoneRedundant": { + "enableExpress": { "oneOf": [ { "type": "boolean" @@ -741,15 +2092,20 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones." - } - }, - "description": "Properties of the namespace." - }, - "SBSku": { - "type": "object", - "properties": { - "capacity": { + "description": "Value that indicates whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage." + }, + "enablePartitioning": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Value that indicates whether the topic to be partitioned across multiple message brokers is enabled." + }, + "maxSizeInMegabytes": { "oneOf": [ { "type": "integer" @@ -758,45 +2114,90 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The specified messaging units for the tier. For Premium tier, capacity are 1,2 and 4." + "description": "Maximum size of the topic in megabytes, which is the size of the memory allocated for the topic. Default is 1024." }, - "name": { + "requiresDuplicateDetection": { "oneOf": [ { - "type": "string", - "enum": [ - "Basic", - "Standard", - "Premium" - ] + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Name of this SKU." + "description": "Value indicating if this topic requires duplicate detection." }, - "tier": { + "status": { "oneOf": [ { "type": "string", "enum": [ - "Basic", - "Standard", - "Premium" + "Active", + "Disabled", + "Restoring", + "SendDisabled", + "ReceiveDisabled", + "Creating", + "Deleting", + "Renaming", + "Unknown" ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The billing tier of this particular SKU." + "description": "Enumerates the possible values for the status of a messaging entity." + }, + "supportOrdering": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Value that indicates whether the topic supports ordering." } }, - "required": [ - "name" - ], - "description": "SKU of the namespace." + "description": "The Topic Properties definition." + }, + "SqlFilter": { + "type": "object", + "properties": { + "compatibilityLevel": { + "oneOf": [ + { + "type": "integer", + "minimum": 20, + "maximum": 20, + "default": "20" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20." + }, + "requiresPreprocessing": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Value that indicates whether the rule action requires preprocessing." + }, + "sqlExpression": { + "type": "string", + "description": "The SQL expression. e.g. MyProperty='ABC'" + } + }, + "description": "Represents a filter which is a composition of an expression and an action that is executed in the pub/sub pipeline." }, "Subnet": { "type": "object", @@ -806,6 +2207,9 @@ "description": "Resource ID of Virtual Network Subnet" } }, + "required": [ + "id" + ], "description": "Properties supplied for Subnet" }, "VirtualNetworkRuleProperties": { diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index 34b6154aeb..ddc778184d 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -139,6 +139,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-07-19-preview/Microsoft.Capacity.json#/subscription_resourceDefinitions/resourceProviders_locations_serviceLimits" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-10-25/Microsoft.Capacity.json#/subscription_resourceDefinitions/resourceProviders_locations_serviceLimits" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-04-01-preview/Microsoft.ChangeAnalysis.json#/subscription_resourceDefinitions/profile" }, diff --git a/schemas/2018-06-01-preview/Microsoft.HDInsight.json b/schemas/2018-06-01-preview/Microsoft.HDInsight.json index 25e2aa9c76..f6c61d75fa 100644 --- a/schemas/2018-06-01-preview/Microsoft.HDInsight.json +++ b/schemas/2018-06-01-preview/Microsoft.HDInsight.json @@ -556,6 +556,17 @@ "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": [ { @@ -841,6 +852,27 @@ "type": "object", "properties": {} }, + "ComputeIsolationProperties": { + "type": "object", + "properties": { + "enableComputeIsolation": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$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": { diff --git a/schemas/2019-01-01-preview/Microsoft.SecurityInsights.json b/schemas/2019-01-01-preview/Microsoft.SecurityInsights.json index 63236796b4..1109e37231 100644 --- a/schemas/2019-01-01-preview/Microsoft.SecurityInsights.json +++ b/schemas/2019-01-01-preview/Microsoft.SecurityInsights.json @@ -349,6 +349,9 @@ { "$ref": "#/definitions/AwsCloudTrailDataConnector" }, + { + "$ref": "#/definitions/Dynamics365DataConnector" + }, { "$ref": "#/definitions/MCASDataConnector" }, @@ -1338,6 +1341,91 @@ ], "description": "Microsoft.SecurityInsights/cases/relations" }, + "Dynamics365DataConnector": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "Dynamics365" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/Dynamics365DataConnectorProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Dynamics365 data connector properties." + } + }, + "required": [ + "kind" + ], + "description": "Represents Dynamics365 data connector." + }, + "Dynamics365DataConnectorDataTypes": { + "type": "object", + "properties": { + "dynamics365CdsActivities": { + "oneOf": [ + { + "$ref": "#/definitions/Dynamics365DataConnectorDataTypesDynamics365CdsActivities" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Common Data Service data type connection." + } + }, + "description": "The available data types for Dynamics365 data connector." + }, + "Dynamics365DataConnectorDataTypesDynamics365CdsActivities": { + "type": "object", + "properties": { + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describe whether this data type connection is enabled or not." + } + }, + "description": "Common Data Service data type connection." + }, + "Dynamics365DataConnectorProperties": { + "type": "object", + "properties": { + "dataTypes": { + "oneOf": [ + { + "$ref": "#/definitions/Dynamics365DataConnectorDataTypes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The available data types for Dynamics365 data connector." + }, + "tenantId": { + "type": "string", + "description": "The tenant id to connect to, and get the data from." + } + }, + "description": "Dynamics365 data connector properties." + }, "EntityAnalytics": { "type": "object", "properties": { @@ -1511,7 +1599,8 @@ "Account", "Host", "Ip", - "Url" + "Url", + "FileHash" ] } }, diff --git a/schemas/2019-08-09-preview/Microsoft.AVS.json b/schemas/2019-08-09-preview/Microsoft.AVS.json deleted file mode 100644 index 75be3cd462..0000000000 --- a/schemas/2019-08-09-preview/Microsoft.AVS.json +++ /dev/null @@ -1,370 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-08-09-preview/Microsoft.AVS.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.AVS", - "description": "Microsoft AVS Resource Types", - "resourceDefinitions": { - "privateClouds": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-09-preview" - ] - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "name": { - "type": "string", - "description": "Name of the private cloud" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateCloudProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of a private cloud resource" - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/privateClouds_clusters_childResource" - } - ] - } - }, - "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": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.AVS/privateClouds" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.AVS/privateClouds" - }, - "privateClouds_clusters": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-09-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of the cluster in the private cloud" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ClusterProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of a cluster" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.AVS/privateClouds/clusters" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.AVS/privateClouds/clusters" - } - }, - "definitions": { - "Circuit": { - "type": "object", - "properties": { - "authorizations": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ExpressRouteAuthorization" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Authorizations for the ExpressRoute (Microsoft Colo only)" - } - }, - "description": "An ExpressRoute Circuit" - }, - "ClusterProperties": { - "type": "object", - "properties": { - "clusterSize": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cluster size" - } - }, - "description": "The properties of a cluster" - }, - "DefaultClusterProperties": { - "type": "object", - "properties": { - "clusterSize": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cluster size" - } - }, - "description": "The properties of a default cluster" - }, - "ExpressRouteAuthorization": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the ExpressRoute" - } - }, - "description": "Authorization for an ExpressRoute" - }, - "IdentitySource": { - "type": "object", - "properties": { - "alias": { - "type": "string", - "description": "The domain's NetBIOS name" - }, - "baseGroupDN": { - "type": "string", - "description": "The base distinguished name for groups" - }, - "baseUserDN": { - "type": "string", - "description": "The base distinguished name for users" - }, - "domain": { - "type": "string", - "description": "The domain's dns name" - }, - "name": { - "type": "string", - "description": "The name of the identity source" - }, - "password": { - "type": "string", - "description": "The password of the Active Directory user with a minimum of read-only access to Base DN for users and groups." - }, - "primaryServer": { - "type": "string", - "description": "Primary server URL" - }, - "secondaryServer": { - "type": "string", - "description": "Secondary server URL" - }, - "ssl": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Protect LDAP communication using SSL certificate (LDAPS)." - }, - "username": { - "type": "string", - "description": "The ID of an Active Directory user with a minimum of read-only access to Base DN for users and group" - } - }, - "description": "vCenter Single Sign On Identity Source" - }, - "PrivateCloudProperties": { - "type": "object", - "properties": { - "circuit": { - "oneOf": [ - { - "$ref": "#/definitions/Circuit" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An ExpressRoute Circuit" - }, - "cluster": { - "oneOf": [ - { - "$ref": "#/definitions/DefaultClusterProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of a default cluster" - }, - "identitySources": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IdentitySource" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "vCenter Single Sign On Identity Sources" - }, - "internet": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connectivity to internet is enabled or disabled." - }, - "networkBlock": { - "type": "string", - "description": "The block of addresses should be unique across VNet in your subscription as well as on-premise. Make sure the CIDR format is conformed to (A.B.C.D/X) where A,B,C,D are between 0 and 255, and X is between 0 and 22" - }, - "nsxtPassword": { - "type": "string", - "description": "Optionally, set the NSX-T Manager password when the private cloud is created" - }, - "vcenterPassword": { - "type": "string", - "description": "Optionally, set the vCenter admin password when the private cloud is created" - } - }, - "description": "The properties of a private cloud resource" - }, - "privateClouds_clusters_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-08-09-preview" - ] - }, - "name": { - "type": "string", - "description": "Name of the cluster in the private cloud" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ClusterProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of a cluster" - }, - "type": { - "type": "string", - "enum": [ - "clusters" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.AVS/privateClouds/clusters" - }, - "Sku": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the SKU." - } - }, - "required": [ - "name" - ], - "description": "The resource model definition representing SKU" - } - } -} \ No newline at end of file diff --git a/schemas/2019-09-01-preview/Microsoft.OperationalInsights.json b/schemas/2019-09-01-preview/Microsoft.OperationalInsights.json new file mode 100644 index 0000000000..a1ea1cb2d6 --- /dev/null +++ b/schemas/2019-09-01-preview/Microsoft.OperationalInsights.json @@ -0,0 +1,266 @@ +{ + "id": "https://schema.management.azure.com/schemas/2019-09-01-preview/Microsoft.OperationalInsights.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.OperationalInsights", + "description": "Microsoft OperationalInsights Resource Types", + "resourceDefinitions": { + "queryPacks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-09-01-preview" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the Log Analytics QueryPack resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LogAnalyticsQueryPackProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties that define a Log Analytics QueryPack resource." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/queryPacks_queries_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.OperationalInsights/queryPacks" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.OperationalInsights/queryPacks" + }, + "queryPacks_queries": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-09-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The id of a specific query defined in the Log Analytics QueryPack" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LogAnalyticsQueryPackQueryProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties that define an Log Analytics QueryPack-Query resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.OperationalInsights/queryPacks/queries" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.OperationalInsights/queryPacks/queries" + } + }, + "definitions": { + "LogAnalyticsQueryPackProperties": { + "type": "object", + "properties": {}, + "description": "Properties that define a Log Analytics QueryPack resource." + }, + "LogAnalyticsQueryPackQueryProperties": { + "type": "object", + "properties": { + "body": { + "type": "string", + "description": "Body of the query." + }, + "description": { + "type": "string", + "description": "Description of the query." + }, + "displayName": { + "type": "string", + "description": "Unique display name for your query within the Query Pack." + }, + "properties": { + "type": "object", + "properties": {}, + "description": "Additional properties that can be set for the query." + }, + "related": { + "oneOf": [ + { + "$ref": "#/definitions/LogAnalyticsQueryPackQueryPropertiesRelated" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The related metadata items for the function." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags associated with the query." + } + }, + "required": [ + "body", + "displayName" + ], + "description": "Properties that define an Log Analytics QueryPack-Query resource." + }, + "LogAnalyticsQueryPackQueryPropertiesRelated": { + "type": "object", + "properties": { + "categories": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The related categories for the function." + }, + "resourceTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The related resource types for the function." + }, + "solutions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The related Log Analytics solutions for the function." + } + }, + "description": "The related metadata items for the function." + }, + "queryPacks_queries_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-09-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The id of a specific query defined in the Log Analytics QueryPack" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/LogAnalyticsQueryPackQueryProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties that define an Log Analytics QueryPack-Query resource." + }, + "type": { + "type": "string", + "enum": [ + "queries" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.OperationalInsights/queryPacks/queries" + } + } +} \ No newline at end of file diff --git a/schemas/2020-01-01/Microsoft.AAD.json b/schemas/2020-01-01/Microsoft.AAD.json index bde6d5be0d..7728f65760 100644 --- a/schemas/2020-01-01/Microsoft.AAD.json +++ b/schemas/2020-01-01/Microsoft.AAD.json @@ -246,17 +246,6 @@ ], "description": "Secure LDAP Settings" }, - "migrationProperties": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Migration Properties" - }, "notificationSettings": { "oneOf": [ { @@ -409,52 +398,6 @@ }, "description": "Secure LDAP Settings" }, - "MigrationProgress": { - "type": "object", - "properties": { - "completionPercentage": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Completion Percentage" - }, - "progressMessage": { - "type": "string", - "description": "Progress Message" - } - }, - "description": "Migration Progress" - }, - "MigrationProperties": { - "type": "object", - "properties": { - "migrationProgress": { - "oneOf": [ - { - "$ref": "#/definitions/MigrationProgress" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Migration Progress" - }, - "oldSubnetId": { - "type": "string", - "description": "Old Subnet Id" - }, - "oldVnetSiteId": { - "type": "string", - "description": "Old Vnet Site Id" - } - }, - "description": "Migration Properties" - }, "NotificationSettings": { "type": "object", "properties": { diff --git a/schemas/2020-02-02-preview/Microsoft.Sql.json b/schemas/2020-02-02-preview/Microsoft.Sql.json index 118ecb7eaf..0169aac7ed 100644 --- a/schemas/2020-02-02-preview/Microsoft.Sql.json +++ b/schemas/2020-02-02-preview/Microsoft.Sql.json @@ -340,6 +340,86 @@ ], "description": "Microsoft.Sql/servers/azureADOnlyAuthentications" }, + "servers_databases": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-02-02-preview" + ] + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "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 database's properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/servers_databases_securityAlertPolicies_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An ARM Resource 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.Sql/servers/databases" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Sql/servers/databases" + }, "servers_databases_securityAlertPolicies": { "type": "object", "properties": { @@ -456,6 +536,205 @@ ], "description": "Properties of a active directory only authentication." }, + "DatabaseProperties": { + "type": "object", + "properties": { + "autoPauseDelay": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled" + }, + "catalogCollation": { + "oneOf": [ + { + "type": "string", + "enum": [ + "DATABASE_DEFAULT", + "SQL_Latin1_General_CP1_CI_AS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collation of the metadata catalog." + }, + "collation": { + "type": "string", + "description": "The collation of the database." + }, + "createMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Default", + "Copy", + "Secondary", + "PointInTimeRestore", + "Restore", + "Recovery", + "RestoreExternalBackup", + "RestoreExternalBackupSecondary", + "RestoreLongTermRetentionBackup", + "OnlineSecondary" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the mode of database creation.\r\n\r\nDefault: regular database creation.\r\n\r\nCopy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the source database.\r\n\r\nSecondary: creates a database as a secondary replica of an existing database. sourceDatabaseId must be specified as the resource ID of the existing primary database.\r\n\r\nPointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId must be specified as the resource ID of the existing database, and restorePointInTime must be specified.\r\n\r\nRecovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable database resource ID to restore.\r\n\r\nRestore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time.\r\n\r\nRestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID.\r\n\r\nCopy, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition." + }, + "elasticPoolId": { + "type": "string", + "description": "The resource identifier of the elastic pool containing this database." + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "LicenseIncluded", + "BasePrice" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The license type to apply for this database. `LicenseIncluded` if you need a license, or `BasePrice` if you have a license and are eligible for the Azure Hybrid Benefit." + }, + "longTermRetentionBackupResourceId": { + "type": "string", + "description": "The resource identifier of the long term retention backup associated with create operation of this database." + }, + "maxSizeBytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The max size of the database expressed in bytes." + }, + "minCapacity": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Minimal capacity that database will always have allocated, if not paused" + }, + "readReplicaCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of readonly secondary replicas associated with the database." + }, + "readScale": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The state of read-only routing. If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica in the same region." + }, + "recoverableDatabaseId": { + "type": "string", + "description": "The resource identifier of the recoverable database associated with create operation of this database." + }, + "recoveryServicesRecoveryPointId": { + "type": "string", + "description": "The resource identifier of the recovery point associated with create operation of this database." + }, + "restorableDroppedDatabaseId": { + "type": "string", + "description": "The resource identifier of the restorable dropped database associated with create operation of this database." + }, + "restorePointInTime": { + "type": "string", + "format": "date-time", + "description": "Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database." + }, + "sampleName": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AdventureWorksLT", + "WideWorldImportersStd", + "WideWorldImportersFull" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the sample schema to apply when creating this database." + }, + "sourceDatabaseDeletionDate": { + "type": "string", + "format": "date-time", + "description": "Specifies the time that the database was deleted." + }, + "sourceDatabaseId": { + "type": "string", + "description": "The resource identifier of the source database associated with create operation of this database." + }, + "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 database." + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones." + } + }, + "description": "The database's properties." + }, "ManagedDatabaseProperties": { "type": "object", "properties": { @@ -705,6 +984,17 @@ } ], "description": "The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80." + }, + "zoneRedundant": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether or not the multi-az is enabled." } }, "description": "The properties of a managed instance." @@ -911,6 +1201,48 @@ ], "description": "Server info for the server trust group." }, + "servers_databases_securityAlertPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-02-02-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "The name of the security alert policy." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SecurityAlertsPolicyProperties" + }, + { + "$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.Sql/servers/databases/securityAlertPolicies" + }, "ServerTrustGroupProperties": { "type": "object", "properties": { diff --git a/schemas/2020-06-01-preview/Microsoft.DocumentDB.json b/schemas/2020-06-01-preview/Microsoft.DocumentDB.json index fdd825fe9e..98ca9c8532 100644 --- a/schemas/2020-06-01-preview/Microsoft.DocumentDB.json +++ b/schemas/2020-06-01-preview/Microsoft.DocumentDB.json @@ -4094,11 +4094,11 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The names of the collections to restore." + "description": "The names of the collections available for restore." }, "databaseName": { "type": "string", - "description": "The name of the database to restore." + "description": "The name of the database available for restore." } }, "description": "Specific Databases to restore." @@ -4802,7 +4802,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "List of specific databases to restore." + "description": "List of specific databases available for restore." }, "restoreMode": { "oneOf": [ diff --git a/schemas/2020-06-02/Microsoft.BotService.json b/schemas/2020-06-02/Microsoft.BotService.json index 31b05b03a9..1c1837adac 100644 --- a/schemas/2020-06-02/Microsoft.BotService.json +++ b/schemas/2020-06-02/Microsoft.BotService.json @@ -385,6 +385,10 @@ "BotProperties": { "type": "object", "properties": { + "cmekKeyVaultUrl": { + "type": "string", + "description": "The CMK Url" + }, "description": { "type": "string", "description": "The description of the bot" @@ -413,6 +417,17 @@ "type": "string", "description": "The Icon Url of the bot" }, + "isCmekEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether Cmek is enabled" + }, "luisAppIds": { "oneOf": [ { @@ -995,8 +1010,7 @@ }, "required": [ "emailAddress", - "isEnabled", - "password" + "isEnabled" ], "description": "The parameters to provide for the Email channel." }, @@ -1065,7 +1079,6 @@ }, "required": [ "appId", - "appSecret", "isEnabled" ], "description": "The parameters to provide for the Facebook channel." @@ -1083,7 +1096,6 @@ } }, "required": [ - "accessToken", "id" ], "description": "A Facebook page for Facebook channel registration" @@ -1149,7 +1161,6 @@ } }, "required": [ - "apiKey", "isEnabled", "userName" ], @@ -1485,10 +1496,7 @@ } }, "required": [ - "clientId", - "clientSecret", - "isEnabled", - "verificationToken" + "isEnabled" ], "description": "The parameters to provide for the Slack channel." }, @@ -1558,7 +1566,6 @@ }, "required": [ "accountSID", - "authToken", "isEnabled", "phone" ], @@ -1621,7 +1628,6 @@ } }, "required": [ - "accessToken", "isEnabled" ], "description": "The parameters to provide for the Telegram channel." diff --git a/schemas/2020-09-01-preview/Microsoft.Devices.Provisioning.json b/schemas/2020-09-01-preview/Microsoft.Devices.Provisioning.json index 026056d138..294eb6ed55 100644 --- a/schemas/2020-09-01-preview/Microsoft.Devices.Provisioning.json +++ b/schemas/2020-09-01-preview/Microsoft.Devices.Provisioning.json @@ -17,6 +17,17 @@ "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" + } + ], + "description": "The set of ARM identities associated with the IoT DPS resource." + }, "location": { "type": "string", "description": "The resource location." @@ -164,12 +175,63 @@ } }, "definitions": { + "ArmIdentity": { + "type": "object", + "properties": { + "identityType": { + "type": "string", + "description": "Identity type. Only allowed values are SystemAssigned and UserAssigned. Comma separated if both for ex: SystemAssigned,UserAssigned." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ArmUserIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The set of UserAssigned identities associated with the IoT DPS resource." + } + }, + "description": "The set of ARM identities associated with the IoT DPS resource." + }, + "ArmUserIdentity": { + "type": "object", + "properties": {}, + "description": "The ARM UserAssigned identity information" + }, + "EncryptionKeyIdentity": { + "type": "object", + "properties": { + "userAssignedIdentity": { + "type": "string", + "description": "The user assigned identity." + } + }, + "description": "The properties of the identity used to access the key encryption key in KeyVault." + }, "EncryptionPropertiesDescription": { "type": "object", "properties": { + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionKeyIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the identity used to access the key encryption key in KeyVault." + }, "keySource": { "type": "string", - "description": "The source of the key." + "description": "The source of the encryption key. Typically, Microsoft.KeyVault" }, "keyVaultProperties": { "oneOf": [ @@ -183,10 +245,10 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The properties of the KeyVault key." + "description": "The properties of the encryption key configured in KeyVault." } }, - "description": "The encryption properties for the IoT DPS instance." + "description": "The customer-managed encryption key (CMK) properties for the IoT DPS instance." }, "IotDpsPropertiesDescription": { "type": "object", @@ -230,7 +292,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The encryption properties for the IoT DPS instance." + "description": "The customer-managed encryption key (CMK) properties for the IoT DPS instance." }, "iotHubs": { "oneOf": [ diff --git a/schemas/2020-09-01/Microsoft.NetApp.json b/schemas/2020-09-01/Microsoft.NetApp.json new file mode 100644 index 0000000000..0b94dff23d --- /dev/null +++ b/schemas/2020-09-01/Microsoft.NetApp.json @@ -0,0 +1,1953 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-09-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": [ + "2020-09-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": [ + "2020-09-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": [ + "2020-09-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": [ + "2020-09-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": [ + "2020-09-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": [ + "2020-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the mount target" + }, + "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": [ + "2020-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the snapshot policy target" + }, + "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": { + "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" + } + }, + "description": "NetApp account properties" + }, + "ActiveDirectory": { + "type": "object", + "properties": { + "activeDirectoryId": { + "type": "string", + "description": "Id of the Active Directory" + }, + "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." + }, + "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." + }, + "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", + "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" + }, + "volumeBackups": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VolumeBackups" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of volumes assigned to this policy" + }, + "volumesAssigned": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Volumes using current backup policy" + }, + "weeklyBackupsToKeep": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Weekly backups count to keep" + }, + "yearlyBackupsToKeep": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Yearly backups count to keep" + } + }, + "description": "Backup policy properties" + }, + "BackupProperties": { + "type": "object", + "properties": { + "label": { + "type": "string", + "description": "Label for backup" + } + }, + "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" + }, + "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" + }, + "MountTargetProperties": { + "type": "object", + "properties": { + "fileSystemId": { + "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 used to identify the MountTarget" + }, + "smbServerFqdn": { + "type": "string", + "description": "The SMB server's Fully Qualified Domain Name, FQDN" + } + }, + "required": [ + "fileSystemId" + ], + "description": "Mount target properties" + }, + "netAppAccounts_backupPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-09-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": [ + "2020-09-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": [ + "2020-09-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": [ + "2020-09-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": [ + "2020-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the mount target" + }, + "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": [ + "2020-09-01" + ] + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "type": "string", + "description": "The name of the snapshot policy target" + }, + "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": { + "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" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The service level of the file system." + }, + "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" + }, + "VolumeBackups": { + "type": "object", + "properties": { + "backupsCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Total count of backups for volume" + }, + "policyEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy enabled" + }, + "volumeName": { + "type": "string", + "description": "Volume name" + } + }, + "description": "Volume details using the backup policy" + }, + "VolumeProperties": { + "type": "object", + "properties": { + "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." + }, + "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" + }, + "exportPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/VolumePropertiesExportPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Set of export policy rules" + }, + "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" + }, + "mountTargets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/MountTargetProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of mount targets" + }, + "protocolTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Set of protocol types" + }, + "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." + }, + "serviceLevel": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "Premium", + "Ultra" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The service level of the file system." + }, + "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" + }, + { + "$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", + "multipleOf": 0.001, + "minimum": 1, + "maximum": 4500 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "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/2020-10-25/Microsoft.Capacity.json b/schemas/2020-10-25/Microsoft.Capacity.json new file mode 100644 index 0000000000..4582836334 --- /dev/null +++ b/schemas/2020-10-25/Microsoft.Capacity.json @@ -0,0 +1,102 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-10-25/Microsoft.Capacity.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Capacity", + "description": "Microsoft Capacity Resource Types", + "resourceDefinitions": {}, + "subscription_resourceDefinitions": { + "resourceProviders_locations_serviceLimits": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-10-25" + ] + }, + "name": { + "type": "string", + "description": "The resource name for a resource provider, such as SKU name for Microsoft.Compute, Sku or TotalLowPriorityCores for Microsoft.MachineLearningServices" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/QuotaProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Quota properties for the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Capacity/resourceProviders/locations/serviceLimits" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Capacity/resourceProviders/locations/serviceLimits" + } + }, + "definitions": { + "QuotaProperties": { + "type": "object", + "properties": { + "limit": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Quota properties." + }, + "name": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceName" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource name provided by the resource provider. Use this property for quotaRequest parameter." + }, + "properties": { + "type": "object", + "properties": {}, + "description": "Additional properties for the specified resource provider." + }, + "resourceType": { + "type": "object", + "properties": {}, + "description": "The name of the resource type." + }, + "unit": { + "type": "string", + "description": " The limit units, such as **count** and **bytes**. Use the unit field provided in the response of the GET quota operation." + } + }, + "description": "Quota properties for the resource." + }, + "ResourceName": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "Resource name." + } + }, + "description": "Resource name provided by the resource provider. Use this property for quotaRequest parameter." + } + } +} \ No newline at end of file diff --git a/schemas/2020-12-01/Microsoft.DigitalTwins.json b/schemas/2020-12-01/Microsoft.DigitalTwins.json new file mode 100644 index 0000000000..eaa2add07e --- /dev/null +++ b/schemas/2020-12-01/Microsoft.DigitalTwins.json @@ -0,0 +1,559 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.DigitalTwins.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.DigitalTwins", + "description": "Microsoft DigitalTwins Resource Types", + "resourceDefinitions": { + "digitalTwinsInstances": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-12-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/DigitalTwinsIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The managed identity for the DigitalTwinsInstance." + }, + "location": { + "type": "string", + "description": "The resource location." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^(?!-)[A-Za-z0-9-]{3,63}(?