[App Configuration] Support etag for kvset with new API version (#24119)
* Latest Preview API Version * Support etag for kvset with new API version * Change etag casing in response body * Add securityDefinitions, address comments * Remove x-nullable true
This commit is contained in:
Родитель
c5633e918a
Коммит
019af9a8a9
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"key": "Message"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kv+json",
|
||||
"ETag": "W/\"7XpB48ET4VAlB9068ft6fKMyA3m\"",
|
||||
"Last-Modified": "Tue, 27 Aug 2019 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"key": "Message",
|
||||
"If-Match": "\"L10qpBghN693OaxydgTkLmrBbV5\""
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kv+json",
|
||||
"ETag": "W/\"L10qpBghN693OaxydgTkLmrBbV5\"",
|
||||
"Last-Modified": "Tue, 27 Aug 2019 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"key": "Message",
|
||||
"If-None-Match": "L10qpBghN693OaxydgTkLmrBbV5"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kv+json",
|
||||
"ETag": "W/\"7XpB48ET4VAlB9068ft6fKMyA3m\"",
|
||||
"Last-Modified": "Tue, 27 Aug 2019 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kvset+json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"If-Match": "\"L10qpBghN693OaxydgTkLmrBbV5\""
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kvset+json",
|
||||
"ETag": "W/\"L10qpBghN693OaxydgTkLmrBbV5\""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"If-None-Match": "\"L10qpBghN693OaxydgTkLmrBbV5\""
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kvset+json",
|
||||
"ETag": "W/\"7XpB48ET4VAlB9068ft6fKMyA3m\""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.keyset+json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.labelset+json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kvset+json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"name": "Prod-2022-08-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.snapshot+json",
|
||||
"ETag": "W/\"4f6dd610dd5e4deebc7fbaef685fb903\"",
|
||||
"Last-Modified": "Tue, 01 Aug 2022 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763",
|
||||
"Link": "</kv?snapshot=Prod-2022-08-01?api-version={api-ver}>; rel=\"items\""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"name": "Prod-2022-08-01",
|
||||
"If-Match": "\"4f6dd610dd5e4deebc7fbaef685fb903\""
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.snapshot+json",
|
||||
"ETag": "W/\"4f6dd610dd5e4deebc7fbaef685fb903\"",
|
||||
"Last-Modified": "Tue, 01 Aug 2022 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763",
|
||||
"Link": "</kv?snapshot=Prod-2022-08-01?api-version={api-ver}>; rel=\"items\""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"name": "Prod-2022-08-01",
|
||||
"If-None-Match": "\"L10qpBghN693OaxydgTkLmrBbV5\""
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.snapshot+json",
|
||||
"ETag": "W/\"4f6dd610dd5e4deebc7fbaef685fb903\"",
|
||||
"Last-Modified": "Tue, 01 Aug 2022 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763",
|
||||
"Link": "</kv?snapshot=Prod-2022-08-01?api-version={api-ver}>; rel=\"items\""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.snapshotset+json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"name": "Prod-2022-08-01",
|
||||
"entity": {
|
||||
"filters": [
|
||||
{
|
||||
"key": "app1/*",
|
||||
"label": "Production"
|
||||
}
|
||||
],
|
||||
"retention_period": 3600
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"201": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.snapshot+json",
|
||||
"ETag": "W/\"4f6dd610dd5e4deebc7fbaef685fb903\"",
|
||||
"Last-Modified": "Tue, 01 Aug 2022 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763",
|
||||
"Operation-Location": "https://{exampleAppConfigurationName}.azconfig.io/operations?snapshot=Prod-2022-08-01&Api-Version=2023-05-01-preview"
|
||||
},
|
||||
"body": {
|
||||
"etag": "4f6dd610dd5e4deebc7fbaef685fb903",
|
||||
"name": "Prod-2022-08-01",
|
||||
"status": "provisioning",
|
||||
"filters": [
|
||||
{
|
||||
"key": "app1/*",
|
||||
"label": "Production"
|
||||
}
|
||||
],
|
||||
"composition_type": "all",
|
||||
"created": "2022-08-01T22:19:40+00:00",
|
||||
"size": 0,
|
||||
"items_count": 0,
|
||||
"retention_period": 3600,
|
||||
"tags": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"key": "Message"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kv+json",
|
||||
"ETag": "W/\"7XpB48ET4VAlB9068ft6fKMyA3m\"",
|
||||
"Last-Modified": "Tue, 27 Aug 2019 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763"
|
||||
},
|
||||
"body": {
|
||||
"etag": "7XpB48ET4VAlB9068ft6fKMyA3m",
|
||||
"key": "Message",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "Hello World!",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-08-27T16:52:32+00:00"
|
||||
}
|
||||
},
|
||||
"204": {}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"key": "Message",
|
||||
"If-Match": "\"L10qpBghN693OaxydgTkLmrBbV5\""
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kv+json",
|
||||
"ETag": "W/\"L10qpBghN693OaxydgTkLmrBbV5\"",
|
||||
"Last-Modified": "Tue, 27 Aug 2019 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763"
|
||||
},
|
||||
"body": {
|
||||
"etag": "L10qpBghN693OaxydgTkLmrBbV5",
|
||||
"key": "Message",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "Hello World!",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-08-27T16:52:32+00:00"
|
||||
}
|
||||
},
|
||||
"204": {}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"key": "Message"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kv+json",
|
||||
"ETag": "W/\"0BGYCoQ6iNdp5NtQ7N8shrobo6s\"",
|
||||
"Last-Modified": "Tue, 27 Aug 2019 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763"
|
||||
},
|
||||
"body": {
|
||||
"etag": "0BGYCoQ6iNdp5NtQ7N8shrobo6s",
|
||||
"key": "Message",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "Hello World!",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-08-27T16:52:32+00:00"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"key": "Message",
|
||||
"If-Match": "\"L10qpBghN693OaxydgTkLmrBbV5\""
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kv+json",
|
||||
"ETag": "W/\"L10qpBghN693OaxydgTkLmrBbV5\"",
|
||||
"Last-Modified": "Tue, 27 Aug 2019 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763"
|
||||
},
|
||||
"body": {
|
||||
"etag": "L10qpBghN693OaxydgTkLmrBbV5",
|
||||
"key": "Message",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "Hello World!",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-08-27T16:52:32+00:00"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"key": "Message"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kv+json",
|
||||
"ETag": "W/\"7XpB48ET4VAlB9068ft6fKMyA3m\"",
|
||||
"Last-Modified": "Tue, 27 Aug 2019 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763"
|
||||
},
|
||||
"body": {
|
||||
"etag": "7XpB48ET4VAlB9068ft6fKMyA3m",
|
||||
"key": "Message",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "Hello World!",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-08-27T16:52:32+00:00"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"key": "Message",
|
||||
"If-Match": "\"L10qpBghN693OaxydgTkLmrBbV5\""
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kv+json",
|
||||
"ETag": "W/\"L10qpBghN693OaxydgTkLmrBbV5\"",
|
||||
"Last-Modified": "Tue, 27 Aug 2019 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763"
|
||||
},
|
||||
"body": {
|
||||
"etag": "L10qpBghN693OaxydgTkLmrBbV5",
|
||||
"key": "Message",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "Hello World!",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-08-27T16:52:32+00:00"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"key": "Message",
|
||||
"If-None-Match": "L10qpBghN693OaxydgTkLmrBbV5"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kv+json",
|
||||
"ETag": "W/\"7XpB48ET4VAlB9068ft6fKMyA3m\"",
|
||||
"Last-Modified": "Tue, 27 Aug 2019 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763"
|
||||
},
|
||||
"body": {
|
||||
"etag": "7XpB48ET4VAlB9068ft6fKMyA3m",
|
||||
"key": "Message",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "Hello World!",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-08-27T16:52:32+00:00"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,57 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kvset+json"
|
||||
},
|
||||
"body": {
|
||||
"items": [
|
||||
{
|
||||
"etag": "CTgHR5UrDKNj2nsoGWDOipST9Pv",
|
||||
"key": "Background",
|
||||
"label": "Asset1",
|
||||
"content_type": null,
|
||||
"value": "blue",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-03-04T17:12:23+00:00"
|
||||
},
|
||||
{
|
||||
"etag": "UTSN1zePHbBQ0npbRB6elGRRuH7",
|
||||
"key": "MaxLogFiles",
|
||||
"label": "Asset1",
|
||||
"content_type": null,
|
||||
"value": "50",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-03-04T17:12:23+00:00"
|
||||
},
|
||||
{
|
||||
"etag": "7XpB48ET4VAlB9068ft6fKMyA3m",
|
||||
"key": "Message",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "Hello World",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-06-20T16:52:23+00:00"
|
||||
},
|
||||
{
|
||||
"etag": "fAFm4jkGNB1hsIr4o0S5hnhCCvY",
|
||||
"key": "WebDemo:Settings:BackgroundColor",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "blue",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-06-20T15:48:01+00:00"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,59 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"If-Match": "\"L10qpBghN693OaxydgTkLmrBbV5\""
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kvset+json",
|
||||
"ETag": "W/\"L10qpBghN693OaxydgTkLmrBbV5\""
|
||||
},
|
||||
"body": {
|
||||
"items": [
|
||||
{
|
||||
"etag": "CTgHR5UrDKNj2nsoGWDOipST9Pv",
|
||||
"key": "Background",
|
||||
"label": "Asset1",
|
||||
"content_type": null,
|
||||
"value": "blue",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-03-04T17:12:23+00:00"
|
||||
},
|
||||
{
|
||||
"etag": "UTSN1zePHbBQ0npbRB6elGRRuH7",
|
||||
"key": "MaxLogFiles",
|
||||
"label": "Asset1",
|
||||
"content_type": null,
|
||||
"value": "50",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-03-04T17:12:23+00:00"
|
||||
},
|
||||
{
|
||||
"etag": "7XpB48ET4VAlB9068ft6fKMyA3m",
|
||||
"key": "Message",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "Hello World",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-06-20T16:52:23+00:00"
|
||||
},
|
||||
{
|
||||
"etag": "fAFm4jkGNB1hsIr4o0S5hnhCCvY",
|
||||
"key": "WebDemo:Settings:BackgroundColor",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "blue",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-06-20T15:48:01+00:00"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,59 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"If-None-Match": "L10qpBghN693OaxydgTkLmrBbV5"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kvset+json",
|
||||
"ETag": "W/\"1PlB48ET4VAlB9068ft6fKMyA3m\""
|
||||
},
|
||||
"body": {
|
||||
"items": [
|
||||
{
|
||||
"etag": "CTgHR5UrDKNj2nsoGWDOipST9Pv",
|
||||
"key": "Background",
|
||||
"label": "Asset1",
|
||||
"content_type": null,
|
||||
"value": "blue",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-03-04T17:12:23+00:00"
|
||||
},
|
||||
{
|
||||
"etag": "UTSN1zePHbBQ0npbRB6elGRRuH7",
|
||||
"key": "MaxLogFiles",
|
||||
"label": "Asset1",
|
||||
"content_type": null,
|
||||
"value": "50",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-03-04T17:12:23+00:00"
|
||||
},
|
||||
{
|
||||
"etag": "7XpB48ET4VAlB9068ft6fKMyA3m",
|
||||
"key": "Message",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "Hello World",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-06-20T16:52:23+00:00"
|
||||
},
|
||||
{
|
||||
"etag": "fAFm4jkGNB1hsIr4o0S5hnhCCvY",
|
||||
"key": "WebDemo:Settings:BackgroundColor",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "blue",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-06-20T15:48:01+00:00"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.keyset+json"
|
||||
},
|
||||
"body": {
|
||||
"items": [
|
||||
{
|
||||
"name": "MaxRequests"
|
||||
},
|
||||
{
|
||||
"name": "RequestTimeout"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.labelset+json"
|
||||
},
|
||||
"body": {
|
||||
"items": [
|
||||
{
|
||||
"name": null
|
||||
},
|
||||
{
|
||||
"name": "Asset1"
|
||||
},
|
||||
{
|
||||
"name": "Asset1/devCi"
|
||||
},
|
||||
{
|
||||
"name": "Asset1/devCi/branch1"
|
||||
},
|
||||
{
|
||||
"name": "WestUs"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"snapshot": "Prod-2022-08-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/json; charset=utf-8",
|
||||
"Date": "Thu, 16 Mar 2023 23:14:44 GMT",
|
||||
"Retry-After": "10",
|
||||
"Sync-Token": "zAJw6V16=MDotMSMyNzM2OTA=;sn=273690"
|
||||
},
|
||||
"body": {
|
||||
"id": "4yghgV_8lJJ5t7_kxhMpsyNCyjmZE5Q6zU0pXOp7Jvs",
|
||||
"status": "Running",
|
||||
"error": null
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kvset+json"
|
||||
},
|
||||
"body": {
|
||||
"items": [
|
||||
{
|
||||
"etag": "0BGYCoQ6iNdp5NtQ7N8shrobo6s",
|
||||
"key": "Message",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "Hello World!",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-08-27T16:52:32+00:00"
|
||||
},
|
||||
{
|
||||
"etag": "L10qpBghN693OaxydgTkLmrBbV4",
|
||||
"key": "Message",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "A new message.",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-08-27T16:52:20+00:00"
|
||||
},
|
||||
{
|
||||
"etag": "tnIHBkDYQwtdNMLoWtr5aybkKwL",
|
||||
"key": "Message",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "Hello World!",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-08-27T16:50:47+00:00"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"name": "Prod-2022-08-01"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.snapshot+json",
|
||||
"ETag": "W/\"4f6dd610dd5e4deebc7fbaef685fb903\"",
|
||||
"Last-Modified": "Tue, 01 Aug 2022 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763",
|
||||
"Link": "</kv?snapshot=Prod-2022-08-01?api-version={api-ver}>; rel=\"items\""
|
||||
},
|
||||
"body": {
|
||||
"etag": "4f6dd610dd5e4deebc7fbaef685fb903",
|
||||
"name": "Prod-2022-08-01",
|
||||
"status": "ready",
|
||||
"filters": [
|
||||
{
|
||||
"key": "app1/*",
|
||||
"label": "Production"
|
||||
}
|
||||
],
|
||||
"composition_type": "all",
|
||||
"created": "2022-08-01T22:19:40+00:00",
|
||||
"size": 100000,
|
||||
"items_count": 71,
|
||||
"retention_period": 2592000,
|
||||
"tags": {
|
||||
"release": "{link/id}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"name": "Prod-2022-08-01",
|
||||
"If-Match": "\"4f6dd610dd5e4deebc7fbaef685fb903\""
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.snapshot+json",
|
||||
"ETag": "W/\"4f6dd610dd5e4deebc7fbaef685fb903\"",
|
||||
"Last-Modified": "Tue, 01 Aug 2022 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763",
|
||||
"Link": "</kv?snapshot=Prod-2022-08-01?api-version={api-ver}>; rel=\"items\""
|
||||
},
|
||||
"body": {
|
||||
"etag": "4f6dd610dd5e4deebc7fbaef685fb903",
|
||||
"name": "Prod-2022-08-01",
|
||||
"status": "failed",
|
||||
"filters": [
|
||||
{
|
||||
"key": "app1/*",
|
||||
"label": "Production"
|
||||
}
|
||||
],
|
||||
"composition_type": "all",
|
||||
"created": "2022-08-01T22:19:40+00:00",
|
||||
"size": 0,
|
||||
"items_count": 0,
|
||||
"retention_period": 2592000,
|
||||
"tags": {
|
||||
"release": "{link/id}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"name": "Prod-2022-08-01",
|
||||
"If-Match": "\"4f6dd610dd5e4deebc7fbaef685fb903\""
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.snapshot+json",
|
||||
"ETag": "W/\"4f6dd610dd5e4deebc7fbaef685fb903\"",
|
||||
"Last-Modified": "Tue, 01 Aug 2022 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763",
|
||||
"Link": "</kv?snapshot=Prod-2022-08-01?api-version={api-ver}>; rel=\"items\""
|
||||
},
|
||||
"body": {
|
||||
"etag": "4f6dd610dd5e4deebc7fbaef685fb903",
|
||||
"name": "Prod-2022-08-01",
|
||||
"status": "ready",
|
||||
"filters": [
|
||||
{
|
||||
"key": "app1/*",
|
||||
"label": "Production"
|
||||
}
|
||||
],
|
||||
"composition_type": "all",
|
||||
"created": "2022-08-01T22:19:40+00:00",
|
||||
"size": 100000,
|
||||
"items_count": 71,
|
||||
"retention_period": 2592000,
|
||||
"tags": {
|
||||
"release": "{link/id}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"name": "Prod-2022-08-01",
|
||||
"If-None-Match": "\"L10qpBghN693OaxydgTkLmrBbV5\""
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.snapshot+json",
|
||||
"ETag": "W/\"4f6dd610dd5e4deebc7fbaef685fb903\"",
|
||||
"Last-Modified": "Tue, 01 Aug 2022 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763",
|
||||
"Link": "</kv?snapshot=Prod-2022-08-01?api-version={api-ver}>; rel=\"items\""
|
||||
},
|
||||
"body": {
|
||||
"etag": "4f6dd610dd5e4deebc7fbaef685fb903",
|
||||
"name": "Prod-2022-08-01",
|
||||
"status": "ready",
|
||||
"filters": [
|
||||
{
|
||||
"key": "app1/*",
|
||||
"label": "Production"
|
||||
}
|
||||
],
|
||||
"composition_type": "all",
|
||||
"created": "2022-08-01T22:19:40+00:00",
|
||||
"size": 100000,
|
||||
"items_count": 71,
|
||||
"retention_period": 2592000,
|
||||
"tags": {
|
||||
"release": "{link/id}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.snapshotset+json"
|
||||
},
|
||||
"body": {
|
||||
"items": [
|
||||
{
|
||||
"etag": "4f6dd610dd5e4deebc7fbaef685fb903",
|
||||
"name": "Prod-2022-08-01",
|
||||
"status": "ready",
|
||||
"filters": [
|
||||
{
|
||||
"key": "app1/*",
|
||||
"label": "Production"
|
||||
}
|
||||
],
|
||||
"composition_type": "all",
|
||||
"created": "2022-08-01T22:19:40+00:00",
|
||||
"size": 100000,
|
||||
"items_count": 71,
|
||||
"retention_period": 2592000,
|
||||
"tags": {
|
||||
"release": "{link/id}"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"key": "Message"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kv+json",
|
||||
"ETag": "W/\"tnIHBkDYQwtdNMLoWtr5aybkKwL\"",
|
||||
"Last-Modified": "Tue, 27 Aug 2019 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763"
|
||||
},
|
||||
"body": {
|
||||
"etag": "tnIHBkDYQwtdNMLoWtr5aybkKwL",
|
||||
"key": "Message",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "Hello World!",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-08-27T16:52:32+00:00"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"key": "Message",
|
||||
"If-Match": "\"L10qpBghN693OaxydgTkLmrBbV5\""
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kv+json",
|
||||
"ETag": "W/\"L10qpBghN693OaxydgTkLmrBbV5\"",
|
||||
"Last-Modified": "Tue, 27 Aug 2019 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763"
|
||||
},
|
||||
"body": {
|
||||
"etag": "L10qpBghN693OaxydgTkLmrBbV5",
|
||||
"key": "Message",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "Hello World!",
|
||||
"tags": {},
|
||||
"locked": false,
|
||||
"last_modified": "2019-08-27T16:52:32+00:00"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"key": "Message"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kv+json",
|
||||
"ETag": "W/\"L10qpBghN693OaxydgTkLmrBbV4\"",
|
||||
"Last-Modified": "Tue, 27 Aug 2019 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763"
|
||||
},
|
||||
"body": {
|
||||
"etag": "L10qpBghN693OaxydgTkLmrBbV4",
|
||||
"key": "Message",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "Hello World!",
|
||||
"tags": {},
|
||||
"locked": true,
|
||||
"last_modified": "2019-08-27T16:52:32+00:00"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"key": "Message",
|
||||
"If-Match": "\"L10qpBghN693OaxydgTkLmrBbV5\""
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.kv+json",
|
||||
"ETag": "W/\"L10qpBghN693OaxydgTkLmrBbV5\"",
|
||||
"Last-Modified": "Tue, 27 Aug 2019 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763"
|
||||
},
|
||||
"body": {
|
||||
"etag": "L10qpBghN693OaxydgTkLmrBbV5",
|
||||
"key": "Message",
|
||||
"label": null,
|
||||
"content_type": null,
|
||||
"value": "Hello World!",
|
||||
"tags": {},
|
||||
"locked": true,
|
||||
"last_modified": "2019-08-27T16:52:32+00:00"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"name": "Prod-2022-08-01",
|
||||
"entity": {
|
||||
"status": "archived"
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.snapshot+json",
|
||||
"ETag": "W/\"4f6dd610dd5e4deebc7fbaef685fb903\"",
|
||||
"Last-Modified": "Tue, 01 Aug 2022 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763"
|
||||
},
|
||||
"body": {
|
||||
"etag": "4f6dd610dd5e4deebc7fbaef685fb903",
|
||||
"name": "Prod-2022-08-01",
|
||||
"status": "archived",
|
||||
"filters": [
|
||||
{
|
||||
"key": "app1/*",
|
||||
"label": "Production"
|
||||
}
|
||||
],
|
||||
"composition_type": "all",
|
||||
"created": "2022-08-01T22:19:40+00:00",
|
||||
"expires": "2022-09-01T22:19:40+00:00",
|
||||
"size": 10000,
|
||||
"items_count": 70,
|
||||
"retention_period": 2592000,
|
||||
"tags": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"parameters": {
|
||||
"endpoint": "https://{exampleAppConfigurationName}.azconfig.io",
|
||||
"api-version": "2023-05-01-preview",
|
||||
"name": "Prod-2022-08-01",
|
||||
"entity": {
|
||||
"status": "archived"
|
||||
},
|
||||
"If-Match": "\"4f6dd610dd5e4deebc7fbaef685fb903\""
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"headers": {
|
||||
"Content-Type": "application/vnd.microsoft.appconfig.snapshot+json",
|
||||
"ETag": "W/\"4f6dd610dd5e4deebc7fbaef685fb903\"",
|
||||
"Last-Modified": "Tue, 01 Aug 2022 16:52:32 GMT",
|
||||
"Sync-Token": "zAJw6V16=NjotMSM3ODk3NjM=;sn=789763"
|
||||
},
|
||||
"body": {
|
||||
"etag": "4f6dd610dd5e4deebc7fbaef685fb903",
|
||||
"name": "Prod-2022-08-01",
|
||||
"status": "archived",
|
||||
"filters": [
|
||||
{
|
||||
"key": "app1/*",
|
||||
"label": "Production"
|
||||
}
|
||||
],
|
||||
"composition_type": "all",
|
||||
"created": "2022-08-01T22:19:40+00:00",
|
||||
"expires": "2022-09-01T22:19:40+00:00",
|
||||
"size": 10000,
|
||||
"items_count": 70,
|
||||
"retention_period": 2592000,
|
||||
"tags": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -29,6 +29,15 @@ openapi-type: data-plane
|
|||
tag: package-1-0
|
||||
```
|
||||
|
||||
### Tag: package-2023-05-01-preview
|
||||
|
||||
These settings apply only when `--tag=package-2023-05-01-preview` is specified on the command line.
|
||||
|
||||
``` yaml $(tag) == 'package-2023-05-01-preview'
|
||||
input-file:
|
||||
- Microsoft.AppConfiguration/preview/2023-05-01-preview/appconfiguration.json
|
||||
```
|
||||
|
||||
### Tag: package-2022-11-01-preview
|
||||
|
||||
These settings apply only when `--tag=package-2022-11-01-preview` is specified on the command line.
|
||||
|
|
Загрузка…
Ссылка в новой задаче