From d1175432d4d62f570811b9aa101fe15136b3cd90 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 22 Dec 2020 08:30:41 +0000 Subject: [PATCH 01/27] Autogenerate schemas --- .../Microsoft.AppPlatform.json | 1407 +++++++++++++++++ schemas/common/autogeneratedResources.json | 24 + 2 files changed, 1431 insertions(+) create mode 100644 schemas/2020-11-01-preview/Microsoft.AppPlatform.json diff --git a/schemas/2020-11-01-preview/Microsoft.AppPlatform.json b/schemas/2020-11-01-preview/Microsoft.AppPlatform.json new file mode 100644 index 0000000000..c98f8bcbba --- /dev/null +++ b/schemas/2020-11-01-preview/Microsoft.AppPlatform.json @@ -0,0 +1,1407 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-11-01-preview/Microsoft.AppPlatform.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.AppPlatform", + "description": "Microsoft AppPlatform Resource Types", + "resourceDefinitions": { + "Spring": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-11-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The GEO location of the resource." + }, + "name": { + "type": "string", + "description": "The name of the Service resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ClusterResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Service properties payload" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/Spring_configServers_childResource" + }, + { + "$ref": "#/definitions/Spring_monitoringSettings_childResource" + }, + { + "$ref": "#/definitions/Spring_apps_childResource" + }, + { + "$ref": "#/definitions/Spring_certificates_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of Azure Spring Cloud" + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags of the service which is a list of key value pairs that describe the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring" + }, + "Spring_apps": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-11-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed identity properties retrieved from ARM request headers." + }, + "location": { + "type": "string", + "description": "The GEO location of the application, always the same with its parent resource" + }, + "name": { + "type": "string", + "description": "The name of the App resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AppResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "App resource properties payload" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/Spring_apps_bindings_childResource" + }, + { + "$ref": "#/definitions/Spring_apps_domains_childResource" + }, + { + "$ref": "#/definitions/Spring_apps_deployments_childResource" + } + ] + } + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/apps" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apps" + }, + "Spring_apps_bindings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-11-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the Binding resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BindingResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Binding resource properties payload" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/apps/bindings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apps/bindings" + }, + "Spring_apps_deployments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-11-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the Deployment resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DeploymentResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Deployment resource properties payload" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of Azure Spring Cloud" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/apps/deployments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apps/deployments" + }, + "Spring_apps_domains": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-11-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the custom domain resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CustomDomainProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom domain of app resource payload." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/apps/domains" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apps/domains" + }, + "Spring_certificates": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-11-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the certificate resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Certificate resource payload." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/certificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/certificates" + }, + "Spring_configServers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-11-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConfigServerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Config server git properties payload" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/configServers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/configServers" + }, + "Spring_monitoringSettings": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-11-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MonitoringSettingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Monitoring Setting properties payload" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AppPlatform/Spring/monitoringSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/monitoringSettings" + } + }, + "definitions": { + "ApplicationInsightsAgentVersions": { + "type": "object", + "properties": {}, + "description": "Application Insights agent versions properties payload" + }, + "AppResourceProperties": { + "type": "object", + "properties": { + "activeDeploymentName": { + "type": "string", + "description": "Name of the active deployment of the App" + }, + "fqdn": { + "type": "string", + "description": "Fully qualified dns Name." + }, + "httpsOnly": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicate if only https is allowed." + }, + "persistentDisk": { + "oneOf": [ + { + "$ref": "#/definitions/PersistentDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Persistent disk payload" + }, + "public": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the App exposes public endpoint" + }, + "temporaryDisk": { + "oneOf": [ + { + "$ref": "#/definitions/TemporaryDisk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Temporary disk payload" + } + }, + "description": "App resource properties payload" + }, + "BindingResourceProperties": { + "type": "object", + "properties": { + "bindingParameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Binding parameters of the Binding resource" + }, + "key": { + "type": "string", + "description": "The key of the bound resource" + }, + "resourceId": { + "type": "string", + "description": "The Azure resource id of the bound resource" + } + }, + "description": "Binding resource properties payload" + }, + "CertificateProperties": { + "type": "object", + "properties": { + "certVersion": { + "type": "string", + "description": "The certificate version of key vault." + }, + "keyVaultCertName": { + "type": "string", + "description": "The certificate name of key vault." + }, + "vaultUri": { + "type": "string", + "description": "The vault uri of user key vault." + } + }, + "required": [ + "keyVaultCertName", + "vaultUri" + ], + "description": "Certificate resource payload." + }, + "ClusterResourceProperties": { + "type": "object", + "properties": { + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Service network profile payload" + } + }, + "description": "Service properties payload" + }, + "ConfigServerGitProperty": { + "type": "object", + "properties": { + "hostKey": { + "type": "string", + "description": "Public sshKey of git repository." + }, + "hostKeyAlgorithm": { + "type": "string", + "description": "SshKey algorithm of git repository." + }, + "label": { + "type": "string", + "description": "Label of the repository" + }, + "password": { + "type": "string", + "description": "Password of git repository basic auth." + }, + "privateKey": { + "type": "string", + "description": "Private sshKey algorithm of git repository." + }, + "repositories": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/GitPatternRepository" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Repositories of git." + }, + "searchPaths": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Searching path of the repository" + }, + "strictHostKeyChecking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Strict host key checking or not." + }, + "uri": { + "type": "string", + "description": "URI of the repository" + }, + "username": { + "type": "string", + "description": "Username of git repository basic auth." + } + }, + "required": [ + "uri" + ], + "description": "Property of git." + }, + "ConfigServerProperties": { + "type": "object", + "properties": { + "configServer": { + "oneOf": [ + { + "$ref": "#/definitions/ConfigServerSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The settings of config server." + }, + "error": { + "oneOf": [ + { + "$ref": "#/definitions/Error" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The error code compose of code and message." + } + }, + "description": "Config server git properties payload" + }, + "ConfigServerSettings": { + "type": "object", + "properties": { + "gitProperty": { + "oneOf": [ + { + "$ref": "#/definitions/ConfigServerGitProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Property of git." + } + }, + "description": "The settings of config server." + }, + "CustomDomainProperties": { + "type": "object", + "properties": { + "certName": { + "type": "string", + "description": "The bound certificate name of domain." + }, + "thumbprint": { + "type": "string", + "description": "The thumbprint of bound certificate." + } + }, + "description": "Custom domain of app resource payload." + }, + "DeploymentResourceProperties": { + "type": "object", + "properties": { + "deploymentSettings": { + "oneOf": [ + { + "$ref": "#/definitions/DeploymentSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Deployment settings payload" + }, + "source": { + "oneOf": [ + { + "$ref": "#/definitions/UserSourceInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Source information for a deployment" + } + }, + "description": "Deployment resource properties payload" + }, + "DeploymentSettings": { + "type": "object", + "properties": { + "cpu": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required CPU, basic tier should be 1, standard tier should be in range (1, 4)" + }, + "environmentVariables": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of environment variables" + }, + "jvmOptions": { + "type": "string", + "description": "JVM parameter" + }, + "memoryInGB": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)" + }, + "netCoreMainEntryPath": { + "type": "string", + "description": "The path to the .NET executable relative to zip root" + }, + "runtimeVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Java_8", + "Java_11", + "NetCore_31" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Runtime version." + } + }, + "description": "Deployment settings payload" + }, + "Error": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The code of error." + }, + "message": { + "type": "string", + "description": "The message of error." + } + }, + "description": "The error code compose of code and message." + }, + "GitPatternRepository": { + "type": "object", + "properties": { + "hostKey": { + "type": "string", + "description": "Public sshKey of git repository." + }, + "hostKeyAlgorithm": { + "type": "string", + "description": "SshKey algorithm of git repository." + }, + "label": { + "type": "string", + "description": "Label of the repository" + }, + "name": { + "type": "string", + "description": "Name of the repository" + }, + "password": { + "type": "string", + "description": "Password of git repository basic auth." + }, + "pattern": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of pattern of the repository" + }, + "privateKey": { + "type": "string", + "description": "Private sshKey algorithm of git repository." + }, + "searchPaths": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Searching path of the repository" + }, + "strictHostKeyChecking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Strict host key checking or not." + }, + "uri": { + "type": "string", + "description": "URI of the repository" + }, + "username": { + "type": "string", + "description": "Username of git repository basic auth." + } + }, + "required": [ + "name", + "uri" + ], + "description": "Git repository property payload" + }, + "ManagedIdentityProperties": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "Principal Id" + }, + "tenantId": { + "type": "string", + "description": "Tenant Id" + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned", + "SystemAssigned,UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of the managed identity." + } + }, + "description": "Managed identity properties retrieved from ARM request headers." + }, + "MonitoringSettingProperties": { + "type": "object", + "properties": { + "appInsightsAgentVersions": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationInsightsAgentVersions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Application Insights agent versions properties payload" + }, + "appInsightsInstrumentationKey": { + "type": "string", + "description": "Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings" + }, + "appInsightsSamplingRate": { + "oneOf": [ + { + "type": "number", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0]" + }, + "error": { + "oneOf": [ + { + "$ref": "#/definitions/Error" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The error code compose of code and message." + }, + "traceEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether enable the trace functionality, which will be deprecated since api version 2020-11-01-preview. Please leverage appInsightsInstrumentationKey to indicate if monitoringSettings enabled or not" + } + }, + "description": "Monitoring Setting properties payload" + }, + "NetworkProfile": { + "type": "object", + "properties": { + "appNetworkResourceGroup": { + "type": "string", + "description": "Name of the resource group containing network resources of Azure Spring Cloud Apps" + }, + "appSubnetId": { + "type": "string", + "description": "Fully qualified resource Id of the subnet to host Azure Spring Cloud Apps" + }, + "serviceCidr": { + "type": "string", + "description": "Azure Spring Cloud service reserved CIDR" + }, + "serviceRuntimeNetworkResourceGroup": { + "type": "string", + "description": "Name of the resource group containing network resources of Azure Spring Cloud Service Runtime" + }, + "serviceRuntimeSubnetId": { + "type": "string", + "description": "Fully qualified resource Id of the subnet to host Azure Spring Cloud Service Runtime" + } + }, + "description": "Service network profile payload" + }, + "PersistentDisk": { + "type": "object", + "properties": { + "mountPath": { + "type": "string", + "description": "Mount path of the persistent disk" + }, + "sizeInGB": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 50 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Size of the persistent disk in GB" + } + }, + "description": "Persistent disk payload" + }, + "Sku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Current capacity of the target resource" + }, + "name": { + "type": "string", + "description": "Name of the Sku" + }, + "tier": { + "type": "string", + "description": "Tier of the Sku" + } + }, + "description": "Sku of Azure Spring Cloud" + }, + "Spring_apps_bindings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-11-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the Binding resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BindingResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Binding resource properties payload" + }, + "type": { + "type": "string", + "enum": [ + "bindings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apps/bindings" + }, + "Spring_apps_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-11-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed identity properties retrieved from ARM request headers." + }, + "location": { + "type": "string", + "description": "The GEO location of the application, always the same with its parent resource" + }, + "name": { + "type": "string", + "description": "The name of the App resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AppResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "App resource properties payload" + }, + "type": { + "type": "string", + "enum": [ + "apps" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apps" + }, + "Spring_apps_deployments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-11-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the Deployment resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DeploymentResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Deployment resource properties payload" + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of Azure Spring Cloud" + }, + "type": { + "type": "string", + "enum": [ + "deployments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apps/deployments" + }, + "Spring_apps_domains_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-11-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the custom domain resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CustomDomainProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom domain of app resource payload." + }, + "type": { + "type": "string", + "enum": [ + "domains" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/apps/domains" + }, + "Spring_certificates_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-11-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the certificate resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CertificateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Certificate resource payload." + }, + "type": { + "type": "string", + "enum": [ + "certificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/certificates" + }, + "Spring_configServers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-11-01-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConfigServerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Config server git properties payload" + }, + "type": { + "type": "string", + "enum": [ + "configServers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/configServers" + }, + "Spring_monitoringSettings_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-11-01-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MonitoringSettingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Monitoring Setting properties payload" + }, + "type": { + "type": "string", + "enum": [ + "monitoringSettings" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AppPlatform/Spring/monitoringSettings" + }, + "TemporaryDisk": { + "type": "object", + "properties": { + "mountPath": { + "type": "string", + "description": "Mount path of the temporary disk" + }, + "sizeInGB": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 5 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Size of the temporary disk in GB" + } + }, + "description": "Temporary disk payload" + }, + "UserSourceInfo": { + "type": "object", + "properties": { + "artifactSelector": { + "type": "string", + "description": "Selector for the artifact to be used for the deployment for multi-module projects. This should be\r\nthe relative path to the target module/project." + }, + "relativePath": { + "type": "string", + "description": "Relative path of the storage which stores the source" + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Jar", + "NetCoreZip", + "Source" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of the source uploaded." + }, + "version": { + "type": "string", + "description": "Version of the source" + } + }, + "description": "Source information for a deployment" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index f550ff51e6..c3fdfea884 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -1114,6 +1114,30 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-07-01/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_monitoringSettings" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-11-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-11-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apps" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-11-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apps_bindings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-11-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apps_deployments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-11-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_apps_domains" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-11-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_certificates" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-11-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_configServers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-11-01-preview/Microsoft.AppPlatform.json#/resourceDefinitions/Spring_monitoringSettings" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.Attestation.json#/resourceDefinitions/attestationProviders" }, From 89b628f81d7d6b9396c1ad81338a83dcced1d2de Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 22 Dec 2020 08:30:59 +0000 Subject: [PATCH 02/27] Update resource list --- generator/resources.json | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 0489448330..d72bfa4539 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -520,33 +520,41 @@ ], "Microsoft.AppPlatform/Spring": [ "2019-05-01-preview", - "2020-07-01" + "2020-07-01", + "2020-11-01-preview" ], "Microsoft.AppPlatform/Spring/apps": [ "2019-05-01-preview", - "2020-07-01" + "2020-07-01", + "2020-11-01-preview" ], "Microsoft.AppPlatform/Spring/apps/bindings": [ "2019-05-01-preview", - "2020-07-01" + "2020-07-01", + "2020-11-01-preview" ], "Microsoft.AppPlatform/Spring/apps/deployments": [ "2019-05-01-preview", - "2020-07-01" + "2020-07-01", + "2020-11-01-preview" ], "Microsoft.AppPlatform/Spring/apps/domains": [ "2019-05-01-preview", - "2020-07-01" + "2020-07-01", + "2020-11-01-preview" ], "Microsoft.AppPlatform/Spring/certificates": [ "2019-05-01-preview", - "2020-07-01" + "2020-07-01", + "2020-11-01-preview" ], "Microsoft.AppPlatform/Spring/configServers": [ - "2020-07-01" + "2020-07-01", + "2020-11-01-preview" ], "Microsoft.AppPlatform/Spring/monitoringSettings": [ - "2020-07-01" + "2020-07-01", + "2020-11-01-preview" ], "Microsoft.Attestation/attestationProviders": [ "2018-09-01-preview", From dcaa70b785570e53d7d1d3c86304753dfc2e8c62 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 22 Dec 2020 11:53:11 +0000 Subject: [PATCH 03/27] Autogenerate schemas --- schemas/2019-01-01-preview/Microsoft.Security.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schemas/2019-01-01-preview/Microsoft.Security.json b/schemas/2019-01-01-preview/Microsoft.Security.json index dd7c5f7429..ac11790a75 100644 --- a/schemas/2019-01-01-preview/Microsoft.Security.json +++ b/schemas/2019-01-01-preview/Microsoft.Security.json @@ -475,7 +475,8 @@ "SubAssessments", "Alerts", "SecureScores", - "SecureScoreControls" + "SecureScoreControls", + "RegulatoryComplianceAssessment" ] }, { From 96c76ffcbb1d5138355b9def889503acba466368 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 23 Dec 2020 08:27:53 +0000 Subject: [PATCH 04/27] Autogenerate schemas --- .../Microsoft.ContainerService.json | 3032 +++++++++++++++++ schemas/common/autogeneratedResources.json | 12 + 2 files changed, 3044 insertions(+) create mode 100644 schemas/2020-12-01/Microsoft.ContainerService.json diff --git a/schemas/2020-12-01/Microsoft.ContainerService.json b/schemas/2020-12-01/Microsoft.ContainerService.json new file mode 100644 index 0000000000..12efe60d03 --- /dev/null +++ b/schemas/2020-12-01/Microsoft.ContainerService.json @@ -0,0 +1,3032 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.ContainerService.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.ContainerService", + "description": "Microsoft ContainerService Resource Types", + "resourceDefinitions": { + "managedClusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-12-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the managed cluster." + }, + "location": { + "type": "string", + "description": "Resource location" + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$", + "minLength": 1, + "maxLength": 63 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the managed cluster resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the managed cluster." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/managedClusters_maintenanceConfigurations_childResource" + }, + { + "$ref": "#/definitions/managedClusters_agentPools_childResource" + }, + { + "$ref": "#/definitions/managedClusters_privateEndpointConnections_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterSKU" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerService/managedClusters" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerService/managedClusters" + }, + "managedClusters_agentPools": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-12-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the agent pool." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterAgentPoolProfileProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for the container service agent pool profile." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerService/managedClusters/agentPools" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerService/managedClusters/agentPools" + }, + "managedClusters_maintenanceConfigurations": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-12-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the maintenance configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MaintenanceConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Default maintenance configuration properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerService/managedClusters/maintenanceConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerService/managedClusters/maintenanceConfigurations" + }, + "managedClusters_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-12-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a private endpoint connection." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ContainerService/managedClusters/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerService/managedClusters/privateEndpointConnections" + } + }, + "definitions": { + "AgentPoolUpgradeSettings": { + "type": "object", + "properties": { + "maxSurge": { + "type": "string", + "description": "Count or percentage of additional nodes to be added during upgrade. If empty uses AKS default" + } + }, + "description": "Settings for upgrading an agentpool" + }, + "Components1umhcm8schemasmanagedclusteridentitypropertiesuserassignedidentitiesadditionalproperties": { + "type": "object", + "properties": {} + }, + "Componentsqit0etschemasmanagedclusterpropertiespropertiesidentityprofileadditionalproperties": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "The client id of the user assigned identity." + }, + "objectId": { + "type": "string", + "description": "The object id of the user assigned identity." + }, + "resourceId": { + "type": "string", + "description": "The resource id of the user assigned identity." + } + } + }, + "ContainerServiceLinuxProfile": { + "type": "object", + "properties": { + "adminUsername": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z][-A-Za-z0-9_]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The administrator username to use for Linux VMs." + }, + "ssh": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerServiceSshConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SSH configuration for Linux-based VMs running on Azure." + } + }, + "required": [ + "adminUsername", + "ssh" + ], + "description": "Profile for Linux VMs in the container service cluster." + }, + "ContainerServiceNetworkProfile": { + "type": "object", + "properties": { + "dnsServiceIP": { + "oneOf": [ + { + "type": "string", + "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", + "default": "10.0.0.10" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr." + }, + "dockerBridgeCidr": { + "oneOf": [ + { + "type": "string", + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "default": "172.17.0.1/16" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range." + }, + "loadBalancerProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterLoadBalancerProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile of the managed cluster load balancer." + }, + "loadBalancerSku": { + "oneOf": [ + { + "type": "string", + "enum": [ + "standard", + "basic" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The load balancer sku for the managed cluster." + }, + "networkMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "transparent", + "bridge" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network mode used for building Kubernetes network." + }, + "networkPlugin": { + "oneOf": [ + { + "type": "string", + "enum": [ + "azure", + "kubenet" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network plugin used for building Kubernetes network." + }, + "networkPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "calico", + "azure" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network policy used for building Kubernetes network." + }, + "outboundType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "loadBalancer", + "userDefinedRouting" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The outbound (egress) routing method." + }, + "podCidr": { + "oneOf": [ + { + "type": "string", + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "default": "10.244.0.0/16" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A CIDR notation IP range from which to assign pod IPs when kubenet is used." + }, + "serviceCidr": { + "oneOf": [ + { + "type": "string", + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "default": "10.0.0.0/16" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges." + } + }, + "description": "Profile of network configuration." + }, + "ContainerServiceSshConfiguration": { + "type": "object", + "properties": { + "publicKeys": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerServiceSshPublicKey" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified." + } + }, + "required": [ + "publicKeys" + ], + "description": "SSH configuration for Linux-based VMs running on Azure." + }, + "ContainerServiceSshPublicKey": { + "type": "object", + "properties": { + "keyData": { + "type": "string", + "description": "Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers." + } + }, + "required": [ + "keyData" + ], + "description": "Contains information about SSH certificate public key data." + }, + "KubeletConfig": { + "type": "object", + "properties": { + "allowedUnsafeSysctls": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allowlist of unsafe sysctls or unsafe sysctl patterns (ending in `*`)." + }, + "containerLogMaxFiles": { + "oneOf": [ + { + "type": "integer", + "minimum": 2 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of container log files that can be present for a container. The number must be ≥ 2." + }, + "containerLogMaxSizeMB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum size (e.g. 10Mi) of container log file before it is rotated." + }, + "cpuCfsQuota": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable CPU CFS quota enforcement for containers that specify CPU limits." + }, + "cpuCfsQuotaPeriod": { + "type": "string", + "description": "Sets CPU CFS quota period value." + }, + "cpuManagerPolicy": { + "type": "string", + "description": "CPU Manager policy to use." + }, + "failSwapOn": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If set to true it will make the Kubelet fail to start if swap is enabled on the node." + }, + "imageGcHighThreshold": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The percent of disk usage after which image garbage collection is always run." + }, + "imageGcLowThreshold": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The percent of disk usage before which image garbage collection is never run." + }, + "podMaxPids": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum number of processes per pod." + }, + "topologyManagerPolicy": { + "type": "string", + "description": "Topology Manager policy to use." + } + }, + "description": "Kubelet configurations of agent nodes." + }, + "LinuxOSConfig": { + "type": "object", + "properties": { + "swapFileSizeMB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SwapFileSizeMB specifies size in MB of a swap file will be created on each node." + }, + "sysctls": { + "oneOf": [ + { + "$ref": "#/definitions/SysctlConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl settings for Linux agent nodes." + }, + "transparentHugePageDefrag": { + "type": "string", + "description": "Transparent Huge Page defrag configuration." + }, + "transparentHugePageEnabled": { + "type": "string", + "description": "Transparent Huge Page enabled configuration." + } + }, + "description": "OS configurations of Linux agent nodes." + }, + "MaintenanceConfigurationProperties": { + "type": "object", + "properties": { + "notAllowedTime": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TimeSpan" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Time slots on which upgrade is not allowed." + }, + "timeInWeek": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TimeInWeek" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Weekday time slots allowed to upgrade." + } + }, + "description": "Default maintenance configuration properties." + }, + "ManagedClusterAADProfile": { + "type": "object", + "properties": { + "adminGroupObjectIDs": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AAD group object IDs that will have admin role of the cluster." + }, + "clientAppID": { + "type": "string", + "description": "The client AAD application ID." + }, + "enableAzureRBAC": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to enable Azure RBAC for Kubernetes authorization." + }, + "managed": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to enable managed AAD." + }, + "serverAppID": { + "type": "string", + "description": "The server AAD application ID." + }, + "serverAppSecret": { + "type": "string", + "description": "The server AAD application secret." + }, + "tenantID": { + "type": "string", + "description": "The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription." + } + }, + "description": "AADProfile specifies attributes for Azure Active Directory integration." + }, + "ManagedClusterAddonProfile": { + "type": "object", + "properties": { + "config": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key-value pairs for configuring an add-on." + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the add-on is enabled or not." + } + }, + "required": [ + "enabled" + ], + "description": "A Kubernetes add-on profile for a managed cluster." + }, + "ManagedClusterAgentPoolProfile": { + "type": "object", + "properties": { + "availabilityZones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Availability zones for nodes. Must use VirtualMachineScaleSets AgentPoolType." + }, + "count": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 100 (inclusive) for user pools and in the range of 1 to 100 (inclusive) for system pools. The default value is 1." + }, + "enableAutoScaling": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to enable auto-scaler" + }, + "enableEncryptionAtHost": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to enable EncryptionAtHost" + }, + "enableNodePublicIP": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable public IP for nodes" + }, + "kubeletConfig": { + "oneOf": [ + { + "$ref": "#/definitions/KubeletConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Kubelet configurations of agent nodes." + }, + "kubeletDiskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "KubeletDiskType determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, resulting in Kubelet using the OS disk for data." + }, + "linuxOSConfig": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxOSConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "OS configurations of Linux agent nodes." + }, + "maxCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum number of nodes for auto-scaling" + }, + "maxPods": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum number of pods that can run on a node." + }, + "minCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Minimum number of nodes for auto-scaling" + }, + "mode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "System", + "User" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AgentPoolMode represents mode of an agent pool." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-z][a-z0-9]{0,11}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Unique name of the agent pool profile in the context of the subscription and resource group." + }, + "nodeLabels": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Agent pool node labels to be persisted across all nodes in agent pool." + }, + "nodeTaints": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule." + }, + "orchestratorVersion": { + "type": "string", + "description": "Version of orchestrator specified when creating the managed cluster." + }, + "osDiskSizeGB": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 1023 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified." + }, + "osDiskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Managed", + "Ephemeral" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "OS disk type to be used for machines in a given agent pool. Allowed values are 'Ephemeral' and 'Managed'. Defaults to 'Managed'. May not be changed after creation." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Linux", + "Windows" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux." + }, + "podSubnetID": { + "type": "string", + "description": "specifies a subnet's resource id with subscription, resource group, vnet and subnet name" + }, + "proximityPlacementGroupID": { + "type": "string", + "description": "The ID for Proximity Placement Group." + }, + "scaleSetEvictionPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Deallocate" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ScaleSetEvictionPolicy to be used to specify eviction policy for Spot virtual machine scale set. Default to Delete." + }, + "scaleSetPriority": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Spot", + "Regular" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular." + }, + "spotMaxPrice": { + "oneOf": [ + { + "type": "number", + "default": -1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SpotMaxPrice to be used to specify the maximum price you are willing to pay in US Dollars. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Agent pool tags to be persisted on the agent pool virtual machine scale set." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "VirtualMachineScaleSets", + "AvailabilitySet" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AgentPoolType represents types of an agent pool." + }, + "upgradeSettings": { + "oneOf": [ + { + "$ref": "#/definitions/AgentPoolUpgradeSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings for upgrading an agentpool" + }, + "vmSize": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_A1", + "Standard_A10", + "Standard_A11", + "Standard_A1_v2", + "Standard_A2", + "Standard_A2_v2", + "Standard_A2m_v2", + "Standard_A3", + "Standard_A4", + "Standard_A4_v2", + "Standard_A4m_v2", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A8_v2", + "Standard_A8m_v2", + "Standard_A9", + "Standard_B2ms", + "Standard_B2s", + "Standard_B4ms", + "Standard_B8ms", + "Standard_D1", + "Standard_D11", + "Standard_D11_v2", + "Standard_D11_v2_Promo", + "Standard_D12", + "Standard_D12_v2", + "Standard_D12_v2_Promo", + "Standard_D13", + "Standard_D13_v2", + "Standard_D13_v2_Promo", + "Standard_D14", + "Standard_D14_v2", + "Standard_D14_v2_Promo", + "Standard_D15_v2", + "Standard_D16_v3", + "Standard_D16s_v3", + "Standard_D1_v2", + "Standard_D2", + "Standard_D2_v2", + "Standard_D2_v2_Promo", + "Standard_D2_v3", + "Standard_D2s_v3", + "Standard_D3", + "Standard_D32_v3", + "Standard_D32s_v3", + "Standard_D3_v2", + "Standard_D3_v2_Promo", + "Standard_D4", + "Standard_D4_v2", + "Standard_D4_v2_Promo", + "Standard_D4_v3", + "Standard_D4s_v3", + "Standard_D5_v2", + "Standard_D5_v2_Promo", + "Standard_D64_v3", + "Standard_D64s_v3", + "Standard_D8_v3", + "Standard_D8s_v3", + "Standard_DS1", + "Standard_DS11", + "Standard_DS11_v2", + "Standard_DS11_v2_Promo", + "Standard_DS12", + "Standard_DS12_v2", + "Standard_DS12_v2_Promo", + "Standard_DS13", + "Standard_DS13-2_v2", + "Standard_DS13-4_v2", + "Standard_DS13_v2", + "Standard_DS13_v2_Promo", + "Standard_DS14", + "Standard_DS14-4_v2", + "Standard_DS14-8_v2", + "Standard_DS14_v2", + "Standard_DS14_v2_Promo", + "Standard_DS15_v2", + "Standard_DS1_v2", + "Standard_DS2", + "Standard_DS2_v2", + "Standard_DS2_v2_Promo", + "Standard_DS3", + "Standard_DS3_v2", + "Standard_DS3_v2_Promo", + "Standard_DS4", + "Standard_DS4_v2", + "Standard_DS4_v2_Promo", + "Standard_DS5_v2", + "Standard_DS5_v2_Promo", + "Standard_E16_v3", + "Standard_E16s_v3", + "Standard_E2_v3", + "Standard_E2s_v3", + "Standard_E32-16s_v3", + "Standard_E32-8s_v3", + "Standard_E32_v3", + "Standard_E32s_v3", + "Standard_E4_v3", + "Standard_E4s_v3", + "Standard_E64-16s_v3", + "Standard_E64-32s_v3", + "Standard_E64_v3", + "Standard_E64s_v3", + "Standard_E8_v3", + "Standard_E8s_v3", + "Standard_F1", + "Standard_F16", + "Standard_F16s", + "Standard_F16s_v2", + "Standard_F1s", + "Standard_F2", + "Standard_F2s", + "Standard_F2s_v2", + "Standard_F32s_v2", + "Standard_F4", + "Standard_F4s", + "Standard_F4s_v2", + "Standard_F64s_v2", + "Standard_F72s_v2", + "Standard_F8", + "Standard_F8s", + "Standard_F8s_v2", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5", + "Standard_GS1", + "Standard_GS2", + "Standard_GS3", + "Standard_GS4", + "Standard_GS4-4", + "Standard_GS4-8", + "Standard_GS5", + "Standard_GS5-16", + "Standard_GS5-8", + "Standard_H16", + "Standard_H16m", + "Standard_H16mr", + "Standard_H16r", + "Standard_H8", + "Standard_H8m", + "Standard_L16s", + "Standard_L32s", + "Standard_L4s", + "Standard_L8s", + "Standard_M128-32ms", + "Standard_M128-64ms", + "Standard_M128ms", + "Standard_M128s", + "Standard_M64-16ms", + "Standard_M64-32ms", + "Standard_M64ms", + "Standard_M64s", + "Standard_NC12", + "Standard_NC12s_v2", + "Standard_NC12s_v3", + "Standard_NC24", + "Standard_NC24r", + "Standard_NC24rs_v2", + "Standard_NC24rs_v3", + "Standard_NC24s_v2", + "Standard_NC24s_v3", + "Standard_NC6", + "Standard_NC6s_v2", + "Standard_NC6s_v3", + "Standard_ND12s", + "Standard_ND24rs", + "Standard_ND24s", + "Standard_ND6s", + "Standard_NV12", + "Standard_NV24", + "Standard_NV6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Size of agent VMs." + }, + "vnetSubnetID": { + "type": "string", + "description": "specifies a subnet's resource id with subscription, resource group, vnet and subnet name" + } + }, + "required": [ + "name" + ], + "description": "Profile for the container service agent pool." + }, + "ManagedClusterAgentPoolProfileProperties": { + "type": "object", + "properties": { + "availabilityZones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Availability zones for nodes. Must use VirtualMachineScaleSets AgentPoolType." + }, + "count": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 100 (inclusive) for user pools and in the range of 1 to 100 (inclusive) for system pools. The default value is 1." + }, + "enableAutoScaling": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to enable auto-scaler" + }, + "enableEncryptionAtHost": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to enable EncryptionAtHost" + }, + "enableNodePublicIP": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable public IP for nodes" + }, + "kubeletConfig": { + "oneOf": [ + { + "$ref": "#/definitions/KubeletConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Kubelet configurations of agent nodes." + }, + "kubeletDiskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "KubeletDiskType determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage. Currently allows one value, OS, resulting in Kubelet using the OS disk for data." + }, + "linuxOSConfig": { + "oneOf": [ + { + "$ref": "#/definitions/LinuxOSConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "OS configurations of Linux agent nodes." + }, + "maxCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum number of nodes for auto-scaling" + }, + "maxPods": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Maximum number of pods that can run on a node." + }, + "minCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Minimum number of nodes for auto-scaling" + }, + "mode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "System", + "User" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AgentPoolMode represents mode of an agent pool." + }, + "nodeLabels": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Agent pool node labels to be persisted across all nodes in agent pool." + }, + "nodeTaints": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule." + }, + "orchestratorVersion": { + "type": "string", + "description": "Version of orchestrator specified when creating the managed cluster." + }, + "osDiskSizeGB": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 1023 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified." + }, + "osDiskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Managed", + "Ephemeral" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "OS disk type to be used for machines in a given agent pool. Allowed values are 'Ephemeral' and 'Managed'. Defaults to 'Managed'. May not be changed after creation." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Linux", + "Windows" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux." + }, + "podSubnetID": { + "type": "string", + "description": "specifies a subnet's resource id with subscription, resource group, vnet and subnet name" + }, + "proximityPlacementGroupID": { + "type": "string", + "description": "The ID for Proximity Placement Group." + }, + "scaleSetEvictionPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Deallocate" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ScaleSetEvictionPolicy to be used to specify eviction policy for Spot virtual machine scale set. Default to Delete." + }, + "scaleSetPriority": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Spot", + "Regular" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular." + }, + "spotMaxPrice": { + "oneOf": [ + { + "type": "number", + "default": -1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SpotMaxPrice to be used to specify the maximum price you are willing to pay in US Dollars. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Agent pool tags to be persisted on the agent pool virtual machine scale set." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "VirtualMachineScaleSets", + "AvailabilitySet" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AgentPoolType represents types of an agent pool." + }, + "upgradeSettings": { + "oneOf": [ + { + "$ref": "#/definitions/AgentPoolUpgradeSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings for upgrading an agentpool" + }, + "vmSize": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_A1", + "Standard_A10", + "Standard_A11", + "Standard_A1_v2", + "Standard_A2", + "Standard_A2_v2", + "Standard_A2m_v2", + "Standard_A3", + "Standard_A4", + "Standard_A4_v2", + "Standard_A4m_v2", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A8_v2", + "Standard_A8m_v2", + "Standard_A9", + "Standard_B2ms", + "Standard_B2s", + "Standard_B4ms", + "Standard_B8ms", + "Standard_D1", + "Standard_D11", + "Standard_D11_v2", + "Standard_D11_v2_Promo", + "Standard_D12", + "Standard_D12_v2", + "Standard_D12_v2_Promo", + "Standard_D13", + "Standard_D13_v2", + "Standard_D13_v2_Promo", + "Standard_D14", + "Standard_D14_v2", + "Standard_D14_v2_Promo", + "Standard_D15_v2", + "Standard_D16_v3", + "Standard_D16s_v3", + "Standard_D1_v2", + "Standard_D2", + "Standard_D2_v2", + "Standard_D2_v2_Promo", + "Standard_D2_v3", + "Standard_D2s_v3", + "Standard_D3", + "Standard_D32_v3", + "Standard_D32s_v3", + "Standard_D3_v2", + "Standard_D3_v2_Promo", + "Standard_D4", + "Standard_D4_v2", + "Standard_D4_v2_Promo", + "Standard_D4_v3", + "Standard_D4s_v3", + "Standard_D5_v2", + "Standard_D5_v2_Promo", + "Standard_D64_v3", + "Standard_D64s_v3", + "Standard_D8_v3", + "Standard_D8s_v3", + "Standard_DS1", + "Standard_DS11", + "Standard_DS11_v2", + "Standard_DS11_v2_Promo", + "Standard_DS12", + "Standard_DS12_v2", + "Standard_DS12_v2_Promo", + "Standard_DS13", + "Standard_DS13-2_v2", + "Standard_DS13-4_v2", + "Standard_DS13_v2", + "Standard_DS13_v2_Promo", + "Standard_DS14", + "Standard_DS14-4_v2", + "Standard_DS14-8_v2", + "Standard_DS14_v2", + "Standard_DS14_v2_Promo", + "Standard_DS15_v2", + "Standard_DS1_v2", + "Standard_DS2", + "Standard_DS2_v2", + "Standard_DS2_v2_Promo", + "Standard_DS3", + "Standard_DS3_v2", + "Standard_DS3_v2_Promo", + "Standard_DS4", + "Standard_DS4_v2", + "Standard_DS4_v2_Promo", + "Standard_DS5_v2", + "Standard_DS5_v2_Promo", + "Standard_E16_v3", + "Standard_E16s_v3", + "Standard_E2_v3", + "Standard_E2s_v3", + "Standard_E32-16s_v3", + "Standard_E32-8s_v3", + "Standard_E32_v3", + "Standard_E32s_v3", + "Standard_E4_v3", + "Standard_E4s_v3", + "Standard_E64-16s_v3", + "Standard_E64-32s_v3", + "Standard_E64_v3", + "Standard_E64s_v3", + "Standard_E8_v3", + "Standard_E8s_v3", + "Standard_F1", + "Standard_F16", + "Standard_F16s", + "Standard_F16s_v2", + "Standard_F1s", + "Standard_F2", + "Standard_F2s", + "Standard_F2s_v2", + "Standard_F32s_v2", + "Standard_F4", + "Standard_F4s", + "Standard_F4s_v2", + "Standard_F64s_v2", + "Standard_F72s_v2", + "Standard_F8", + "Standard_F8s", + "Standard_F8s_v2", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5", + "Standard_GS1", + "Standard_GS2", + "Standard_GS3", + "Standard_GS4", + "Standard_GS4-4", + "Standard_GS4-8", + "Standard_GS5", + "Standard_GS5-16", + "Standard_GS5-8", + "Standard_H16", + "Standard_H16m", + "Standard_H16mr", + "Standard_H16r", + "Standard_H8", + "Standard_H8m", + "Standard_L16s", + "Standard_L32s", + "Standard_L4s", + "Standard_L8s", + "Standard_M128-32ms", + "Standard_M128-64ms", + "Standard_M128ms", + "Standard_M128s", + "Standard_M64-16ms", + "Standard_M64-32ms", + "Standard_M64ms", + "Standard_M64s", + "Standard_NC12", + "Standard_NC12s_v2", + "Standard_NC12s_v3", + "Standard_NC24", + "Standard_NC24r", + "Standard_NC24rs_v2", + "Standard_NC24rs_v3", + "Standard_NC24s_v2", + "Standard_NC24s_v3", + "Standard_NC6", + "Standard_NC6s_v2", + "Standard_NC6s_v3", + "Standard_ND12s", + "Standard_ND24rs", + "Standard_ND24s", + "Standard_ND6s", + "Standard_NV12", + "Standard_NV24", + "Standard_NV6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Size of agent VMs." + }, + "vnetSubnetID": { + "type": "string", + "description": "specifies a subnet's resource id with subscription, resource group, vnet and subnet name" + } + }, + "description": "Properties for the container service agent pool profile." + }, + "ManagedClusterAPIServerAccessProfile": { + "type": "object", + "properties": { + "authorizedIPRanges": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Authorized IP Ranges to kubernetes API server." + }, + "enablePrivateCluster": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to create the cluster as a private cluster or not." + }, + "privateDNSZone": { + "type": "string", + "description": "Private dns zone mode for private cluster. " + } + }, + "description": "Access profile for managed cluster API server." + }, + "ManagedClusterAutoUpgradeProfile": { + "type": "object", + "properties": { + "upgradeChannel": { + "oneOf": [ + { + "type": "string", + "enum": [ + "rapid", + "stable", + "patch", + "none" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "upgrade channel for auto upgrade." + } + }, + "description": "Auto upgrade profile for a managed cluster." + }, + "ManagedClusterIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity used for the managed cluster. Type 'SystemAssigned' will use an implicitly created identity in master components and an auto-created user assigned identity in MC_ resource group in agent nodes. Type 'None' will not use MSI for the managed cluster, service principal will be used instead." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/Components1umhcm8schemasmanagedclusteridentitypropertiesuserassignedidentitiesadditionalproperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The user identity associated with the managed cluster. This identity will be used in control plane and only one user assigned identity is allowed. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identity for the managed cluster." + }, + "ManagedClusterLoadBalancerProfile": { + "type": "object", + "properties": { + "allocatedOutboundPorts": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 64000, + "default": "0" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Desired number of allocated SNAT ports per VM. Allowed values must be in the range of 0 to 64000 (inclusive). The default value is 0 which results in Azure dynamically allocating ports." + }, + "effectiveOutboundIPs": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The effective outbound IP resources of the cluster load balancer." + }, + "idleTimeoutInMinutes": { + "oneOf": [ + { + "type": "integer", + "minimum": 4, + "maximum": 120, + "default": "30" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Desired outbound flow idle timeout in minutes. Allowed values must be in the range of 4 to 120 (inclusive). The default value is 30 minutes." + }, + "managedOutboundIPs": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterLoadBalancerProfileManagedOutboundIPs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Desired managed outbound IPs for the cluster load balancer." + }, + "outboundIPPrefixes": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterLoadBalancerProfileOutboundIPPrefixes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Desired outbound IP Prefix resources for the cluster load balancer." + }, + "outboundIPs": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterLoadBalancerProfileOutboundIPs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Desired outbound IP resources for the cluster load balancer." + } + }, + "description": "Profile of the managed cluster load balancer." + }, + "ManagedClusterLoadBalancerProfileManagedOutboundIPs": { + "type": "object", + "properties": { + "count": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Desired number of outbound IP created/managed by Azure for the cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. " + } + }, + "description": "Desired managed outbound IPs for the cluster load balancer." + }, + "ManagedClusterLoadBalancerProfileOutboundIPPrefixes": { + "type": "object", + "properties": { + "publicIPPrefixes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of public IP prefix resources." + } + }, + "description": "Desired outbound IP Prefix resources for the cluster load balancer." + }, + "ManagedClusterLoadBalancerProfileOutboundIPs": { + "type": "object", + "properties": { + "publicIPs": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of public IP resources." + } + }, + "description": "Desired outbound IP resources for the cluster load balancer." + }, + "ManagedClusterPodIdentity": { + "type": "object", + "properties": { + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/UserAssignedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "name": { + "type": "string", + "description": "Name of the pod identity." + }, + "namespace": { + "type": "string", + "description": "Namespace of the pod identity." + } + }, + "required": [ + "identity", + "name", + "namespace" + ] + }, + "ManagedClusterPodIdentityException": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the pod identity exception." + }, + "namespace": { + "type": "string", + "description": "Namespace of the pod identity exception." + }, + "podLabels": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Pod labels to match." + } + }, + "required": [ + "name", + "namespace", + "podLabels" + ] + }, + "ManagedClusterPodIdentityProfile": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether the pod identity addon is enabled." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedClusterPodIdentity" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User assigned pod identity settings." + }, + "userAssignedIdentityExceptions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedClusterPodIdentityException" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User assigned pod identity exception settings." + } + } + }, + "ManagedClusterProperties": { + "type": "object", + "properties": { + "aadProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterAADProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AADProfile specifies attributes for Azure Active Directory integration." + }, + "addonProfiles": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ManagedClusterAddonProfile" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile of managed cluster add-on." + }, + "agentPoolProfiles": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ManagedClusterAgentPoolProfile" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the agent pool." + }, + "apiServerAccessProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterAPIServerAccessProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Access profile for managed cluster API server." + }, + "autoScalerProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterPropertiesAutoScalerProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters to be applied to the cluster-autoscaler when enabled" + }, + "autoUpgradeProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterAutoUpgradeProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Auto upgrade profile for a managed cluster." + }, + "diskEncryptionSetID": { + "type": "string", + "description": "ResourceId of the disk encryption set to use for enabling encryption at rest." + }, + "dnsPrefix": { + "type": "string", + "description": "DNS prefix specified when creating the managed cluster." + }, + "enablePodSecurityPolicy": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "(DEPRECATING) Whether to enable Kubernetes pod security policy (preview). This feature is set for removal on October 15th, 2020. Learn more at aka.ms/aks/azpodpolicy." + }, + "enableRBAC": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether to enable Kubernetes Role-Based Access Control." + }, + "identityProfile": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/Componentsqit0etschemasmanagedclusterpropertiespropertiesidentityprofileadditionalproperties" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identities associated with the cluster." + }, + "kubernetesVersion": { + "type": "string", + "description": "Version of Kubernetes specified when creating the managed cluster." + }, + "linuxProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerServiceLinuxProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile for Linux VMs in the container service cluster." + }, + "networkProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ContainerServiceNetworkProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile of network configuration." + }, + "nodeResourceGroup": { + "type": "string", + "description": "Name of the resource group containing agent pool nodes." + }, + "podIdentityProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterPodIdentityProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "servicePrincipalProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterServicePrincipalProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs." + }, + "windowsProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterWindowsProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Profile for Windows VMs in the container service cluster." + } + }, + "description": "Properties of the managed cluster." + }, + "ManagedClusterPropertiesAutoScalerProfile": { + "type": "object", + "properties": { + "balance-similar-node-groups": { + "type": "string" + }, + "expander": { + "oneOf": [ + { + "type": "string", + "enum": [ + "least-waste", + "most-pods", + "priority", + "random" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "max-empty-bulk-delete": { + "type": "string" + }, + "max-graceful-termination-sec": { + "type": "string" + }, + "max-node-provision-time": { + "type": "string" + }, + "max-total-unready-percentage": { + "type": "string" + }, + "new-pod-scale-up-delay": { + "type": "string" + }, + "ok-total-unready-count": { + "type": "string" + }, + "scale-down-delay-after-add": { + "type": "string" + }, + "scale-down-delay-after-delete": { + "type": "string" + }, + "scale-down-delay-after-failure": { + "type": "string" + }, + "scale-down-unneeded-time": { + "type": "string" + }, + "scale-down-unready-time": { + "type": "string" + }, + "scale-down-utilization-threshold": { + "type": "string" + }, + "scan-interval": { + "type": "string" + }, + "skip-nodes-with-local-storage": { + "type": "string" + }, + "skip-nodes-with-system-pods": { + "type": "string" + } + }, + "description": "Parameters to be applied to the cluster-autoscaler when enabled" + }, + "ManagedClusterServicePrincipalProfile": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "The ID for the service principal." + }, + "secret": { + "type": "string", + "description": "The secret password associated with the service principal in plain text." + } + }, + "required": [ + "clientId" + ], + "description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs." + }, + "ManagedClusterSKU": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of a managed cluster SKU." + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Paid", + "Free" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tier of a managed cluster SKU." + } + } + }, + "managedClusters_agentPools_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-12-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the agent pool." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterAgentPoolProfileProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for the container service agent pool profile." + }, + "type": { + "type": "string", + "enum": [ + "agentPools" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerService/managedClusters/agentPools" + }, + "managedClusters_maintenanceConfigurations_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-12-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the maintenance configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/MaintenanceConfigurationProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Default maintenance configuration properties." + }, + "type": { + "type": "string", + "enum": [ + "maintenanceConfigurations" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerService/managedClusters/maintenanceConfigurations" + }, + "managedClusters_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-12-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a private endpoint connection." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ContainerService/managedClusters/privateEndpointConnections" + }, + "ManagedClusterWindowsProfile": { + "type": "object", + "properties": { + "adminPassword": { + "type": "string", + "description": "Specifies the password of the administrator account.

**Minimum-length:** 8 characters

**Max-length:** 123 characters

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

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

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

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

**Minimum-length:** 1 character

**Max-length:** 20 characters" + }, + "licenseType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "Windows_Server" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The licenseType to use for Windows VMs. Windows_Server is used to enable Azure Hybrid User Benefits for Windows VMs." + } + }, + "required": [ + "adminUsername" + ], + "description": "Profile for Windows VMs in the container service cluster." + }, + "PrivateEndpoint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The resource Id for private endpoint" + } + }, + "description": "Private endpoint which a connection belongs to." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint which a connection belongs to." + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The state of a private link service connection." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of a private endpoint connection." + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "The private link service connection description." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The private link service connection status." + } + }, + "description": "The state of a private link service connection." + }, + "ResourceReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The fully qualified Azure resource id." + } + }, + "description": "A reference to an Azure resource." + }, + "SysctlConfig": { + "type": "object", + "properties": { + "fsAioMaxNr": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting fs.aio-max-nr." + }, + "fsFileMax": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting fs.file-max." + }, + "fsInotifyMaxUserWatches": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting fs.inotify.max_user_watches." + }, + "fsNrOpen": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting fs.nr_open." + }, + "kernelThreadsMax": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting kernel.threads-max." + }, + "netCoreNetdevMaxBacklog": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.core.netdev_max_backlog." + }, + "netCoreOptmemMax": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.core.optmem_max." + }, + "netCoreRmemDefault": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.core.rmem_default." + }, + "netCoreRmemMax": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.core.rmem_max." + }, + "netCoreSomaxconn": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.core.somaxconn." + }, + "netCoreWmemDefault": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.core.wmem_default." + }, + "netCoreWmemMax": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.core.wmem_max." + }, + "netIpv4IpLocalPortRange": { + "type": "string", + "description": "Sysctl setting net.ipv4.ip_local_port_range." + }, + "netIpv4NeighDefaultGcThresh1": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.neigh.default.gc_thresh1." + }, + "netIpv4NeighDefaultGcThresh2": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.neigh.default.gc_thresh2." + }, + "netIpv4NeighDefaultGcThresh3": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.neigh.default.gc_thresh3." + }, + "netIpv4TcpFinTimeout": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.tcp_fin_timeout." + }, + "netIpv4TcpkeepaliveIntvl": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.tcp_keepalive_intvl." + }, + "netIpv4TcpKeepaliveProbes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.tcp_keepalive_probes." + }, + "netIpv4TcpKeepaliveTime": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.tcp_keepalive_time." + }, + "netIpv4TcpMaxSynBacklog": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.tcp_max_syn_backlog." + }, + "netIpv4TcpMaxTwBuckets": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.tcp_max_tw_buckets." + }, + "netIpv4TcpTwReuse": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.ipv4.tcp_tw_reuse." + }, + "netNetfilterNfConntrackBuckets": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.netfilter.nf_conntrack_buckets." + }, + "netNetfilterNfConntrackMax": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting net.netfilter.nf_conntrack_max." + }, + "vmMaxMapCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting vm.max_map_count." + }, + "vmSwappiness": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting vm.swappiness." + }, + "vmVfsCachePressure": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sysctl setting vm.vfs_cache_pressure." + } + }, + "description": "Sysctl settings for Linux agent nodes." + }, + "TimeInWeek": { + "type": "object", + "properties": { + "day": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A day in a week." + }, + "hourSlots": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "integer" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "hour slots in a day." + } + }, + "description": "Time in a week." + }, + "TimeSpan": { + "type": "object", + "properties": { + "end": { + "type": "string", + "format": "date-time", + "description": "The end of a time span" + }, + "start": { + "type": "string", + "format": "date-time", + "description": "The start of a time span" + } + }, + "description": "The time span with start and end properties." + }, + "UserAssignedIdentity": { + "type": "object", + "properties": { + "clientId": { + "type": "string", + "description": "The client id of the user assigned identity." + }, + "objectId": { + "type": "string", + "description": "The object id of the user assigned identity." + }, + "resourceId": { + "type": "string", + "description": "The resource id of the user assigned identity." + } + } + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index c3fdfea884..94aa802347 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -2011,6 +2011,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-11-01/Microsoft.ContainerService.json#/resourceDefinitions/managedClusters_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.ContainerService.json#/resourceDefinitions/managedClusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.ContainerService.json#/resourceDefinitions/managedClusters_agentPools" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.ContainerService.json#/resourceDefinitions/managedClusters_maintenanceConfigurations" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.ContainerService.json#/resourceDefinitions/managedClusters_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.CustomProviders.json#/resourceDefinitions/resourceProviders" }, From f587db6fa8e93d79b8f0819028911794733a8dd6 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 23 Dec 2020 08:28:09 +0000 Subject: [PATCH 05/27] Update resource list --- generator/resources.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index d72bfa4539..47e75bacbb 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -1213,7 +1213,8 @@ "2020-06-01", "2020-07-01", "2020-09-01", - "2020-11-01" + "2020-11-01", + "2020-12-01" ], "Microsoft.ContainerService/managedClusters/agentPools": [ "2019-02-01", @@ -1229,13 +1230,18 @@ "2020-06-01", "2020-07-01", "2020-09-01", - "2020-11-01" + "2020-11-01", + "2020-12-01" + ], + "Microsoft.ContainerService/managedClusters/maintenanceConfigurations": [ + "2020-12-01" ], "Microsoft.ContainerService/managedClusters/privateEndpointConnections": [ "2020-06-01", "2020-07-01", "2020-09-01", - "2020-11-01" + "2020-11-01", + "2020-12-01" ], "Microsoft.ContainerService/openShiftManagedClusters": [ "2018-09-30-preview", From 66a59d777168678d6f9b8e99e8a1feb6e88f70f5 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 24 Dec 2020 09:16:39 +0000 Subject: [PATCH 06/27] Autogenerate schemas --- .../2020-07-13-preview/Microsoft.DevOps.json | 345 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 2 files changed, 348 insertions(+) create mode 100644 schemas/2020-07-13-preview/Microsoft.DevOps.json diff --git a/schemas/2020-07-13-preview/Microsoft.DevOps.json b/schemas/2020-07-13-preview/Microsoft.DevOps.json new file mode 100644 index 0000000000..ca01090c93 --- /dev/null +++ b/schemas/2020-07-13-preview/Microsoft.DevOps.json @@ -0,0 +1,345 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-07-13-preview/Microsoft.DevOps.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.DevOps", + "description": "Microsoft DevOps Resource Types", + "resourceDefinitions": { + "pipelines": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-13-preview" + ] + }, + "location": { + "type": "string", + "description": "Resource Location" + }, + "name": { + "type": "string", + "description": "The name of the Pipeline resource in ARM." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PipelineProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom properties of a Pipeline." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource Tags" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DevOps/pipelines" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DevOps/pipelines" + } + }, + "definitions": { + "Authorization": { + "type": "object", + "properties": { + "authorizationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "personalAccessToken" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of authorization." + }, + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Authorization parameters corresponding to the authorization type." + } + }, + "required": [ + "authorizationType" + ], + "description": "Authorization info used to access a resource (like code repository)." + }, + "AzurePipelineProperties": { + "type": "object", + "properties": { + "organization": { + "oneOf": [ + { + "$ref": "#/definitions/OrganizationReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Reference to an Azure DevOps Organization." + }, + "pipelineType": { + "type": "string", + "enum": [ + "azurePipeline" + ] + }, + "project": { + "oneOf": [ + { + "$ref": "#/definitions/ProjectReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Reference to an Azure DevOps Project." + } + }, + "required": [ + "organization", + "pipelineType", + "project" + ], + "description": "Custom properties of a Azure Pipeline." + }, + "BootstrapConfiguration": { + "type": "object", + "properties": { + "sourceRepository": { + "oneOf": [ + { + "$ref": "#/definitions/CodeRepository" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Repository containing the source code for a pipeline." + }, + "template": { + "oneOf": [ + { + "$ref": "#/definitions/PipelineTemplate" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Template used to bootstrap the pipeline." + } + }, + "required": [ + "template" + ], + "description": "Configuration used to bootstrap a Pipeline." + }, + "CodeRepository": { + "type": "object", + "properties": { + "authorization": { + "oneOf": [ + { + "$ref": "#/definitions/Authorization" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Authorization info used to access a resource (like code repository)." + }, + "defaultBranch": { + "type": "string", + "description": "Default branch used to configure Continuous Integration (CI) in the pipeline." + }, + "id": { + "type": "string", + "description": "Unique immutable identifier of the code repository." + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Repository-specific properties." + }, + "repositoryType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "gitHub", + "vstsGit" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of code repository." + } + }, + "required": [ + "defaultBranch", + "id", + "repositoryType" + ], + "description": "Repository containing the source code for a pipeline." + }, + "GithubWorkflowProperties": { + "type": "object", + "properties": { + "pipelineType": { + "type": "string", + "enum": [ + "githubWorkflow" + ] + }, + "repository": { + "oneOf": [ + { + "$ref": "#/definitions/CodeRepository" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Repository containing the source code for a pipeline." + } + }, + "required": [ + "pipelineType", + "repository" + ], + "description": "Custom properties of an Github Pipeline." + }, + "OrganizationReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the Azure DevOps Organization." + } + }, + "required": [ + "name" + ], + "description": "Reference to an Azure DevOps Organization." + }, + "PipelineProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzurePipelineProperties" + }, + { + "$ref": "#/definitions/GithubWorkflowProperties" + } + ], + "properties": { + "bootstrapConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/BootstrapConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configuration used to bootstrap a Pipeline." + } + }, + "required": [ + "bootstrapConfiguration" + ], + "description": "Custom properties of a Pipeline." + }, + "PipelineTemplate": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Unique identifier of the pipeline template." + }, + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Dictionary of input parameters used in the pipeline template." + } + }, + "required": [ + "id" + ], + "description": "Template used to bootstrap the pipeline." + }, + "ProjectReference": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the Azure DevOps Project." + } + }, + "required": [ + "name" + ], + "description": "Reference to an Azure DevOps Project." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 94aa802347..8e096385cf 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -2791,6 +2791,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-07-01-preview/Microsoft.DevOps.json#/resourceDefinitions/pipelines" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-13-preview/Microsoft.DevOps.json#/resourceDefinitions/pipelines" + }, { "$ref": "https://schema.management.azure.com/schemas/2019-04-01/Microsoft.DevSpaces.json#/resourceDefinitions/controllers" }, From 431f098a04f77b81c9245300081fe15afbbaea9c Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 24 Dec 2020 09:16:55 +0000 Subject: [PATCH 07/27] Update resource list --- generator/resources.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generator/resources.json b/generator/resources.json index 47e75bacbb..17f48a7667 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -1618,7 +1618,8 @@ "2020-11-02-preview" ], "Microsoft.DevOps/pipelines": [ - "2019-07-01-preview" + "2019-07-01-preview", + "2020-07-13-preview" ], "Microsoft.DevSpaces/controllers": [ "2019-04-01" From f5b8934eb556a94e0e46f6d026faccca82097622 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 24 Dec 2020 11:48:12 +0000 Subject: [PATCH 08/27] Autogenerate schemas --- schemas/2020-12-08/Microsoft.HealthBot.json | 35 +-------------------- 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/schemas/2020-12-08/Microsoft.HealthBot.json b/schemas/2020-12-08/Microsoft.HealthBot.json index 10a66441af..abe97e1ac1 100644 --- a/schemas/2020-12-08/Microsoft.HealthBot.json +++ b/schemas/2020-12-08/Microsoft.HealthBot.json @@ -80,6 +80,7 @@ "location", "name", "properties", + "sku", "type" ], "description": "Microsoft.HealthBot/healthBots" @@ -94,21 +95,6 @@ "Sku": { "type": "object", "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted." - }, - "family": { - "type": "string", - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, "name": { "oneOf": [ { @@ -124,25 +110,6 @@ } ], "description": "The name of the HealthBot SKU." - }, - "size": { - "type": "string", - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. " - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT." } }, "required": [ From 8cea8caa06c5008aa86a080c1939591a7eef4ccc Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 25 Dec 2020 11:53:58 +0000 Subject: [PATCH 09/27] Autogenerate schemas --- .../2020-10-01/Microsoft.StorageCache.json | 944 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 6 + 2 files changed, 950 insertions(+) create mode 100644 schemas/2020-10-01/Microsoft.StorageCache.json diff --git a/schemas/2020-10-01/Microsoft.StorageCache.json b/schemas/2020-10-01/Microsoft.StorageCache.json new file mode 100644 index 0000000000..487ab7b30b --- /dev/null +++ b/schemas/2020-10-01/Microsoft.StorageCache.json @@ -0,0 +1,944 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.StorageCache.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.StorageCache", + "description": "Microsoft StorageCache Resource Types", + "resourceDefinitions": { + "caches": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-10-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/CacheIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cache identity properties." + }, + "location": { + "type": "string", + "description": "Region name string." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of Cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CacheProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Cache." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/caches_storageTargets_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/CacheSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU for the Cache." + }, + "tags": { + "type": "object", + "properties": {}, + "description": "ARM tags as name/value pairs." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.StorageCache/caches" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.StorageCache/caches" + }, + "caches_storageTargets": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-10-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of the Storage Target. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/StorageTargetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Storage Target." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.StorageCache/caches/storageTargets" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.StorageCache/caches/storageTargets" + } + }, + "definitions": { + "CacheActiveDirectorySettings": { + "type": "object", + "properties": { + "cacheNetBiosName": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-0-9a-zA-Z]{1,15}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The NetBIOS name to assign to the HPC Cache when it joins the Active Directory domain as a server. Length must 1-15 characters from the class [-0-9a-zA-Z]." + }, + "credentials": { + "oneOf": [ + { + "$ref": "#/definitions/CacheActiveDirectorySettingsCredentials" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Active Directory admin credentials used to join the HPC Cache to a domain." + }, + "domainName": { + "type": "string", + "description": "The fully qualified domain name of the Active Directory domain controller." + }, + "domainNetBiosName": { + "type": "string", + "description": "The Active Directory domain's NetBIOS name." + }, + "primaryDnsIpAddress": { + "type": "string", + "description": "Primary DNS IP address used to resolve the Active Directory domain controller's fully qualified domain name." + }, + "secondaryDnsIpAddress": { + "type": "string", + "description": "Secondary DNS IP address used to resolve the Active Directory domain controller's fully qualified domain name." + } + }, + "required": [ + "cacheNetBiosName", + "domainName", + "domainNetBiosName", + "primaryDnsIpAddress" + ], + "description": "Active Directory settings used to join a cache to a domain." + }, + "CacheActiveDirectorySettingsCredentials": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "Plain text password of the Active Directory domain administrator. This value is stored encrypted and not returned on response." + }, + "username": { + "type": "string", + "description": "Username of the Active Directory domain administrator. This value is stored encrypted and not returned on response." + } + }, + "required": [ + "password", + "username" + ], + "description": "Active Directory admin credentials used to join the HPC Cache to a domain." + }, + "CacheDirectorySettings": { + "type": "object", + "properties": { + "activeDirectory": { + "oneOf": [ + { + "$ref": "#/definitions/CacheActiveDirectorySettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Active Directory settings used to join a cache to a domain." + }, + "usernameDownload": { + "oneOf": [ + { + "$ref": "#/definitions/CacheUsernameDownloadSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings for Extended Groups username and group download." + } + }, + "description": "Cache Directory Services settings." + }, + "CacheEncryptionSettings": { + "type": "object", + "properties": { + "keyEncryptionKey": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultKeyReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a reference to Key Vault Key." + } + }, + "description": "Cache encryption settings." + }, + "CacheIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity used for the cache." + } + }, + "description": "Cache identity properties." + }, + "CacheNetworkSettings": { + "type": "object", + "properties": { + "mtu": { + "oneOf": [ + { + "type": "integer", + "minimum": 576, + "maximum": 1500, + "default": "1500" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The IPv4 maximum transmission unit configured for the subnet." + } + }, + "description": "Cache network settings." + }, + "CacheProperties": { + "type": "object", + "properties": { + "cacheSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The size of this Cache, in GB." + }, + "directoryServicesSettings": { + "oneOf": [ + { + "$ref": "#/definitions/CacheDirectorySettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cache Directory Services settings." + }, + "encryptionSettings": { + "oneOf": [ + { + "$ref": "#/definitions/CacheEncryptionSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cache encryption settings." + }, + "networkSettings": { + "oneOf": [ + { + "$ref": "#/definitions/CacheNetworkSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cache network settings." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "Cancelled", + "Creating", + "Deleting", + "Updating" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property." + }, + "securitySettings": { + "oneOf": [ + { + "$ref": "#/definitions/CacheSecuritySettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cache security settings." + }, + "subnet": { + "type": "string", + "description": "A fully qualified URL." + }, + "upgradeStatus": { + "oneOf": [ + { + "$ref": "#/definitions/CacheUpgradeStatus" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties describing the software upgrade state of the Cache." + } + }, + "description": "Properties of the Cache." + }, + "CacheSecuritySettings": { + "type": "object", + "properties": { + "accessPolicies": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NfsAccessPolicy" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "NFS access policies defined for this cache." + } + }, + "description": "Cache security settings." + }, + "CacheSku": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "SKU name for this Cache." + } + }, + "description": "SKU for the Cache." + }, + "caches_storageTargets_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-10-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-0-9a-zA-Z_]{1,80}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of the Storage Target. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/StorageTargetProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the Storage Target." + }, + "type": { + "type": "string", + "enum": [ + "storageTargets" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.StorageCache/caches/storageTargets" + }, + "CacheUpgradeStatus": { + "type": "object", + "properties": {}, + "description": "Properties describing the software upgrade state of the Cache." + }, + "CacheUsernameDownloadSettings": { + "type": "object", + "properties": { + "autoDownloadCertificate": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines if the certificate should be automatically downloaded. This applies to 'caCertificateURI' only if 'requireValidCertificate' is true." + }, + "caCertificateURI": { + "type": "string", + "description": "The URI of the CA certificate to validate the LDAP secure connection. This field must be populated when 'requireValidCertificate' is set to true." + }, + "credentials": { + "oneOf": [ + { + "$ref": "#/definitions/CacheUsernameDownloadSettingsCredentials" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "When present, these are the credentials for the secure LDAP connection." + }, + "encryptLdapConnection": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether or not the LDAP connection should be encrypted." + }, + "extendedGroupsEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether or not Extended Groups is enabled." + }, + "groupFileURI": { + "type": "string", + "description": "The URI of the file containing group information (in /etc/group file format). This field must be populated when 'usernameSource' is set to 'File'." + }, + "ldapBaseDn": { + "type": "string", + "description": "The base distinguished name for the LDAP domain." + }, + "ldapServer": { + "type": "string", + "description": "The fully qualified domain name or IP address of the LDAP server to use." + }, + "requireValidCertificate": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines if the certificates must be validated by a certificate authority. When true, caCertificateURI must be provided." + }, + "userFileURI": { + "type": "string", + "description": "The URI of the file containing user information (in /etc/passwd file format). This field must be populated when 'usernameSource' is set to 'File'." + }, + "usernameSource": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AD", + "LDAP", + "File", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This setting determines how the cache gets username and group names for clients." + } + }, + "description": "Settings for Extended Groups username and group download." + }, + "CacheUsernameDownloadSettingsCredentials": { + "type": "object", + "properties": { + "bindDn": { + "type": "string", + "description": "The Bind Distinguished Name identity to be used in the secure LDAP connection. This value is stored encrypted and not returned on response." + }, + "bindPassword": { + "type": "string", + "description": "The Bind password to be used in the secure LDAP connection. This value is stored encrypted and not returned on response." + } + }, + "description": "When present, these are the credentials for the secure LDAP connection." + }, + "ClfsTarget": { + "type": "object", + "properties": { + "target": { + "type": "string", + "description": "A fully qualified URL." + } + }, + "description": "Properties pertaining to the ClfsTarget" + }, + "ClfsTargetProperties": { + "type": "object", + "properties": { + "targetType": { + "type": "string", + "enum": [ + "clfs" + ] + } + }, + "required": [ + "targetType" + ], + "description": "Storage container for use as a CLFS Storage Target." + }, + "KeyVaultKeyReference": { + "type": "object", + "properties": { + "keyUrl": { + "type": "string", + "description": "The URL referencing a key encryption key in Key Vault." + }, + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultKeyReferenceSourceVault" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a resource Id to source Key Vault." + } + }, + "required": [ + "keyUrl", + "sourceVault" + ], + "description": "Describes a reference to Key Vault Key." + }, + "KeyVaultKeyReferenceSourceVault": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource Id." + } + }, + "description": "Describes a resource Id to source Key Vault." + }, + "NamespaceJunction": { + "type": "object", + "properties": { + "namespacePath": { + "type": "string", + "description": "Namespace path on a Cache for a Storage Target." + }, + "nfsAccessPolicy": { + "type": "string", + "description": "Name of the access policy applied to this junction." + }, + "nfsExport": { + "type": "string", + "description": "NFS export where targetPath exists." + }, + "targetPath": { + "type": "string", + "description": "Path in Storage Target to which namespacePath points." + } + }, + "description": "A namespace junction." + }, + "Nfs3Target": { + "type": "object", + "properties": { + "target": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-.0-9a-zA-Z]+$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "IP address or host name of an NFSv3 host (e.g., 10.0.44.44)." + }, + "usageModel": { + "type": "string", + "description": "Identifies the usage model to be used for this Storage Target. Get choices from .../usageModels" + } + }, + "description": "Properties pertaining to the Nfs3Target" + }, + "Nfs3TargetProperties": { + "type": "object", + "properties": { + "targetType": { + "type": "string", + "enum": [ + "nfs3" + ] + } + }, + "required": [ + "targetType" + ], + "description": "An NFSv3 mount point for use as a Storage Target." + }, + "NfsAccessPolicy": { + "type": "object", + "properties": { + "accessRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NfsAccessRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The set of rules describing client accesses allowed under this policy." + }, + "name": { + "type": "string", + "description": "Name identifying this policy. Access Policy names are not case sensitive." + } + }, + "required": [ + "accessRules", + "name" + ], + "description": "A set of rules describing access policies applied to NFSv3 clients of the cache." + }, + "NfsAccessRule": { + "type": "object", + "properties": { + "access": { + "oneOf": [ + { + "type": "string", + "enum": [ + "no", + "ro", + "rw" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Access allowed by this rule." + }, + "anonymousGID": { + "type": "string", + "default": "-2", + "description": "GID value that replaces 0 when rootSquash is true." + }, + "anonymousUID": { + "type": "string", + "default": "-2", + "description": "UID value that replaces 0 when rootSquash is true." + }, + "filter": { + "type": "string", + "description": "Filter applied to the scope for this rule. The filter's format depends on its scope. 'default' scope matches all clients and has no filter value. 'network' scope takes a filter in CIDR format (for example, 10.99.1.0/24). 'host' takes an IP address or fully qualified domain name as filter. If a client does not match any filter rule and there is no default rule, access is denied." + }, + "rootSquash": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Map root accesses to anonymousUID and anonymousGID." + }, + "scope": { + "oneOf": [ + { + "type": "string", + "enum": [ + "default", + "network", + "host" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Scope for this rule. The scope and filter determine which clients match the rule." + }, + "submountAccess": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "For the default policy, allow access to subdirectories under the root export. If this is set to no, clients can only mount the path '/'. If set to yes, clients can mount a deeper path, like '/a/b'." + }, + "suid": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allow SUID semantics." + } + }, + "required": [ + "access", + "scope" + ], + "description": "Rule to place restrictions on portions of the cache namespace being presented to clients." + }, + "StorageTargetProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/Nfs3TargetProperties" + }, + { + "$ref": "#/definitions/ClfsTargetProperties" + }, + { + "$ref": "#/definitions/UnknownTargetProperties" + } + ], + "properties": { + "clfs": { + "oneOf": [ + { + "$ref": "#/definitions/ClfsTarget" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties pertaining to the ClfsTarget" + }, + "junctions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NamespaceJunction" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of Cache namespace junctions to target for namespace associations." + }, + "nfs3": { + "oneOf": [ + { + "$ref": "#/definitions/Nfs3Target" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties pertaining to the Nfs3Target" + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "Cancelled", + "Creating", + "Deleting", + "Updating" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property." + }, + "unknown": { + "oneOf": [ + { + "$ref": "#/definitions/UnknownTarget" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties pertaining to the UnknownTarget" + } + }, + "description": "Properties of the Storage Target." + }, + "UnknownTarget": { + "type": "object", + "properties": { + "unknownMap": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an unknown type of Storage Target." + } + }, + "description": "Properties pertaining to the UnknownTarget" + }, + "UnknownTargetProperties": { + "type": "object", + "properties": { + "targetType": { + "type": "string", + "enum": [ + "unknown" + ] + } + }, + "required": [ + "targetType" + ], + "description": "Storage container for use as an Unknown Storage Target." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 8e096385cf..d68ec8f4f6 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -5506,6 +5506,12 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StorageCache.json#/resourceDefinitions/caches_storageTargets" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.StorageCache.json#/resourceDefinitions/caches" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-10-01/Microsoft.StorageCache.json#/resourceDefinitions/caches_storageTargets" + }, { "$ref": "https://schema.management.azure.com/schemas/2017-06-05-preview/Microsoft.StorageSync.json#/resourceDefinitions/storageSyncServices" }, From 9292851f990d6b9993e2254d9e7116debea665ca Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 25 Dec 2020 11:54:15 +0000 Subject: [PATCH 10/27] Update resource list --- generator/resources.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 17f48a7667..c2fbf7adab 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -5002,12 +5002,14 @@ "Microsoft.StorageCache/caches": [ "2019-08-01-preview", "2019-11-01", - "2020-03-01" + "2020-03-01", + "2020-10-01" ], "Microsoft.StorageCache/caches/storageTargets": [ "2019-08-01-preview", "2019-11-01", - "2020-03-01" + "2020-03-01", + "2020-10-01" ], "Microsoft.StorageSync/storageSyncServices": [ "2017-06-05-preview", From 17b0984fa5d9131d66feecccce51e2b1861ad88c Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 31 Dec 2020 08:28:34 +0000 Subject: [PATCH 11/27] Autogenerate schemas --- .../Microsoft.ApiManagement.json | 132 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 2 files changed, 135 insertions(+) diff --git a/schemas/2020-06-01-preview/Microsoft.ApiManagement.json b/schemas/2020-06-01-preview/Microsoft.ApiManagement.json index 3e87d5dbde..4131aa3321 100644 --- a/schemas/2020-06-01-preview/Microsoft.ApiManagement.json +++ b/schemas/2020-06-01-preview/Microsoft.ApiManagement.json @@ -120,6 +120,9 @@ { "$ref": "#/definitions/service_subscriptions_childResource" }, + { + "$ref": "#/definitions/service_tenant_childResource" + }, { "$ref": "#/definitions/service_users_childResource" } @@ -2241,6 +2244,56 @@ ], "description": "Microsoft.ApiManagement/service/templates" }, + "service_tenant": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-06-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "access", + "getAccess" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identifier of the Access configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AccessInformationCreateParameterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tenant access information update parameters of the API Management service" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ApiManagement/service/tenant" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/tenant" + }, "service_users": { "type": "object", "properties": { @@ -2284,6 +2337,35 @@ } }, "definitions": { + "AccessInformationCreateParameterProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether direct access is enabled." + }, + "primaryKey": { + "type": "string", + "description": "Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value." + }, + "principalId": { + "type": "string", + "description": "Principal (User) Identifier." + }, + "secondaryKey": { + "type": "string", + "description": "Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value." + } + }, + "description": "Tenant access information update parameters of the API Management service" + }, "AdditionalLocation": { "type": "object", "properties": { @@ -6965,6 +7047,56 @@ ], "description": "Microsoft.ApiManagement/service/templates" }, + "service_tenant_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-06-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "access", + "getAccess" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identifier of the Access configuration." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AccessInformationCreateParameterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tenant access information update parameters of the API Management service" + }, + "type": { + "type": "string", + "enum": [ + "tenant" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ApiManagement/service/tenant" + }, "service_users_childResource": { "type": "object", "properties": { diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index d68ec8f4f6..1f53dfde31 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -1051,6 +1051,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_templates" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_tenant" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-06-01-preview/Microsoft.ApiManagement.json#/resourceDefinitions/service_users" }, From e3402c65759e2691e9bb0a9def2932027dfe7446 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 31 Dec 2020 08:28:50 +0000 Subject: [PATCH 12/27] Update resource list --- generator/resources.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generator/resources.json b/generator/resources.json index c2fbf7adab..13d7af28dd 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -495,7 +495,8 @@ "2020-06-01-preview" ], "Microsoft.ApiManagement/service/tenant": [ - "2016-10-10" + "2016-10-10", + "2020-06-01-preview" ], "Microsoft.ApiManagement/service/users": [ "2016-07-07", From 7c75279eaed1e52fbd5032eb1d850830b13e0cc3 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Mon, 4 Jan 2021 08:29:03 +0000 Subject: [PATCH 13/27] Autogenerate schemas --- .../Microsoft.AnalysisServices.json | 38 +++++++++ .../Microsoft.AnalysisServices.json | 24 ++++++ .../Microsoft.AnalysisServices.json | 23 +++++ schemas/2020-11-01/Microsoft.DataBox.json | 85 +++++++++++++++++++ 4 files changed, 170 insertions(+) diff --git a/schemas/2016-05-16/Microsoft.AnalysisServices.json b/schemas/2016-05-16/Microsoft.AnalysisServices.json index 2e7fa85c5a..472f565009 100644 --- a/schemas/2016-05-16/Microsoft.AnalysisServices.json +++ b/schemas/2016-05-16/Microsoft.AnalysisServices.json @@ -104,6 +104,30 @@ "backupBlobContainerUri": { "type": "string", "description": "The container URI of backup blob." + }, + "managedMode": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The managed mode of the server (0 = not managed, 1 = managed)." + }, + "serverMonitorMode": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The server monitor mode for AS server" } }, "description": "Properties of Analysis Services resource." @@ -111,6 +135,20 @@ "ResourceSku": { "type": "object", "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 8, + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of instances in the read only query pool." + }, "name": { "type": "string", "description": "Name of the SKU level." diff --git a/schemas/2017-07-14/Microsoft.AnalysisServices.json b/schemas/2017-07-14/Microsoft.AnalysisServices.json index c70ccc4296..f5700e8ea4 100644 --- a/schemas/2017-07-14/Microsoft.AnalysisServices.json +++ b/schemas/2017-07-14/Microsoft.AnalysisServices.json @@ -115,6 +115,30 @@ } ], "description": "The gateway details." + }, + "managedMode": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The managed mode of the server (0 = not managed, 1 = managed)." + }, + "serverMonitorMode": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The server monitor mode for AS server" } }, "description": "Properties of Analysis Services resource." diff --git a/schemas/2017-08-01/Microsoft.AnalysisServices.json b/schemas/2017-08-01/Microsoft.AnalysisServices.json index 4db55cebbe..fe287d8c21 100644 --- a/schemas/2017-08-01/Microsoft.AnalysisServices.json +++ b/schemas/2017-08-01/Microsoft.AnalysisServices.json @@ -127,6 +127,18 @@ ], "description": "An array of firewall rules." }, + "managedMode": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The managed mode of the server (0 = not managed, 1 = managed)." + }, "querypoolConnectionMode": { "oneOf": [ { @@ -141,6 +153,17 @@ } ], "description": "How the read-write server's participation in the query pool is controlled.
It can have the following values:
  • readOnly - indicates that the read-write server is intended not to participate in query operations
  • all - indicates that the read-write server can participate in query operations
Specifying readOnly when capacity is 1 results in error." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents the SKU name and Azure pricing tier for Analysis Services resource." } }, "description": "Properties of Analysis Services resource." diff --git a/schemas/2020-11-01/Microsoft.DataBox.json b/schemas/2020-11-01/Microsoft.DataBox.json index 933e1aaf83..bc7fd42918 100644 --- a/schemas/2020-11-01/Microsoft.DataBox.json +++ b/schemas/2020-11-01/Microsoft.DataBox.json @@ -456,6 +456,27 @@ ], "description": "Details of the filter files to be used for data transfer." }, + "IdentityProperties": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Managed service identity type." + }, + "userAssigned": { + "oneOf": [ + { + "$ref": "#/definitions/UserAssignedProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User assigned identity properties." + } + }, + "description": "Managed identity properties." + }, "JobDeliveryInfo": { "type": "object", "properties": { @@ -531,6 +552,17 @@ ], "description": "The expected size of the data, which needs to be transferred in this job, in terabytes." }, + "keyEncryptionKey": { + "oneOf": [ + { + "$ref": "#/definitions/KeyEncryptionKey" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Encryption key containing details about key to encrypt different keys." + }, "preferences": { "oneOf": [ { @@ -620,6 +652,49 @@ ], "description": "Job Properties" }, + "KeyEncryptionKey": { + "type": "object", + "properties": { + "identityProperties": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed identity properties." + }, + "kekType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "MicrosoftManaged", + "CustomerManaged" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of encryption key used for key encryption." + }, + "kekUrl": { + "type": "string", + "description": "Key encryption key. It is required in case of Customer managed KekType." + }, + "kekVaultResourceID": { + "type": "string", + "description": "Kek vault resource id. It is required in case of Customer managed KekType." + } + }, + "required": [ + "kekType" + ], + "description": "Encryption key containing details about key to encrypt different keys." + }, "ManagedDiskDetails": { "type": "object", "properties": { @@ -1081,6 +1156,16 @@ "type": "object", "properties": {}, "description": "Class defining User assigned identity details." + }, + "UserAssignedProperties": { + "type": "object", + "properties": { + "resourceId": { + "type": "string", + "description": "Arm resource id for user assigned identity to be used to fetch MSI token." + } + }, + "description": "User assigned identity properties." } } } \ No newline at end of file From 3f16656339e7e240ee153a55cc09e87f941e7f1a Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Mon, 4 Jan 2021 11:43:28 +0000 Subject: [PATCH 14/27] Autogenerate schemas --- schemas/2019-08-01/Microsoft.Security.json | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/schemas/2019-08-01/Microsoft.Security.json b/schemas/2019-08-01/Microsoft.Security.json index f3e81261a8..43f54f4196 100644 --- a/schemas/2019-08-01/Microsoft.Security.json +++ b/schemas/2019-08-01/Microsoft.Security.json @@ -120,12 +120,57 @@ ], "description": "Number of active connections is not in allowed range." }, + "AdditionalWorkspacesProperties": { + "type": "object", + "properties": { + "dataTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Alerts", + "RawEvents" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of data types sent to workspace" + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Sentinel" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workspace type." + }, + "workspace": { + "type": "string", + "description": "Workspace resource id" + } + }, + "description": "Properties of the additional workspaces." + }, "AllowlistCustomAlertRule": { "type": "object", "oneOf": [ { "$ref": "#/definitions/ConnectionToIpNotAllowed" }, + { + "$ref": "#/definitions/ConnectionFromIpNotAllowed" + }, { "$ref": "#/definitions/LocalUserNotAllowed" }, @@ -211,6 +256,21 @@ ], "description": "Number of device to cloud messages (AMQP protocol) is not in allowed range." }, + "ConnectionFromIpNotAllowed": { + "type": "object", + "properties": { + "ruleType": { + "type": "string", + "enum": [ + "ConnectionFromIpNotAllowed" + ] + } + }, + "required": [ + "ruleType" + ], + "description": "Inbound connection from an ip that isn't allowed. Allow list consists of ipv4 or ipv6 range in CIDR notation." + }, "ConnectionToIpNotAllowed": { "type": "object", "properties": { @@ -416,6 +476,20 @@ "IoTSecuritySolutionProperties": { "type": "object", "properties": { + "additionalWorkspaces": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdditionalWorkspacesProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of additional workspaces" + }, "disabledDataSources": { "oneOf": [ { From 56284f2e1b8c612c0e0513eca39ac77ea9727334 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 5 Jan 2021 10:16:13 +0000 Subject: [PATCH 15/27] Autogenerate schemas --- schemas/2020-05-01/Microsoft.SignalRService.json | 12 ------------ .../2020-07-01-preview/Microsoft.SignalRService.json | 8 -------- 2 files changed, 20 deletions(-) diff --git a/schemas/2020-05-01/Microsoft.SignalRService.json b/schemas/2020-05-01/Microsoft.SignalRService.json index 73e971e8ff..4c72996cd2 100644 --- a/schemas/2020-05-01/Microsoft.SignalRService.json +++ b/schemas/2020-05-01/Microsoft.SignalRService.json @@ -317,18 +317,10 @@ ], "description": "Optional, integer. The unit count of SignalR resource. 1 by default.\r\n\r\nIf present, following values are allowed:\r\n Free: 1\r\n Standard: 1,2,5,10,20,50,100" }, - "family": { - "type": "string", - "description": "Optional string. For future use." - }, "name": { "type": "string", "description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1" }, - "size": { - "type": "string", - "description": "Optional string. For future use." - }, "tier": { "oneOf": [ { @@ -513,10 +505,6 @@ ], "description": "List of SignalR featureFlags. e.g. ServiceMode.\r\n\r\nFeatureFlags that are not included in the parameters for the update operation will not be modified.\r\nAnd the response will only include featureFlags that are explicitly set. \r\nWhen a featureFlag is not explicitly set, SignalR service will use its globally default value. \r\nBut keep in mind, the default value doesn't mean \"false\". It varies in terms of different FeatureFlags." }, - "hostNamePrefix": { - "type": "string", - "description": "Prefix for the hostName of the SignalR service. Retained for future use.\r\nThe hostname will be of format: <hostNamePrefix>.service.signalr.net." - }, "networkACLs": { "oneOf": [ { diff --git a/schemas/2020-07-01-preview/Microsoft.SignalRService.json b/schemas/2020-07-01-preview/Microsoft.SignalRService.json index 53ad8b5448..9cf4fd6354 100644 --- a/schemas/2020-07-01-preview/Microsoft.SignalRService.json +++ b/schemas/2020-07-01-preview/Microsoft.SignalRService.json @@ -375,18 +375,10 @@ ], "description": "Optional, integer. The unit count of SignalR resource. 1 by default.\r\n\r\nIf present, following values are allowed:\r\n Free: 1\r\n Standard: 1,2,5,10,20,50,100" }, - "family": { - "type": "string", - "description": "Optional string. For future use." - }, "name": { "type": "string", "description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1" }, - "size": { - "type": "string", - "description": "Optional string. For future use." - }, "tier": { "oneOf": [ { From e0b6dfe2a867ae4808dac76d65412f7d365678a3 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 5 Jan 2021 11:50:02 +0000 Subject: [PATCH 16/27] Autogenerate schemas --- schemas/2020-07-17-preview/Microsoft.AVS.json | 106 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 2 files changed, 109 insertions(+) diff --git a/schemas/2020-07-17-preview/Microsoft.AVS.json b/schemas/2020-07-17-preview/Microsoft.AVS.json index b22fe28e0d..9939651381 100644 --- a/schemas/2020-07-17-preview/Microsoft.AVS.json +++ b/schemas/2020-07-17-preview/Microsoft.AVS.json @@ -47,6 +47,9 @@ }, { "$ref": "#/definitions/privateClouds_globalReachConnections_childResource" + }, + { + "$ref": "#/definitions/privateClouds_addons_childResource" } ] } @@ -93,6 +96,45 @@ ], "description": "Microsoft.AVS/privateClouds" }, + "privateClouds_addons": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-17-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the addon for the private cloud" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AddonProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an addon that may be updated" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.AVS/privateClouds/addons" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AVS/privateClouds/addons" + }, "privateClouds_authorizations": { "type": "object", "properties": { @@ -473,6 +515,31 @@ } }, "definitions": { + "AddonProperties": { + "type": "object", + "properties": { + "addonType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SRM", + "VR" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of private cloud addon." + }, + "licenseKey": { + "type": "string", + "description": "The SRM license" + } + }, + "description": "The properties of an addon that may be updated" + }, "Circuit": { "type": "object", "properties": {}, @@ -675,6 +742,45 @@ ], "description": "The properties of a private cloud resource" }, + "privateClouds_addons_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-07-17-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the addon for the private cloud" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AddonProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of an addon that may be updated" + }, + "type": { + "type": "string", + "enum": [ + "addons" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.AVS/privateClouds/addons" + }, "privateClouds_authorizations_childResource": { "type": "object", "properties": { diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 1f53dfde31..29d72f2a38 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -1255,6 +1255,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-07-17-preview/Microsoft.AVS.json#/resourceDefinitions/privateClouds" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-07-17-preview/Microsoft.AVS.json#/resourceDefinitions/privateClouds_addons" + }, { "$ref": "https://schema.management.azure.com/schemas/2020-07-17-preview/Microsoft.AVS.json#/resourceDefinitions/privateClouds_authorizations" }, From 702ceb1eebf3d7f38779abf6d07d05396f23eb97 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 5 Jan 2021 11:50:18 +0000 Subject: [PATCH 17/27] Update resource list --- generator/resources.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/generator/resources.json b/generator/resources.json index 13d7af28dd..e4dd970117 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -8,6 +8,9 @@ "2020-03-20", "2020-07-17-preview" ], + "Microsoft.AVS/privateClouds/addons": [ + "2020-07-17-preview" + ], "Microsoft.AVS/privateClouds/authorizations": [ "2020-03-20", "2020-07-17-preview" From b6a14336ed02ccf4df3fc562b4176f3ce5362ed9 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 7 Jan 2021 08:32:52 +0000 Subject: [PATCH 18/27] Autogenerate schemas --- .../Microsoft.Attestation.json | 16 +++++++++++---- schemas/2020-10-01/Microsoft.Attestation.json | 20 +++++++++++++------ 2 files changed, 26 insertions(+), 10 deletions(-) diff --git a/schemas/2018-09-01-preview/Microsoft.Attestation.json b/schemas/2018-09-01-preview/Microsoft.Attestation.json index 16a793d319..bdc9a03ee3 100644 --- a/schemas/2018-09-01-preview/Microsoft.Attestation.json +++ b/schemas/2018-09-01-preview/Microsoft.Attestation.json @@ -15,11 +15,19 @@ }, "location": { "type": "string", - "description": "The supported Azure location where the attestation service instance should be created." + "description": "The supported Azure location where the attestation provider should be created." }, "name": { - "type": "string", - "description": "Name of the attestation service instance." + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of the attestation provider." }, "properties": { "oneOf": [ @@ -45,7 +53,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The tags that will be assigned to the attestation service instance." + "description": "The tags that will be assigned to the attestation provider." }, "type": { "type": "string", diff --git a/schemas/2020-10-01/Microsoft.Attestation.json b/schemas/2020-10-01/Microsoft.Attestation.json index a7f00d1f2e..a96424054f 100644 --- a/schemas/2020-10-01/Microsoft.Attestation.json +++ b/schemas/2020-10-01/Microsoft.Attestation.json @@ -15,11 +15,19 @@ }, "location": { "type": "string", - "description": "The supported Azure location where the attestation service instance should be created." + "description": "The supported Azure location where the attestation provider should be created." }, "name": { - "type": "string", - "description": "Name of the attestation service instance." + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z0-9-]{3,24}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of the attestation provider." }, "properties": { "oneOf": [ @@ -30,7 +38,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Client supplied parameters used to create a new attestation service instance." + "description": "Client supplied parameters used to create a new attestation provider." }, "tags": { "oneOf": [ @@ -45,7 +53,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The tags that will be assigned to the attestation service instance." + "description": "The tags that will be assigned to the attestation provider." }, "type": { "type": "string", @@ -79,7 +87,7 @@ ] } }, - "description": "Client supplied parameters used to create a new attestation service instance." + "description": "Client supplied parameters used to create a new attestation provider." }, "JSONWebKey": { "type": "object", From 4bcb367151334d719e468cf4eff9fd5bbcbce1cc Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 7 Jan 2021 10:18:11 +0000 Subject: [PATCH 19/27] Autogenerate schemas --- .../2017-12-01-preview/Microsoft.DBforMySQL.json | 14 +++++++------- .../Microsoft.DBforPostgreSQL.json | 14 +++++++------- schemas/2017-12-01/Microsoft.DBforMySQL.json | 14 +++++++------- schemas/2017-12-01/Microsoft.DBforPostgreSQL.json | 14 +++++++------- schemas/common/autogeneratedResources.json | 8 ++++---- 5 files changed, 32 insertions(+), 32 deletions(-) diff --git a/schemas/2017-12-01-preview/Microsoft.DBforMySQL.json b/schemas/2017-12-01-preview/Microsoft.DBforMySQL.json index 5238974c2d..152fd182d7 100644 --- a/schemas/2017-12-01-preview/Microsoft.DBforMySQL.json +++ b/schemas/2017-12-01-preview/Microsoft.DBforMySQL.json @@ -49,7 +49,7 @@ "$ref": "#/definitions/servers_configurations_childResource" }, { - "$ref": "#/definitions/servers_Administrators_childResource" + "$ref": "#/definitions/servers_administrators_childResource" }, { "$ref": "#/definitions/servers_securityAlertPolicies_childResource" @@ -99,7 +99,7 @@ ], "description": "Microsoft.DBForMySQL/servers" }, - "servers_Administrators": { + "servers_administrators": { "type": "object", "properties": { "apiVersion": { @@ -133,7 +133,7 @@ "type": { "type": "string", "enum": [ - "Microsoft.DBForMySQL/servers/Administrators" + "Microsoft.DBForMySQL/servers/administrators" ] } }, @@ -143,7 +143,7 @@ "properties", "type" ], - "description": "Microsoft.DBForMySQL/servers/Administrators" + "description": "Microsoft.DBForMySQL/servers/administrators" }, "servers_configurations": { "type": "object", @@ -719,7 +719,7 @@ ], "description": "The properties used to create a new server by restoring from a backup." }, - "servers_Administrators_childResource": { + "servers_administrators_childResource": { "type": "object", "properties": { "apiVersion": { @@ -748,7 +748,7 @@ "type": { "type": "string", "enum": [ - "Administrators" + "administrators" ] } }, @@ -758,7 +758,7 @@ "properties", "type" ], - "description": "Microsoft.DBForMySQL/servers/Administrators" + "description": "Microsoft.DBForMySQL/servers/administrators" }, "servers_configurations_childResource": { "type": "object", diff --git a/schemas/2017-12-01-preview/Microsoft.DBforPostgreSQL.json b/schemas/2017-12-01-preview/Microsoft.DBforPostgreSQL.json index b21f48f865..b591fab79a 100644 --- a/schemas/2017-12-01-preview/Microsoft.DBforPostgreSQL.json +++ b/schemas/2017-12-01-preview/Microsoft.DBforPostgreSQL.json @@ -49,7 +49,7 @@ "$ref": "#/definitions/servers_configurations_childResource" }, { - "$ref": "#/definitions/servers_Administrators_childResource" + "$ref": "#/definitions/servers_administrators_childResource" }, { "$ref": "#/definitions/servers_securityAlertPolicies_childResource" @@ -99,7 +99,7 @@ ], "description": "Microsoft.DBForPostgreSQL/servers" }, - "servers_Administrators": { + "servers_administrators": { "type": "object", "properties": { "apiVersion": { @@ -133,7 +133,7 @@ "type": { "type": "string", "enum": [ - "Microsoft.DBForPostgreSQL/servers/Administrators" + "Microsoft.DBForPostgreSQL/servers/administrators" ] } }, @@ -143,7 +143,7 @@ "properties", "type" ], - "description": "Microsoft.DBForPostgreSQL/servers/Administrators" + "description": "Microsoft.DBForPostgreSQL/servers/administrators" }, "servers_configurations": { "type": "object", @@ -722,7 +722,7 @@ ], "description": "The properties used to create a new server by restoring from a backup." }, - "servers_Administrators_childResource": { + "servers_administrators_childResource": { "type": "object", "properties": { "apiVersion": { @@ -751,7 +751,7 @@ "type": { "type": "string", "enum": [ - "Administrators" + "administrators" ] } }, @@ -761,7 +761,7 @@ "properties", "type" ], - "description": "Microsoft.DBForPostgreSQL/servers/Administrators" + "description": "Microsoft.DBForPostgreSQL/servers/administrators" }, "servers_configurations_childResource": { "type": "object", diff --git a/schemas/2017-12-01/Microsoft.DBforMySQL.json b/schemas/2017-12-01/Microsoft.DBforMySQL.json index 004a05775f..577661e131 100644 --- a/schemas/2017-12-01/Microsoft.DBforMySQL.json +++ b/schemas/2017-12-01/Microsoft.DBforMySQL.json @@ -60,7 +60,7 @@ "$ref": "#/definitions/servers_configurations_childResource" }, { - "$ref": "#/definitions/servers_Administrators_childResource" + "$ref": "#/definitions/servers_administrators_childResource" }, { "$ref": "#/definitions/servers_securityAlertPolicies_childResource" @@ -110,7 +110,7 @@ ], "description": "Microsoft.DBForMySQL/servers" }, - "servers_Administrators": { + "servers_administrators": { "type": "object", "properties": { "apiVersion": { @@ -144,7 +144,7 @@ "type": { "type": "string", "enum": [ - "Microsoft.DBForMySQL/servers/Administrators" + "Microsoft.DBForMySQL/servers/administrators" ] } }, @@ -154,7 +154,7 @@ "properties", "type" ], - "description": "Microsoft.DBForMySQL/servers/Administrators" + "description": "Microsoft.DBForMySQL/servers/administrators" }, "servers_configurations": { "type": "object", @@ -780,7 +780,7 @@ ], "description": "The properties used to create a new server by restoring from a backup." }, - "servers_Administrators_childResource": { + "servers_administrators_childResource": { "type": "object", "properties": { "apiVersion": { @@ -809,7 +809,7 @@ "type": { "type": "string", "enum": [ - "Administrators" + "administrators" ] } }, @@ -819,7 +819,7 @@ "properties", "type" ], - "description": "Microsoft.DBForMySQL/servers/Administrators" + "description": "Microsoft.DBForMySQL/servers/administrators" }, "servers_configurations_childResource": { "type": "object", diff --git a/schemas/2017-12-01/Microsoft.DBforPostgreSQL.json b/schemas/2017-12-01/Microsoft.DBforPostgreSQL.json index f46661ca85..09db085996 100644 --- a/schemas/2017-12-01/Microsoft.DBforPostgreSQL.json +++ b/schemas/2017-12-01/Microsoft.DBforPostgreSQL.json @@ -60,7 +60,7 @@ "$ref": "#/definitions/servers_configurations_childResource" }, { - "$ref": "#/definitions/servers_Administrators_childResource" + "$ref": "#/definitions/servers_administrators_childResource" }, { "$ref": "#/definitions/servers_securityAlertPolicies_childResource" @@ -110,7 +110,7 @@ ], "description": "Microsoft.DBForPostgreSQL/servers" }, - "servers_Administrators": { + "servers_administrators": { "type": "object", "properties": { "apiVersion": { @@ -144,7 +144,7 @@ "type": { "type": "string", "enum": [ - "Microsoft.DBForPostgreSQL/servers/Administrators" + "Microsoft.DBForPostgreSQL/servers/administrators" ] } }, @@ -154,7 +154,7 @@ "properties", "type" ], - "description": "Microsoft.DBForPostgreSQL/servers/Administrators" + "description": "Microsoft.DBForPostgreSQL/servers/administrators" }, "servers_configurations": { "type": "object", @@ -783,7 +783,7 @@ ], "description": "The properties used to create a new server by restoring from a backup." }, - "servers_Administrators_childResource": { + "servers_administrators_childResource": { "type": "object", "properties": { "apiVersion": { @@ -812,7 +812,7 @@ "type": { "type": "string", "enum": [ - "Administrators" + "administrators" ] } }, @@ -822,7 +822,7 @@ "properties", "type" ], - "description": "Microsoft.DBForPostgreSQL/servers/Administrators" + "description": "Microsoft.DBForPostgreSQL/servers/administrators" }, "servers_configurations_childResource": { "type": "object", diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 29d72f2a38..ae19eb5422 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -2399,7 +2399,7 @@ "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforMySQL.json#/resourceDefinitions/servers" }, { - "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforMySQL.json#/resourceDefinitions/servers_Administrators" + "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforMySQL.json#/resourceDefinitions/servers_administrators" }, { "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforMySQL.json#/resourceDefinitions/servers_configurations" @@ -2420,7 +2420,7 @@ "$ref": "https://schema.management.azure.com/schemas/2017-12-01-preview/Microsoft.DBforMySQL.json#/resourceDefinitions/servers" }, { - "$ref": "https://schema.management.azure.com/schemas/2017-12-01-preview/Microsoft.DBforMySQL.json#/resourceDefinitions/servers_Administrators" + "$ref": "https://schema.management.azure.com/schemas/2017-12-01-preview/Microsoft.DBforMySQL.json#/resourceDefinitions/servers_administrators" }, { "$ref": "https://schema.management.azure.com/schemas/2017-12-01-preview/Microsoft.DBforMySQL.json#/resourceDefinitions/servers_configurations" @@ -2447,7 +2447,7 @@ "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforPostgreSQL.json#/resourceDefinitions/servers" }, { - "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforPostgreSQL.json#/resourceDefinitions/servers_Administrators" + "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforPostgreSQL.json#/resourceDefinitions/servers_administrators" }, { "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforPostgreSQL.json#/resourceDefinitions/servers_configurations" @@ -2468,7 +2468,7 @@ "$ref": "https://schema.management.azure.com/schemas/2017-12-01-preview/Microsoft.DBforPostgreSQL.json#/resourceDefinitions/servers" }, { - "$ref": "https://schema.management.azure.com/schemas/2017-12-01-preview/Microsoft.DBforPostgreSQL.json#/resourceDefinitions/servers_Administrators" + "$ref": "https://schema.management.azure.com/schemas/2017-12-01-preview/Microsoft.DBforPostgreSQL.json#/resourceDefinitions/servers_administrators" }, { "$ref": "https://schema.management.azure.com/schemas/2017-12-01-preview/Microsoft.DBforPostgreSQL.json#/resourceDefinitions/servers_configurations" From b6d7aca1680d69776b7a595d662f70df02ff9e6c Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 7 Jan 2021 10:18:29 +0000 Subject: [PATCH 20/27] Update resource list --- generator/resources.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index e4dd970117..2fb93fca84 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -1280,7 +1280,7 @@ "2017-12-01", "2017-12-01-preview" ], - "Microsoft.DBForMySQL/servers/Administrators": [ + "Microsoft.DBForMySQL/servers/administrators": [ "2017-12-01", "2017-12-01-preview" ], @@ -1304,7 +1304,7 @@ "2017-12-01", "2017-12-01-preview" ], - "Microsoft.DBForPostgreSQL/servers/Administrators": [ + "Microsoft.DBForPostgreSQL/servers/administrators": [ "2017-12-01", "2017-12-01-preview" ], From aa79e04f3c1e24c38cd3d84ecb709e5e77420ede Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 7 Jan 2021 11:50:31 +0000 Subject: [PATCH 21/27] Autogenerate schemas --- .../Microsoft.SecurityInsights.json | 170 ++++++++++++++++++ 1 file changed, 170 insertions(+) diff --git a/schemas/2019-01-01-preview/Microsoft.SecurityInsights.json b/schemas/2019-01-01-preview/Microsoft.SecurityInsights.json index 1109e37231..98443f8f11 100644 --- a/schemas/2019-01-01-preview/Microsoft.SecurityInsights.json +++ b/schemas/2019-01-01-preview/Microsoft.SecurityInsights.json @@ -670,6 +670,16 @@ ], "description": "Describes watchlist properties" }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/watchlists_watchlistItems_childResource" + } + ] + } + }, "type": { "type": "string", "enum": [ @@ -684,6 +694,49 @@ "type" ], "description": "Microsoft.SecurityInsights/watchlists" + }, + "watchlists_watchlistItems": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-01-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Etag of the azure resource" + }, + "name": { + "type": "string", + "description": "Watchlist Item Id (GUID)" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WatchlistItemProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes watchlist item properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.SecurityInsights/watchlists/watchlistItems" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.SecurityInsights/watchlists/watchlistItems" } }, "definitions": { @@ -3197,6 +3250,80 @@ }, "description": "User information that made some action" }, + "WatchlistItemProperties": { + "type": "object", + "properties": { + "created": { + "type": "string", + "format": "date-time", + "description": "The time the watchlist item was created" + }, + "createdBy": { + "oneOf": [ + { + "$ref": "#/definitions/UserInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User information that made some action" + }, + "entityMapping": { + "type": "object", + "properties": {}, + "description": "key-value pairs for a watchlist item entity mapping" + }, + "isDeleted": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A flag that indicates if the watchlist item is deleted or not" + }, + "itemsKeyValue": { + "type": "object", + "properties": {}, + "description": "key-value pairs for a watchlist item" + }, + "tenantId": { + "type": "string", + "description": "The tenantId to which the watchlist item belongs to" + }, + "updated": { + "type": "string", + "format": "date-time", + "description": "The last time the watchlist item was updated" + }, + "updatedBy": { + "oneOf": [ + { + "$ref": "#/definitions/UserInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "User information that made some action" + }, + "watchlistItemId": { + "type": "string", + "description": "The id (a Guid) of the watchlist item" + }, + "watchlistItemType": { + "type": "string", + "description": "The type of the watchlist item" + } + }, + "required": [ + "itemsKeyValue" + ], + "description": "Describes watchlist item properties" + }, "WatchlistProperties": { "type": "object", "properties": { @@ -3331,6 +3458,49 @@ "source" ], "description": "Describes watchlist properties" + }, + "watchlists_watchlistItems_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2019-01-01-preview" + ] + }, + "etag": { + "type": "string", + "description": "Etag of the azure resource" + }, + "name": { + "type": "string", + "description": "Watchlist Item Id (GUID)" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WatchlistItemProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes watchlist item properties" + }, + "type": { + "type": "string", + "enum": [ + "watchlistItems" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.SecurityInsights/watchlists/watchlistItems" } } } \ No newline at end of file From ac3252cf243e17a231d1d9915d4e0788e8c04826 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 8 Jan 2021 08:28:35 +0000 Subject: [PATCH 22/27] Autogenerate schemas --- schemas/2015-10-31/Microsoft.Automation.json | 2 +- schemas/2017-05-15-preview/Microsoft.Automation.json | 2 +- schemas/2017-08-01/Microsoft.AnalysisServices.json | 12 ++++++++++++ schemas/2018-01-15/Microsoft.Automation.json | 2 +- schemas/2018-06-30/Microsoft.Automation.json | 2 +- schemas/2020-01-13-preview/Microsoft.Automation.json | 2 +- 6 files changed, 17 insertions(+), 5 deletions(-) diff --git a/schemas/2015-10-31/Microsoft.Automation.json b/schemas/2015-10-31/Microsoft.Automation.json index c096e9e2b6..5339a4c039 100644 --- a/schemas/2015-10-31/Microsoft.Automation.json +++ b/schemas/2015-10-31/Microsoft.Automation.json @@ -2801,4 +2801,4 @@ "description": "The properties of the create webhook operation." } } -} +} \ No newline at end of file diff --git a/schemas/2017-05-15-preview/Microsoft.Automation.json b/schemas/2017-05-15-preview/Microsoft.Automation.json index ba708dcf1f..4d79c321f9 100644 --- a/schemas/2017-05-15-preview/Microsoft.Automation.json +++ b/schemas/2017-05-15-preview/Microsoft.Automation.json @@ -1047,4 +1047,4 @@ "description": "Windows specific update configuration." } } -} +} \ No newline at end of file diff --git a/schemas/2017-08-01/Microsoft.AnalysisServices.json b/schemas/2017-08-01/Microsoft.AnalysisServices.json index fe287d8c21..3afdccbd17 100644 --- a/schemas/2017-08-01/Microsoft.AnalysisServices.json +++ b/schemas/2017-08-01/Microsoft.AnalysisServices.json @@ -154,6 +154,18 @@ ], "description": "How the read-write server's participation in the query pool is controlled.
It can have the following values:
  • readOnly - indicates that the read-write server is intended not to participate in query operations
  • all - indicates that the read-write server can participate in query operations
Specifying readOnly when capacity is 1 results in error." }, + "serverMonitorMode": { + "oneOf": [ + { + "type": "integer", + "default": "1" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The server monitor mode for AS server" + }, "sku": { "oneOf": [ { diff --git a/schemas/2018-01-15/Microsoft.Automation.json b/schemas/2018-01-15/Microsoft.Automation.json index f7a4333431..7065012a03 100644 --- a/schemas/2018-01-15/Microsoft.Automation.json +++ b/schemas/2018-01-15/Microsoft.Automation.json @@ -276,4 +276,4 @@ "description": "The parameter properties supplied to the create or update node configuration operation." } } -} +} \ No newline at end of file diff --git a/schemas/2018-06-30/Microsoft.Automation.json b/schemas/2018-06-30/Microsoft.Automation.json index a605b3230f..4813cdb904 100644 --- a/schemas/2018-06-30/Microsoft.Automation.json +++ b/schemas/2018-06-30/Microsoft.Automation.json @@ -536,4 +536,4 @@ "description": "Definition of the runbook parameter type." } } -} +} \ No newline at end of file diff --git a/schemas/2020-01-13-preview/Microsoft.Automation.json b/schemas/2020-01-13-preview/Microsoft.Automation.json index 84d857af7c..2f76675f68 100644 --- a/schemas/2020-01-13-preview/Microsoft.Automation.json +++ b/schemas/2020-01-13-preview/Microsoft.Automation.json @@ -98,4 +98,4 @@ "description": "Connection State of the Private Endpoint Connection." } } -} +} \ No newline at end of file From c106617286870ccf47715030d86ef58cfd353dba Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 8 Jan 2021 09:17:22 +0000 Subject: [PATCH 23/27] Autogenerate schemas --- schemas/2016-02-03/Microsoft.Devices.json | 2 +- schemas/2017-01-19/Microsoft.Devices.json | 2 +- schemas/2017-07-01/Microsoft.Devices.json | 2 +- schemas/2018-01-22/Microsoft.Devices.json | 2 +- schemas/2018-04-01/Microsoft.Devices.json | 2 +- schemas/2018-09-01/Microsoft.IotCentral.json | 6 +++--- schemas/2018-12-01-preview/Microsoft.Devices.json | 2 +- schemas/2019-03-22-preview/Microsoft.Devices.json | 2 +- schemas/2019-03-22/Microsoft.Devices.json | 2 +- schemas/2019-07-01-preview/Microsoft.DevOps.json | 2 +- schemas/2019-07-01-preview/Microsoft.Devices.json | 2 +- schemas/2019-11-04/Microsoft.Devices.json | 2 +- schemas/2020-03-01/Microsoft.Devices.json | 2 +- schemas/2020-04-01/Microsoft.Devices.json | 2 +- schemas/2020-06-15/Microsoft.Devices.json | 2 +- schemas/2020-07-10-preview/Microsoft.Devices.json | 2 +- schemas/2020-07-13-preview/Microsoft.DevOps.json | 2 +- schemas/2020-08-01/Microsoft.Devices.json | 2 +- schemas/common/autogeneratedResources.json | 2 +- 19 files changed, 21 insertions(+), 21 deletions(-) diff --git a/schemas/2016-02-03/Microsoft.Devices.json b/schemas/2016-02-03/Microsoft.Devices.json index 81bab2898c..5de52f72d5 100644 --- a/schemas/2016-02-03/Microsoft.Devices.json +++ b/schemas/2016-02-03/Microsoft.Devices.json @@ -542,4 +542,4 @@ "description": "The properties of the Azure Storage endpoint for file upload." } } -} +} \ No newline at end of file diff --git a/schemas/2017-01-19/Microsoft.Devices.json b/schemas/2017-01-19/Microsoft.Devices.json index f0cb87c409..d73b5ec9d3 100644 --- a/schemas/2017-01-19/Microsoft.Devices.json +++ b/schemas/2017-01-19/Microsoft.Devices.json @@ -872,4 +872,4 @@ "description": "The properties of the Azure Storage endpoint for file upload." } } -} +} \ No newline at end of file diff --git a/schemas/2017-07-01/Microsoft.Devices.json b/schemas/2017-07-01/Microsoft.Devices.json index 3ba5308870..ac80bf6d1e 100644 --- a/schemas/2017-07-01/Microsoft.Devices.json +++ b/schemas/2017-07-01/Microsoft.Devices.json @@ -1047,4 +1047,4 @@ "description": "The properties of the Azure Storage endpoint for file upload." } } -} +} \ No newline at end of file diff --git a/schemas/2018-01-22/Microsoft.Devices.json b/schemas/2018-01-22/Microsoft.Devices.json index 75ad6fe518..73d64870f0 100644 --- a/schemas/2018-01-22/Microsoft.Devices.json +++ b/schemas/2018-01-22/Microsoft.Devices.json @@ -1040,4 +1040,4 @@ "description": "The properties of the Azure Storage endpoint for file upload." } } -} +} \ No newline at end of file diff --git a/schemas/2018-04-01/Microsoft.Devices.json b/schemas/2018-04-01/Microsoft.Devices.json index 0187ca0c46..8786f72c7e 100644 --- a/schemas/2018-04-01/Microsoft.Devices.json +++ b/schemas/2018-04-01/Microsoft.Devices.json @@ -1045,4 +1045,4 @@ "description": "The properties of the Azure Storage endpoint for file upload." } } -} +} \ No newline at end of file diff --git a/schemas/2018-09-01/Microsoft.IotCentral.json b/schemas/2018-09-01/Microsoft.IotCentral.json index bc80d28a32..7f3fc33906 100644 --- a/schemas/2018-09-01/Microsoft.IotCentral.json +++ b/schemas/2018-09-01/Microsoft.IotCentral.json @@ -4,7 +4,7 @@ "title": "Microsoft.IoTCentral", "description": "Microsoft IoTCentral Resource Types", "resourceDefinitions": { - "IoTApps": { + "iotApps": { "type": "object", "properties": { "apiVersion": { @@ -61,7 +61,7 @@ "type": { "type": "string", "enum": [ - "Microsoft.IoTCentral/IoTApps" + "Microsoft.IoTCentral/iotApps" ] } }, @@ -73,7 +73,7 @@ "sku", "type" ], - "description": "Microsoft.IoTCentral/IoTApps" + "description": "Microsoft.IoTCentral/iotApps" } }, "definitions": { diff --git a/schemas/2018-12-01-preview/Microsoft.Devices.json b/schemas/2018-12-01-preview/Microsoft.Devices.json index e4617dc378..12c57f1de6 100644 --- a/schemas/2018-12-01-preview/Microsoft.Devices.json +++ b/schemas/2018-12-01-preview/Microsoft.Devices.json @@ -1090,4 +1090,4 @@ "description": "The properties of the Azure Storage endpoint for file upload." } } -} +} \ No newline at end of file diff --git a/schemas/2019-03-22-preview/Microsoft.Devices.json b/schemas/2019-03-22-preview/Microsoft.Devices.json index a83f009309..985bcf087c 100644 --- a/schemas/2019-03-22-preview/Microsoft.Devices.json +++ b/schemas/2019-03-22-preview/Microsoft.Devices.json @@ -1098,4 +1098,4 @@ "description": "The properties of the Azure Storage endpoint for file upload." } } -} +} \ No newline at end of file diff --git a/schemas/2019-03-22/Microsoft.Devices.json b/schemas/2019-03-22/Microsoft.Devices.json index e08ff1a1aa..21003c9a21 100644 --- a/schemas/2019-03-22/Microsoft.Devices.json +++ b/schemas/2019-03-22/Microsoft.Devices.json @@ -1020,4 +1020,4 @@ "description": "The properties of the Azure Storage endpoint for file upload." } } -} +} \ No newline at end of file diff --git a/schemas/2019-07-01-preview/Microsoft.DevOps.json b/schemas/2019-07-01-preview/Microsoft.DevOps.json index ff0081e6e8..a28f21bcb9 100644 --- a/schemas/2019-07-01-preview/Microsoft.DevOps.json +++ b/schemas/2019-07-01-preview/Microsoft.DevOps.json @@ -292,4 +292,4 @@ "description": "Reference to an Azure DevOps Project." } } -} +} \ No newline at end of file diff --git a/schemas/2019-07-01-preview/Microsoft.Devices.json b/schemas/2019-07-01-preview/Microsoft.Devices.json index 27381adfbb..3da388b7b1 100644 --- a/schemas/2019-07-01-preview/Microsoft.Devices.json +++ b/schemas/2019-07-01-preview/Microsoft.Devices.json @@ -1100,4 +1100,4 @@ "description": "The properties of the Azure Storage endpoint for file upload." } } -} +} \ No newline at end of file diff --git a/schemas/2019-11-04/Microsoft.Devices.json b/schemas/2019-11-04/Microsoft.Devices.json index f701b8fa0d..30005f66e4 100644 --- a/schemas/2019-11-04/Microsoft.Devices.json +++ b/schemas/2019-11-04/Microsoft.Devices.json @@ -1067,4 +1067,4 @@ "description": "The properties of the Azure Storage endpoint for file upload." } } -} +} \ No newline at end of file diff --git a/schemas/2020-03-01/Microsoft.Devices.json b/schemas/2020-03-01/Microsoft.Devices.json index 690f158943..0ee82decf8 100644 --- a/schemas/2020-03-01/Microsoft.Devices.json +++ b/schemas/2020-03-01/Microsoft.Devices.json @@ -1387,4 +1387,4 @@ "description": "The properties of the Azure Storage endpoint for file upload." } } -} +} \ No newline at end of file diff --git a/schemas/2020-04-01/Microsoft.Devices.json b/schemas/2020-04-01/Microsoft.Devices.json index 0e5a93d444..e52595b561 100644 --- a/schemas/2020-04-01/Microsoft.Devices.json +++ b/schemas/2020-04-01/Microsoft.Devices.json @@ -1387,4 +1387,4 @@ "description": "The properties of the Azure Storage endpoint for file upload." } } -} +} \ No newline at end of file diff --git a/schemas/2020-06-15/Microsoft.Devices.json b/schemas/2020-06-15/Microsoft.Devices.json index 3be56da387..49d44331b1 100644 --- a/schemas/2020-06-15/Microsoft.Devices.json +++ b/schemas/2020-06-15/Microsoft.Devices.json @@ -1435,4 +1435,4 @@ "description": "The properties of the Azure Storage endpoint for file upload." } } -} +} \ No newline at end of file diff --git a/schemas/2020-07-10-preview/Microsoft.Devices.json b/schemas/2020-07-10-preview/Microsoft.Devices.json index 02415fcccf..8cdbf5403b 100644 --- a/schemas/2020-07-10-preview/Microsoft.Devices.json +++ b/schemas/2020-07-10-preview/Microsoft.Devices.json @@ -1571,4 +1571,4 @@ "description": "The properties of the Azure Storage endpoint for file upload." } } -} +} \ No newline at end of file diff --git a/schemas/2020-07-13-preview/Microsoft.DevOps.json b/schemas/2020-07-13-preview/Microsoft.DevOps.json index b895c2e216..ca01090c93 100644 --- a/schemas/2020-07-13-preview/Microsoft.DevOps.json +++ b/schemas/2020-07-13-preview/Microsoft.DevOps.json @@ -342,4 +342,4 @@ "description": "Reference to an Azure DevOps Project." } } -} +} \ No newline at end of file diff --git a/schemas/2020-08-01/Microsoft.Devices.json b/schemas/2020-08-01/Microsoft.Devices.json index bbf45e9327..f08fba4772 100644 --- a/schemas/2020-08-01/Microsoft.Devices.json +++ b/schemas/2020-08-01/Microsoft.Devices.json @@ -1435,4 +1435,4 @@ "description": "The properties of the Azure Storage endpoint for file upload." } } -} +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index ae19eb5422..caa018c594 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -3860,7 +3860,7 @@ "$ref": "https://schema.management.azure.com/schemas/2020-08-01/Microsoft.ImportExport.json#/resourceDefinitions/jobs" }, { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#/resourceDefinitions/IoTApps" + "$ref": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#/resourceDefinitions/iotApps" }, { "$ref": "https://schema.management.azure.com/schemas/2017-10-01-preview/Microsoft.IoTSpaces.json#/resourceDefinitions/Graph" From 9947f91ccc52fad2c61827fa0e83ddcb748ca972 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 8 Jan 2021 09:17:42 +0000 Subject: [PATCH 24/27] Update resource list --- generator/resources.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/resources.json b/generator/resources.json index 2fb93fca84..c0700911fb 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -2362,7 +2362,7 @@ "Microsoft.Intune/locations/iosPolicies/groups": [ "2015-01-14-preview" ], - "Microsoft.IoTCentral/IoTApps": [ + "Microsoft.IoTCentral/iotApps": [ "2018-09-01" ], "Microsoft.IoTSpaces/Graph": [ From f386cdd3a02dd8bf23e183c1e17de9eb3741f441 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 8 Jan 2021 10:19:54 +0000 Subject: [PATCH 25/27] Autogenerate schemas --- schemas/2018-02-01/Microsoft.ManagementPartner.json | 2 +- .../2018-03-01-preview/Microsoft.MachineLearningServices.json | 2 +- schemas/2018-11-19/Microsoft.MachineLearningServices.json | 2 +- schemas/2019-05-01/Microsoft.MachineLearningServices.json | 2 +- schemas/2019-06-01/Microsoft.MachineLearningServices.json | 2 +- schemas/2019-11-01/Microsoft.MachineLearningServices.json | 2 +- schemas/2020-01-01/Microsoft.MachineLearningServices.json | 2 +- .../2020-02-18-preview/Microsoft.MachineLearningServices.json | 2 +- schemas/2020-03-01/Microsoft.MachineLearningServices.json | 2 +- schemas/2020-04-01/Microsoft.MachineLearningServices.json | 2 +- schemas/2020-04-30/Microsoft.RedHatOpenShift.json | 2 +- .../2020-05-01-preview/Microsoft.MachineLearningServices.json | 2 +- .../2020-05-15-preview/Microsoft.MachineLearningServices.json | 2 +- schemas/2020-06-01/Microsoft.MachineLearningServices.json | 2 +- .../2020-09-01-preview/Microsoft.MachineLearningServices.json | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/schemas/2018-02-01/Microsoft.ManagementPartner.json b/schemas/2018-02-01/Microsoft.ManagementPartner.json index 9ba9d1a210..820f0f231c 100644 --- a/schemas/2018-02-01/Microsoft.ManagementPartner.json +++ b/schemas/2018-02-01/Microsoft.ManagementPartner.json @@ -34,4 +34,4 @@ } }, "definitions": {} -} +} \ No newline at end of file diff --git a/schemas/2018-03-01-preview/Microsoft.MachineLearningServices.json b/schemas/2018-03-01-preview/Microsoft.MachineLearningServices.json index cb753de29d..27d7c284ec 100644 --- a/schemas/2018-03-01-preview/Microsoft.MachineLearningServices.json +++ b/schemas/2018-03-01-preview/Microsoft.MachineLearningServices.json @@ -675,4 +675,4 @@ "description": "Microsoft.MachineLearningServices/workspaces/computes" } } -} +} \ No newline at end of file diff --git a/schemas/2018-11-19/Microsoft.MachineLearningServices.json b/schemas/2018-11-19/Microsoft.MachineLearningServices.json index c4a6353fc6..5e58e58dbc 100644 --- a/schemas/2018-11-19/Microsoft.MachineLearningServices.json +++ b/schemas/2018-11-19/Microsoft.MachineLearningServices.json @@ -848,4 +848,4 @@ "description": "Microsoft.MachineLearningServices/workspaces/computes" } } -} +} \ No newline at end of file diff --git a/schemas/2019-05-01/Microsoft.MachineLearningServices.json b/schemas/2019-05-01/Microsoft.MachineLearningServices.json index 2fe5c1e263..39425f5a51 100644 --- a/schemas/2019-05-01/Microsoft.MachineLearningServices.json +++ b/schemas/2019-05-01/Microsoft.MachineLearningServices.json @@ -848,4 +848,4 @@ "description": "Microsoft.MachineLearningServices/workspaces/computes" } } -} +} \ No newline at end of file diff --git a/schemas/2019-06-01/Microsoft.MachineLearningServices.json b/schemas/2019-06-01/Microsoft.MachineLearningServices.json index eba9dc1ceb..edd6c31920 100644 --- a/schemas/2019-06-01/Microsoft.MachineLearningServices.json +++ b/schemas/2019-06-01/Microsoft.MachineLearningServices.json @@ -864,4 +864,4 @@ "description": "Microsoft.MachineLearningServices/workspaces/computes" } } -} +} \ No newline at end of file diff --git a/schemas/2019-11-01/Microsoft.MachineLearningServices.json b/schemas/2019-11-01/Microsoft.MachineLearningServices.json index 7c83f16bbd..11637fb645 100644 --- a/schemas/2019-11-01/Microsoft.MachineLearningServices.json +++ b/schemas/2019-11-01/Microsoft.MachineLearningServices.json @@ -911,4 +911,4 @@ "description": "Microsoft.MachineLearningServices/workspaces/computes" } } -} +} \ No newline at end of file diff --git a/schemas/2020-01-01/Microsoft.MachineLearningServices.json b/schemas/2020-01-01/Microsoft.MachineLearningServices.json index 1e513321d9..1903391d75 100644 --- a/schemas/2020-01-01/Microsoft.MachineLearningServices.json +++ b/schemas/2020-01-01/Microsoft.MachineLearningServices.json @@ -1234,4 +1234,4 @@ "description": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections" } } -} +} \ No newline at end of file diff --git a/schemas/2020-02-18-preview/Microsoft.MachineLearningServices.json b/schemas/2020-02-18-preview/Microsoft.MachineLearningServices.json index bb37d07667..fd2d56e182 100644 --- a/schemas/2020-02-18-preview/Microsoft.MachineLearningServices.json +++ b/schemas/2020-02-18-preview/Microsoft.MachineLearningServices.json @@ -1421,4 +1421,4 @@ "description": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections" } } -} +} \ No newline at end of file diff --git a/schemas/2020-03-01/Microsoft.MachineLearningServices.json b/schemas/2020-03-01/Microsoft.MachineLearningServices.json index 91ec31cf8a..7f31b076db 100644 --- a/schemas/2020-03-01/Microsoft.MachineLearningServices.json +++ b/schemas/2020-03-01/Microsoft.MachineLearningServices.json @@ -1322,4 +1322,4 @@ "description": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections" } } -} +} \ No newline at end of file diff --git a/schemas/2020-04-01/Microsoft.MachineLearningServices.json b/schemas/2020-04-01/Microsoft.MachineLearningServices.json index 9308013a04..cd4004357a 100644 --- a/schemas/2020-04-01/Microsoft.MachineLearningServices.json +++ b/schemas/2020-04-01/Microsoft.MachineLearningServices.json @@ -1379,4 +1379,4 @@ "description": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections" } } -} +} \ No newline at end of file diff --git a/schemas/2020-04-30/Microsoft.RedHatOpenShift.json b/schemas/2020-04-30/Microsoft.RedHatOpenShift.json index 8de99fc384..0d36a65391 100644 --- a/schemas/2020-04-30/Microsoft.RedHatOpenShift.json +++ b/schemas/2020-04-30/Microsoft.RedHatOpenShift.json @@ -381,4 +381,4 @@ "description": "WorkerProfile represents a worker profile." } } -} +} \ No newline at end of file diff --git a/schemas/2020-05-01-preview/Microsoft.MachineLearningServices.json b/schemas/2020-05-01-preview/Microsoft.MachineLearningServices.json index aa3941f69d..d6c1aa368a 100644 --- a/schemas/2020-05-01-preview/Microsoft.MachineLearningServices.json +++ b/schemas/2020-05-01-preview/Microsoft.MachineLearningServices.json @@ -3566,4 +3566,4 @@ "description": "Microsoft.MachineLearningServices/workspaces/services" } } -} +} \ No newline at end of file diff --git a/schemas/2020-05-15-preview/Microsoft.MachineLearningServices.json b/schemas/2020-05-15-preview/Microsoft.MachineLearningServices.json index 69c490a194..cf29ce8c05 100644 --- a/schemas/2020-05-15-preview/Microsoft.MachineLearningServices.json +++ b/schemas/2020-05-15-preview/Microsoft.MachineLearningServices.json @@ -2894,4 +2894,4 @@ "description": "Microsoft.MachineLearningServices/workspaces/services" } } -} +} \ No newline at end of file diff --git a/schemas/2020-06-01/Microsoft.MachineLearningServices.json b/schemas/2020-06-01/Microsoft.MachineLearningServices.json index 427f8118e1..8e37d77da2 100644 --- a/schemas/2020-06-01/Microsoft.MachineLearningServices.json +++ b/schemas/2020-06-01/Microsoft.MachineLearningServices.json @@ -1469,4 +1469,4 @@ "description": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections" } } -} +} \ No newline at end of file diff --git a/schemas/2020-09-01-preview/Microsoft.MachineLearningServices.json b/schemas/2020-09-01-preview/Microsoft.MachineLearningServices.json index 953742bc76..f9ab9cc0aa 100644 --- a/schemas/2020-09-01-preview/Microsoft.MachineLearningServices.json +++ b/schemas/2020-09-01-preview/Microsoft.MachineLearningServices.json @@ -3211,4 +3211,4 @@ "description": "Microsoft.MachineLearningServices/workspaces/services" } } -} +} \ No newline at end of file From 0222f8cb868a4d93ec372e37961b9d4dc519a8b1 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 8 Jan 2021 11:52:11 +0000 Subject: [PATCH 26/27] Autogenerate schemas --- .../Microsoft.SecurityInsights.json | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/schemas/2020-01-01/Microsoft.SecurityInsights.json b/schemas/2020-01-01/Microsoft.SecurityInsights.json index 9d4eca251a..9adc8e1848 100644 --- a/schemas/2020-01-01/Microsoft.SecurityInsights.json +++ b/schemas/2020-01-01/Microsoft.SecurityInsights.json @@ -1312,6 +1312,17 @@ } ], "description": "SharePoint data type connection." + }, + "teams": { + "oneOf": [ + { + "$ref": "#/definitions/OfficeDataConnectorDataTypesTeams" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Teams data type connection." } }, "description": "The available data types for office data connector." @@ -1358,6 +1369,27 @@ }, "description": "SharePoint data type connection." }, + "OfficeDataConnectorDataTypesTeams": { + "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": "Teams data type connection." + }, "OfficeDataConnectorProperties": { "type": "object", "properties": { From f2ff5dac03d4ef92dec8a49bb493312d6b90bebe Mon Sep 17 00:00:00 2001 From: Jorge Cotillo Date: Fri, 8 Jan 2021 11:17:25 -0800 Subject: [PATCH 27/27] fix iotApps casing issue --- .../2014-04-01-preview/deploymentTemplate.json | 2 +- schemas/2015-01-01/deploymentTemplate.json | 6 +++--- .../2019-03-01-hybrid/deploymentTemplate.json | 2 +- tests/2018-09-01/Microsoft.IoTCentral.tests.json | 16 ++++++++-------- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/schemas/2014-04-01-preview/deploymentTemplate.json b/schemas/2014-04-01-preview/deploymentTemplate.json index f5fddb5c9f..292267d192 100644 --- a/schemas/2014-04-01-preview/deploymentTemplate.json +++ b/schemas/2014-04-01-preview/deploymentTemplate.json @@ -1767,7 +1767,7 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Galleries.json#/resourceDefinitions/galleries" }, { "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Galleries.json#/resourceDefinitions/galleries_images" }, { "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Galleries.json#/resourceDefinitions/galleries_images_versions" }, - { "$ref": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#/resourceDefinitions/IoTApps" }, + { "$ref": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#/resourceDefinitions/iotApps" }, { "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Maps.json#/resourceDefinitions/accounts" }, { "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.BatchAI.json#/resourceDefinitions/workspaces" }, { "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.BatchAI.json#/resourceDefinitions/workspaces_clusters" }, diff --git a/schemas/2015-01-01/deploymentTemplate.json b/schemas/2015-01-01/deploymentTemplate.json index bec9bdd3b9..5128cd8f8b 100644 --- a/schemas/2015-01-01/deploymentTemplate.json +++ b/schemas/2015-01-01/deploymentTemplate.json @@ -902,14 +902,14 @@ { "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforMySQL.json#/resourceDefinitions/servers_firewallRules" }, { "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforMySQL.json#/resourceDefinitions/servers_virtualNetworkRules" }, { "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforMySQL.json#/resourceDefinitions/servers_securityAlertPolicies" }, - { "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforMySQL.json#/resourceDefinitions/servers_Administrators" }, + { "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforMySQL.json#/resourceDefinitions/servers_administrators" }, { "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforPostgreSQL.json#/resourceDefinitions/servers" }, { "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforPostgreSQL.json#/resourceDefinitions/servers_configurations" }, { "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforPostgreSQL.json#/resourceDefinitions/servers_databases" }, { "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforPostgreSQL.json#/resourceDefinitions/servers_firewallRules" }, { "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforPostgreSQL.json#/resourceDefinitions/servers_virtualNetworkRules" }, { "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforPostgreSQL.json#/resourceDefinitions/servers_securityAlertPolicies" }, - { "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforPostgreSQL.json#/resourceDefinitions/servers_Administrators" }, + { "$ref": "https://schema.management.azure.com/schemas/2017-12-01/Microsoft.DBforPostgreSQL.json#/resourceDefinitions/servers_administrators" }, { "$ref": "https://schema.management.azure.com/schemas/2017-12-01-preview/Microsoft.DBforMySQL.json#/resourceDefinitions/servers" }, { "$ref": "https://schema.management.azure.com/schemas/2017-12-01-preview/Microsoft.DBforMySQL.json#/resourceDefinitions/servers_configurations" }, { "$ref": "https://schema.management.azure.com/schemas/2017-12-01-preview/Microsoft.DBforMySQL.json#/resourceDefinitions/servers_databases" }, @@ -1906,7 +1906,7 @@ { "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Galleries.json#/resourceDefinitions/galleries" }, { "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Galleries.json#/resourceDefinitions/galleries_images" }, { "$ref": "https://schema.management.azure.com/schemas/2019-03-01/Microsoft.Compute.Galleries.json#/resourceDefinitions/galleries_images_versions" }, - { "$ref": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#/resourceDefinitions/IoTApps" }, + { "$ref": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#/resourceDefinitions/iotApps" }, { "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Maps.json#/resourceDefinitions/accounts" }, { "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.BatchAI.json#/resourceDefinitions/workspaces" }, { "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.BatchAI.json#/resourceDefinitions/workspaces_clusters" }, diff --git a/schemas/2019-03-01-hybrid/deploymentTemplate.json b/schemas/2019-03-01-hybrid/deploymentTemplate.json index d979db993e..b112e9b54a 100644 --- a/schemas/2019-03-01-hybrid/deploymentTemplate.json +++ b/schemas/2019-03-01-hybrid/deploymentTemplate.json @@ -2799,7 +2799,7 @@ "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Compute.Extensions.json#/resourceDefinitions/virtualMachineScaleSets_extensions" }, { - "$ref": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#/resourceDefinitions/IoTApps" + "$ref": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#/resourceDefinitions/iotApps" }, { "$ref": "https://schema.management.azure.com/schemas/2018-05-01/Microsoft.Maps.json#/resourceDefinitions/accounts" diff --git a/tests/2018-09-01/Microsoft.IoTCentral.tests.json b/tests/2018-09-01/Microsoft.IoTCentral.tests.json index 9165c63fb4..85c027dd98 100644 --- a/tests/2018-09-01/Microsoft.IoTCentral.tests.json +++ b/tests/2018-09-01/Microsoft.IoTCentral.tests.json @@ -2,9 +2,9 @@ "tests": [ { "name": "IoTApps-F1-WestUS", - "definition": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#resourceDefinitions/IoTApps", + "definition": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#resourceDefinitions/iotApps", "json": { - "type": "Microsoft.IoTCentral/IoTApps", + "type": "Microsoft.IoTCentral/iotApps", "name": "iotapps-f1-westus", "sku": { "name": "F1" @@ -35,10 +35,10 @@ } }, { - "name": "IoTApps-S1-EastUS2", - "definition": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#resourceDefinitions/IoTApps", + "name": "iotApps-S1-EastUS2", + "definition": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#resourceDefinitions/iotApps", "json": { - "type": "Microsoft.IoTCentral/IoTApps", + "type": "Microsoft.IoTCentral/iotApps", "name": "iotapps-s1-eastus2", "sku": { "name": "S1" @@ -74,10 +74,10 @@ } }, { - "name": "IoTApps-ST2-EastUS2", - "definition": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#resourceDefinitions/IoTApps", + "name": "iotApps-ST2-EastUS2", + "definition": "https://schema.management.azure.com/schemas/2018-09-01/Microsoft.IotCentral.json#resourceDefinitions/iotApps", "json": { - "type": "Microsoft.IoTCentral/IoTApps", + "type": "Microsoft.IoTCentral/iotApps", "name": "iotapps-st2-eastus2", "sku": { "name": "ST2"