Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
54ffc30
Add loggers to workspaces
Mielek Jan 5, 2024
614f6fb
Add diagnostics to workspace
Mielek Jan 5, 2024
32fc612
Add certificates to workspace
Mielek Jan 5, 2024
6e05a59
Add backends to workspaces
Mielek Jan 5, 2024
0639024
Change DiagnosticContract to DiagnosticContractProperties in patch
Mielek Jan 9, 2024
b767af9
Revert back DiagnosticContractProperties to DiagnosticContract
Mielek Jan 12, 2024
430c957
Fix CI and add files to readme
Mielek Jan 24, 2024
66090f3
Fix example
Mielek Jan 24, 2024
b648334
remove reconnect endpoint
Mielek Jan 30, 2024
97fda66
Add suppressions
Mielek Jan 30, 2024
bb23346
Try different suppression where
Mielek Jan 31, 2024
3618545
Try different suppression
Mielek Jan 31, 2024
40e6fca
Try other suppression
Mielek Feb 12, 2024
2fa31e4
another test
Mielek Feb 12, 2024
c1da7e0
finally working suppression
Mielek Feb 12, 2024
44f945f
remove unwanted line
Mielek Feb 12, 2024
5564779
Revert "remove reconnect endpoint"
Mielek Mar 15, 2024
c26f980
Remove reconnect endpoint
Mielek Mar 15, 2024
ba5b2cb
fix
Mielek Mar 15, 2024
4319100
Lint fix
Mielek Mar 15, 2024
56b8042
Revert "Lint fix"
Mielek Mar 15, 2024
94722ec
Suppress
Mielek Mar 20, 2024
0234c93
Suppression update
Mielek Mar 20, 2024
9d17f90
Add diagnostic update contract
Mielek Mar 20, 2024
3d3497c
update suppression
Mielek Mar 20, 2024
4a8917c
suppression update
Mielek Mar 20, 2024
d42ffc4
supp
Mielek Mar 20, 2024
efd077c
supp2
Mielek Mar 20, 2024
52851d5
supp3
Mielek Mar 20, 2024
97267b3
Fix breaking change
Mielek Mar 20, 2024
fe03958
revert
Mielek Mar 21, 2024
7b762c6
update
Mielek Mar 21, 2024
283abfb
Merge branch 'release-ApiManagement-2023-09-01-preview' into rm/2023-…
Mielek Mar 21, 2024
48378b2
I hope last fix
Mielek Mar 22, 2024
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

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
"api-version": "2023-09-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"workspaceId": "wks1",
"loggerId": "loggerId",
"parameters": {
"properties": {
"loggerType": "applicationInsights",
"description": "adding a new logger",
"credentials": {
"instrumentationKey": "11................a1"
}
}
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/workspaces/wks1/loggers/loggerId",
"type": "Microsoft.ApiManagement/service/workspaces/loggers",
"name": "loggerId",
"properties": {
"loggerType": "applicationInsights",
"description": null,
"credentials": {
"instrumentationKey": "{{5a.......2a}}"
},
"isBuffered": false,
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/microsoft.insights/components/airesource"
}
}
},
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/workspaces/wks1/loggers/loggerId",
"type": "Microsoft.ApiManagement/service/workspaces/loggers",
"name": "loggerId",
"properties": {
"loggerType": "applicationInsights",
"description": null,
"credentials": {
"instrumentationKey": "{{5a.......2a}}"
},
"isBuffered": false
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
{
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
"api-version": "2023-09-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"workspaceId": "wks1",
"diagnosticId": "applicationinsights",
"apiId": "57d1f7558aa04f15146d9d8a",
"parameters": {
"properties": {
"alwaysLog": "allErrors",
"loggerId": "/workspaces/wks1/loggers/applicationinsights",
"sampling": {
"samplingType": "fixed",
"percentage": 50
},
"frontend": {
"request": {
"headers": [
"Content-type"
],
"body": {
"bytes": 512
}
},
"response": {
"headers": [
"Content-type"
],
"body": {
"bytes": 512
}
}
},
"backend": {
"request": {
"headers": [
"Content-type"
],
"body": {
"bytes": 512
}
},
"response": {
"headers": [
"Content-type"
],
"body": {
"bytes": 512
}
}
}
}
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/workspaces/wks1/apis/57d1f7558aa04f15146d9d8a/diagnostics/applicationinsights",
"type": "Microsoft.ApiManagement/service/workspaces/apis/diagnostics",
"name": "applicationinsights",
"properties": {
"alwaysLog": "allErrors",
"loggerId": "/workspaces/wks1/loggers/applicationinsights",
"sampling": {
"samplingType": "fixed",
"percentage": 50
},
"frontend": {
"request": {
"headers": [
"Content-type"
],
"body": {
"bytes": 512
}
},
"response": {
"headers": [
"Content-type"
],
"body": {
"bytes": 512
}
}
},
"backend": {
"request": {
"headers": [
"Content-type"
],
"body": {
"bytes": 512
}
},
"response": {
"headers": [
"Content-type"
],
"body": {
"bytes": 512
}
}
}
}
}
},
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/workspaces/wks1/apis/57d1f7558aa04f15146d9d8a/diagnostics/applicationinsights",
"type": "Microsoft.ApiManagement/service/workspaces/apis/diagnostics",
"name": "applicationinsights",
"properties": {
"alwaysLog": "allErrors",
"loggerId": "/workspaces/wks1/loggers/applicationinsights",
"sampling": {
"samplingType": "fixed",
"percentage": 50
},
"frontend": {
"request": {
"headers": [
"Content-type"
],
"body": {
"bytes": 512
}
},
"response": {
"headers": [
"Content-type"
],
"body": {
"bytes": 512
}
}
},
"backend": {
"request": {
"headers": [
"Content-type"
],
"body": {
"bytes": 512
}
},
"response": {
"headers": [
"Content-type"
],
"body": {
"bytes": 512
}
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
{
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
"api-version": "2023-09-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"workspaceId": "wks1",
"backendId": "proxybackend",
"parameters": {
"properties": {
"description": "description5308",
"url": "https://backendname2644/",
"protocol": "http",
"tls": {
"validateCertificateChain": true,
"validateCertificateName": true
},
"proxy": {
"url": "http://192.168.1.1:8080",
"username": "Contoso\\admin",
"password": "<password>"
},
"credentials": {
"query": {
"sv": [
"xx",
"bb",
"cc"
]
},
"header": {
"x-my-1": [
"val1",
"val2"
]
},
"authorization": {
"scheme": "Basic",
"parameter": "opensesma"
}
}
}
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/workspaces/wks1/backends/proxybackend",
"type": "Microsoft.ApiManagement/service/workspaces/backends",
"name": "proxybackend",
"properties": {
"description": "description5308",
"url": "https://backendname2644/",
"protocol": "http",
"credentials": {
"query": {
"sv": [
"xx",
"bb",
"cc"
]
},
"header": {
"x-my-1": [
"val1",
"val2"
]
},
"authorization": {
"scheme": "Basic",
"parameter": "opensesma"
}
},
"proxy": {
"url": "http://192.168.1.1:8080",
"username": "Contoso\\admin",
"password": "<password>"
},
"tls": {
"validateCertificateChain": false,
"validateCertificateName": false
}
}
}
},
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/workspaces/wks1/backends/proxybackend",
"type": "Microsoft.ApiManagement/service/workspaces/backends",
"name": "proxybackend",
"properties": {
"description": "description5308",
"url": "https://backendname2644/",
"protocol": "http",
"credentials": {
"query": {
"sv": [
"xx",
"bb",
"cc"
]
},
"header": {
"x-my-1": [
"val1",
"val2"
]
},
"authorization": {
"scheme": "Basic",
"parameter": "opensesma"
}
},
"proxy": {
"url": "http://192.168.1.1:8080",
"username": "Contoso\\admin",
"password": "<password>"
},
"tls": {
"validateCertificateChain": false,
"validateCertificateName": false
}
}
}
}
}
}
Loading