Skip to content

Commit

Permalink
CodeGen from PR 12890 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 6855772b8ad3e3dabd44f1bd1fd74fb15075b0b2 into 24b5c0febb628cd2b7e1d41a9266d8f7fde738cd
  • Loading branch information
SDKAuto committed Feb 8, 2021
1 parent 3805152 commit e80c5ef
Show file tree
Hide file tree
Showing 9 changed files with 237 additions and 15 deletions.
2 changes: 1 addition & 1 deletion schemas/2016-07-07/Microsoft.ApiManagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -2843,4 +2843,4 @@
"description": "Configuration of a virtual network to which API Management service is deployed."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2016-10-10/Microsoft.ApiManagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -3427,4 +3427,4 @@
"description": "Configuration of a virtual network to which API Management service is deployed."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2017-03-01/Microsoft.ApiManagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -6460,4 +6460,4 @@
"description": "Properties of server X509Names."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2018-01-01/Microsoft.ApiManagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -6513,4 +6513,4 @@
"description": "Properties of server X509Names."
}
}
}
}
6 changes: 3 additions & 3 deletions schemas/2018-06-01-preview/Microsoft.ApiManagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -2589,7 +2589,7 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "An value that determines where the API Version identifer will be located in a HTTP request."
"description": "An value that determines where the API Version identifier will be located in a HTTP request."
},
"versionQueryName": {
"type": "string",
Expand Down Expand Up @@ -2631,7 +2631,7 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "An value that determines where the API Version identifer will be located in a HTTP request."
"description": "An value that determines where the API Version identifier will be located in a HTTP request."
},
"versionQueryName": {
"type": "string",
Expand Down Expand Up @@ -6668,4 +6668,4 @@
"description": "Properties of server X509Names."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-01-01/Microsoft.ApiManagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -6580,4 +6580,4 @@
"description": "Properties of server X509Names."
}
}
}
}
6 changes: 3 additions & 3 deletions schemas/2019-12-01-preview/Microsoft.ApiManagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -2743,7 +2743,7 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "An value that determines where the API Version identifer will be located in a HTTP request."
"description": "An value that determines where the API Version identifier will be located in a HTTP request."
},
"versionQueryName": {
"type": "string",
Expand Down Expand Up @@ -2785,7 +2785,7 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "An value that determines where the API Version identifer will be located in a HTTP request."
"description": "An value that determines where the API Version identifier will be located in a HTTP request."
},
"versionQueryName": {
"type": "string",
Expand Down Expand Up @@ -7019,4 +7019,4 @@
"description": "Properties of server X509Names."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-12-01/Microsoft.ApiManagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -7149,4 +7149,4 @@
"description": "Properties of server X509Names."
}
}
}
}
228 changes: 225 additions & 3 deletions schemas/2020-06-01-preview/Microsoft.ApiManagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@
{
"$ref": "#/definitions/service_policies_childResource"
},
{
"$ref": "#/definitions/service_portalRevisions_childResource"
},
{
"$ref": "#/definitions/service_portalsettings_childResource"
},
Expand Down Expand Up @@ -1225,6 +1228,9 @@
},
{
"$ref": "#/definitions/service_gateways_apis_childResource"
},
{
"$ref": "#/definitions/service_gateways_certificateAuthorities_childResource"
}
]
}
Expand Down Expand Up @@ -1285,6 +1291,55 @@
],
"description": "Microsoft.ApiManagement/service/gateways/apis"
},
"service_gateways_certificateAuthorities": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-06-01-preview"
]
},
"name": {
"oneOf": [
{
"type": "string",
"pattern": "^[^*#&+:<>?]+$",
"minLength": 1,
"maxLength": 80
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Identifier of the certificate entity. Must be unique in the current API Management service instance."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/GatewayCertificateAuthorityContractProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gateway certificate authority details."
},
"type": {
"type": "string",
"enum": [
"Microsoft.ApiManagement/service/gateways/certificateAuthorities"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.ApiManagement/service/gateways/certificateAuthorities"
},
"service_gateways_hostnameConfigurations": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1763,6 +1818,46 @@
],
"description": "Microsoft.ApiManagement/service/policies"
},
"service_portalRevisions": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-06-01-preview"
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"description": "Portal revision identifier. Must be unique in the current API Management service instance."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/PortalRevisionContractProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"type": "string",
"enum": [
"Microsoft.ApiManagement/service/portalRevisions"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.ApiManagement/service/portalRevisions"
},
"service_portalsettings": {
"type": "object",
"oneOf": [
Expand Down Expand Up @@ -2937,7 +3032,7 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "An value that determines where the API Version identifer will be located in a HTTP request."
"description": "An value that determines where the API Version identifier will be located in a HTTP request."
},
"versionQueryName": {
"type": "string",
Expand Down Expand Up @@ -2979,7 +3074,7 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "An value that determines where the API Version identifer will be located in a HTTP request."
"description": "An value that determines where the API Version identifier will be located in a HTTP request."
},
"versionQueryName": {
"type": "string",
Expand Down Expand Up @@ -3932,6 +4027,23 @@
},
"description": "Email Template Update Contract properties."
},
"GatewayCertificateAuthorityContractProperties": {
"type": "object",
"properties": {
"isTrusted": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Determines whether certificate authority is trusted."
}
},
"description": "Gateway certificate authority details."
},
"GatewayContractProperties": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -4784,6 +4896,27 @@
},
"description": "Delegation settings contract properties."
},
"PortalRevisionContractProperties": {
"type": "object",
"properties": {
"description": {
"type": "string",
"maxLength": 2000,
"description": "Portal revision description."
},
"isCurrent": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Indicates if the Portal Revision is public."
}
}
},
"PortalSigninSettingProperties": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -6131,6 +6264,55 @@
],
"description": "Microsoft.ApiManagement/service/gateways/apis"
},
"service_gateways_certificateAuthorities_childResource": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-06-01-preview"
]
},
"name": {
"oneOf": [
{
"type": "string",
"pattern": "^[^*#&+:<>?]+$",
"minLength": 1,
"maxLength": 80
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Identifier of the certificate entity. Must be unique in the current API Management service instance."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/GatewayCertificateAuthorityContractProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gateway certificate authority details."
},
"type": {
"type": "string",
"enum": [
"certificateAuthorities"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.ApiManagement/service/gateways/certificateAuthorities"
},
"service_gateways_childResource": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -6622,6 +6804,46 @@
],
"description": "Microsoft.ApiManagement/service/policies"
},
"service_portalRevisions_childResource": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-06-01-preview"
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"description": "Portal revision identifier. Must be unique in the current API Management service instance."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/PortalRevisionContractProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"type": "string",
"enum": [
"portalRevisions"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.ApiManagement/service/portalRevisions"
},
"service_portalsettings_childResource": {
"type": "object",
"oneOf": [
Expand Down Expand Up @@ -7494,4 +7716,4 @@
"description": "Properties of server X509Names."
}
}
}
}

0 comments on commit e80c5ef

Please sign in to comment.