From cfcd10542fead0971a7e0c11f574ae5d236f74bb Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 28 Dec 2020 18:38:33 +0000 Subject: [PATCH] CodeGen from PR 11549 in Azure/azure-rest-api-specs Merge 28a4a301488922d5f4b9179e3389ed81fa84a1ea into bcd417920ddc33d1e89d0ecfcb2b405025418b3c --- .../2016-07-07/Microsoft.ApiManagement.json | 2 +- .../2016-10-10/Microsoft.ApiManagement.json | 2 +- .../2017-03-01/Microsoft.ApiManagement.json | 2 +- .../2018-01-01/Microsoft.ApiManagement.json | 2 +- .../Microsoft.ApiManagement.json | 2 +- .../2019-01-01/Microsoft.ApiManagement.json | 2 +- .../Microsoft.ApiManagement.json | 2 +- .../2019-12-01/Microsoft.ApiManagement.json | 2 +- .../Microsoft.ApiManagement.json | 134 +++++++++++++++++- 9 files changed, 141 insertions(+), 9 deletions(-) diff --git a/schemas/2016-07-07/Microsoft.ApiManagement.json b/schemas/2016-07-07/Microsoft.ApiManagement.json index 98c7b51e7b..e0e3d22cac 100644 --- a/schemas/2016-07-07/Microsoft.ApiManagement.json +++ b/schemas/2016-07-07/Microsoft.ApiManagement.json @@ -2843,4 +2843,4 @@ "description": "Configuration of a virtual network to which API Management service is deployed." } } -} \ No newline at end of file +} diff --git a/schemas/2016-10-10/Microsoft.ApiManagement.json b/schemas/2016-10-10/Microsoft.ApiManagement.json index 2c89ee0b06..a4d4f823cc 100644 --- a/schemas/2016-10-10/Microsoft.ApiManagement.json +++ b/schemas/2016-10-10/Microsoft.ApiManagement.json @@ -3427,4 +3427,4 @@ "description": "Configuration of a virtual network to which API Management service is deployed." } } -} \ No newline at end of file +} diff --git a/schemas/2017-03-01/Microsoft.ApiManagement.json b/schemas/2017-03-01/Microsoft.ApiManagement.json index 5587656321..08b7fa9659 100644 --- a/schemas/2017-03-01/Microsoft.ApiManagement.json +++ b/schemas/2017-03-01/Microsoft.ApiManagement.json @@ -6460,4 +6460,4 @@ "description": "Properties of server X509Names." } } -} \ No newline at end of file +} diff --git a/schemas/2018-01-01/Microsoft.ApiManagement.json b/schemas/2018-01-01/Microsoft.ApiManagement.json index 8a82e7697e..d50963e7ec 100644 --- a/schemas/2018-01-01/Microsoft.ApiManagement.json +++ b/schemas/2018-01-01/Microsoft.ApiManagement.json @@ -6513,4 +6513,4 @@ "description": "Properties of server X509Names." } } -} \ No newline at end of file +} diff --git a/schemas/2018-06-01-preview/Microsoft.ApiManagement.json b/schemas/2018-06-01-preview/Microsoft.ApiManagement.json index 817fbe2094..a862c961b7 100644 --- a/schemas/2018-06-01-preview/Microsoft.ApiManagement.json +++ b/schemas/2018-06-01-preview/Microsoft.ApiManagement.json @@ -6668,4 +6668,4 @@ "description": "Properties of server X509Names." } } -} \ No newline at end of file +} diff --git a/schemas/2019-01-01/Microsoft.ApiManagement.json b/schemas/2019-01-01/Microsoft.ApiManagement.json index 1723530313..8cb757a6ea 100644 --- a/schemas/2019-01-01/Microsoft.ApiManagement.json +++ b/schemas/2019-01-01/Microsoft.ApiManagement.json @@ -6580,4 +6580,4 @@ "description": "Properties of server X509Names." } } -} \ No newline at end of file +} diff --git a/schemas/2019-12-01-preview/Microsoft.ApiManagement.json b/schemas/2019-12-01-preview/Microsoft.ApiManagement.json index ef8e13ec6d..1adcfe33e0 100644 --- a/schemas/2019-12-01-preview/Microsoft.ApiManagement.json +++ b/schemas/2019-12-01-preview/Microsoft.ApiManagement.json @@ -7019,4 +7019,4 @@ "description": "Properties of server X509Names." } } -} \ No newline at end of file +} diff --git a/schemas/2019-12-01/Microsoft.ApiManagement.json b/schemas/2019-12-01/Microsoft.ApiManagement.json index 2ed1259f48..22cc5e971f 100644 --- a/schemas/2019-12-01/Microsoft.ApiManagement.json +++ b/schemas/2019-12-01/Microsoft.ApiManagement.json @@ -7149,4 +7149,4 @@ "description": "Properties of server X509Names." } } -} \ No newline at end of file +} diff --git a/schemas/2020-06-01-preview/Microsoft.ApiManagement.json b/schemas/2020-06-01-preview/Microsoft.ApiManagement.json index 3e87d5dbde..1650712fe0 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": { @@ -7345,4 +7477,4 @@ "description": "Properties of server X509Names." } } -} \ No newline at end of file +}