Skip to content

Commit 0955eca

Browse files
vfedonkinvfedonkin
andauthored
ApiManagement - certificates in backends (#12131)
* ApiManagement - certificates in backends * ApiManagement - certificates in backends small fix * ApiManagement - certificates in backends small fix 2 * ApiManagement - certificates in backends small fix 3 Co-authored-by: vfedonkin <[email protected]>
1 parent f1b3d4c commit 0955eca

File tree

4 files changed

+20
-9
lines changed

4 files changed

+20
-9
lines changed

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/definitions.json

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,13 +1450,21 @@
14501450
},
14511451
"BackendCredentialsContract": {
14521452
"properties": {
1453+
"certificateIds": {
1454+
"type": "array",
1455+
"items": {
1456+
"type": "string"
1457+
},
1458+
"maxItems": 32,
1459+
"description": "List of Client Certificate Ids."
1460+
},
14531461
"certificate": {
14541462
"type": "array",
14551463
"items": {
14561464
"type": "string"
14571465
},
14581466
"maxItems": 32,
1459-
"description": "List of Client Certificate Thumbprint."
1467+
"description": "List of Client Certificate Thumbprints. Will be ignored if certificatesIds are provided."
14601468
},
14611469
"query": {
14621470
"type": "object",
@@ -1547,8 +1555,12 @@
15471555
},
15481556
"BackendServiceFabricClusterProperties": {
15491557
"properties": {
1558+
"clientCertificateId": {
1559+
"description": "The client certificate id for the management endpoint.",
1560+
"type": "string"
1561+
},
15501562
"clientCertificatethumbprint": {
1551-
"description": "The client certificate thumbprint for the management endpoint.",
1563+
"description": "The client certificate thumbprint for the management endpoint. Will be ignored if certificatesIds are provided",
15521564
"type": "string"
15531565
},
15541566
"maxPartitionResolutionRetries": {
@@ -1579,8 +1591,7 @@
15791591
}
15801592
},
15811593
"required": [
1582-
"managementEndpoints",
1583-
"clientCertificatethumbprint"
1594+
"managementEndpoints"
15841595
],
15851596
"description": "Properties of the Service Fabric Type Backend."
15861597
},

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementCreateBackendServiceFabric.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"managementEndpoints": [
1616
"https://somecluster.com"
1717
],
18-
"clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6",
18+
"clientCertificateId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/cert1",
1919
"serverX509Names": [
2020
{
2121
"name": "ServerCommonName1",
@@ -43,7 +43,7 @@
4343
"managementEndpoints": [
4444
"https://somecluster.com"
4545
],
46-
"clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6",
46+
"clientCertificateId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/cert1",
4747
"serverX509Names": [
4848
{
4949
"name": "ServerCommonName1",
@@ -70,7 +70,7 @@
7070
"managementEndpoints": [
7171
"https://somecluster.com"
7272
],
73-
"clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6",
73+
"clientCertificateId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/cert1",
7474
"serverX509Names": [
7575
{
7676
"name": "ServerCommonName1",

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementGetBackend.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"managementEndpoints": [
2222
"https://somecluster.com"
2323
],
24-
"clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6",
24+
"clientCertificateId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/cert1",
2525
"serverX509Names": [
2626
{
2727
"name": "ServerCommonName1",

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2020-06-01-preview/examples/ApiManagementListBackends.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"managementEndpoints": [
6161
"https://somecluster.com"
6262
],
63-
"clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6",
63+
"clientCertificateId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/certificates/cert1",
6464
"serverX509Names": [
6565
{
6666
"name": "ServerCommonName1",

0 commit comments

Comments
 (0)