Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Readonly property to describe PlatformVersion of the Compute #15114

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,39 @@
"type": "boolean",
"description": "Property only valid for an Api Management service deployed in multiple locations. This can be used to disable the gateway in this additional location.",
"default": false
},
"platformVersion": {
"type": "string",
"description": "Compute Platform Version running the service.",
"readOnly": true,
"enum": [
"undetermined",
"stv1",
"stv2",
"mtv1"
],
"x-ms-enum": {
"name": "PlatformVersion",
"modelAsString": true,
"values": [
{
"value": "undetermined",
"description": "Platform version cannot be determined, as compute platform is not deployed."
},
{
"value": "stv1",
"description": "Platform running the service on Single Tenant V1 platform."
},
{
"value": "stv2",
"description": "Platform running the service on Single Tenant V2 platform."
},
{
"value": "mtv1",
"description": "Platform running the service on Multi Tenant V1 platform."
}
]
}
}
},
"required": [
Expand Down Expand Up @@ -1350,6 +1383,39 @@
"type": "boolean",
"description": "Undelete Api Management Service if it was previously soft-deleted. If this flag is specified and set to True all other properties will be ignored.",
"default": false
},
"platformVersion": {
"type": "string",
"description": "Compute Platform Version running the service in this location.",
"readOnly": true,
"enum": [
"undetermined",
"stv1",
"stv2",
"mtv1"
],
"x-ms-enum": {
"name": "PlatformVersion",
"modelAsString": true,
"values": [
{
"value": "undetermined",
"description": "Platform version cannot be determined, as compute platform is not deployed."
},
{
"value": "stv1",
"description": "Platform running the service on Single Tenant V1 platform."
},
{
"value": "stv2",
"description": "Platform running the service on Single Tenant V2 platform."
},
{
"value": "mtv1",
"description": "Platform running the service on Multi Tenant V1 platform."
}
]
}
}
},
"description": "Base Properties of an API Management service resource description."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@
}
],
"virtualNetworkType": "None",
"enableClientCertificate": false
"enableClientCertificate": false,
"platformVersion": "mtv1"
},
"sku": {
"name": "Consumption",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
"subnetResourceId": "/subscriptions/subid/resourceGroups/rgName/providers/Microsoft.Network/virtualNetworks/apimcus/subnets/tenant"
},
"virtualNetworkType": "External",
"disableGateway": false
"disableGateway": false,
"platformVersion": "stv2"
},
"sku": {
"name": "Premium",
Expand Down Expand Up @@ -138,7 +139,8 @@
"Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2": "False"
},
"virtualNetworkType": "External",
"disableGateway": false
"disableGateway": false,
"platformVersion": "stv2"
},
"sku": {
"name": "Premium",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
}
],
"virtualNetworkType": "None",
"disableGateway": false
"disableGateway": false,
"platformVersion": "stv2"
},
"sku": {
"name": "Premium",
Expand Down Expand Up @@ -125,7 +126,8 @@
"Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2": "False"
},
"virtualNetworkType": "None",
"disableGateway": false
"disableGateway": false,
"platformVersion": "stv2"
},
"sku": {
"name": "Premium",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
],
"virtualNetworkType": "None",
"disableGateway": false,
"platformVersion": "stv2",
"apiVersionConstraint": {
"minApiVersion": "2019-01-01"
}
Expand Down Expand Up @@ -243,6 +244,7 @@
},
"virtualNetworkType": "None",
"disableGateway": false,
"platformVersion": "stv2",
"apiVersionConstraint": {
"minApiVersion": "2019-01-01"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
}
],
"disableGateway": false,
"platformVersion": "stv2",
"apiVersionConstraint": {}
},
"sku": {
Expand Down Expand Up @@ -146,6 +147,7 @@
}
],
"disableGateway": false,
"platformVersion": "stv2",
"apiVersionConstraint": {}
},
"sku": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
"certificateSource": "BuiltIn"
}
],
"virtualNetworkType": "None"
"virtualNetworkType": "None",
"platformVersion": "mtv1"
},
"sku": {
"name": "Consumption",
Expand Down Expand Up @@ -119,7 +120,8 @@
"Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2": "False"
},
"virtualNetworkType": "None",
"disableGateway": false
"disableGateway": false,
"platformVersion": "mtv1"
},
"sku": {
"name": "Consumption",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@
"40.70.24.106"
],
"gatewayRegionalUrl": "https://ogf-z3-06162021-premium-eastus2-01.regional.azure-api.net",
"disableGateway": false
"disableGateway": false,
"platformVersion": "stv2"
}
],
"customProperties": {
Expand All @@ -112,7 +113,8 @@
"apiVersionConstraint": {
"minApiVersion": "2019-12-01"
},
"publicNetworkAccess": "Enabled"
"publicNetworkAccess": "Enabled",
"platformVersion": "stv2"
},
"sku": {
"name": "Premium",
Expand Down