diff --git a/schemas/2016-07-01/Microsoft.Relay.json b/schemas/2016-07-01/Microsoft.Relay.json deleted file mode 100644 index d451163243..0000000000 --- a/schemas/2016-07-01/Microsoft.Relay.json +++ /dev/null @@ -1,667 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2016-07-01/Microsoft.Relay.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Relay", - "description": "Microsoft Relay Resource Types", - "resourceDefinitions": { - "namespaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-07-01" - ] - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "name": { - "type": "string", - "minLength": 6, - "maxLength": 50, - "description": "The Namespace Name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RelayNamespaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the Namespace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/namespaces_AuthorizationRules_childResource" - }, - { - "$ref": "#/definitions/namespaces_HybridConnections_childResource" - }, - { - "$ref": "#/definitions/namespaces_WcfRelays_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sku of the Namespace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Relay/namespaces" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces" - }, - "namespaces_AuthorizationRules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-07-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 50, - "description": "The authorizationRule name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AuthorizationRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AuthorizationRule properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Relay/namespaces/AuthorizationRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/AuthorizationRules" - }, - "namespaces_HybridConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-07-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 50, - "description": "The hybrid connection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HybridConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the HybridConnection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/namespaces_HybridConnections_authorizationRules_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Relay/namespaces/HybridConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/HybridConnections" - }, - "namespaces_HybridConnections_authorizationRules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-07-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 50, - "description": "The authorizationRule name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AuthorizationRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AuthorizationRule properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Relay/namespaces/HybridConnections/authorizationRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/HybridConnections/authorizationRules" - }, - "namespaces_WcfRelays": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-07-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 50, - "description": "The relay name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WcfRelayProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the WcfRelay Properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/namespaces_WcfRelays_authorizationRules_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Relay/namespaces/WcfRelays" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/WcfRelays" - }, - "namespaces_WcfRelays_authorizationRules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-07-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 50, - "description": "The authorizationRule name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AuthorizationRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AuthorizationRule properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Relay/namespaces/WcfRelays/authorizationRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/WcfRelays/authorizationRules" - } - }, - "definitions": { - "AuthorizationRuleProperties": { - "type": "object", - "properties": { - "rights": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Manage", - "Send", - "Listen" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The rights associated with the rule." - } - }, - "required": [ - "rights" - ], - "description": "AuthorizationRule properties." - }, - "HybridConnectionProperties": { - "type": "object", - "properties": { - "requiresClientAuthorization": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "true if client authorization is needed for this HybridConnection; otherwise, false." - }, - "userMetadata": { - "type": "string", - "description": "usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored." - } - }, - "description": "Properties of the HybridConnection." - }, - "namespaces_AuthorizationRules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-07-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 50, - "description": "The authorizationRule name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AuthorizationRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AuthorizationRule properties." - }, - "type": { - "type": "string", - "enum": [ - "AuthorizationRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/AuthorizationRules" - }, - "namespaces_HybridConnections_authorizationRules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-07-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 50, - "description": "The authorizationRule name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AuthorizationRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AuthorizationRule properties." - }, - "type": { - "type": "string", - "enum": [ - "authorizationRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/HybridConnections/authorizationRules" - }, - "namespaces_HybridConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-07-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 50, - "description": "The hybrid connection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HybridConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the HybridConnection." - }, - "type": { - "type": "string", - "enum": [ - "HybridConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/HybridConnections" - }, - "namespaces_WcfRelays_authorizationRules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-07-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 50, - "description": "The authorizationRule name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AuthorizationRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "AuthorizationRule properties." - }, - "type": { - "type": "string", - "enum": [ - "authorizationRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/WcfRelays/authorizationRules" - }, - "namespaces_WcfRelays_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-07-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 50, - "description": "The relay name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WcfRelayProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the WcfRelay Properties." - }, - "type": { - "type": "string", - "enum": [ - "WcfRelays" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/WcfRelays" - }, - "RelayNamespaceProperties": { - "type": "object", - "properties": {}, - "description": "Properties of the Namespace." - }, - "Sku": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Name of this Sku" - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The tier of this particular SKU" - } - }, - "required": [ - "name", - "tier" - ], - "description": "Sku of the Namespace." - }, - "WcfRelayProperties": { - "type": "object", - "properties": { - "relayType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "NetTcp", - "Http" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "WCFRelay Type." - }, - "requiresClientAuthorization": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "true if client authorization is needed for this relay; otherwise, false." - }, - "requiresTransportSecurity": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "true if transport security is needed for this relay; otherwise, false." - }, - "userMetadata": { - "type": "string", - "description": "usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored." - } - }, - "description": "Properties of the WcfRelay Properties." - } - } -} \ No newline at end of file diff --git a/schemas/2017-04-01/Microsoft.Relay.json b/schemas/2017-04-01/Microsoft.Relay.json deleted file mode 100644 index 7bfe197f53..0000000000 --- a/schemas/2017-04-01/Microsoft.Relay.json +++ /dev/null @@ -1,656 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-04-01/Microsoft.Relay.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Relay", - "description": "Microsoft Relay Resource Types", - "resourceDefinitions": { - "namespaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01" - ] - }, - "location": { - "type": "string", - "description": "Resource location." - }, - "name": { - "type": "string", - "minLength": 6, - "maxLength": 50, - "description": "The namespace name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RelayNamespaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the namespace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/namespaces_authorizationRules_childResource" - }, - { - "$ref": "#/definitions/namespaces_hybridConnections_childResource" - }, - { - "$ref": "#/definitions/namespaces_wcfRelays_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SKU of the namespace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Relay/namespaces" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces" - }, - "namespaces_authorizationRules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "description": "The authorization rule name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AuthorizationRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Authorization rule properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Relay/namespaces/authorizationRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/authorizationRules" - }, - "namespaces_hybridConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "description": "The hybrid connection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HybridConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the HybridConnection." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/namespaces_hybridConnections_authorizationRules_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Relay/namespaces/hybridConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/hybridConnections" - }, - "namespaces_hybridConnections_authorizationRules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "description": "The authorization rule name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AuthorizationRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Authorization rule properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Relay/namespaces/hybridConnections/authorizationRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/hybridConnections/authorizationRules" - }, - "namespaces_wcfRelays": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "description": "The relay name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WcfRelayProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the WCF relay." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/namespaces_wcfRelays_authorizationRules_childResource" - } - ] - } - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Relay/namespaces/wcfRelays" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/wcfRelays" - }, - "namespaces_wcfRelays_authorizationRules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "description": "The authorization rule name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AuthorizationRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Authorization rule properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Relay/namespaces/wcfRelays/authorizationRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/wcfRelays/authorizationRules" - } - }, - "definitions": { - "AuthorizationRuleProperties": { - "type": "object", - "properties": { - "rights": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Manage", - "Send", - "Listen" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The rights associated with the rule." - } - }, - "required": [ - "rights" - ], - "description": "Authorization rule properties." - }, - "HybridConnectionProperties": { - "type": "object", - "properties": { - "requiresClientAuthorization": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Returns true if client authorization is needed for this hybrid connection; otherwise, false." - }, - "userMetadata": { - "type": "string", - "description": "The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint. For example, it can be used to store descriptive data, such as a list of teams and their contact information. Also, user-defined configuration settings can be stored." - } - }, - "description": "Properties of the HybridConnection." - }, - "namespaces_authorizationRules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "description": "The authorization rule name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AuthorizationRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Authorization rule properties." - }, - "type": { - "type": "string", - "enum": [ - "authorizationRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/authorizationRules" - }, - "namespaces_hybridConnections_authorizationRules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "description": "The authorization rule name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AuthorizationRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Authorization rule properties." - }, - "type": { - "type": "string", - "enum": [ - "authorizationRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/hybridConnections/authorizationRules" - }, - "namespaces_hybridConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "description": "The hybrid connection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/HybridConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the HybridConnection." - }, - "type": { - "type": "string", - "enum": [ - "hybridConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/hybridConnections" - }, - "namespaces_wcfRelays_authorizationRules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "description": "The authorization rule name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/AuthorizationRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Authorization rule properties." - }, - "type": { - "type": "string", - "enum": [ - "authorizationRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/wcfRelays/authorizationRules" - }, - "namespaces_wcfRelays_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-04-01" - ] - }, - "name": { - "type": "string", - "minLength": 1, - "description": "The relay name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WcfRelayProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the WCF relay." - }, - "type": { - "type": "string", - "enum": [ - "wcfRelays" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/wcfRelays" - }, - "RelayNamespaceProperties": { - "type": "object", - "properties": {}, - "description": "Properties of the namespace." - }, - "Sku": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Name of this SKU." - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The tier of this SKU." - } - }, - "required": [ - "name" - ], - "description": "SKU of the namespace." - }, - "WcfRelayProperties": { - "type": "object", - "properties": { - "relayType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "NetTcp", - "Http" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "WCF relay type." - }, - "requiresClientAuthorization": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Returns true if client authorization is needed for this relay; otherwise, false." - }, - "requiresTransportSecurity": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Returns true if transport security is needed for this relay; otherwise, false." - }, - "userMetadata": { - "type": "string", - "description": "The usermetadata is a placeholder to store user-defined string data for the WCF Relay endpoint. For example, it can be used to store descriptive data, such as list of teams and their contact information. Also, user-defined configuration settings can be stored." - } - }, - "description": "Properties of the WCF relay." - } - } -} \ No newline at end of file diff --git a/schemas/2018-01-01-preview/Microsoft.Relay.json b/schemas/2018-01-01-preview/Microsoft.Relay.json deleted file mode 100644 index 0d14b4446b..0000000000 --- a/schemas/2018-01-01-preview/Microsoft.Relay.json +++ /dev/null @@ -1,492 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.Relay.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Relay", - "description": "Microsoft Relay Resource Types", - "resourceDefinitions": { - "namespaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-01-01-preview" - ] - }, - "location": { - "type": "string", - "description": "Resource location." - }, - "name": { - "type": "string", - "minLength": 6, - "maxLength": 50, - "description": "The namespace name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RelayNamespaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the namespace." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/namespaces_networkRuleSets_childResource" - }, - { - "$ref": "#/definitions/namespaces_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SKU of the namespace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Relay/namespaces" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces" - }, - "namespaces_networkRuleSets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-01-01-preview" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkRuleSetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "NetworkRuleSet properties" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Relay/namespaces/networkRuleSets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/networkRuleSets" - }, - "namespaces_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-01-01-preview" - ] - }, - "location": { - "type": "string", - "description": "Resource location." - }, - "name": { - "type": "string", - "minLength": 1, - "description": "The PrivateEndpointConnection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the private endpoint connection resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Relay/namespaces/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/privateEndpointConnections" - } - }, - "definitions": { - "namespaces_networkRuleSets_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-01-01-preview" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkRuleSetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "NetworkRuleSet properties" - }, - "type": { - "type": "string", - "enum": [ - "networkRuleSets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/networkRuleSets" - }, - "namespaces_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-01-01-preview" - ] - }, - "location": { - "type": "string", - "description": "Resource location." - }, - "name": { - "type": "string", - "minLength": 1, - "description": "The PrivateEndpointConnection name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the private endpoint connection resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Relay/namespaces/privateEndpointConnections" - }, - "NetworkRuleSetProperties": { - "type": "object", - "properties": { - "defaultAction": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Allow", - "Deny" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default Action for Network Rule Set." - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NWRuleSetIpRules" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of IpRules" - } - }, - "description": "NetworkRuleSet properties" - }, - "NWRuleSetIpRules": { - "type": "object", - "properties": { - "action": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Allow" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The IP Filter Action." - }, - "ipMask": { - "type": "string", - "description": "IP Mask" - } - }, - "description": "The response from the List namespace operation." - }, - "PrivateEndpoint": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Full identifier of the private endpoint resource." - } - }, - "description": "Private endpoint object properties." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint object properties." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An object that represents the approval state of the private link connection." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Unknown", - "Succeeded", - "Creating", - "Updating", - "UpdatingByProxy", - "Deleting", - "DeletingByProxy" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provisioning state of the private endpoint connection." - } - }, - "description": "Properties of the private endpoint connection resource." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval or rejection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected", - "Disconnected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been approved, rejected or removed by the Relay Namespace owner." - } - }, - "description": "An object that represents the approval state of the private link connection." - }, - "RelayNamespaceProperties": { - "type": "object", - "properties": {}, - "description": "Properties of the namespace." - }, - "Sku": { - "type": "object", - "properties": { - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Name of this SKU." - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Standard" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The tier of this SKU." - } - }, - "required": [ - "name" - ], - "description": "SKU of the namespace." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 026453652f..be056a7f7a 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -11977,51 +11977,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.RedHatOpenShift.json#/resourceDefinitions/openShiftClusters" }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-07-01/Microsoft.Relay.json#/resourceDefinitions/namespaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-07-01/Microsoft.Relay.json#/resourceDefinitions/namespaces_AuthorizationRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-07-01/Microsoft.Relay.json#/resourceDefinitions/namespaces_HybridConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-07-01/Microsoft.Relay.json#/resourceDefinitions/namespaces_HybridConnections_authorizationRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-07-01/Microsoft.Relay.json#/resourceDefinitions/namespaces_WcfRelays" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-07-01/Microsoft.Relay.json#/resourceDefinitions/namespaces_WcfRelays_authorizationRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-04-01/Microsoft.Relay.json#/resourceDefinitions/namespaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-04-01/Microsoft.Relay.json#/resourceDefinitions/namespaces_authorizationRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-04-01/Microsoft.Relay.json#/resourceDefinitions/namespaces_hybridConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-04-01/Microsoft.Relay.json#/resourceDefinitions/namespaces_hybridConnections_authorizationRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-04-01/Microsoft.Relay.json#/resourceDefinitions/namespaces_wcfRelays" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-04-01/Microsoft.Relay.json#/resourceDefinitions/namespaces_wcfRelays_authorizationRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.Relay.json#/resourceDefinitions/namespaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.Relay.json#/resourceDefinitions/namespaces_networkRuleSets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-01-01-preview/Microsoft.Relay.json#/resourceDefinitions/namespaces_privateEndpointConnections" - }, { "$ref": "https://schema.management.azure.com/schemas/2021-10-31-preview/Microsoft.ResourceConnector.json#/resourceDefinitions/appliances" },