diff --git a/eng/azure-typespec-http-client-csharp-emitter-package-lock.json b/eng/azure-typespec-http-client-csharp-emitter-package-lock.json index 0b3b68b9dc2d..43d826552e36 100644 --- a/eng/azure-typespec-http-client-csharp-emitter-package-lock.json +++ b/eng/azure-typespec-http-client-csharp-emitter-package-lock.json @@ -5,38 +5,38 @@ "packages": { "": { "dependencies": { - "@azure-typespec/http-client-csharp": "1.0.0-alpha.20250805.1" + "@azure-typespec/http-client-csharp": "1.0.0-alpha.20250807.1" }, "devDependencies": { - "@azure-tools/typespec-azure-core": "0.57.0", - "@azure-tools/typespec-azure-resource-manager": "0.57.0", - "@azure-tools/typespec-azure-rulesets": "0.57.0", - "@azure-tools/typespec-client-generator-core": "0.57.1", - "@typespec/compiler": "1.1.0", - "@typespec/http": "1.1.0", - "@typespec/openapi": "1.1.0", - "@typespec/rest": "0.71.0", - "@typespec/versioning": "0.71.0" + "@azure-tools/typespec-azure-core": "0.59.0", + "@azure-tools/typespec-azure-resource-manager": "0.59.0", + "@azure-tools/typespec-azure-rulesets": "0.59.0", + "@azure-tools/typespec-client-generator-core": "0.59.0", + "@typespec/compiler": "1.3.0", + "@typespec/http": "1.3.0", + "@typespec/openapi": "1.3.0", + "@typespec/rest": "0.73.0", + "@typespec/versioning": "0.73.0" } }, "node_modules/@azure-tools/typespec-azure-core": { - "version": "0.57.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.57.0.tgz", - "integrity": "sha512-O+F3axrJOJHjYGrQLRWoydHtWjWiXeAlaaILncS0I0xe6kinyFkpn7VIVKxH9ZZ+hPmkDAZybO53656R3PRfUA==", + "version": "0.59.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.59.0.tgz", + "integrity": "sha512-3vTWDTSR+P0qeyFcOKTgXortNOeA3nsyKTPpZqfFZVTtNFiiO17UWAM2Eg3i0IpNQ3qxMMAksIkwt1bqltTDqA==", "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.1.0", - "@typespec/http": "^1.1.0", - "@typespec/rest": "^0.71.0" + "@typespec/compiler": "^1.3.0", + "@typespec/http": "^1.3.0", + "@typespec/rest": "^0.73.0" } }, "node_modules/@azure-tools/typespec-azure-resource-manager": { - "version": "0.57.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.57.0.tgz", - "integrity": "sha512-KWDEzPTt6ifRjiUiugLyLUiGSSyQLoXxLmz/wpfmxIfvFK5oM0UL+l7K8eC5dob993r2LQvp/2c8EJugeAZ4Ug==", + "version": "0.59.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.59.0.tgz", + "integrity": "sha512-q0UkBnwWE4+9ivAkwAOOrDF9kvSb+qRIvMXJdUlqGfwFqDkOvQFwHSzSDeL/mBNK2fB9NIePKPFjDGP9lpC0vQ==", "dev": true, "license": "MIT", "dependencies": { @@ -47,63 +47,63 @@ "node": ">=20.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "^0.57.0", - "@typespec/compiler": "^1.1.0", - "@typespec/http": "^1.1.0", - "@typespec/openapi": "^1.1.0", - "@typespec/rest": "^0.71.0", - "@typespec/versioning": "^0.71.0" + "@azure-tools/typespec-azure-core": "^0.59.0", + "@typespec/compiler": "^1.3.0", + "@typespec/http": "^1.3.0", + "@typespec/openapi": "^1.3.0", + "@typespec/rest": "^0.73.0", + "@typespec/versioning": "^0.73.0" } }, "node_modules/@azure-tools/typespec-azure-rulesets": { - "version": "0.57.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-rulesets/-/typespec-azure-rulesets-0.57.0.tgz", - "integrity": "sha512-O3Qw/RFIkNoJCWfwbg57hmj/GtnfNg3ZpBG6qCrSJSJLt6XG6EZ3yWujCqjx17nOsvAwB/J1+f/t/pFizQhWaw==", + "version": "0.59.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-rulesets/-/typespec-azure-rulesets-0.59.0.tgz", + "integrity": "sha512-+eKYH25ptj6SZHT+/YfxrX+g6HMAQQTphmHmqOoRCbbfPaE8l855OaDrwEgh5NDLV8WXnHpzTNI0dsYipEp10g==", "dev": true, "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "^0.57.0", - "@azure-tools/typespec-azure-resource-manager": "^0.57.0", - "@azure-tools/typespec-client-generator-core": "^0.57.0", - "@typespec/compiler": "^1.1.0" + "@azure-tools/typespec-azure-core": "^0.59.0", + "@azure-tools/typespec-azure-resource-manager": "^0.59.0", + "@azure-tools/typespec-client-generator-core": "^0.59.0", + "@typespec/compiler": "^1.3.0" } }, "node_modules/@azure-tools/typespec-client-generator-core": { - "version": "0.57.1", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.57.1.tgz", - "integrity": "sha512-R91xwSVDQrAf7wk/u2aJDz/zthGjp+RpziVbFeg4+u4BdPP1+fY4WwXCb3wG4fF8GdlkvYZAE0q+HVPsu15gYg==", + "version": "0.59.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.59.0.tgz", + "integrity": "sha512-5+pVcOr7Uyq4IaZ3oLjLi8jnBuR+t/B8hQF4CZo+goe/uK+WkmDfw1TlY14G2ve7W7v8m9+Sk2nil6bN1uHWEQ==", "license": "MIT", "dependencies": { "change-case": "~5.4.4", "pluralize": "^8.0.0", - "yaml": "~2.7.0" + "yaml": "~2.8.0" }, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "^0.57.0", - "@typespec/compiler": "^1.1.0", - "@typespec/events": "^0.71.0", - "@typespec/http": "^1.1.0", - "@typespec/openapi": "^1.1.0", - "@typespec/rest": "^0.71.0", - "@typespec/sse": "^0.71.0", - "@typespec/streams": "^0.71.0", - "@typespec/versioning": "^0.71.0", - "@typespec/xml": "^0.71.0" + "@azure-tools/typespec-azure-core": "^0.59.0", + "@typespec/compiler": "^1.3.0", + "@typespec/events": "^0.73.0", + "@typespec/http": "^1.3.0", + "@typespec/openapi": "^1.3.0", + "@typespec/rest": "^0.73.0", + "@typespec/sse": "^0.73.0", + "@typespec/streams": "^0.73.0", + "@typespec/versioning": "^0.73.0", + "@typespec/xml": "^0.73.0" } }, "node_modules/@azure-typespec/http-client-csharp": { - "version": "1.0.0-alpha.20250805.1", - "resolved": "https://registry.npmjs.org/@azure-typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20250805.1.tgz", - "integrity": "sha512-pt1jN760zx01NMLV1nxeln0bhvuO6sSCUxSCQexIaqP2PcD1wpNUaboqINA6qZEtlrNshuSjgTRhtUYpBsZuCQ==", + "version": "1.0.0-alpha.20250807.1", + "resolved": "https://registry.npmjs.org/@azure-typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20250807.1.tgz", + "integrity": "sha512-k/KYC6QgT3HFKTglAtMODxThuzTq4xnNmJwDVhgSTpM991iTeexaqTyvWR6I2eZ8153hEzDGpj6Eo9ckEG+P/w==", "license": "MIT", "dependencies": { - "@typespec/http-client-csharp": "1.0.0-alpha.20250731.2" + "@typespec/http-client-csharp": "1.0.0-alpha.20250807.4" } }, "node_modules/@babel/code-frame": { @@ -493,9 +493,9 @@ } }, "node_modules/@typespec/compiler": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-1.1.0.tgz", - "integrity": "sha512-dtwosIqd2UUEEIVBR+oDiUtN4n1lP8/9GxQVno+wbkijQgKDj4Hg0Vaq6HG4BduF7RptDdtzkdGQCS9CgOIdRA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-1.3.0.tgz", + "integrity": "sha512-OqpoNP3C2y8riA6C5RofPMvmj9jNiGyyhde0tM2ZE7IBOv7BBaTDqw4CJD22YnC8JEilRfPmvdVCViNrPHEjrA==", "license": "MIT", "dependencies": { "@babel/code-frame": "~7.27.1", @@ -507,14 +507,14 @@ "is-unicode-supported": "^2.1.0", "mustache": "~4.2.0", "picocolors": "~1.1.1", - "prettier": "~3.5.3", + "prettier": "~3.6.2", "semver": "^7.7.1", "tar": "^7.4.3", "temporal-polyfill": "^0.3.0", "vscode-languageserver": "~9.0.1", "vscode-languageserver-textdocument": "~1.0.12", - "yaml": "~2.7.0", - "yargs": "~17.7.2" + "yaml": "~2.8.0", + "yargs": "~18.0.0" }, "bin": { "tsp": "cmd/tsp.js", @@ -525,29 +525,29 @@ } }, "node_modules/@typespec/events": { - "version": "0.71.0", - "resolved": "https://registry.npmjs.org/@typespec/events/-/events-0.71.0.tgz", - "integrity": "sha512-dJeyqBGqTTSlFDVWpdqeMjDpEyRmenH3yDABK3T/30MrO94sdXigxmeBnPCcOaaqst6pV3anFuKwfAqEN3GnbA==", + "version": "0.73.0", + "resolved": "https://registry.npmjs.org/@typespec/events/-/events-0.73.0.tgz", + "integrity": "sha512-etlhp86amDaElD/UX27u9I4O58zREov73HkkV3xbdTWpv2RqOKyD3mkyGAWsW3hKaGVIxwHOvKcOZ2j+b07Gpw==", "license": "MIT", "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.1.0" + "@typespec/compiler": "^1.3.0" } }, "node_modules/@typespec/http": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@typespec/http/-/http-1.1.0.tgz", - "integrity": "sha512-1doVGmkv3N8l57fVuci4jGMZ61EZBlDzuNZO2b9o0+mexCOs/P96CIpFkaNVvTQgjpyFsW1DlXiUKAvUC9zQfg==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@typespec/http/-/http-1.3.0.tgz", + "integrity": "sha512-4W3KsmBHZGgECVbvyh7S7KQG06948XyVVzae+UbVDDxoUj/x4Ry0AXw3q4HmzB2BVhxw6JBrwBuVa5mxjVMzdw==", "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.1.0", - "@typespec/streams": "^0.71.0" + "@typespec/compiler": "^1.3.0", + "@typespec/streams": "^0.73.0" }, "peerDependenciesMeta": { "@typespec/streams": { @@ -556,98 +556,99 @@ } }, "node_modules/@typespec/http-client-csharp": { - "version": "1.0.0-alpha.20250731.2", - "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20250731.2.tgz", - "integrity": "sha512-Y6AWPpIt1PE2C0YNXhyAbJ740yDYxPPmCWmXd5XxgikejWyTNH80AhAdMcfbfku/mcvW2N/3vhLThWReusgdow==", + "version": "1.0.0-alpha.20250807.4", + "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20250807.4.tgz", + "integrity": "sha512-pfm133lkX4A9NUsporBS76/N7QvJfZx4jhPEUbTt6KIyXtoGamXdHqg1q1CaTgaukjO9IVFAdqCoLs2/qY+zQw==", "license": "MIT", "peerDependencies": { - "@azure-tools/typespec-azure-core": ">=0.57.0 <0.58.0 || ~0.58.0-0", - "@azure-tools/typespec-client-generator-core": ">=0.57.0 <0.58.0 || ~0.58.0-0", - "@typespec/compiler": "^1.1.0", - "@typespec/http": "^1.1.0", - "@typespec/openapi": "^1.1.0", - "@typespec/rest": ">=0.71.0 <0.72.0 || ~0.72.0-0", - "@typespec/versioning": ">=0.71.0 <0.72.0 || ~0.72.0-0" + "@azure-tools/typespec-azure-core": ">=0.59.0 <0.60.0 || ~0.60.0-0", + "@azure-tools/typespec-client-generator-core": ">=0.59.0 <0.60.0 || ~0.60.0-0", + "@typespec/compiler": "^1.3.0", + "@typespec/http": "^1.3.0", + "@typespec/openapi": "^1.3.0", + "@typespec/rest": ">=0.73.0 <0.74.0 || ~0.74.0-0", + "@typespec/streams": ">=0.73.0 <0.74.0 || ~0.74.0-0", + "@typespec/versioning": ">=0.73.0 <0.74.0 || ~0.74.0-0" } }, "node_modules/@typespec/openapi": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-1.1.0.tgz", - "integrity": "sha512-HPvrpSS7eSVk3fEkWndcDTrAZssWRYv3FyDTqVqljildc7FAiXdo88+r5CCK8endmgIrES7uJdHLkcIGUZx1pg==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-1.3.0.tgz", + "integrity": "sha512-BSeshjCZQodVGyVHn7ytcUeIcUGjqbG2Ac0NLOQaaKnISVrhTWNcgo5aFTqxAa24ZL/EuhqlSauLyYce2EV9fw==", "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.1.0", - "@typespec/http": "^1.1.0" + "@typespec/compiler": "^1.3.0", + "@typespec/http": "^1.3.0" } }, "node_modules/@typespec/rest": { - "version": "0.71.0", - "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.71.0.tgz", - "integrity": "sha512-5qX+nWO5Jx4P1iTTT2REgdCtHsTMjlv/gL90u8cO1ih3yHDtf18a41UL6jSYaVUIvIj6rlmrgopActf0FhhUcw==", + "version": "0.73.0", + "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.73.0.tgz", + "integrity": "sha512-28hgFGvreBg34Xuguw+E++pQC/kbRxy1Bpx/9nU7x87Ly6ykns3lpx74gjY9ByE8VYKVbXtC7lzdnp19DRSjIQ==", "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.1.0", - "@typespec/http": "^1.1.0" + "@typespec/compiler": "^1.3.0", + "@typespec/http": "^1.3.0" } }, "node_modules/@typespec/sse": { - "version": "0.71.0", - "resolved": "https://registry.npmjs.org/@typespec/sse/-/sse-0.71.0.tgz", - "integrity": "sha512-4lAwDMj8h/50s6zp/8IX8CLW+H3P+od5O32Bb8+fyTabEo7+H3PbdBbIJGv9Sj7+l8+bZXsyfRXa+aJxR9o2ZA==", + "version": "0.73.0", + "resolved": "https://registry.npmjs.org/@typespec/sse/-/sse-0.73.0.tgz", + "integrity": "sha512-WTnRJ1b1M3RPzlHxhnK9sh6+AGKPKWpuA0TSAqzyxb/uRHFYLNeoDKPOnlQ749SJ8lJz71Oh0nUsP3vB0EzO6Q==", "license": "MIT", "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.1.0", - "@typespec/events": "^0.71.0", - "@typespec/http": "^1.1.0", - "@typespec/streams": "^0.71.0" + "@typespec/compiler": "^1.3.0", + "@typespec/events": "^0.73.0", + "@typespec/http": "^1.3.0", + "@typespec/streams": "^0.73.0" } }, "node_modules/@typespec/streams": { - "version": "0.71.0", - "resolved": "https://registry.npmjs.org/@typespec/streams/-/streams-0.71.0.tgz", - "integrity": "sha512-ofyAcg8GnO6uTffGo00D6MMfRkqie4QtnUUSGNC1Bam2WG+wkeSG/huP0WNRT8GofzK1N0M6QqQwAW/vdq9ymQ==", + "version": "0.73.0", + "resolved": "https://registry.npmjs.org/@typespec/streams/-/streams-0.73.0.tgz", + "integrity": "sha512-pL4xffHXEIhBQKPlB9L4AKuM0bn44WsGKjnz91wa6wBtP/CbsPrGQicof0Z7GPGdddtDi4G8PWGmJtVFw53V9g==", "license": "MIT", "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.1.0" + "@typespec/compiler": "^1.3.0" } }, "node_modules/@typespec/versioning": { - "version": "0.71.0", - "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.71.0.tgz", - "integrity": "sha512-8qknFLOpZTVzQ+SveXg9G7WJV8P80yxLlj0nOc3ZLBKiPgM6FF7vGWHRNtnh7s3gSXvWyxopaJ9fZSLZSJmbww==", + "version": "0.73.0", + "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.73.0.tgz", + "integrity": "sha512-cfFvzTsvsu4VpdwZcRULr3p/fawKZnjiJClQxlLcYW0dLs/5k5jh7l0YyPkYvgkOcncUrIB6hIu82tQhKrMDKQ==", "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.1.0" + "@typespec/compiler": "^1.3.0" } }, "node_modules/@typespec/xml": { - "version": "0.71.0", - "resolved": "https://registry.npmjs.org/@typespec/xml/-/xml-0.71.0.tgz", - "integrity": "sha512-IcBM4fd5li+hfaUoxeiFrUJx+gCGwIJ+LojdbAZPP3Kbdv12RS+8+CHH6d9qGV3qExgWGCny6WDUrUIaVCLonw==", + "version": "0.73.0", + "resolved": "https://registry.npmjs.org/@typespec/xml/-/xml-0.73.0.tgz", + "integrity": "sha512-vlMM8/L22O/PbI3ovj3qoww/3Z8wNwn7og4jzlGRM93jZBJvrOeDSwZo1Dc4rMJyU6KfjPkP3/l5TLbgW8x0zA==", "license": "MIT", "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.1.0" + "@typespec/compiler": "^1.3.0" } }, "node_modules/ajv": { @@ -748,31 +749,93 @@ } }, "node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", + "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", "license": "ISC", "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" + "string-width": "^7.2.0", + "strip-ansi": "^7.1.0", + "wrap-ansi": "^9.0.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/cliui/node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/cliui/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/cliui/node_modules/emoji-regex": { + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.4.0.tgz", + "integrity": "sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==", + "license": "MIT" + }, + "node_modules/cliui/node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" }, "engines": { "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, "node_modules/cliui/node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", + "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", "license": "MIT", "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" }, "engines": { - "node": ">=10" + "node": ">=18" }, "funding": { "url": "https://github.com/chalk/wrap-ansi?sponsor=1" @@ -905,6 +968,18 @@ "node": "6.* || 8.* || >= 10.*" } }, + "node_modules/get-east-asian-width": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.3.0.tgz", + "integrity": "sha512-vpeMIQKxczTD/0s2CdEWHcb0eeJe6TFjxb+J5xgX7hScxqrGuyjmv4c1D4A/gelKfyox0gJJwIHF+fLjeaM8kQ==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/glob-parent": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", @@ -1146,9 +1221,9 @@ } }, "node_modules/prettier": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz", - "integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz", + "integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==", "license": "MIT", "bin": { "prettier": "bin/prettier.cjs" @@ -1180,15 +1255,6 @@ ], "license": "MIT" }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/require-from-string": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", @@ -1455,42 +1521,91 @@ } }, "node_modules/yaml": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.1.tgz", - "integrity": "sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ==", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.1.tgz", + "integrity": "sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==", "license": "ISC", "bin": { "yaml": "bin.mjs" }, "engines": { - "node": ">= 14" + "node": ">= 14.6" } }, "node_modules/yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.0.0.tgz", + "integrity": "sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==", "license": "MIT", "dependencies": { - "cliui": "^8.0.1", + "cliui": "^9.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", + "string-width": "^7.2.0", "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" + "yargs-parser": "^22.0.0" }, "engines": { - "node": ">=12" + "node": "^20.19.0 || ^22.12.0 || >=23" } }, "node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", + "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", "license": "ISC", + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=23" + } + }, + "node_modules/yargs/node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "license": "MIT", "engines": { "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/yargs/node_modules/emoji-regex": { + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.4.0.tgz", + "integrity": "sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==", + "license": "MIT" + }, + "node_modules/yargs/node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yargs/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, "node_modules/yoctocolors-cjs": { diff --git a/eng/azure-typespec-http-client-csharp-emitter-package.json b/eng/azure-typespec-http-client-csharp-emitter-package.json index ed3bed2a21d6..80cf52824342 100644 --- a/eng/azure-typespec-http-client-csharp-emitter-package.json +++ b/eng/azure-typespec-http-client-csharp-emitter-package.json @@ -1,17 +1,17 @@ { "main": "dist/src/index.js", "dependencies": { - "@azure-typespec/http-client-csharp": "1.0.0-alpha.20250805.1" + "@azure-typespec/http-client-csharp": "1.0.0-alpha.20250807.1" }, "devDependencies": { - "@azure-tools/typespec-azure-core": "0.57.0", - "@azure-tools/typespec-azure-resource-manager": "0.57.0", - "@azure-tools/typespec-azure-rulesets": "0.57.0", - "@azure-tools/typespec-client-generator-core": "0.57.1", - "@typespec/compiler": "1.1.0", - "@typespec/http": "1.1.0", - "@typespec/openapi": "1.1.0", - "@typespec/rest": "0.71.0", - "@typespec/versioning": "0.71.0" + "@azure-tools/typespec-azure-core": "0.59.0", + "@azure-tools/typespec-azure-resource-manager": "0.59.0", + "@azure-tools/typespec-azure-rulesets": "0.59.0", + "@azure-tools/typespec-client-generator-core": "0.59.0", + "@typespec/compiler": "1.3.0", + "@typespec/http": "1.3.0", + "@typespec/openapi": "1.3.0", + "@typespec/rest": "0.73.0", + "@typespec/versioning": "0.73.0" } } \ No newline at end of file diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/Configuration.json b/sdk/appconfiguration/Azure.Data.AppConfiguration/Configuration.json new file mode 100644 index 000000000000..c17da610cf23 --- /dev/null +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/Configuration.json @@ -0,0 +1,12 @@ +{ + "package-name": "Azure.Data.AppConfiguration", + "namespace": "Azure.Data.AppConfiguration", + "model-namespace": false, + "license": { + "name": "MIT License", + "company": "Microsoft Corporation", + "link": "https://mit-license.org", + "header": "Copyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the MIT License.", + "description": "Copyright (c) Microsoft Corporation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the “Software”), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE." + } +} diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tspCodeModel.json b/sdk/appconfiguration/Azure.Data.AppConfiguration/tspCodeModel.json new file mode 100644 index 000000000000..14c1719a9236 --- /dev/null +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tspCodeModel.json @@ -0,0 +1,17607 @@ +{ + "name": "Azure.Data.AppConfiguration", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "enums": [ + { + "$id": "1", + "kind": "enum", + "name": "GetKeysResponseContentType", + "crossLanguageDefinitionId": "AzureAppConfiguration.getKeys.ResponseContentType.anonymous", + "valueType": { + "$id": "2", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "3", + "kind": "enumvalue", + "name": "application/vnd.microsoft.appconfig.keyset+json", + "value": "application/vnd.microsoft.appconfig.keyset+json", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "decorators": [] + }, + { + "$id": "4", + "kind": "enumvalue", + "name": "application/problem+json", + "value": "application/problem+json", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "isFixed": true, + "isFlags": false, + "usage": "Output", + "decorators": [] + }, + { + "$id": "5", + "kind": "enum", + "name": "KeyValueFields", + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFields", + "valueType": { + "$id": "6", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "7", + "kind": "enumvalue", + "name": "key", + "value": "key", + "valueType": { + "$ref": "6" + }, + "enumType": { + "$ref": "5" + }, + "doc": "Key field.", + "decorators": [] + }, + { + "$id": "8", + "kind": "enumvalue", + "name": "label", + "value": "label", + "valueType": { + "$ref": "6" + }, + "enumType": { + "$ref": "5" + }, + "doc": "Label field.", + "decorators": [] + }, + { + "$id": "9", + "kind": "enumvalue", + "name": "content_type", + "value": "content_type", + "valueType": { + "$ref": "6" + }, + "enumType": { + "$ref": "5" + }, + "doc": "Content type field.", + "decorators": [] + }, + { + "$id": "10", + "kind": "enumvalue", + "name": "value", + "value": "value", + "valueType": { + "$ref": "6" + }, + "enumType": { + "$ref": "5" + }, + "doc": "Value field.", + "decorators": [] + }, + { + "$id": "11", + "kind": "enumvalue", + "name": "last_modified", + "value": "last_modified", + "valueType": { + "$ref": "6" + }, + "enumType": { + "$ref": "5" + }, + "doc": "Last modified field.", + "decorators": [] + }, + { + "$id": "12", + "kind": "enumvalue", + "name": "tags", + "value": "tags", + "valueType": { + "$ref": "6" + }, + "enumType": { + "$ref": "5" + }, + "doc": "Tags field.", + "decorators": [] + }, + { + "$id": "13", + "kind": "enumvalue", + "name": "locked", + "value": "locked", + "valueType": { + "$ref": "6" + }, + "enumType": { + "$ref": "5" + }, + "doc": "Locked field.", + "decorators": [] + }, + { + "$id": "14", + "kind": "enumvalue", + "name": "etag", + "value": "etag", + "valueType": { + "$ref": "6" + }, + "enumType": { + "$ref": "5" + }, + "doc": "Etag field.", + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "doc": "Key-value fields.", + "isFixed": false, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "15", + "kind": "enum", + "name": "GetKeyValuesResponseContentType", + "crossLanguageDefinitionId": "AzureAppConfiguration.getKeyValues.ResponseContentType.anonymous", + "valueType": { + "$id": "16", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "17", + "kind": "enumvalue", + "name": "application/vnd.microsoft.appconfig.kvset+json", + "value": "application/vnd.microsoft.appconfig.kvset+json", + "valueType": { + "$ref": "16" + }, + "enumType": { + "$ref": "15" + }, + "decorators": [] + }, + { + "$id": "18", + "kind": "enumvalue", + "name": "application/problem+json", + "value": "application/problem+json", + "valueType": { + "$ref": "16" + }, + "enumType": { + "$ref": "15" + }, + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "isFixed": true, + "isFlags": false, + "usage": "Output", + "decorators": [] + }, + { + "$id": "19", + "kind": "enum", + "name": "GetKeyValueResponseContentType", + "crossLanguageDefinitionId": "AzureAppConfiguration.getKeyValue.ResponseContentType.anonymous", + "valueType": { + "$id": "20", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "21", + "kind": "enumvalue", + "name": "application/vnd.microsoft.appconfig.kv+json", + "value": "application/vnd.microsoft.appconfig.kv+json", + "valueType": { + "$ref": "20" + }, + "enumType": { + "$ref": "19" + }, + "decorators": [] + }, + { + "$id": "22", + "kind": "enumvalue", + "name": "application/problem+json", + "value": "application/problem+json", + "valueType": { + "$ref": "20" + }, + "enumType": { + "$ref": "19" + }, + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "isFixed": true, + "isFlags": false, + "usage": "Output", + "decorators": [] + }, + { + "$id": "23", + "kind": "enum", + "name": "PutKeyValueRequestContentType", + "crossLanguageDefinitionId": "AzureAppConfiguration.putKeyValue.RequestContentType.anonymous", + "valueType": { + "$id": "24", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "25", + "kind": "enumvalue", + "name": "application/vnd.microsoft.appconfig.kv+json", + "value": "application/vnd.microsoft.appconfig.kv+json", + "valueType": { + "$ref": "24" + }, + "enumType": { + "$ref": "23" + }, + "decorators": [] + }, + { + "$id": "26", + "kind": "enumvalue", + "name": "application/vnd.microsoft.appconfig.kvset+json", + "value": "application/vnd.microsoft.appconfig.kvset+json", + "valueType": { + "$ref": "24" + }, + "enumType": { + "$ref": "23" + }, + "decorators": [] + }, + { + "$id": "27", + "kind": "enumvalue", + "name": "application/json", + "value": "application/json", + "valueType": { + "$ref": "24" + }, + "enumType": { + "$ref": "23" + }, + "decorators": [] + }, + { + "$id": "28", + "kind": "enumvalue", + "name": "text/json", + "value": "text/json", + "valueType": { + "$ref": "24" + }, + "enumType": { + "$ref": "23" + }, + "decorators": [] + }, + { + "$id": "29", + "kind": "enumvalue", + "name": "application/*+json", + "value": "application/*+json", + "valueType": { + "$ref": "24" + }, + "enumType": { + "$ref": "23" + }, + "decorators": [] + }, + { + "$id": "30", + "kind": "enumvalue", + "name": "application/json-patch+json", + "value": "application/json-patch+json", + "valueType": { + "$ref": "24" + }, + "enumType": { + "$ref": "23" + }, + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "isFixed": true, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "31", + "kind": "enum", + "name": "SnapshotFields", + "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotFields", + "valueType": { + "$id": "32", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "33", + "kind": "enumvalue", + "name": "name", + "value": "name", + "valueType": { + "$ref": "32" + }, + "enumType": { + "$ref": "31" + }, + "doc": "Name field.", + "decorators": [] + }, + { + "$id": "34", + "kind": "enumvalue", + "name": "status", + "value": "status", + "valueType": { + "$ref": "32" + }, + "enumType": { + "$ref": "31" + }, + "doc": "Status field.", + "decorators": [] + }, + { + "$id": "35", + "kind": "enumvalue", + "name": "filters", + "value": "filters", + "valueType": { + "$ref": "32" + }, + "enumType": { + "$ref": "31" + }, + "doc": "Filters field.", + "decorators": [] + }, + { + "$id": "36", + "kind": "enumvalue", + "name": "composition_type", + "value": "composition_type", + "valueType": { + "$ref": "32" + }, + "enumType": { + "$ref": "31" + }, + "doc": "Composition type field.", + "decorators": [] + }, + { + "$id": "37", + "kind": "enumvalue", + "name": "created", + "value": "created", + "valueType": { + "$ref": "32" + }, + "enumType": { + "$ref": "31" + }, + "doc": "Created field.", + "decorators": [] + }, + { + "$id": "38", + "kind": "enumvalue", + "name": "expires", + "value": "expires", + "valueType": { + "$ref": "32" + }, + "enumType": { + "$ref": "31" + }, + "doc": "Expires field.", + "decorators": [] + }, + { + "$id": "39", + "kind": "enumvalue", + "name": "retention_period", + "value": "retention_period", + "valueType": { + "$ref": "32" + }, + "enumType": { + "$ref": "31" + }, + "doc": "Retention period field.", + "decorators": [] + }, + { + "$id": "40", + "kind": "enumvalue", + "name": "size", + "value": "size", + "valueType": { + "$ref": "32" + }, + "enumType": { + "$ref": "31" + }, + "doc": "Size field.", + "decorators": [] + }, + { + "$id": "41", + "kind": "enumvalue", + "name": "items_count", + "value": "items_count", + "valueType": { + "$ref": "32" + }, + "enumType": { + "$ref": "31" + }, + "doc": "Items count field.", + "decorators": [] + }, + { + "$id": "42", + "kind": "enumvalue", + "name": "tags", + "value": "tags", + "valueType": { + "$ref": "32" + }, + "enumType": { + "$ref": "31" + }, + "doc": "Tags field.", + "decorators": [] + }, + { + "$id": "43", + "kind": "enumvalue", + "name": "etag", + "value": "etag", + "valueType": { + "$ref": "32" + }, + "enumType": { + "$ref": "31" + }, + "doc": "Etag field.", + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "doc": "Snapshot fields.", + "isFixed": false, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "44", + "kind": "enum", + "name": "SnapshotStatus", + "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotStatus", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "46", + "kind": "enumvalue", + "name": "provisioning", + "value": "provisioning", + "valueType": { + "$ref": "45" + }, + "enumType": { + "$ref": "44" + }, + "doc": "Provisioning", + "decorators": [] + }, + { + "$id": "47", + "kind": "enumvalue", + "name": "ready", + "value": "ready", + "valueType": { + "$ref": "45" + }, + "enumType": { + "$ref": "44" + }, + "doc": "Ready", + "decorators": [] + }, + { + "$id": "48", + "kind": "enumvalue", + "name": "archived", + "value": "archived", + "valueType": { + "$ref": "45" + }, + "enumType": { + "$ref": "44" + }, + "doc": "Archived", + "decorators": [] + }, + { + "$id": "49", + "kind": "enumvalue", + "name": "failed", + "value": "failed", + "valueType": { + "$ref": "45" + }, + "enumType": { + "$ref": "44" + }, + "doc": "Failed", + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "doc": "Snapshot status.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,JsonMergePatch,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "50", + "kind": "enum", + "name": "CompositionType", + "crossLanguageDefinitionId": "AzureAppConfiguration.CompositionType", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "52", + "kind": "enumvalue", + "name": "key", + "value": "key", + "valueType": { + "$ref": "51" + }, + "enumType": { + "$ref": "50" + }, + "doc": "The 'key' composition type.", + "decorators": [] + }, + { + "$id": "53", + "kind": "enumvalue", + "name": "key_label", + "value": "key_label", + "valueType": { + "$ref": "51" + }, + "enumType": { + "$ref": "50" + }, + "doc": "The 'key_label' composition type.", + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "doc": "Composition types.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "54", + "kind": "enum", + "name": "GetSnapshotsResponseContentType", + "crossLanguageDefinitionId": "AzureAppConfiguration.getSnapshots.ResponseContentType.anonymous", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "56", + "kind": "enumvalue", + "name": "application/vnd.microsoft.appconfig.snapshotset+json", + "value": "application/vnd.microsoft.appconfig.snapshotset+json", + "valueType": { + "$ref": "55" + }, + "enumType": { + "$ref": "54" + }, + "decorators": [] + }, + { + "$id": "57", + "kind": "enumvalue", + "name": "application/problem+json", + "value": "application/problem+json", + "valueType": { + "$ref": "55" + }, + "enumType": { + "$ref": "54" + }, + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "isFixed": true, + "isFlags": false, + "usage": "Output", + "decorators": [] + }, + { + "$id": "58", + "kind": "enum", + "name": "GetSnapshotResponseContentType", + "crossLanguageDefinitionId": "AzureAppConfiguration.getSnapshot.ResponseContentType.anonymous", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "60", + "kind": "enumvalue", + "name": "application/vnd.microsoft.appconfig.snapshot+json", + "value": "application/vnd.microsoft.appconfig.snapshot+json", + "valueType": { + "$ref": "59" + }, + "enumType": { + "$ref": "58" + }, + "decorators": [] + }, + { + "$id": "61", + "kind": "enumvalue", + "name": "application/problem+json", + "value": "application/problem+json", + "valueType": { + "$ref": "59" + }, + "enumType": { + "$ref": "58" + }, + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "isFixed": true, + "isFlags": false, + "usage": "Output", + "decorators": [] + }, + { + "$id": "62", + "kind": "enum", + "name": "OperationState", + "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationState", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "64", + "kind": "enumvalue", + "name": "NotStarted", + "value": "NotStarted", + "valueType": { + "$ref": "63" + }, + "enumType": { + "$ref": "62" + }, + "doc": "The operation has not started.", + "decorators": [] + }, + { + "$id": "65", + "kind": "enumvalue", + "name": "Running", + "value": "Running", + "valueType": { + "$ref": "63" + }, + "enumType": { + "$ref": "62" + }, + "doc": "The operation is in progress.", + "decorators": [] + }, + { + "$id": "66", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$ref": "63" + }, + "enumType": { + "$ref": "62" + }, + "doc": "The operation has completed successfully.", + "decorators": [] + }, + { + "$id": "67", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$ref": "63" + }, + "enumType": { + "$ref": "62" + }, + "doc": "The operation has failed.", + "decorators": [] + }, + { + "$id": "68", + "kind": "enumvalue", + "name": "Canceled", + "value": "Canceled", + "valueType": { + "$ref": "63" + }, + "enumType": { + "$ref": "62" + }, + "doc": "The operation has been canceled by the user.", + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "doc": "Enum describing allowed operation states.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroPolling", + "decorators": [] + }, + { + "$id": "69", + "kind": "enum", + "name": "CreateSnapshotRequestContentType", + "crossLanguageDefinitionId": "AzureAppConfiguration.createSnapshot.RequestContentType.anonymous", + "valueType": { + "$id": "70", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "71", + "kind": "enumvalue", + "name": "application/vnd.microsoft.appconfig.snapshot+json", + "value": "application/vnd.microsoft.appconfig.snapshot+json", + "valueType": { + "$ref": "70" + }, + "enumType": { + "$ref": "69" + }, + "decorators": [] + }, + { + "$id": "72", + "kind": "enumvalue", + "name": "application/json", + "value": "application/json", + "valueType": { + "$ref": "70" + }, + "enumType": { + "$ref": "69" + }, + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "isFixed": true, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "73", + "kind": "enum", + "name": "UpdateSnapshotRequestContentType", + "crossLanguageDefinitionId": "AzureAppConfiguration.updateSnapshot.RequestContentType.anonymous", + "valueType": { + "$id": "74", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "75", + "kind": "enumvalue", + "name": "application/merge-patch+json", + "value": "application/merge-patch+json", + "valueType": { + "$ref": "74" + }, + "enumType": { + "$ref": "73" + }, + "decorators": [] + }, + { + "$id": "76", + "kind": "enumvalue", + "name": "application/json", + "value": "application/json", + "valueType": { + "$ref": "74" + }, + "enumType": { + "$ref": "73" + }, + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "isFixed": true, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "77", + "kind": "enum", + "name": "LabelFields", + "crossLanguageDefinitionId": "AzureAppConfiguration.LabelFields", + "valueType": { + "$id": "78", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "79", + "kind": "enumvalue", + "name": "name", + "value": "name", + "valueType": { + "$ref": "78" + }, + "enumType": { + "$ref": "77" + }, + "doc": "Name field.", + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "doc": "Label fields.", + "isFixed": false, + "isFlags": false, + "usage": "Input", + "decorators": [] + }, + { + "$id": "80", + "kind": "enum", + "name": "GetLabelsResponseContentType", + "crossLanguageDefinitionId": "AzureAppConfiguration.getLabels.ResponseContentType.anonymous", + "valueType": { + "$id": "81", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "82", + "kind": "enumvalue", + "name": "application/vnd.microsoft.appconfig.labelset+json", + "value": "application/vnd.microsoft.appconfig.labelset+json", + "valueType": { + "$ref": "81" + }, + "enumType": { + "$ref": "80" + }, + "decorators": [] + }, + { + "$id": "83", + "kind": "enumvalue", + "name": "application/problem+json", + "value": "application/problem+json", + "valueType": { + "$ref": "81" + }, + "enumType": { + "$ref": "80" + }, + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "isFixed": true, + "isFlags": false, + "usage": "Output", + "decorators": [] + }, + { + "$id": "84", + "kind": "enum", + "name": "Versions", + "crossLanguageDefinitionId": "AzureAppConfiguration.Versions", + "valueType": { + "$id": "85", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "86", + "kind": "enumvalue", + "name": "v2023_11_01", + "value": "2023-11-01", + "valueType": { + "$ref": "85" + }, + "enumType": { + "$ref": "84" + }, + "doc": "The 2023-11-01 API version", + "decorators": [] + }, + { + "$id": "87", + "kind": "enumvalue", + "name": "v2024_09_01", + "value": "2024-09-01", + "valueType": { + "$ref": "85" + }, + "enumType": { + "$ref": "84" + }, + "doc": "The 2024-09-01 API version", + "decorators": [] + } + ], + "namespace": "Azure.Data.AppConfiguration", + "doc": "Service API versions", + "isFixed": true, + "isFlags": false, + "usage": "ApiVersionEnum", + "decorators": [] + } + ], + "constants": [ + { + "$id": "88", + "kind": "constant", + "name": "getOperationDetailsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "89", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "90", + "kind": "model", + "name": "KeyListResult", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyListResult", + "usage": "Output,Json", + "doc": "The result of a list request.", + "decorators": [], + "properties": [ + { + "$id": "91", + "kind": "property", + "name": "items", + "serializedName": "items", + "doc": "The collection value.", + "type": { + "$id": "92", + "kind": "array", + "name": "ArrayKey", + "valueType": { + "$id": "93", + "kind": "model", + "name": "Key", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.Key", + "usage": "Output,Json", + "doc": "Keys serve as identifiers for key-values and are used to store and retrieve corresponding values.", + "decorators": [], + "properties": [ + { + "$id": "94", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the key.", + "type": { + "$id": "95", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Key.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyListResult.items", + "serializationOptions": { + "json": { + "name": "items" + } + }, + "isHttpMetadata": false + }, + { + "$id": "96", + "kind": "property", + "name": "@nextLink", + "serializedName": "@nextLink", + "doc": "The URI that can be used to request the next set of paged results.", + "type": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyListResult.@nextLink", + "serializationOptions": { + "json": { + "name": "@nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "93" + }, + { + "$id": "98", + "kind": "model", + "name": "AppConfigurationError", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.Error", + "usage": "Json,Exception", + "doc": "Azure App Configuration error object.", + "decorators": [], + "properties": [ + { + "$id": "99", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the error.", + "type": { + "$id": "100", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Error.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "101", + "kind": "property", + "name": "title", + "serializedName": "title", + "doc": "A brief summary of the error.", + "type": { + "$id": "102", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Error.title", + "serializationOptions": { + "json": { + "name": "title" + } + }, + "isHttpMetadata": false + }, + { + "$id": "103", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the parameter that resulted in the error.", + "type": { + "$id": "104", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Error.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "105", + "kind": "property", + "name": "detail", + "serializedName": "detail", + "doc": "A detailed description of the error.", + "type": { + "$id": "106", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Error.detail", + "serializationOptions": { + "json": { + "name": "detail" + } + }, + "isHttpMetadata": false + }, + { + "$id": "107", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The HTTP status code that the error maps to.", + "type": { + "$id": "108", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Error.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "109", + "kind": "model", + "name": "KeyValueListResult", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueListResult", + "usage": "Output,Json", + "doc": "The result of a list request.", + "decorators": [], + "properties": [ + { + "$id": "110", + "kind": "property", + "name": "items", + "serializedName": "items", + "doc": "The collection value.", + "type": { + "$id": "111", + "kind": "array", + "name": "ArrayKeyValue", + "valueType": { + "$id": "112", + "kind": "model", + "name": "KeyValue", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue", + "usage": "Input,Output,Json", + "doc": "A key-value pair representing application settings.", + "decorators": [], + "properties": [ + { + "$id": "113", + "kind": "property", + "name": "key", + "serializedName": "key", + "doc": "The key of the key-value.", + "type": { + "$id": "114", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.key", + "serializationOptions": { + "json": { + "name": "key" + } + }, + "isHttpMetadata": false + }, + { + "$id": "115", + "kind": "property", + "name": "label", + "serializedName": "label", + "doc": "The label the key-value belongs to.", + "type": { + "$id": "116", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.label", + "serializationOptions": { + "json": { + "name": "label" + } + }, + "isHttpMetadata": false + }, + { + "$id": "117", + "kind": "property", + "name": "contentType", + "serializedName": "content_type", + "doc": "The content type of the value stored within the key-value.", + "type": { + "$id": "118", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.contentType", + "serializationOptions": { + "json": { + "name": "content_type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "119", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The value of the key-value.", + "type": { + "$id": "120", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "121", + "kind": "property", + "name": "lastModified", + "serializedName": "last_modified", + "doc": "A date representing the last time the key-value was modified.", + "type": { + "$id": "122", + "kind": "offsetDateTime", + "name": "offsetDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.offsetDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.lastModified", + "serializationOptions": { + "json": { + "name": "last_modified" + } + }, + "isHttpMetadata": false + }, + { + "$id": "124", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "The tags of the key-value", + "type": { + "$id": "125", + "kind": "dict", + "keyType": { + "$id": "126", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.tags", + "serializationOptions": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + }, + { + "$id": "128", + "kind": "property", + "name": "locked", + "serializedName": "locked", + "doc": "Indicates whether the key-value is locked.", + "type": { + "$id": "129", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.locked", + "serializationOptions": { + "json": { + "name": "locked" + } + }, + "isHttpMetadata": false + }, + { + "$id": "130", + "kind": "property", + "name": "etag", + "serializedName": "etag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.etag", + "serializationOptions": { + "json": { + "name": "etag" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueListResult.items", + "serializationOptions": { + "json": { + "name": "items" + } + }, + "isHttpMetadata": false + }, + { + "$id": "132", + "kind": "property", + "name": "etag", + "serializedName": "etag", + "doc": "An identifier representing the returned state of the resource.", + "type": { + "$id": "133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueListResult.etag", + "serializationOptions": { + "json": { + "name": "etag" + } + }, + "isHttpMetadata": false + }, + { + "$id": "134", + "kind": "property", + "name": "@nextLink", + "serializedName": "@nextLink", + "doc": "The URI that can be used to request the next set of paged results.", + "type": { + "$id": "135", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueListResult.@nextLink", + "serializationOptions": { + "json": { + "name": "@nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "112" + }, + { + "$id": "136", + "kind": "model", + "name": "SnapshotListResult", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotListResult", + "usage": "Output,Json", + "doc": "The result of a snapshot list request.", + "decorators": [], + "properties": [ + { + "$id": "137", + "kind": "property", + "name": "items", + "serializedName": "items", + "doc": "The collection value.", + "type": { + "$id": "138", + "kind": "array", + "name": "ArraySnapshot", + "valueType": { + "$id": "139", + "kind": "model", + "name": "Snapshot", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "A snapshot is a named, immutable subset of an App Configuration store's key-values.", + "decorators": [], + "properties": [ + { + "$id": "140", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the snapshot.", + "type": { + "$id": "141", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "142", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The current status of the snapshot.", + "type": { + "$ref": "44" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "143", + "kind": "property", + "name": "filters", + "serializedName": "filters", + "doc": "A list of filters used to filter the key-values included in the snapshot.", + "type": { + "$id": "144", + "kind": "array", + "name": "ArrayKeyValueFilter", + "valueType": { + "$id": "145", + "kind": "model", + "name": "KeyValueFilter", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFilter", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Enables filtering of key-values. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapisnapshots", + "decorators": [], + "properties": [ + { + "$id": "146", + "kind": "property", + "name": "key", + "serializedName": "key", + "doc": "Filters key-values by their key field.", + "type": { + "$id": "147", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFilter.key", + "serializationOptions": { + "json": { + "name": "key" + } + }, + "isHttpMetadata": false + }, + { + "$id": "148", + "kind": "property", + "name": "label", + "serializedName": "label", + "doc": "Filters key-values by their label field.", + "type": { + "$id": "149", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFilter.label", + "serializationOptions": { + "json": { + "name": "label" + } + }, + "isHttpMetadata": false + }, + { + "$id": "150", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Filters key-values by their tags field.", + "type": { + "$id": "151", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "152", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFilter.tags", + "serializationOptions": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.filters", + "serializationOptions": { + "json": { + "name": "filters" + } + }, + "isHttpMetadata": false + }, + { + "$id": "153", + "kind": "property", + "name": "compositionType", + "serializedName": "composition_type", + "doc": "The composition type describes how the key-values within the snapshot are\ncomposed. The 'key' composition type ensures there are no two key-values\ncontaining the same key. The 'key_label' composition type ensures there are no\ntwo key-values containing the same key and label.", + "type": { + "$ref": "50" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.compositionType", + "serializationOptions": { + "json": { + "name": "composition_type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "154", + "kind": "property", + "name": "created", + "serializedName": "created", + "doc": "The time that the snapshot was created.", + "type": { + "$id": "155", + "kind": "offsetDateTime", + "name": "offsetDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "156", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.offsetDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.created", + "serializationOptions": { + "json": { + "name": "created" + } + }, + "isHttpMetadata": false + }, + { + "$id": "157", + "kind": "property", + "name": "expires", + "serializedName": "expires", + "doc": "The time that the snapshot will expire.", + "type": { + "$id": "158", + "kind": "offsetDateTime", + "name": "offsetDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "159", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.offsetDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.expires", + "serializationOptions": { + "json": { + "name": "expires" + } + }, + "isHttpMetadata": false + }, + { + "$id": "160", + "kind": "property", + "name": "retentionPeriod", + "serializedName": "retention_period", + "doc": "The amount of time, in seconds, that a snapshot will remain in the archived\nstate before expiring. This property is only writable during the creation of a\nsnapshot. If not specified, the default lifetime of key-value revisions will be\nused.", + "type": { + "$id": "161", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.retentionPeriod", + "serializationOptions": { + "json": { + "name": "retention_period" + } + }, + "isHttpMetadata": false + }, + { + "$id": "162", + "kind": "property", + "name": "size", + "serializedName": "size", + "doc": "The size in bytes of the snapshot.", + "type": { + "$id": "163", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.size", + "serializationOptions": { + "json": { + "name": "size" + } + }, + "isHttpMetadata": false + }, + { + "$id": "164", + "kind": "property", + "name": "itemsCount", + "serializedName": "items_count", + "doc": "The amount of key-values in the snapshot.", + "type": { + "$id": "165", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.itemsCount", + "serializationOptions": { + "json": { + "name": "items_count" + } + }, + "isHttpMetadata": false + }, + { + "$id": "166", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "The tags of the snapshot.", + "type": { + "$ref": "125" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.tags", + "serializationOptions": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + }, + { + "$id": "167", + "kind": "property", + "name": "etag", + "serializedName": "etag", + "doc": "A value representing the current state of the snapshot.", + "type": { + "$id": "168", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.etag", + "serializationOptions": { + "json": { + "name": "etag" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotListResult.items", + "serializationOptions": { + "json": { + "name": "items" + } + }, + "isHttpMetadata": false + }, + { + "$id": "169", + "kind": "property", + "name": "@nextLink", + "serializedName": "@nextLink", + "doc": "The URI that can be used to request the next set of paged results.", + "type": { + "$id": "170", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotListResult.@nextLink", + "serializationOptions": { + "json": { + "name": "@nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "139" + }, + { + "$ref": "145" + }, + { + "$id": "171", + "kind": "model", + "name": "OperationDetails", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.OperationDetails", + "usage": "Output,Json,LroPolling", + "doc": "Details of a long running operation.", + "decorators": [], + "properties": [ + { + "$id": "172", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "The unique id of the operation.", + "type": { + "$id": "173", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.OperationDetails.id", + "serializationOptions": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "174", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The current status of the operation", + "type": { + "$ref": "62" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.OperationDetails.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "175", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "An error, available when the status is `Failed`, describing why the operation\nfailed.", + "type": { + "$id": "176", + "kind": "model", + "name": "Error", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "Azure.Core.Foundations.Error", + "usage": "Output,Json,LroPolling", + "doc": "The error object.", + "decorators": [], + "properties": [ + { + "$id": "177", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "One of a server-defined set of error codes.", + "type": { + "$id": "178", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.code", + "serializationOptions": { + "json": { + "name": "code" + } + }, + "isHttpMetadata": false + }, + { + "$id": "179", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "A human-readable representation of the error.", + "type": { + "$id": "180", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.message", + "serializationOptions": { + "json": { + "name": "message" + } + }, + "isHttpMetadata": false + }, + { + "$id": "181", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The target of the error.", + "type": { + "$id": "182", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.target", + "serializationOptions": { + "json": { + "name": "target" + } + }, + "isHttpMetadata": false + }, + { + "$id": "183", + "kind": "property", + "name": "details", + "serializedName": "details", + "doc": "An array of details about specific errors that led to this reported error.", + "type": { + "$id": "184", + "kind": "array", + "name": "ArrayError", + "valueType": { + "$ref": "176" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.details", + "serializationOptions": { + "json": { + "name": "details" + } + }, + "isHttpMetadata": false + }, + { + "$id": "185", + "kind": "property", + "name": "innererror", + "serializedName": "innererror", + "doc": "An object containing more specific information than the current object about the error.", + "type": { + "$id": "186", + "kind": "model", + "name": "InnerError", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError", + "usage": "Output,Json,LroPolling", + "doc": "An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.", + "decorators": [], + "properties": [ + { + "$id": "187", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "One of a server-defined set of error codes.", + "type": { + "$id": "188", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError.code", + "serializationOptions": { + "json": { + "name": "code" + } + }, + "isHttpMetadata": false + }, + { + "$id": "189", + "kind": "property", + "name": "innererror", + "serializedName": "innererror", + "doc": "Inner error.", + "type": { + "$ref": "186" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError.innererror", + "serializationOptions": { + "json": { + "name": "innererror" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.innererror", + "serializationOptions": { + "json": { + "name": "innererror" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.OperationDetails.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "176" + }, + { + "$ref": "186" + }, + { + "$id": "190", + "kind": "model", + "name": "SnapshotUpdateParameters", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotUpdateParameters", + "usage": "Input,JsonMergePatch,Json", + "doc": "Parameters used to update a snapshot.", + "decorators": [], + "properties": [ + { + "$id": "191", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The desired status of the snapshot.", + "type": { + "$ref": "44" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotUpdateParameters.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "192", + "kind": "model", + "name": "LabelListResult", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.LabelListResult", + "usage": "Output,Json", + "doc": "The result of a list request.", + "decorators": [], + "properties": [ + { + "$id": "193", + "kind": "property", + "name": "items", + "serializedName": "items", + "doc": "The collection value.", + "type": { + "$id": "194", + "kind": "array", + "name": "ArrayLabel", + "valueType": { + "$id": "195", + "kind": "model", + "name": "Label", + "namespace": "Azure.Data.AppConfiguration", + "crossLanguageDefinitionId": "AzureAppConfiguration.Label", + "usage": "Output,Json", + "doc": "Labels are used to group key-values.", + "decorators": [], + "properties": [ + { + "$id": "196", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the label.", + "type": { + "$id": "197", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.Label.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.LabelListResult.items", + "serializationOptions": { + "json": { + "name": "items" + } + }, + "isHttpMetadata": false + }, + { + "$id": "198", + "kind": "property", + "name": "@nextLink", + "serializedName": "@nextLink", + "doc": "The URI that can be used to request the next set of paged results.", + "type": { + "$id": "199", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration.LabelListResult.@nextLink", + "serializationOptions": { + "json": { + "name": "@nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "195" + } + ], + "clients": [ + { + "$id": "200", + "kind": "client", + "name": "AzureAppConfigurationClient", + "namespace": "Azure.Data.AppConfiguration", + "doc": "Azure App Configuration REST API", + "methods": [ + { + "$id": "201", + "kind": "paging", + "name": "getKeys", + "accessibility": "public", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Gets a list of keys.", + "summary": "Gets a list of keys.", + "operation": { + "$id": "202", + "name": "getKeys", + "resourceName": "Key", + "summary": "Gets a list of keys.", + "doc": "Gets a list of keys.", + "accessibility": "public", + "parameters": [ + { + "$id": "203", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "204", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "205", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "206", + "name": "name", + "nameInRequest": "name", + "doc": "A filter for the name of the returned keys.", + "type": { + "$id": "207", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "208", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "209", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "210", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "211", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "212", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "213", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "214", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "215", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "90" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "216", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "1" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.keyset+json", + "application/problem+json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/keys", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getKeys", + "decorators": [], + "examples": [ + { + "$id": "217", + "kind": "http", + "name": "Gets a list of keys.", + "description": "Gets a list of keys.", + "filePath": "2024-09-01/GetKeys.json", + "parameters": [ + { + "parameter": { + "$ref": "203" + }, + "value": { + "$id": "218", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "2024-09-01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "90" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "216" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "1" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.keyset+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "219", + "kind": "model", + "type": { + "$ref": "90" + }, + "value": { + "items": { + "$id": "220", + "kind": "array", + "type": { + "$ref": "92" + }, + "value": [ + { + "$id": "221", + "kind": "model", + "type": { + "$ref": "93" + }, + "value": { + "name": { + "$id": "222", + "kind": "string", + "type": { + "$ref": "95" + }, + "value": "MaxRequests" + } + } + }, + { + "$id": "223", + "kind": "model", + "type": { + "$ref": "93" + }, + "value": { + "name": { + "$id": "224", + "kind": "string", + "type": { + "$ref": "95" + }, + "value": "RequestTimeout" + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "225", + "name": "name", + "nameInRequest": "name", + "doc": "A filter for the name of the returned keys.", + "type": { + "$id": "226", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "227", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "228", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "229", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "230", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "231", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "232", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "233", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "215" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "92" + }, + "resultSegments": [ + "items" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getKeys", + "pagingMetadata": { + "itemPropertySegments": [ + "items" + ], + "nextLink": { + "responseSegments": [ + "@nextLink" + ], + "responseLocation": "Body" + } + } + }, + { + "$id": "234", + "kind": "basic", + "name": "checkKeys", + "accessibility": "public", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Requests the headers and status of the given resource.", + "summary": "Requests the headers and status of the given resource.", + "operation": { + "$id": "235", + "name": "checkKeys", + "resourceName": "AzureAppConfiguration", + "summary": "Requests the headers and status of the given resource.", + "doc": "Requests the headers and status of the given resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "236", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "237", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "238", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "239", + "name": "name", + "nameInRequest": "name", + "doc": "A filter for the name of the returned keys.", + "type": { + "$id": "240", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "241", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "242", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "243", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "244", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "245", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "246", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "247", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "248", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "249", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "250", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "HEAD", + "uri": "{endpoint}", + "path": "/keys", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkKeys", + "decorators": [], + "examples": [ + { + "$id": "251", + "kind": "http", + "name": "Check keys", + "description": "Check keys", + "filePath": "2024-09-01/CheckKeys.json", + "parameters": [ + { + "parameter": { + "$ref": "236" + }, + "value": { + "$id": "252", + "kind": "string", + "type": { + "$ref": "237" + }, + "value": "2024-09-01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "250" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 200 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "253", + "name": "name", + "nameInRequest": "name", + "doc": "A filter for the name of the returned keys.", + "type": { + "$id": "254", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "255", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "256", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "257", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "258", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "259", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "260", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "261", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "262", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "263", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkKeys" + }, + { + "$id": "264", + "kind": "paging", + "name": "GetConfigurationSettings", + "accessibility": "public", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Gets a list of key-values.", + "summary": "Gets a list of key-values.", + "operation": { + "$id": "265", + "name": "GetConfigurationSettings", + "resourceName": "KeyValue", + "summary": "Gets a list of key-values.", + "doc": "Gets a list of key-values.", + "accessibility": "public", + "parameters": [ + { + "$id": "266", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "267", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "268", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "269", + "name": "key", + "nameInRequest": "key", + "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$id": "270", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "271", + "name": "label", + "nameInRequest": "label", + "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$id": "272", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "273", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "274", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "275", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "276", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "277", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "278", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "279", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "280", + "name": "snapshot", + "nameInRequest": "snapshot", + "doc": "A filter used get key-values for a snapshot. The value should be the name of\nthe snapshot. Not valid when used with 'key' and 'label' filters.", + "type": { + "$id": "281", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "282", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "283", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "284", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "285", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "286", + "name": "tags", + "nameInRequest": "tags", + "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": true, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "287", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "288", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "109" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "289", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "290", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "15" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kvset+json", + "application/problem+json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/kv", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getKeyValues", + "decorators": [], + "examples": [ + { + "$id": "291", + "kind": "http", + "name": "Gets a list of key-values.", + "description": "Gets a list of key-values.", + "filePath": "2024-09-01/GetKeyValues.json", + "parameters": [ + { + "parameter": { + "$ref": "266" + }, + "value": { + "$id": "292", + "kind": "string", + "type": { + "$ref": "267" + }, + "value": "2024-09-01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "109" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "289" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "290" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "15" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kvset+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "293", + "kind": "model", + "type": { + "$ref": "109" + }, + "value": { + "items": { + "$id": "294", + "kind": "array", + "type": { + "$ref": "111" + }, + "value": [ + { + "$id": "295", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "296", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "CTgHR5UrDKNj2nsoGWDOipST9Pv" + }, + "key": { + "$id": "297", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Background" + }, + "label": { + "$id": "298", + "kind": "string", + "type": { + "$ref": "116" + }, + "value": "Asset1" + }, + "value": { + "$id": "299", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "blue" + }, + "tags": { + "$id": "300", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "301", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "302", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-03-04T17:12:23+00:00" + } + } + }, + { + "$id": "303", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "304", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "UTSN1zePHbBQ0npbRB6elGRRuH7" + }, + "key": { + "$id": "305", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "MaxLogFiles" + }, + "label": { + "$id": "306", + "kind": "string", + "type": { + "$ref": "116" + }, + "value": "Asset1" + }, + "value": { + "$id": "307", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "50" + }, + "tags": { + "$id": "308", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "309", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "310", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-03-04T17:12:23+00:00" + } + } + }, + { + "$id": "311", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "312", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "7XpB48ET4VAlB9068ft6fKMyA3m" + }, + "key": { + "$id": "313", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Message" + }, + "value": { + "$id": "314", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Hello World" + }, + "tags": { + "$id": "315", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "316", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "317", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-06-20T16:52:23+00:00" + } + } + }, + { + "$id": "318", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "319", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "fAFm4jkGNB1hsIr4o0S5hnhCCvY" + }, + "key": { + "$id": "320", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "WebDemo:Settings:BackgroundColor" + }, + "value": { + "$id": "321", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "blue" + }, + "tags": { + "$id": "322", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "323", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "324", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-06-20T15:48:01+00:00" + } + } + } + ] + } + } + } + } + ] + }, + { + "$id": "325", + "kind": "http", + "name": "Gets a list of key-values using the If-Match header.", + "description": "Gets a list of key-values using the If-Match header.", + "filePath": "2024-09-01/GetKeyValues_IfMatch.json", + "parameters": [ + { + "parameter": { + "$ref": "266" + }, + "value": { + "$id": "326", + "kind": "string", + "type": { + "$ref": "267" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "282" + }, + "value": { + "$id": "327", + "kind": "string", + "type": { + "$ref": "283" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "109" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "289" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "290" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "15" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kvset+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "328", + "kind": "model", + "type": { + "$ref": "109" + }, + "value": { + "items": { + "$id": "329", + "kind": "array", + "type": { + "$ref": "111" + }, + "value": [ + { + "$id": "330", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "331", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "CTgHR5UrDKNj2nsoGWDOipST9Pv" + }, + "key": { + "$id": "332", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Background" + }, + "label": { + "$id": "333", + "kind": "string", + "type": { + "$ref": "116" + }, + "value": "Asset1" + }, + "value": { + "$id": "334", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "blue" + }, + "tags": { + "$id": "335", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "336", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "337", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-03-04T17:12:23+00:00" + } + } + }, + { + "$id": "338", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "339", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "UTSN1zePHbBQ0npbRB6elGRRuH7" + }, + "key": { + "$id": "340", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "MaxLogFiles" + }, + "label": { + "$id": "341", + "kind": "string", + "type": { + "$ref": "116" + }, + "value": "Asset1" + }, + "value": { + "$id": "342", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "50" + }, + "tags": { + "$id": "343", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "344", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "345", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-03-04T17:12:23+00:00" + } + } + }, + { + "$id": "346", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "347", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "7XpB48ET4VAlB9068ft6fKMyA3m" + }, + "key": { + "$id": "348", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Message" + }, + "value": { + "$id": "349", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Hello World" + }, + "tags": { + "$id": "350", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "351", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "352", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-06-20T16:52:23+00:00" + } + } + }, + { + "$id": "353", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "354", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "fAFm4jkGNB1hsIr4o0S5hnhCCvY" + }, + "key": { + "$id": "355", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "WebDemo:Settings:BackgroundColor" + }, + "value": { + "$id": "356", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "blue" + }, + "tags": { + "$id": "357", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "358", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "359", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-06-20T15:48:01+00:00" + } + } + } + ] + } + } + } + } + ] + }, + { + "$id": "360", + "kind": "http", + "name": "Gets a list of key-values using the If-None-Match header.", + "description": "Gets a list of key-values using the If-None-Match header.", + "filePath": "2024-09-01/GetKeyValues_IfNoneMatch.json", + "parameters": [ + { + "parameter": { + "$ref": "266" + }, + "value": { + "$id": "361", + "kind": "string", + "type": { + "$ref": "267" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "284" + }, + "value": { + "$id": "362", + "kind": "string", + "type": { + "$ref": "285" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV5" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "109" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "289" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "290" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "15" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kvset+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "363", + "kind": "model", + "type": { + "$ref": "109" + }, + "value": { + "items": { + "$id": "364", + "kind": "array", + "type": { + "$ref": "111" + }, + "value": [ + { + "$id": "365", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "366", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "CTgHR5UrDKNj2nsoGWDOipST9Pv" + }, + "key": { + "$id": "367", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Background" + }, + "label": { + "$id": "368", + "kind": "string", + "type": { + "$ref": "116" + }, + "value": "Asset1" + }, + "value": { + "$id": "369", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "blue" + }, + "tags": { + "$id": "370", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "371", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "372", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-03-04T17:12:23+00:00" + } + } + }, + { + "$id": "373", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "374", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "UTSN1zePHbBQ0npbRB6elGRRuH7" + }, + "key": { + "$id": "375", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "MaxLogFiles" + }, + "label": { + "$id": "376", + "kind": "string", + "type": { + "$ref": "116" + }, + "value": "Asset1" + }, + "value": { + "$id": "377", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "50" + }, + "tags": { + "$id": "378", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "379", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "380", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-03-04T17:12:23+00:00" + } + } + }, + { + "$id": "381", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "382", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "7XpB48ET4VAlB9068ft6fKMyA3m" + }, + "key": { + "$id": "383", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Message" + }, + "value": { + "$id": "384", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Hello World" + }, + "tags": { + "$id": "385", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "386", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "387", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-06-20T16:52:23+00:00" + } + } + }, + { + "$id": "388", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "389", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "fAFm4jkGNB1hsIr4o0S5hnhCCvY" + }, + "key": { + "$id": "390", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "WebDemo:Settings:BackgroundColor" + }, + "value": { + "$id": "391", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "blue" + }, + "tags": { + "$id": "392", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "393", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "394", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-06-20T15:48:01+00:00" + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "395", + "name": "key", + "nameInRequest": "key", + "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$id": "396", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "397", + "name": "label", + "nameInRequest": "label", + "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$id": "398", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "399", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "400", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "401", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "402", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "403", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "404", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "405", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "406", + "name": "snapshot", + "nameInRequest": "snapshot", + "doc": "A filter used get key-values for a snapshot. The value should be the name of\nthe snapshot. Not valid when used with 'key' and 'label' filters.", + "type": { + "$id": "407", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "408", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "409", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "410", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "411", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "412", + "name": "tags", + "nameInRequest": "tags", + "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": true, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "413", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "288" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "111" + }, + "resultSegments": [ + "items" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getKeyValues", + "pagingMetadata": { + "itemPropertySegments": [ + "items" + ], + "nextLink": { + "responseSegments": [ + "@nextLink" + ], + "responseLocation": "Body" + } + } + }, + { + "$id": "414", + "kind": "basic", + "name": "checkKeyValues", + "accessibility": "public", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Requests the headers and status of the given resource.", + "summary": "Requests the headers and status of the given resource.", + "operation": { + "$id": "415", + "name": "checkKeyValues", + "resourceName": "AzureAppConfiguration", + "summary": "Requests the headers and status of the given resource.", + "doc": "Requests the headers and status of the given resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "416", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "417", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "418", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "419", + "name": "key", + "nameInRequest": "key", + "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$id": "420", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "421", + "name": "label", + "nameInRequest": "label", + "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$id": "422", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "423", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "424", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "425", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "426", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "427", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "428", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "429", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "430", + "name": "snapshot", + "nameInRequest": "snapshot", + "doc": "A filter used get key-values for a snapshot. The value should be the name of\nthe snapshot. Not valid when used with 'key' and 'label' filters.", + "type": { + "$id": "431", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "432", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "433", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "434", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "435", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "436", + "name": "tags", + "nameInRequest": "tags", + "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": true, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "437", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "438", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "439", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "440", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "441", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "HEAD", + "uri": "{endpoint}", + "path": "/kv", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkKeyValues", + "decorators": [], + "examples": [ + { + "$id": "442", + "kind": "http", + "name": "Requests the headers and status of the given resource.", + "description": "Requests the headers and status of the given resource.", + "filePath": "2024-09-01/CheckKeyValues.json", + "parameters": [ + { + "parameter": { + "$ref": "416" + }, + "value": { + "$id": "443", + "kind": "string", + "type": { + "$ref": "417" + }, + "value": "2024-09-01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "440" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "441" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 200 + } + ] + }, + { + "$id": "444", + "kind": "http", + "name": "Requests the headers and status of the given resource using the If-Match header.", + "description": "Requests the headers and status of the given resource using the If-Match header.", + "filePath": "2024-09-01/CheckKeyValues_IfMatch.json", + "parameters": [ + { + "parameter": { + "$ref": "416" + }, + "value": { + "$id": "445", + "kind": "string", + "type": { + "$ref": "417" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "432" + }, + "value": { + "$id": "446", + "kind": "string", + "type": { + "$ref": "433" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "440" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "441" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 200 + } + ] + }, + { + "$id": "447", + "kind": "http", + "name": "Requests the headers and status of the given resource using the If-None-Match header.", + "description": "Requests the headers and status of the given resource using the If-None-Match header.", + "filePath": "2024-09-01/CheckKeyValues_IfNoneMatch.json", + "parameters": [ + { + "parameter": { + "$ref": "416" + }, + "value": { + "$id": "448", + "kind": "string", + "type": { + "$ref": "417" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "434" + }, + "value": { + "$id": "449", + "kind": "string", + "type": { + "$ref": "435" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "440" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "441" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 200 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "450", + "name": "key", + "nameInRequest": "key", + "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$id": "451", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "452", + "name": "label", + "nameInRequest": "label", + "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$id": "453", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "454", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "455", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "456", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "457", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "458", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "459", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "460", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "461", + "name": "snapshot", + "nameInRequest": "snapshot", + "doc": "A filter used get key-values for a snapshot. The value should be the name of\nthe snapshot. Not valid when used with 'key' and 'label' filters.", + "type": { + "$id": "462", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "463", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "464", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "465", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "466", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "467", + "name": "tags", + "nameInRequest": "tags", + "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": true, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "468", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "469", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "470", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkKeyValues" + }, + { + "$id": "471", + "kind": "basic", + "name": "GetConfigurationSetting", + "accessibility": "internal", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Gets a single key-value.", + "summary": "Gets a single key-value.", + "operation": { + "$id": "472", + "name": "GetConfigurationSetting", + "resourceName": "AzureAppConfiguration", + "summary": "Gets a single key-value.", + "doc": "Gets a single key-value.", + "accessibility": "internal", + "parameters": [ + { + "$id": "473", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "474", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "475", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "476", + "name": "key", + "nameInRequest": "key", + "doc": "The key of the key-value.", + "type": { + "$id": "477", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "478", + "name": "label", + "nameInRequest": "label", + "doc": "The label of the key-value to retrieve.", + "type": { + "$id": "479", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "480", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$id": "481", + "kind": "array", + "name": "ArrayKeyValueFields", + "valueType": { + "$ref": "5" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "482", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "483", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "484", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "485", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "486", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "487", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "488", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "489", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "490", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "491", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "492", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "493", + "name": "tags", + "nameInRequest": "tags", + "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": true, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "494", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "495", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "112" + }, + "headers": [ + { + "name": "requestId", + "nameInResponse": "x-ms-request-id", + "doc": "An opaque, globally-unique, server-generated string identifier for the request.", + "type": { + "$id": "496", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "497", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + } + }, + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "498", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "499", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "19" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/kv/{key}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getKeyValue", + "decorators": [], + "examples": [ + { + "$id": "500", + "kind": "http", + "name": "Gets a single key-value.", + "description": "Gets a single key-value.", + "filePath": "2024-09-01/GetKeyValue.json", + "parameters": [ + { + "parameter": { + "$ref": "473" + }, + "value": { + "$id": "501", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "476" + }, + "value": { + "$id": "502", + "kind": "string", + "type": { + "$ref": "477" + }, + "value": "Message" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "112" + }, + "headers": [ + { + "name": "requestId", + "nameInResponse": "x-ms-request-id", + "doc": "An opaque, globally-unique, server-generated string identifier for the request.", + "type": { + "$ref": "496" + } + }, + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "498" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "499" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "19" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "503", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "504", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "7XpB48ET4VAlB9068ft6fKMyA3m" + }, + "key": { + "$id": "505", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Message" + }, + "value": { + "$id": "506", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "507", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "508", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "509", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + } + ] + }, + { + "$id": "510", + "kind": "http", + "name": "Gets a single key-value using the If-Match header.", + "description": "Gets a single key-value using the If-Match header.", + "filePath": "2024-09-01/GetKeyValue_IfMatch.json", + "parameters": [ + { + "parameter": { + "$ref": "473" + }, + "value": { + "$id": "511", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "476" + }, + "value": { + "$id": "512", + "kind": "string", + "type": { + "$ref": "477" + }, + "value": "Message" + } + }, + { + "parameter": { + "$ref": "486" + }, + "value": { + "$id": "513", + "kind": "string", + "type": { + "$ref": "487" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "112" + }, + "headers": [ + { + "name": "requestId", + "nameInResponse": "x-ms-request-id", + "doc": "An opaque, globally-unique, server-generated string identifier for the request.", + "type": { + "$ref": "496" + } + }, + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "498" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "499" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "19" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "514", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "515", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV5" + }, + "key": { + "$id": "516", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Message" + }, + "value": { + "$id": "517", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "518", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "519", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "520", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + } + ] + }, + { + "$id": "521", + "kind": "http", + "name": "Gets a single key-value using the If-None-Match header.", + "description": "Gets a single key-value using the If-None-Match header.", + "filePath": "2024-09-01/GetKeyValue_IfNoneMatch.json", + "parameters": [ + { + "parameter": { + "$ref": "473" + }, + "value": { + "$id": "522", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "476" + }, + "value": { + "$id": "523", + "kind": "string", + "type": { + "$ref": "477" + }, + "value": "Message" + } + }, + { + "parameter": { + "$ref": "488" + }, + "value": { + "$id": "524", + "kind": "string", + "type": { + "$ref": "489" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV5" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "112" + }, + "headers": [ + { + "name": "requestId", + "nameInResponse": "x-ms-request-id", + "doc": "An opaque, globally-unique, server-generated string identifier for the request.", + "type": { + "$ref": "496" + } + }, + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "498" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "499" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "19" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "525", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "526", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "7XpB48ET4VAlB9068ft6fKMyA3m" + }, + "key": { + "$id": "527", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Message" + }, + "value": { + "$id": "528", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "529", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "530", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "531", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "532", + "name": "key", + "nameInRequest": "key", + "doc": "The key of the key-value.", + "type": { + "$id": "533", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "534", + "name": "label", + "nameInRequest": "label", + "doc": "The label of the key-value to retrieve.", + "type": { + "$id": "535", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "536", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$ref": "481" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "537", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "538", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "539", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "540", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "541", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "542", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "543", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "544", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "545", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "546", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "547", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "548", + "name": "tags", + "nameInRequest": "tags", + "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": true, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "549", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "495" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "112" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getKeyValue" + }, + { + "$id": "550", + "kind": "basic", + "name": "SetConfigurationSettingInternal", + "accessibility": "internal", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Creates a key-value.", + "summary": "Creates a key-value.", + "operation": { + "$id": "551", + "name": "SetConfigurationSettingInternal", + "resourceName": "AzureAppConfiguration", + "summary": "Creates a key-value.", + "doc": "Creates a key-value.", + "accessibility": "internal", + "parameters": [ + { + "$id": "552", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "553", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "554", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "555", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "23" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "556", + "name": "key", + "nameInRequest": "key", + "doc": "The key of the key-value to create.", + "type": { + "$id": "557", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "558", + "name": "label", + "nameInRequest": "label", + "doc": "The label of the key-value to create.", + "type": { + "$id": "559", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "560", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "561", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "562", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "563", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "564", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "565", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "566", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "567", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "568", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "569", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "570", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "571", + "name": "entity", + "nameInRequest": "entity", + "doc": "The key-value to create.", + "type": { + "$ref": "112" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "112" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "572", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "573", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "19" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/kv/{key}", + "requestMediaTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/vnd.microsoft.appconfig.kvset+json", + "application/json", + "text/json", + "application/*+json", + "application/json-patch+json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.putKeyValue", + "decorators": [], + "examples": [ + { + "$id": "574", + "kind": "http", + "name": "Creates a key-value.", + "description": "Creates a key-value.", + "filePath": "2024-09-01/PutKeyValue.json", + "parameters": [ + { + "parameter": { + "$ref": "552" + }, + "value": { + "$id": "575", + "kind": "string", + "type": { + "$ref": "553" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "556" + }, + "value": { + "$id": "576", + "kind": "string", + "type": { + "$ref": "557" + }, + "value": "Message" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "112" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "572" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "573" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "19" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "577", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "578", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "tnIHBkDYQwtdNMLoWtr5aybkKwL" + }, + "key": { + "$id": "579", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Message" + }, + "value": { + "$id": "580", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "581", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "582", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "583", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + } + ] + }, + { + "$id": "584", + "kind": "http", + "name": "Creates a key-value with the If-Match header.", + "description": "Creates a key-value with the If-Match header.", + "filePath": "2024-09-01/PutKeyValue_IfMatch.json", + "parameters": [ + { + "parameter": { + "$ref": "552" + }, + "value": { + "$id": "585", + "kind": "string", + "type": { + "$ref": "553" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "556" + }, + "value": { + "$id": "586", + "kind": "string", + "type": { + "$ref": "557" + }, + "value": "Message" + } + }, + { + "parameter": { + "$ref": "562" + }, + "value": { + "$id": "587", + "kind": "string", + "type": { + "$ref": "563" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "112" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "572" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "573" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "19" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "588", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "589", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV5" + }, + "key": { + "$id": "590", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Message" + }, + "value": { + "$id": "591", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "592", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "593", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "594", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "595", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "23" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "596", + "name": "key", + "nameInRequest": "key", + "doc": "The key of the key-value to create.", + "type": { + "$id": "597", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "598", + "name": "label", + "nameInRequest": "label", + "doc": "The label of the key-value to create.", + "type": { + "$id": "599", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "600", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "601", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "602", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "603", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "604", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "605", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "606", + "name": "entity", + "nameInRequest": "entity", + "doc": "The key-value to create.", + "type": { + "$ref": "112" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "607", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "608", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "609", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "610", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "570" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "112" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.putKeyValue" + }, + { + "$id": "611", + "kind": "basic", + "name": "DeleteConfigurationSetting", + "accessibility": "internal", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Deletes a key-value.", + "summary": "Deletes a key-value.", + "operation": { + "$id": "612", + "name": "DeleteConfigurationSetting", + "resourceName": "AzureAppConfiguration", + "summary": "Deletes a key-value.", + "doc": "Deletes a key-value.", + "accessibility": "internal", + "parameters": [ + { + "$id": "613", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "614", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "615", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "616", + "name": "key", + "nameInRequest": "key", + "doc": "The key of the key-value to delete.", + "type": { + "$id": "617", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "618", + "name": "label", + "nameInRequest": "label", + "doc": "The label of the key-value to delete.", + "type": { + "$id": "619", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "620", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "621", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "622", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "623", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "624", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "625", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "626", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "627", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "628", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "112" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "629", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "630", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "19" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + }, + { + "statusCodes": [ + 204 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "631", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/kv/{key}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.deleteKeyValue", + "decorators": [], + "examples": [ + { + "$id": "632", + "kind": "http", + "name": "Deletes a key-value.", + "description": "Deletes a key-value.", + "filePath": "2024-09-01/DeleteKeyValue.json", + "parameters": [ + { + "parameter": { + "$ref": "613" + }, + "value": { + "$id": "633", + "kind": "string", + "type": { + "$ref": "614" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "616" + }, + "value": { + "$id": "634", + "kind": "string", + "type": { + "$ref": "617" + }, + "value": "Message" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "112" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "629" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "630" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "19" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "635", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "636", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "7XpB48ET4VAlB9068ft6fKMyA3m" + }, + "key": { + "$id": "637", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Message" + }, + "value": { + "$id": "638", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "639", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "640", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "641", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "631" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + }, + { + "$id": "642", + "kind": "http", + "name": "Deletes a key-value using If-Match header", + "description": "Deletes a key-value using If-Match header", + "filePath": "2024-09-01/DeleteKeyValue_IfMatch.json", + "parameters": [ + { + "parameter": { + "$ref": "613" + }, + "value": { + "$id": "643", + "kind": "string", + "type": { + "$ref": "614" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "616" + }, + "value": { + "$id": "644", + "kind": "string", + "type": { + "$ref": "617" + }, + "value": "Message" + } + }, + { + "parameter": { + "$ref": "622" + }, + "value": { + "$id": "645", + "kind": "string", + "type": { + "$ref": "623" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "112" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "629" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "630" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "19" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "646", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "647", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV5" + }, + "key": { + "$id": "648", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Message" + }, + "value": { + "$id": "649", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "650", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "651", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "652", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + }, + { + "response": { + "statusCodes": [ + 204 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "631" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 204 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "653", + "name": "key", + "nameInRequest": "key", + "doc": "The key of the key-value to delete.", + "type": { + "$id": "654", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "655", + "name": "label", + "nameInRequest": "label", + "doc": "The label of the key-value to delete.", + "type": { + "$id": "656", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "657", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "658", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "659", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "660", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "661", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "662", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "663", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "664", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "628" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$id": "665", + "kind": "nullable", + "type": { + "$ref": "112" + }, + "namespace": "Azure.Data.AppConfiguration" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.deleteKeyValue" + }, + { + "$id": "666", + "kind": "basic", + "name": "checkKeyValue", + "accessibility": "public", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Requests the headers and status of the given resource.", + "summary": "Requests the headers and status of the given resource.", + "operation": { + "$id": "667", + "name": "checkKeyValue", + "resourceName": "AzureAppConfiguration", + "summary": "Requests the headers and status of the given resource.", + "doc": "Requests the headers and status of the given resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "668", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "669", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "670", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "671", + "name": "key", + "nameInRequest": "key", + "doc": "The key of the key-value to retrieve.", + "type": { + "$id": "672", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "673", + "name": "label", + "nameInRequest": "label", + "doc": "The label of the key-value to retrieve.", + "type": { + "$id": "674", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "675", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "676", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "677", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "678", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "679", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "680", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "681", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "682", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "683", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$ref": "481" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "684", + "name": "tags", + "nameInRequest": "tags", + "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": true, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "685", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "686", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "687", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "688", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "689", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "HEAD", + "uri": "{endpoint}", + "path": "/kv/{key}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkKeyValue", + "decorators": [], + "examples": [ + { + "$id": "690", + "kind": "http", + "name": "Requests the headers and status of the given resource.", + "description": "Requests the headers and status of the given resource.", + "filePath": "2024-09-01/CheckKeyValue.json", + "parameters": [ + { + "parameter": { + "$ref": "668" + }, + "value": { + "$id": "691", + "kind": "string", + "type": { + "$ref": "669" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "671" + }, + "value": { + "$id": "692", + "kind": "string", + "type": { + "$ref": "672" + }, + "value": "Message" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "688" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "689" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 200 + } + ] + }, + { + "$id": "693", + "kind": "http", + "name": "Requests the headers and status of the given resource using the If-Match header.", + "description": "Requests the headers and status of the given resource using the If-Match header.", + "filePath": "2024-09-01/CheckKeyValue_IfMatch.json", + "parameters": [ + { + "parameter": { + "$ref": "668" + }, + "value": { + "$id": "694", + "kind": "string", + "type": { + "$ref": "669" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "671" + }, + "value": { + "$id": "695", + "kind": "string", + "type": { + "$ref": "672" + }, + "value": "Message" + } + }, + { + "parameter": { + "$ref": "679" + }, + "value": { + "$id": "696", + "kind": "string", + "type": { + "$ref": "680" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "688" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "689" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 200 + } + ] + }, + { + "$id": "697", + "kind": "http", + "name": "Requests the headers and status of the given resource using the If-None-Match header.", + "description": "Requests the headers and status of the given resource using the If-None-Match header.", + "filePath": "2024-09-01/CheckKeyValue_IfNoneMatch.json", + "parameters": [ + { + "parameter": { + "$ref": "668" + }, + "value": { + "$id": "698", + "kind": "string", + "type": { + "$ref": "669" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "671" + }, + "value": { + "$id": "699", + "kind": "string", + "type": { + "$ref": "672" + }, + "value": "Message" + } + }, + { + "parameter": { + "$ref": "681" + }, + "value": { + "$id": "700", + "kind": "string", + "type": { + "$ref": "682" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV5" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "688" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "689" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 200 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "701", + "name": "key", + "nameInRequest": "key", + "doc": "The key of the key-value to retrieve.", + "type": { + "$id": "702", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "703", + "name": "label", + "nameInRequest": "label", + "doc": "The label of the key-value to retrieve.", + "type": { + "$id": "704", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "705", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "706", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "707", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "708", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "709", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "710", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "711", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "712", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "713", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$ref": "481" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "714", + "name": "tags", + "nameInRequest": "tags", + "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": true, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "715", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "716", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "717", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkKeyValue" + }, + { + "$id": "718", + "kind": "paging", + "name": "getSnapshots", + "accessibility": "public", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Gets a list of key-value snapshots.", + "summary": "Gets a list of key-value snapshots.", + "operation": { + "$id": "719", + "name": "getSnapshots", + "resourceName": "Snapshot", + "summary": "Gets a list of key-value snapshots.", + "doc": "Gets a list of key-value snapshots.", + "accessibility": "public", + "parameters": [ + { + "$id": "720", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "721", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "722", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "723", + "name": "name", + "nameInRequest": "name", + "doc": "A filter for the name of the returned snapshots.", + "type": { + "$id": "724", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "725", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "726", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "727", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$id": "728", + "kind": "array", + "name": "ArraySnapshotFields", + "valueType": { + "$ref": "31" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "729", + "name": "status", + "nameInRequest": "status", + "doc": "Used to filter returned snapshots by their status property.", + "type": { + "$id": "730", + "kind": "array", + "name": "ArraySnapshotStatus", + "valueType": { + "$ref": "44" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "731", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "732", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "733", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "734", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "136" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "735", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "54" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.snapshotset+json", + "application/problem+json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/snapshots", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getSnapshots", + "decorators": [], + "examples": [ + { + "$id": "736", + "kind": "http", + "name": "Gets a list of key-value snapshots.", + "description": "Gets a list of key-value snapshots.", + "filePath": "2024-09-01/GetSnapshots.json", + "parameters": [ + { + "parameter": { + "$ref": "720" + }, + "value": { + "$id": "737", + "kind": "string", + "type": { + "$ref": "721" + }, + "value": "2024-09-01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "136" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "735" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "54" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.snapshotset+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "738", + "kind": "model", + "type": { + "$ref": "136" + }, + "value": { + "items": { + "$id": "739", + "kind": "array", + "type": { + "$ref": "138" + }, + "value": [ + { + "$id": "740", + "kind": "model", + "type": { + "$ref": "139" + }, + "value": { + "etag": { + "$id": "741", + "kind": "string", + "type": { + "$ref": "168" + }, + "value": "4f6dd610dd5e4deebc7fbaef685fb903" + }, + "name": { + "$id": "742", + "kind": "string", + "type": { + "$ref": "141" + }, + "value": "Prod-2022-08-01" + }, + "status": { + "$id": "743", + "kind": "string", + "type": { + "$ref": "44" + }, + "value": "ready" + }, + "filters": { + "$id": "744", + "kind": "array", + "type": { + "$ref": "144" + }, + "value": [ + { + "$id": "745", + "kind": "model", + "type": { + "$ref": "145" + }, + "value": { + "key": { + "$id": "746", + "kind": "string", + "type": { + "$ref": "147" + }, + "value": "app1/*" + }, + "label": { + "$id": "747", + "kind": "string", + "type": { + "$ref": "149" + }, + "value": "Production" + } + } + } + ] + }, + "composition_type": { + "$id": "748", + "kind": "string", + "type": { + "$ref": "50" + }, + "value": "all" + }, + "created": { + "$id": "749", + "kind": "string", + "type": { + "$ref": "155" + }, + "value": "2022-08-01T22:19:40+00:00" + }, + "size": { + "$id": "750", + "kind": "number", + "type": { + "$ref": "163" + }, + "value": 100000 + }, + "items_count": { + "$id": "751", + "kind": "number", + "type": { + "$ref": "165" + }, + "value": 71 + }, + "retention_period": { + "$id": "752", + "kind": "number", + "type": { + "$ref": "161" + }, + "value": 2592000 + }, + "tags": { + "$id": "753", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": { + "release": { + "$id": "754", + "kind": "string", + "type": { + "$ref": "127" + }, + "value": "{link/id}" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "755", + "name": "name", + "nameInRequest": "name", + "doc": "A filter for the name of the returned snapshots.", + "type": { + "$id": "756", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "757", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "758", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "759", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$ref": "728" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "760", + "name": "status", + "nameInRequest": "status", + "doc": "Used to filter returned snapshots by their status property.", + "type": { + "$ref": "730" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "761", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "762", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "763", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "734" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "138" + }, + "resultSegments": [ + "items" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getSnapshots", + "pagingMetadata": { + "itemPropertySegments": [ + "items" + ], + "nextLink": { + "responseSegments": [ + "@nextLink" + ], + "responseLocation": "Body" + } + } + }, + { + "$id": "764", + "kind": "basic", + "name": "checkSnapshots", + "accessibility": "public", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Requests the headers and status of the given resource.", + "summary": "Requests the headers and status of the given resource.", + "operation": { + "$id": "765", + "name": "checkSnapshots", + "resourceName": "AzureAppConfiguration", + "summary": "Requests the headers and status of the given resource.", + "doc": "Requests the headers and status of the given resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "766", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "767", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "768", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "769", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "770", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "771", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "772", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "773", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "774", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "775", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "776", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "HEAD", + "uri": "{endpoint}", + "path": "/snapshots", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkSnapshots", + "decorators": [], + "examples": [ + { + "$id": "777", + "kind": "http", + "name": "Requests the headers and status of the given resource.", + "description": "Requests the headers and status of the given resource.", + "filePath": "2024-09-01/CheckSnapshots.json", + "parameters": [ + { + "parameter": { + "$ref": "766" + }, + "value": { + "$id": "778", + "kind": "string", + "type": { + "$ref": "767" + }, + "value": "2024-09-01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "776" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 200 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "779", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "780", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "781", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "782", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "783", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "784", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "785", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkSnapshots" + }, + { + "$id": "786", + "kind": "basic", + "name": "getSnapshot", + "accessibility": "internal", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Gets a single key-value snapshot.", + "summary": "Gets a single key-value snapshot.", + "operation": { + "$id": "787", + "name": "getSnapshot", + "resourceName": "Snapshot", + "summary": "Gets a single key-value snapshot.", + "doc": "Gets a single key-value snapshot.", + "accessibility": "internal", + "parameters": [ + { + "$id": "788", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "789", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "790", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "791", + "name": "name", + "nameInRequest": "name", + "doc": "The name of the snapshot.", + "type": { + "$id": "792", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "793", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$ref": "728" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "794", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "795", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "796", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "797", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "798", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "799", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "800", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "801", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "802", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "803", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "804", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "139" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "805", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "806", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "link", + "nameInResponse": "Link", + "doc": "Includes links to related resources.", + "type": { + "$id": "807", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "requestId", + "nameInResponse": "x-ms-request-id", + "doc": "An opaque, globally-unique, server-generated string identifier for the request.", + "type": { + "$id": "808", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "809", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "58" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.snapshot+json", + "application/problem+json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/snapshots/{name}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getSnapshot", + "decorators": [], + "examples": [ + { + "$id": "810", + "kind": "http", + "name": "Gets a single key-value snapshot.", + "description": "Gets a single key-value snapshot.", + "filePath": "2024-09-01/GetSnapshot.json", + "parameters": [ + { + "parameter": { + "$ref": "788" + }, + "value": { + "$id": "811", + "kind": "string", + "type": { + "$ref": "789" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "791" + }, + "value": { + "$id": "812", + "kind": "string", + "type": { + "$ref": "792" + }, + "value": "Prod-2022-08-01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "139" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "805" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "806" + } + }, + { + "name": "link", + "nameInResponse": "Link", + "doc": "Includes links to related resources.", + "type": { + "$ref": "807" + } + }, + { + "name": "requestId", + "nameInResponse": "x-ms-request-id", + "doc": "An opaque, globally-unique, server-generated string identifier for the request.", + "type": { + "$ref": "808" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "58" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.snapshot+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "813", + "kind": "model", + "type": { + "$ref": "139" + }, + "value": { + "etag": { + "$id": "814", + "kind": "string", + "type": { + "$ref": "168" + }, + "value": "4f6dd610dd5e4deebc7fbaef685fb903" + }, + "name": { + "$id": "815", + "kind": "string", + "type": { + "$ref": "141" + }, + "value": "Prod-2022-08-01" + }, + "status": { + "$id": "816", + "kind": "string", + "type": { + "$ref": "44" + }, + "value": "ready" + }, + "filters": { + "$id": "817", + "kind": "array", + "type": { + "$ref": "144" + }, + "value": [ + { + "$id": "818", + "kind": "model", + "type": { + "$ref": "145" + }, + "value": { + "key": { + "$id": "819", + "kind": "string", + "type": { + "$ref": "147" + }, + "value": "app1/*" + }, + "label": { + "$id": "820", + "kind": "string", + "type": { + "$ref": "149" + }, + "value": "Production" + } + } + } + ] + }, + "composition_type": { + "$id": "821", + "kind": "string", + "type": { + "$ref": "50" + }, + "value": "all" + }, + "created": { + "$id": "822", + "kind": "string", + "type": { + "$ref": "155" + }, + "value": "2022-08-01T22:19:40+00:00" + }, + "size": { + "$id": "823", + "kind": "number", + "type": { + "$ref": "163" + }, + "value": 100000 + }, + "items_count": { + "$id": "824", + "kind": "number", + "type": { + "$ref": "165" + }, + "value": 71 + }, + "retention_period": { + "$id": "825", + "kind": "number", + "type": { + "$ref": "161" + }, + "value": 2592000 + }, + "tags": { + "$id": "826", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": { + "release": { + "$id": "827", + "kind": "string", + "type": { + "$ref": "127" + }, + "value": "{link/id}" + } + } + } + } + } + } + ] + }, + { + "$id": "828", + "kind": "http", + "name": "Gets a single key-value snapshot failed.", + "description": "Gets a single key-value snapshot failed.", + "filePath": "2024-09-01/GetSnapshot_Failed.json", + "parameters": [ + { + "parameter": { + "$ref": "788" + }, + "value": { + "$id": "829", + "kind": "string", + "type": { + "$ref": "789" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "791" + }, + "value": { + "$id": "830", + "kind": "string", + "type": { + "$ref": "792" + }, + "value": "Prod-2022-08-01" + } + }, + { + "parameter": { + "$ref": "796" + }, + "value": { + "$id": "831", + "kind": "string", + "type": { + "$ref": "797" + }, + "value": "\"4f6dd610dd5e4deebc7fbaef685fb903\"" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "139" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "805" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "806" + } + }, + { + "name": "link", + "nameInResponse": "Link", + "doc": "Includes links to related resources.", + "type": { + "$ref": "807" + } + }, + { + "name": "requestId", + "nameInResponse": "x-ms-request-id", + "doc": "An opaque, globally-unique, server-generated string identifier for the request.", + "type": { + "$ref": "808" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "58" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.snapshot+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "832", + "kind": "model", + "type": { + "$ref": "139" + }, + "value": { + "etag": { + "$id": "833", + "kind": "string", + "type": { + "$ref": "168" + }, + "value": "4f6dd610dd5e4deebc7fbaef685fb903" + }, + "name": { + "$id": "834", + "kind": "string", + "type": { + "$ref": "141" + }, + "value": "Prod-2022-08-01" + }, + "status": { + "$id": "835", + "kind": "string", + "type": { + "$ref": "44" + }, + "value": "failed" + }, + "filters": { + "$id": "836", + "kind": "array", + "type": { + "$ref": "144" + }, + "value": [ + { + "$id": "837", + "kind": "model", + "type": { + "$ref": "145" + }, + "value": { + "key": { + "$id": "838", + "kind": "string", + "type": { + "$ref": "147" + }, + "value": "app1/*" + }, + "label": { + "$id": "839", + "kind": "string", + "type": { + "$ref": "149" + }, + "value": "Production" + } + } + } + ] + }, + "composition_type": { + "$id": "840", + "kind": "string", + "type": { + "$ref": "50" + }, + "value": "all" + }, + "created": { + "$id": "841", + "kind": "string", + "type": { + "$ref": "155" + }, + "value": "2022-08-01T22:19:40+00:00" + }, + "size": { + "$id": "842", + "kind": "number", + "type": { + "$ref": "163" + }, + "value": 0 + }, + "items_count": { + "$id": "843", + "kind": "number", + "type": { + "$ref": "165" + }, + "value": 0 + }, + "retention_period": { + "$id": "844", + "kind": "number", + "type": { + "$ref": "161" + }, + "value": 2592000 + }, + "tags": { + "$id": "845", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": { + "release": { + "$id": "846", + "kind": "string", + "type": { + "$ref": "127" + }, + "value": "{link/id}" + } + } + } + } + } + } + ] + }, + { + "$id": "847", + "kind": "http", + "name": "Gets a single key-value snapshot using If-Match header.", + "description": "Gets a single key-value snapshot using If-Match header.", + "filePath": "2024-09-01/GetSnapshot_IfMatch.json", + "parameters": [ + { + "parameter": { + "$ref": "788" + }, + "value": { + "$id": "848", + "kind": "string", + "type": { + "$ref": "789" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "791" + }, + "value": { + "$id": "849", + "kind": "string", + "type": { + "$ref": "792" + }, + "value": "Prod-2022-08-01" + } + }, + { + "parameter": { + "$ref": "796" + }, + "value": { + "$id": "850", + "kind": "string", + "type": { + "$ref": "797" + }, + "value": "\"4f6dd610dd5e4deebc7fbaef685fb903\"" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "139" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "805" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "806" + } + }, + { + "name": "link", + "nameInResponse": "Link", + "doc": "Includes links to related resources.", + "type": { + "$ref": "807" + } + }, + { + "name": "requestId", + "nameInResponse": "x-ms-request-id", + "doc": "An opaque, globally-unique, server-generated string identifier for the request.", + "type": { + "$ref": "808" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "58" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.snapshot+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "851", + "kind": "model", + "type": { + "$ref": "139" + }, + "value": { + "etag": { + "$id": "852", + "kind": "string", + "type": { + "$ref": "168" + }, + "value": "4f6dd610dd5e4deebc7fbaef685fb903" + }, + "name": { + "$id": "853", + "kind": "string", + "type": { + "$ref": "141" + }, + "value": "Prod-2022-08-01" + }, + "status": { + "$id": "854", + "kind": "string", + "type": { + "$ref": "44" + }, + "value": "ready" + }, + "filters": { + "$id": "855", + "kind": "array", + "type": { + "$ref": "144" + }, + "value": [ + { + "$id": "856", + "kind": "model", + "type": { + "$ref": "145" + }, + "value": { + "key": { + "$id": "857", + "kind": "string", + "type": { + "$ref": "147" + }, + "value": "app1/*" + }, + "label": { + "$id": "858", + "kind": "string", + "type": { + "$ref": "149" + }, + "value": "Production" + } + } + } + ] + }, + "composition_type": { + "$id": "859", + "kind": "string", + "type": { + "$ref": "50" + }, + "value": "all" + }, + "created": { + "$id": "860", + "kind": "string", + "type": { + "$ref": "155" + }, + "value": "2022-08-01T22:19:40+00:00" + }, + "size": { + "$id": "861", + "kind": "number", + "type": { + "$ref": "163" + }, + "value": 100000 + }, + "items_count": { + "$id": "862", + "kind": "number", + "type": { + "$ref": "165" + }, + "value": 71 + }, + "retention_period": { + "$id": "863", + "kind": "number", + "type": { + "$ref": "161" + }, + "value": 2592000 + }, + "tags": { + "$id": "864", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": { + "release": { + "$id": "865", + "kind": "string", + "type": { + "$ref": "127" + }, + "value": "{link/id}" + } + } + } + } + } + } + ] + }, + { + "$id": "866", + "kind": "http", + "name": "Gets a single key-value snapshot using If-None-Match header.", + "description": "Gets a single key-value snapshot using If-None-Match header.", + "filePath": "2024-09-01/GetSnapshot_IfNoneMatch.json", + "parameters": [ + { + "parameter": { + "$ref": "788" + }, + "value": { + "$id": "867", + "kind": "string", + "type": { + "$ref": "789" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "791" + }, + "value": { + "$id": "868", + "kind": "string", + "type": { + "$ref": "792" + }, + "value": "Prod-2022-08-01" + } + }, + { + "parameter": { + "$ref": "798" + }, + "value": { + "$id": "869", + "kind": "string", + "type": { + "$ref": "799" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "139" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "805" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "806" + } + }, + { + "name": "link", + "nameInResponse": "Link", + "doc": "Includes links to related resources.", + "type": { + "$ref": "807" + } + }, + { + "name": "requestId", + "nameInResponse": "x-ms-request-id", + "doc": "An opaque, globally-unique, server-generated string identifier for the request.", + "type": { + "$ref": "808" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "58" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.snapshot+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "870", + "kind": "model", + "type": { + "$ref": "139" + }, + "value": { + "etag": { + "$id": "871", + "kind": "string", + "type": { + "$ref": "168" + }, + "value": "4f6dd610dd5e4deebc7fbaef685fb903" + }, + "name": { + "$id": "872", + "kind": "string", + "type": { + "$ref": "141" + }, + "value": "Prod-2022-08-01" + }, + "status": { + "$id": "873", + "kind": "string", + "type": { + "$ref": "44" + }, + "value": "ready" + }, + "filters": { + "$id": "874", + "kind": "array", + "type": { + "$ref": "144" + }, + "value": [ + { + "$id": "875", + "kind": "model", + "type": { + "$ref": "145" + }, + "value": { + "key": { + "$id": "876", + "kind": "string", + "type": { + "$ref": "147" + }, + "value": "app1/*" + }, + "label": { + "$id": "877", + "kind": "string", + "type": { + "$ref": "149" + }, + "value": "Production" + } + } + } + ] + }, + "composition_type": { + "$id": "878", + "kind": "string", + "type": { + "$ref": "50" + }, + "value": "all" + }, + "created": { + "$id": "879", + "kind": "string", + "type": { + "$ref": "155" + }, + "value": "2022-08-01T22:19:40+00:00" + }, + "size": { + "$id": "880", + "kind": "number", + "type": { + "$ref": "163" + }, + "value": 100000 + }, + "items_count": { + "$id": "881", + "kind": "number", + "type": { + "$ref": "165" + }, + "value": 71 + }, + "retention_period": { + "$id": "882", + "kind": "number", + "type": { + "$ref": "161" + }, + "value": 2592000 + }, + "tags": { + "$id": "883", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": { + "release": { + "$id": "884", + "kind": "string", + "type": { + "$ref": "127" + }, + "value": "{link/id}" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "885", + "name": "name", + "nameInRequest": "name", + "doc": "The name of the snapshot.", + "type": { + "$id": "886", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "887", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$ref": "728" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "888", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "889", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "890", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "891", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "892", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "893", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "894", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "895", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "896", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "897", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "804" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "139" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getSnapshot" + }, + { + "$id": "898", + "kind": "basic", + "name": "getOperationDetails", + "accessibility": "public", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Gets the state of a long running operation.", + "summary": "Gets the state of a long running operation.", + "operation": { + "$id": "899", + "name": "getOperationDetails", + "resourceName": "AzureAppConfiguration", + "summary": "Gets the state of a long running operation.", + "doc": "Gets the state of a long running operation.", + "accessibility": "public", + "parameters": [ + { + "$id": "900", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "901", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "902", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "903", + "name": "snapshot", + "nameInRequest": "snapshot", + "doc": "Snapshot identifier for the long running operation.", + "type": { + "$id": "904", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "905", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "906", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "907", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "908", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "88" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "171" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/operations", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getOperationDetails", + "decorators": [], + "examples": [ + { + "$id": "909", + "kind": "http", + "name": "Gets the state of a long running operation.", + "description": "Gets the state of a long running operation.", + "filePath": "2024-09-01/GetOperationStatus.json", + "parameters": [ + { + "parameter": { + "$ref": "900" + }, + "value": { + "$id": "910", + "kind": "string", + "type": { + "$ref": "901" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "903" + }, + "value": { + "$id": "911", + "kind": "string", + "type": { + "$ref": "904" + }, + "value": "Prod-2022-08-01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "171" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "912", + "kind": "model", + "type": { + "$ref": "171" + }, + "value": { + "id": { + "$id": "913", + "kind": "string", + "type": { + "$ref": "173" + }, + "value": "4yghgV_8lJJ5t7_kxhMpsyNCyjmZE5Q6zU0pXOp7Jvs" + }, + "status": { + "$id": "914", + "kind": "string", + "type": { + "$ref": "62" + }, + "value": "Running" + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "915", + "name": "snapshot", + "nameInRequest": "snapshot", + "doc": "Snapshot identifier for the long running operation.", + "type": { + "$id": "916", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "917", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "918", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "919", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "920", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "88" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "171" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getOperationDetails" + }, + { + "$id": "921", + "kind": "lro", + "name": "createSnapshot", + "accessibility": "internal", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Creates a key-value snapshot.", + "summary": "Creates a key-value snapshot.", + "operation": { + "$id": "922", + "name": "createSnapshot", + "resourceName": "Snapshot", + "summary": "Creates a key-value snapshot.", + "doc": "Creates a key-value snapshot.", + "accessibility": "internal", + "parameters": [ + { + "$id": "923", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "924", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "925", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "926", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "69" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "927", + "name": "name", + "nameInRequest": "name", + "doc": "The name of the key-value snapshot to create.", + "type": { + "$id": "928", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "929", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "930", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "931", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "932", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "933", + "name": "entity", + "nameInRequest": "entity", + "doc": "The key-value snapshot to create.", + "type": { + "$ref": "139" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "139" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "934", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "935", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "link", + "nameInResponse": "Link", + "doc": "Includes links to related resources.", + "type": { + "$id": "936", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "operationLocation", + "nameInResponse": "Operation-Location", + "doc": "The location for monitoring the operation state.", + "type": { + "$id": "937", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "938", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "58" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.snapshot+json", + "application/problem+json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/snapshots/{name}", + "requestMediaTypes": [ + "application/vnd.microsoft.appconfig.snapshot+json", + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.createSnapshot", + "decorators": [], + "examples": [ + { + "$id": "939", + "kind": "http", + "name": "Creates a key-value snapshot.", + "description": "Creates a key-value snapshot.", + "filePath": "2024-09-01/CreateSnapshot.json", + "parameters": [ + { + "parameter": { + "$ref": "923" + }, + "value": { + "$id": "940", + "kind": "string", + "type": { + "$ref": "924" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "927" + }, + "value": { + "$id": "941", + "kind": "string", + "type": { + "$ref": "928" + }, + "value": "Prod-2022-08-01" + } + }, + { + "parameter": { + "$ref": "933" + }, + "value": { + "$id": "942", + "kind": "model", + "type": { + "$ref": "139" + }, + "value": { + "filters": { + "$id": "943", + "kind": "array", + "type": { + "$ref": "144" + }, + "value": [ + { + "$id": "944", + "kind": "model", + "type": { + "$ref": "145" + }, + "value": { + "key": { + "$id": "945", + "kind": "string", + "type": { + "$ref": "147" + }, + "value": "app1/*" + }, + "label": { + "$id": "946", + "kind": "string", + "type": { + "$ref": "149" + }, + "value": "Production" + } + } + } + ] + }, + "retention_period": { + "$id": "947", + "kind": "number", + "type": { + "$ref": "161" + }, + "value": 3600 + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "139" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "934" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "935" + } + }, + { + "name": "link", + "nameInResponse": "Link", + "doc": "Includes links to related resources.", + "type": { + "$ref": "936" + } + }, + { + "name": "operationLocation", + "nameInResponse": "Operation-Location", + "doc": "The location for monitoring the operation state.", + "type": { + "$ref": "937" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "58" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.snapshot+json", + "application/problem+json" + ] + }, + "statusCode": 201, + "bodyValue": { + "$id": "948", + "kind": "model", + "type": { + "$ref": "139" + }, + "value": { + "etag": { + "$id": "949", + "kind": "string", + "type": { + "$ref": "168" + }, + "value": "4f6dd610dd5e4deebc7fbaef685fb903" + }, + "name": { + "$id": "950", + "kind": "string", + "type": { + "$ref": "141" + }, + "value": "Prod-2022-08-01" + }, + "status": { + "$id": "951", + "kind": "string", + "type": { + "$ref": "44" + }, + "value": "provisioning" + }, + "filters": { + "$id": "952", + "kind": "array", + "type": { + "$ref": "144" + }, + "value": [ + { + "$id": "953", + "kind": "model", + "type": { + "$ref": "145" + }, + "value": { + "key": { + "$id": "954", + "kind": "string", + "type": { + "$ref": "147" + }, + "value": "app1/*" + }, + "label": { + "$id": "955", + "kind": "string", + "type": { + "$ref": "149" + }, + "value": "Production" + } + } + } + ] + }, + "composition_type": { + "$id": "956", + "kind": "string", + "type": { + "$ref": "50" + }, + "value": "all" + }, + "created": { + "$id": "957", + "kind": "string", + "type": { + "$ref": "155" + }, + "value": "2022-08-01T22:19:40+00:00" + }, + "size": { + "$id": "958", + "kind": "number", + "type": { + "$ref": "163" + }, + "value": 0 + }, + "items_count": { + "$id": "959", + "kind": "number", + "type": { + "$ref": "165" + }, + "value": 0 + }, + "retention_period": { + "$id": "960", + "kind": "number", + "type": { + "$ref": "161" + }, + "value": 3600 + }, + "tags": { + "$id": "961", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "962", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "69" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "963", + "name": "name", + "nameInRequest": "name", + "doc": "The name of the key-value snapshot to create.", + "type": { + "$id": "964", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "965", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "966", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "967", + "name": "entity", + "nameInRequest": "entity", + "doc": "The key-value snapshot to create.", + "type": { + "$ref": "139" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "968", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "969", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "139" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.createSnapshot", + "lroMetadata": { + "finalStateVia": 2, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "139" + } + } + } + }, + { + "$id": "970", + "kind": "basic", + "name": "UpdateSnapshotStatus", + "accessibility": "internal", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Updates the state of a key-value snapshot.", + "summary": "Updates the state of a key-value snapshot.", + "operation": { + "$id": "971", + "name": "UpdateSnapshotStatus", + "resourceName": "AzureAppConfiguration", + "summary": "Updates the state of a key-value snapshot.", + "doc": "Updates the state of a key-value snapshot.", + "accessibility": "internal", + "parameters": [ + { + "$id": "972", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "973", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "974", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "975", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "73" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "976", + "name": "name", + "nameInRequest": "name", + "doc": "The name of the key-value snapshot to update.", + "type": { + "$id": "977", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "978", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "979", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "980", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "981", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "982", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "983", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "984", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "985", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "986", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "987", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "988", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "989", + "name": "entity", + "nameInRequest": "entity", + "doc": "The parameters used to update the snapshot.", + "type": { + "$ref": "190" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "139" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "990", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "991", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "link", + "nameInResponse": "Link", + "doc": "Includes links to related resources.", + "type": { + "$id": "992", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "58" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.snapshot+json", + "application/problem+json" + ] + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/snapshots/{name}", + "requestMediaTypes": [ + "application/merge-patch+json", + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "AzureAppConfiguration.updateSnapshot", + "decorators": [], + "examples": [ + { + "$id": "993", + "kind": "http", + "name": "Updates the state of a key-value snapshot.", + "description": "Updates the state of a key-value snapshot.", + "filePath": "2024-09-01/UpdateSnapshot.json", + "parameters": [ + { + "parameter": { + "$ref": "972" + }, + "value": { + "$id": "994", + "kind": "string", + "type": { + "$ref": "973" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "976" + }, + "value": { + "$id": "995", + "kind": "string", + "type": { + "$ref": "977" + }, + "value": "Prod-2022-08-01" + } + }, + { + "parameter": { + "$ref": "989" + }, + "value": { + "$id": "996", + "kind": "model", + "type": { + "$ref": "190" + }, + "value": { + "status": { + "$id": "997", + "kind": "string", + "type": { + "$ref": "44" + }, + "value": "archived" + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "139" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "990" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "991" + } + }, + { + "name": "link", + "nameInResponse": "Link", + "doc": "Includes links to related resources.", + "type": { + "$ref": "992" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "58" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.snapshot+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "998", + "kind": "model", + "type": { + "$ref": "139" + }, + "value": { + "etag": { + "$id": "999", + "kind": "string", + "type": { + "$ref": "168" + }, + "value": "4f6dd610dd5e4deebc7fbaef685fb903" + }, + "name": { + "$id": "1000", + "kind": "string", + "type": { + "$ref": "141" + }, + "value": "Prod-2022-08-01" + }, + "status": { + "$id": "1001", + "kind": "string", + "type": { + "$ref": "44" + }, + "value": "archived" + }, + "filters": { + "$id": "1002", + "kind": "array", + "type": { + "$ref": "144" + }, + "value": [ + { + "$id": "1003", + "kind": "model", + "type": { + "$ref": "145" + }, + "value": { + "key": { + "$id": "1004", + "kind": "string", + "type": { + "$ref": "147" + }, + "value": "app1/*" + }, + "label": { + "$id": "1005", + "kind": "string", + "type": { + "$ref": "149" + }, + "value": "Production" + } + } + } + ] + }, + "composition_type": { + "$id": "1006", + "kind": "string", + "type": { + "$ref": "50" + }, + "value": "all" + }, + "created": { + "$id": "1007", + "kind": "string", + "type": { + "$ref": "155" + }, + "value": "2022-08-01T22:19:40+00:00" + }, + "expires": { + "$id": "1008", + "kind": "string", + "type": { + "$ref": "158" + }, + "value": "2022-09-01T22:19:40+00:00" + }, + "size": { + "$id": "1009", + "kind": "number", + "type": { + "$ref": "163" + }, + "value": 10000 + }, + "items_count": { + "$id": "1010", + "kind": "number", + "type": { + "$ref": "165" + }, + "value": 70 + }, + "retention_period": { + "$id": "1011", + "kind": "number", + "type": { + "$ref": "161" + }, + "value": 2592000 + }, + "tags": { + "$id": "1012", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + } + } + } + } + ] + }, + { + "$id": "1013", + "kind": "http", + "name": "Updates the state of a key-value snapshot using the If-Match header.", + "description": "Updates the state of a key-value snapshot using the If-Match header.", + "filePath": "2024-09-01/UpdateSnapshot_IfMatch.json", + "parameters": [ + { + "parameter": { + "$ref": "972" + }, + "value": { + "$id": "1014", + "kind": "string", + "type": { + "$ref": "973" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "976" + }, + "value": { + "$id": "1015", + "kind": "string", + "type": { + "$ref": "977" + }, + "value": "Prod-2022-08-01" + } + }, + { + "parameter": { + "$ref": "989" + }, + "value": { + "$id": "1016", + "kind": "model", + "type": { + "$ref": "190" + }, + "value": { + "status": { + "$id": "1017", + "kind": "string", + "type": { + "$ref": "44" + }, + "value": "archived" + } + } + } + }, + { + "parameter": { + "$ref": "980" + }, + "value": { + "$id": "1018", + "kind": "string", + "type": { + "$ref": "981" + }, + "value": "\"4f6dd610dd5e4deebc7fbaef685fb903\"" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "139" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "990" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "991" + } + }, + { + "name": "link", + "nameInResponse": "Link", + "doc": "Includes links to related resources.", + "type": { + "$ref": "992" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "58" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.snapshot+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1019", + "kind": "model", + "type": { + "$ref": "139" + }, + "value": { + "etag": { + "$id": "1020", + "kind": "string", + "type": { + "$ref": "168" + }, + "value": "4f6dd610dd5e4deebc7fbaef685fb903" + }, + "name": { + "$id": "1021", + "kind": "string", + "type": { + "$ref": "141" + }, + "value": "Prod-2022-08-01" + }, + "status": { + "$id": "1022", + "kind": "string", + "type": { + "$ref": "44" + }, + "value": "archived" + }, + "filters": { + "$id": "1023", + "kind": "array", + "type": { + "$ref": "144" + }, + "value": [ + { + "$id": "1024", + "kind": "model", + "type": { + "$ref": "145" + }, + "value": { + "key": { + "$id": "1025", + "kind": "string", + "type": { + "$ref": "147" + }, + "value": "app1/*" + }, + "label": { + "$id": "1026", + "kind": "string", + "type": { + "$ref": "149" + }, + "value": "Production" + } + } + } + ] + }, + "composition_type": { + "$id": "1027", + "kind": "string", + "type": { + "$ref": "50" + }, + "value": "all" + }, + "created": { + "$id": "1028", + "kind": "string", + "type": { + "$ref": "155" + }, + "value": "2022-08-01T22:19:40+00:00" + }, + "expires": { + "$id": "1029", + "kind": "string", + "type": { + "$ref": "158" + }, + "value": "2022-09-01T22:19:40+00:00" + }, + "size": { + "$id": "1030", + "kind": "number", + "type": { + "$ref": "163" + }, + "value": 10000 + }, + "items_count": { + "$id": "1031", + "kind": "number", + "type": { + "$ref": "165" + }, + "value": 70 + }, + "retention_period": { + "$id": "1032", + "kind": "number", + "type": { + "$ref": "161" + }, + "value": 2592000 + }, + "tags": { + "$id": "1033", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1034", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "73" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1035", + "name": "name", + "nameInRequest": "name", + "doc": "The name of the key-value snapshot to update.", + "type": { + "$id": "1036", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1037", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1038", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1039", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "1040", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1041", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "1042", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1043", + "name": "entity", + "nameInRequest": "entity", + "doc": "The parameters used to update the snapshot.", + "type": { + "$ref": "190" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1044", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1045", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1046", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1047", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "988" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "139" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.updateSnapshot" + }, + { + "$id": "1048", + "kind": "basic", + "name": "checkSnapshot", + "accessibility": "public", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Requests the headers and status of the given resource.", + "summary": "Requests the headers and status of the given resource.", + "operation": { + "$id": "1049", + "name": "checkSnapshot", + "resourceName": "AzureAppConfiguration", + "summary": "Requests the headers and status of the given resource.", + "doc": "Requests the headers and status of the given resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "1050", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1051", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "1052", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1053", + "name": "name", + "nameInRequest": "name", + "doc": "The name of the key-value snapshot to check.", + "type": { + "$id": "1054", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1055", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1056", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1057", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "1058", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1059", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "1060", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1061", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1062", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1063", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1064", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "1065", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "link", + "nameInResponse": "Link", + "doc": "Includes links to related resources.", + "type": { + "$id": "1066", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "HEAD", + "uri": "{endpoint}", + "path": "/snapshots/{name}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkSnapshot", + "decorators": [], + "examples": [ + { + "$id": "1067", + "kind": "http", + "name": "Requests the headers and status of the given resource.", + "description": "Requests the headers and status of the given resource.", + "filePath": "2024-09-01/CheckSnapshot.json", + "parameters": [ + { + "parameter": { + "$ref": "1050" + }, + "value": { + "$id": "1068", + "kind": "string", + "type": { + "$ref": "1051" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "1053" + }, + "value": { + "$id": "1069", + "kind": "string", + "type": { + "$ref": "1054" + }, + "value": "Prod-2022-08-01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "1064" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "1065" + } + }, + { + "name": "link", + "nameInResponse": "Link", + "doc": "Includes links to related resources.", + "type": { + "$ref": "1066" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 200 + } + ] + }, + { + "$id": "1070", + "kind": "http", + "name": "Requests the headers and status of the given resource using If-Match header.", + "description": "Requests the headers and status of the given resource using If-Match header.", + "filePath": "2024-09-01/CheckSnapshot_IfMatch.json", + "parameters": [ + { + "parameter": { + "$ref": "1050" + }, + "value": { + "$id": "1071", + "kind": "string", + "type": { + "$ref": "1051" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "1053" + }, + "value": { + "$id": "1072", + "kind": "string", + "type": { + "$ref": "1054" + }, + "value": "Prod-2022-08-01" + } + }, + { + "parameter": { + "$ref": "1057" + }, + "value": { + "$id": "1073", + "kind": "string", + "type": { + "$ref": "1058" + }, + "value": "\"4f6dd610dd5e4deebc7fbaef685fb903\"" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "1064" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "1065" + } + }, + { + "name": "link", + "nameInResponse": "Link", + "doc": "Includes links to related resources.", + "type": { + "$ref": "1066" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 200 + } + ] + }, + { + "$id": "1074", + "kind": "http", + "name": "Requests the headers and status of the given resource using If-None-Match header", + "description": "Requests the headers and status of the given resource using If-None-Match header", + "filePath": "2024-09-01/CheckSnapshot_IfNoneMatch.json", + "parameters": [ + { + "parameter": { + "$ref": "1050" + }, + "value": { + "$id": "1075", + "kind": "string", + "type": { + "$ref": "1051" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "1053" + }, + "value": { + "$id": "1076", + "kind": "string", + "type": { + "$ref": "1054" + }, + "value": "Prod-2022-08-01" + } + }, + { + "parameter": { + "$ref": "1059" + }, + "value": { + "$id": "1077", + "kind": "string", + "type": { + "$ref": "1060" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "1064" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "1065" + } + }, + { + "name": "link", + "nameInResponse": "Link", + "doc": "Includes links to related resources.", + "type": { + "$ref": "1066" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 200 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1078", + "name": "name", + "nameInRequest": "name", + "doc": "The name of the key-value snapshot to check.", + "type": { + "$id": "1079", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1080", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1081", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1082", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "1083", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1084", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "1085", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1086", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1087", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1088", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkSnapshot" + }, + { + "$id": "1089", + "kind": "paging", + "name": "getLabels", + "accessibility": "public", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Gets a list of labels.", + "summary": "Gets a list of labels.", + "operation": { + "$id": "1090", + "name": "getLabels", + "resourceName": "AzureAppConfiguration", + "summary": "Gets a list of labels.", + "doc": "Gets a list of labels.", + "accessibility": "public", + "parameters": [ + { + "$id": "1091", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1092", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "1093", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1094", + "name": "name", + "nameInRequest": "name", + "doc": "A filter for the name of the returned labels.", + "type": { + "$id": "1095", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1096", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1097", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1098", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "1099", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1100", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "1101", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1102", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$id": "1103", + "kind": "array", + "name": "ArrayLabelFields", + "valueType": { + "$ref": "77" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1104", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1105", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1106", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1107", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1108", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "192" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1109", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "80" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.labelset+json", + "application/problem+json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/labels", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getLabels", + "decorators": [], + "examples": [ + { + "$id": "1110", + "kind": "http", + "name": "Gets a list of labels.", + "description": "Gets a list of labels.", + "filePath": "2024-09-01/GetLabels.json", + "parameters": [ + { + "parameter": { + "$ref": "1091" + }, + "value": { + "$id": "1111", + "kind": "string", + "type": { + "$ref": "1092" + }, + "value": "2024-09-01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "192" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "1109" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "80" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.labelset+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1112", + "kind": "model", + "type": { + "$ref": "192" + }, + "value": { + "items": { + "$id": "1113", + "kind": "array", + "type": { + "$ref": "194" + }, + "value": [ + { + "$id": "1114", + "kind": "model", + "type": { + "$ref": "195" + }, + "value": {} + }, + { + "$id": "1115", + "kind": "model", + "type": { + "$ref": "195" + }, + "value": { + "name": { + "$id": "1116", + "kind": "string", + "type": { + "$ref": "197" + }, + "value": "Asset1" + } + } + }, + { + "$id": "1117", + "kind": "model", + "type": { + "$ref": "195" + }, + "value": { + "name": { + "$id": "1118", + "kind": "string", + "type": { + "$ref": "197" + }, + "value": "Asset1/devCi" + } + } + }, + { + "$id": "1119", + "kind": "model", + "type": { + "$ref": "195" + }, + "value": { + "name": { + "$id": "1120", + "kind": "string", + "type": { + "$ref": "197" + }, + "value": "Asset1/devCi/branch1" + } + } + }, + { + "$id": "1121", + "kind": "model", + "type": { + "$ref": "195" + }, + "value": { + "name": { + "$id": "1122", + "kind": "string", + "type": { + "$ref": "197" + }, + "value": "WestUs" + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1123", + "name": "name", + "nameInRequest": "name", + "doc": "A filter for the name of the returned labels.", + "type": { + "$id": "1124", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1125", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1126", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1127", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "1128", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1129", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "1130", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1131", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$ref": "1103" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1132", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1133", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1134", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1135", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "1108" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "194" + }, + "resultSegments": [ + "items" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getLabels", + "pagingMetadata": { + "itemPropertySegments": [ + "items" + ], + "nextLink": { + "responseSegments": [ + "@nextLink" + ], + "responseLocation": "Body" + } + } + }, + { + "$id": "1136", + "kind": "basic", + "name": "checkLabels", + "accessibility": "public", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Requests the headers and status of the given resource.", + "summary": "Requests the headers and status of the given resource.", + "operation": { + "$id": "1137", + "name": "checkLabels", + "resourceName": "AzureAppConfiguration", + "summary": "Requests the headers and status of the given resource.", + "doc": "Requests the headers and status of the given resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "1138", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1139", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "1140", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1141", + "name": "name", + "nameInRequest": "name", + "doc": "A filter for the name of the returned labels.", + "type": { + "$id": "1142", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1143", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1144", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1145", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "1146", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1147", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "1148", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1149", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$ref": "1103" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1150", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1151", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1152", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1153", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "HEAD", + "uri": "{endpoint}", + "path": "/labels", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkLabels", + "decorators": [], + "examples": [ + { + "$id": "1154", + "kind": "http", + "name": "Requests the headers and status of the given resource.", + "description": "Requests the headers and status of the given resource.", + "filePath": "2024-09-01/CheckLabels.json", + "parameters": [ + { + "parameter": { + "$ref": "1138" + }, + "value": { + "$id": "1155", + "kind": "string", + "type": { + "$ref": "1139" + }, + "value": "2024-09-01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "1153" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 200 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1156", + "name": "name", + "nameInRequest": "name", + "doc": "A filter for the name of the returned labels.", + "type": { + "$id": "1157", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1158", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1159", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1160", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "1161", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1162", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "1163", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1164", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$ref": "1103" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1165", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1166", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1167", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkLabels" + }, + { + "$id": "1168", + "kind": "basic", + "name": "CreateReadOnlyLock", + "accessibility": "internal", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Locks a key-value.", + "summary": "Locks a key-value.", + "operation": { + "$id": "1169", + "name": "CreateReadOnlyLock", + "resourceName": "AzureAppConfiguration", + "summary": "Locks a key-value.", + "doc": "Locks a key-value.", + "accessibility": "internal", + "parameters": [ + { + "$id": "1170", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1171", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "1172", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1173", + "name": "key", + "nameInRequest": "key", + "doc": "The key of the key-value to lock.", + "type": { + "$id": "1174", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1175", + "name": "label", + "nameInRequest": "label", + "doc": "The label, if any, of the key-value to lock.", + "type": { + "$id": "1176", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1177", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1178", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1179", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "1180", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1181", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "1182", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1183", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1184", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1185", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1186", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1187", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "112" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1188", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "1189", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "19" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/locks/{key}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.putLock", + "decorators": [], + "examples": [ + { + "$id": "1190", + "kind": "http", + "name": "Locks a key-value.", + "description": "Locks a key-value.", + "filePath": "2024-09-01/PutLock.json", + "parameters": [ + { + "parameter": { + "$ref": "1170" + }, + "value": { + "$id": "1191", + "kind": "string", + "type": { + "$ref": "1171" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "1173" + }, + "value": { + "$id": "1192", + "kind": "string", + "type": { + "$ref": "1174" + }, + "value": "Message" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "112" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "1188" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "1189" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "19" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1193", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "1194", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV4" + }, + "key": { + "$id": "1195", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Message" + }, + "value": { + "$id": "1196", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "1197", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "1198", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": true + }, + "last_modified": { + "$id": "1199", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + } + ] + }, + { + "$id": "1200", + "kind": "http", + "name": "Locks a key-value using If-Match header.", + "description": "Locks a key-value using If-Match header.", + "filePath": "2024-09-01/PutLock_IfMatch.json", + "parameters": [ + { + "parameter": { + "$ref": "1170" + }, + "value": { + "$id": "1201", + "kind": "string", + "type": { + "$ref": "1171" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "1173" + }, + "value": { + "$id": "1202", + "kind": "string", + "type": { + "$ref": "1174" + }, + "value": "Message" + } + }, + { + "parameter": { + "$ref": "1179" + }, + "value": { + "$id": "1203", + "kind": "string", + "type": { + "$ref": "1180" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "112" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "1188" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "1189" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "19" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1204", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "1205", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV5" + }, + "key": { + "$id": "1206", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Message" + }, + "value": { + "$id": "1207", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "1208", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "1209", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": true + }, + "last_modified": { + "$id": "1210", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1211", + "name": "key", + "nameInRequest": "key", + "doc": "The key of the key-value to lock.", + "type": { + "$id": "1212", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1213", + "name": "label", + "nameInRequest": "label", + "doc": "The label, if any, of the key-value to lock.", + "type": { + "$id": "1214", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1215", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1216", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1217", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "1218", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1219", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "1220", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1221", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1222", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1223", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1224", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "1187" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "112" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.putLock" + }, + { + "$id": "1225", + "kind": "basic", + "name": "DeleteReadOnlyLock", + "accessibility": "internal", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Unlocks a key-value.", + "summary": "Unlocks a key-value.", + "operation": { + "$id": "1226", + "name": "DeleteReadOnlyLock", + "resourceName": "AzureAppConfiguration", + "summary": "Unlocks a key-value.", + "doc": "Unlocks a key-value.", + "accessibility": "internal", + "parameters": [ + { + "$id": "1227", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1228", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "1229", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1230", + "name": "key", + "nameInRequest": "key", + "doc": "The key of the key-value to unlock.", + "type": { + "$id": "1231", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1232", + "name": "label", + "nameInRequest": "label", + "doc": "The label, if any, of the key-value to unlock.", + "type": { + "$id": "1233", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1234", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1235", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1236", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "1237", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1238", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "1239", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1240", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1241", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1242", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1243", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1244", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "112" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1245", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "1246", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "19" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/locks/{key}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.deleteLock", + "decorators": [], + "examples": [ + { + "$id": "1247", + "kind": "http", + "name": "Unlocks a key-value.", + "description": "Unlocks a key-value.", + "filePath": "2024-09-01/DeleteLock.json", + "parameters": [ + { + "parameter": { + "$ref": "1227" + }, + "value": { + "$id": "1248", + "kind": "string", + "type": { + "$ref": "1228" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "1230" + }, + "value": { + "$id": "1249", + "kind": "string", + "type": { + "$ref": "1231" + }, + "value": "Message" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "112" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "1245" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "1246" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "19" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1250", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "1251", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "0BGYCoQ6iNdp5NtQ7N8shrobo6s" + }, + "key": { + "$id": "1252", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Message" + }, + "value": { + "$id": "1253", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "1254", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "1255", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "1256", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + } + ] + }, + { + "$id": "1257", + "kind": "http", + "name": "Unlocks a key-value using If-Match header.", + "description": "Unlocks a key-value using If-Match header.", + "filePath": "2024-09-01/DeleteLock_IfMatch.json", + "parameters": [ + { + "parameter": { + "$ref": "1227" + }, + "value": { + "$id": "1258", + "kind": "string", + "type": { + "$ref": "1228" + }, + "value": "2024-09-01" + } + }, + { + "parameter": { + "$ref": "1230" + }, + "value": { + "$id": "1259", + "kind": "string", + "type": { + "$ref": "1231" + }, + "value": "Message" + } + }, + { + "parameter": { + "$ref": "1236" + }, + "value": { + "$id": "1260", + "kind": "string", + "type": { + "$ref": "1237" + }, + "value": "\"L10qpBghN693OaxydgTkLmrBbV5\"" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "112" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "1245" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "1246" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "19" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kv+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1261", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "1262", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV5" + }, + "key": { + "$id": "1263", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Message" + }, + "value": { + "$id": "1264", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "1265", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "1266", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "1267", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1268", + "name": "key", + "nameInRequest": "key", + "doc": "The key of the key-value to unlock.", + "type": { + "$id": "1269", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1270", + "name": "label", + "nameInRequest": "label", + "doc": "The label, if any, of the key-value to unlock.", + "type": { + "$id": "1271", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1272", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1273", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1274", + "name": "ifMatch", + "nameInRequest": "If-Match", + "doc": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.", + "type": { + "$id": "1275", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1276", + "name": "ifNoneMatch", + "nameInRequest": "If-None-Match", + "doc": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.", + "type": { + "$id": "1277", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1278", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1279", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1280", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1281", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "1244" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "112" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.deleteLock" + }, + { + "$id": "1282", + "kind": "paging", + "name": "getRevisions", + "accessibility": "public", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Gets a list of key-value revisions.", + "summary": "Gets a list of key-value revisions.", + "operation": { + "$id": "1283", + "name": "getRevisions", + "resourceName": "AzureAppConfiguration", + "summary": "Gets a list of key-value revisions.", + "doc": "Gets a list of key-value revisions.", + "accessibility": "public", + "parameters": [ + { + "$id": "1284", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1285", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "1286", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1287", + "name": "key", + "nameInRequest": "key", + "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions", + "type": { + "$id": "1288", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1289", + "name": "label", + "nameInRequest": "label", + "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions", + "type": { + "$id": "1290", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1291", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1292", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1293", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "1294", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1295", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "1296", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1297", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1298", + "name": "tags", + "nameInRequest": "tags", + "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": true, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1299", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1300", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1301", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1302", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1303", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "109" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1304", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "1305", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "15" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kvset+json", + "application/problem+json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/revisions", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getRevisions", + "decorators": [], + "examples": [ + { + "$id": "1306", + "kind": "http", + "name": "Gets a list of key-value revisions.", + "description": "Gets a list of key-value revisions.", + "filePath": "2024-09-01/GetRevisions.json", + "parameters": [ + { + "parameter": { + "$ref": "1284" + }, + "value": { + "$id": "1307", + "kind": "string", + "type": { + "$ref": "1285" + }, + "value": "2024-09-01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "109" + }, + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "1304" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "1305" + } + }, + { + "name": "contentType", + "nameInResponse": "Content-Type", + "doc": "Content-Type header", + "type": { + "$ref": "15" + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/vnd.microsoft.appconfig.kvset+json", + "application/problem+json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "1308", + "kind": "model", + "type": { + "$ref": "109" + }, + "value": { + "items": { + "$id": "1309", + "kind": "array", + "type": { + "$ref": "111" + }, + "value": [ + { + "$id": "1310", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "1311", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "0BGYCoQ6iNdp5NtQ7N8shrobo6s" + }, + "key": { + "$id": "1312", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Message" + }, + "value": { + "$id": "1313", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "1314", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "1315", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "1316", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-08-27T16:52:32+00:00" + } + } + }, + { + "$id": "1317", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "1318", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "L10qpBghN693OaxydgTkLmrBbV4" + }, + "key": { + "$id": "1319", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Message" + }, + "value": { + "$id": "1320", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "A new message." + }, + "tags": { + "$id": "1321", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "1322", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "1323", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-08-27T16:52:20+00:00" + } + } + }, + { + "$id": "1324", + "kind": "model", + "type": { + "$ref": "112" + }, + "value": { + "etag": { + "$id": "1325", + "kind": "string", + "type": { + "$ref": "131" + }, + "value": "tnIHBkDYQwtdNMLoWtr5aybkKwL" + }, + "key": { + "$id": "1326", + "kind": "string", + "type": { + "$ref": "114" + }, + "value": "Message" + }, + "value": { + "$id": "1327", + "kind": "string", + "type": { + "$ref": "120" + }, + "value": "Hello World!" + }, + "tags": { + "$id": "1328", + "kind": "dict", + "type": { + "$ref": "125" + }, + "value": {} + }, + "locked": { + "$id": "1329", + "kind": "boolean", + "type": { + "$ref": "129" + }, + "value": false + }, + "last_modified": { + "$id": "1330", + "kind": "string", + "type": { + "$ref": "122" + }, + "value": "2019-08-27T16:50:47+00:00" + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1331", + "name": "key", + "nameInRequest": "key", + "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions", + "type": { + "$id": "1332", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1333", + "name": "label", + "nameInRequest": "label", + "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions", + "type": { + "$id": "1334", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1335", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1336", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1337", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "1338", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1339", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "1340", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1341", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1342", + "name": "tags", + "nameInRequest": "tags", + "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": true, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1343", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1344", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1345", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1346", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "1303" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "111" + }, + "resultSegments": [ + "items" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.getRevisions", + "pagingMetadata": { + "itemPropertySegments": [ + "items" + ], + "nextLink": { + "responseSegments": [ + "@nextLink" + ], + "responseLocation": "Body" + } + } + }, + { + "$id": "1347", + "kind": "basic", + "name": "checkRevisions", + "accessibility": "public", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ], + "doc": "Requests the headers and status of the given resource.", + "summary": "Requests the headers and status of the given resource.", + "operation": { + "$id": "1348", + "name": "checkRevisions", + "resourceName": "AzureAppConfiguration", + "summary": "Requests the headers and status of the given resource.", + "doc": "Requests the headers and status of the given resource.", + "accessibility": "public", + "parameters": [ + { + "$id": "1349", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1350", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "1351", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-09-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1352", + "name": "key", + "nameInRequest": "key", + "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions", + "type": { + "$id": "1353", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1354", + "name": "label", + "nameInRequest": "label", + "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions", + "type": { + "$id": "1355", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1356", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1357", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1358", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "1359", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1360", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "1361", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1362", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1363", + "name": "tags", + "nameInRequest": "tags", + "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": true, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1364", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1365", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1366", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1367", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$id": "1368", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "HEAD", + "uri": "{endpoint}", + "path": "/revisions", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkRevisions", + "decorators": [], + "examples": [ + { + "$id": "1369", + "kind": "http", + "name": "Requests the headers and status of the given resource.", + "description": "Requests the headers and status of the given resource.", + "filePath": "2024-09-01/CheckRevisions.json", + "parameters": [ + { + "parameter": { + "$ref": "1349" + }, + "value": { + "$id": "1370", + "kind": "string", + "type": { + "$ref": "1350" + }, + "value": "2024-09-01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "headers": [ + { + "name": "syncToken", + "nameInResponse": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$ref": "1367" + } + }, + { + "name": "etagHeader", + "nameInResponse": "ETag", + "doc": "A value representing the current state of the resource.", + "type": { + "$ref": "1368" + } + } + ], + "isErrorResponse": false + }, + "statusCode": 200 + } + ] + } + ] + }, + "parameters": [ + { + "$id": "1371", + "name": "key", + "nameInRequest": "key", + "doc": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions", + "type": { + "$id": "1372", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1373", + "name": "label", + "nameInRequest": "label", + "doc": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions", + "type": { + "$id": "1374", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1375", + "name": "syncToken", + "nameInRequest": "Sync-Token", + "doc": "Used to guarantee real-time consistency between requests.", + "type": { + "$id": "1376", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1377", + "name": "after", + "nameInRequest": "After", + "doc": "Instructs the server to return elements that appear after the element referred\nto by the specified token.", + "type": { + "$id": "1378", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1379", + "name": "acceptDatetime", + "nameInRequest": "Accept-Datetime", + "doc": "Requests the server to respond with the state of the resource at the specified\ntime.", + "type": { + "$id": "1380", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1381", + "name": "select", + "nameInRequest": "$Select", + "doc": "Used to select what fields are present in the returned resource(s).", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "arraySerializationDelimiter": ",", + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1382", + "name": "tags", + "nameInRequest": "tags", + "doc": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions", + "type": { + "$ref": "151" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": true, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1383", + "name": "clientRequestId", + "nameInRequest": "x-ms-client-request-id", + "doc": "An opaque, globally-unique, client-generated string identifier for the request.", + "type": { + "$id": "1384", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1385", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "AzureAppConfiguration.checkRevisions" + } + ], + "parameters": [ + { + "$id": "1386", + "name": "endpoint", + "nameInRequest": "endpoint", + "type": { + "$id": "1387", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "serverUrlTemplate": "{endpoint}" + } + ], + "decorators": [], + "crossLanguageDefinitionId": "AzureAppConfiguration", + "apiVersions": [ + "2023-11-01", + "2024-09-01" + ] + } + ], + "auth": { + "apiKey": { + "name": "Connection String", + "in": "header" + }, + "oAuth2": { + "flows": [ + { + "scopes": [ + "https://azconfig.io/.default" + ], + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize" + } + ] + } + } +} diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid.Namespaces/Configuration.json b/sdk/eventgrid/Azure.Messaging.EventGrid.Namespaces/Configuration.json new file mode 100644 index 000000000000..f4003a091c08 --- /dev/null +++ b/sdk/eventgrid/Azure.Messaging.EventGrid.Namespaces/Configuration.json @@ -0,0 +1,12 @@ +{ + "package-name": "Azure.Messaging.EventGrid.Namespaces", + "namespace": "Azure.Messaging.EventGrid.Namespaces", + "model-namespace": false, + "license": { + "name": "MIT License", + "company": "Microsoft Corporation", + "link": "https://mit-license.org", + "header": "Copyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the MIT License.", + "description": "Copyright (c) Microsoft Corporation\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the “Software”), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE." + } +} diff --git a/sdk/eventgrid/Azure.Messaging.EventGrid.Namespaces/tspCodeModel.json b/sdk/eventgrid/Azure.Messaging.EventGrid.Namespaces/tspCodeModel.json new file mode 100644 index 000000000000..f9413feb805b --- /dev/null +++ b/sdk/eventgrid/Azure.Messaging.EventGrid.Namespaces/tspCodeModel.json @@ -0,0 +1,4410 @@ +{ + "name": "Azure.Messaging.EventGrid.Namespaces", + "apiVersions": [ + "2023-11-01", + "2024-06-01" + ], + "enums": [ + { + "$id": "1", + "kind": "enum", + "name": "ServiceApiVersions", + "crossLanguageDefinitionId": "Microsoft.EventGrid.ServiceApiVersions", + "valueType": { + "$id": "2", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "3", + "kind": "enumvalue", + "name": "v2023_11_01", + "value": "2023-11-01", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "decorators": [] + }, + { + "$id": "4", + "kind": "enumvalue", + "name": "v2024_06_01", + "value": "2024-06-01", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "decorators": [] + } + ], + "namespace": "Azure.Messaging.EventGrid.Namespaces", + "isFixed": true, + "isFlags": false, + "usage": "ApiVersionEnum", + "decorators": [] + }, + { + "$id": "5", + "kind": "enum", + "name": "ReleaseDelay", + "crossLanguageDefinitionId": "Microsoft.EventGrid.ReleaseDelay", + "valueType": { + "$id": "6", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "7", + "kind": "enumvalue", + "name": "NoDelay", + "value": "0", + "valueType": { + "$ref": "6" + }, + "enumType": { + "$ref": "5" + }, + "doc": "Release the event after 0 seconds.", + "decorators": [] + }, + { + "$id": "8", + "kind": "enumvalue", + "name": "TenSeconds", + "value": "10", + "valueType": { + "$ref": "6" + }, + "enumType": { + "$ref": "5" + }, + "doc": "Release the event after 10 seconds.", + "decorators": [] + }, + { + "$id": "9", + "kind": "enumvalue", + "name": "OneMinute", + "value": "60", + "valueType": { + "$ref": "6" + }, + "enumType": { + "$ref": "5" + }, + "doc": "Release the event after 60 seconds.", + "decorators": [] + }, + { + "$id": "10", + "kind": "enumvalue", + "name": "TenMinutes", + "value": "600", + "valueType": { + "$ref": "6" + }, + "enumType": { + "$ref": "5" + }, + "doc": "Release the event after 600 seconds.", + "decorators": [] + }, + { + "$id": "11", + "kind": "enumvalue", + "name": "OneHour", + "value": "3600", + "valueType": { + "$ref": "6" + }, + "enumType": { + "$ref": "5" + }, + "doc": "Release the event after 3600 seconds.", + "decorators": [] + } + ], + "access": "public", + "namespace": "Azure.Messaging.EventGrid.Namespaces", + "doc": "Supported delays for release operation.", + "isFixed": false, + "isFlags": false, + "usage": "Input", + "decorators": [] + } + ], + "constants": [ + { + "$id": "12", + "kind": "constant", + "name": "SendRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/cloudevents+json; charset=utf-8", + "decorators": [] + }, + { + "$id": "14", + "kind": "constant", + "name": "sendContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "16", + "kind": "constant", + "name": "SendRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/cloudevents+json; charset=utf-8", + "decorators": [] + }, + { + "$id": "18", + "kind": "constant", + "name": "SendEventsRequestContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/cloudevents-batch+json; charset=utf-8", + "decorators": [] + }, + { + "$id": "20", + "kind": "constant", + "name": "sendEventsContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "22", + "kind": "constant", + "name": "SendEventsRequestContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/cloudevents-batch+json; charset=utf-8", + "decorators": [] + }, + { + "$id": "24", + "kind": "constant", + "name": "receiveContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "26", + "kind": "constant", + "name": "acknowledgeContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "28", + "kind": "constant", + "name": "acknowledgeContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "30", + "kind": "constant", + "name": "releaseContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "32", + "kind": "constant", + "name": "releaseContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "34", + "kind": "constant", + "name": "rejectContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "36", + "kind": "constant", + "name": "rejectContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "38", + "kind": "constant", + "name": "renewLocksContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "40", + "kind": "constant", + "name": "renewLocksContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "42", + "kind": "model", + "name": "CloudEvent", + "namespace": "Azure.Messaging.EventGrid.Namespaces", + "crossLanguageDefinitionId": "Microsoft.EventGrid.CloudEvent", + "usage": "Input,Output,Json", + "doc": "Properties of an event published to an Azure Messaging EventGrid Namespace topic using the CloudEvent 1.0 Schema.", + "decorators": [], + "properties": [ + { + "$id": "43", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "An identifier for the event. The combination of id and source must be unique for each distinct event.", + "type": { + "$id": "44", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.CloudEvent.id", + "serializationOptions": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "45", + "kind": "property", + "name": "source", + "serializedName": "source", + "doc": "Identifies the context in which an event happened. The combination of id and source must be unique for each distinct event.", + "type": { + "$id": "46", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.CloudEvent.source", + "serializationOptions": { + "json": { + "name": "source" + } + }, + "isHttpMetadata": false + }, + { + "$id": "47", + "kind": "property", + "name": "data", + "serializedName": "data", + "doc": "Event data specific to the event type.", + "type": { + "$id": "48", + "kind": "unknown", + "name": "unknown", + "crossLanguageDefinitionId": "", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.CloudEvent.data", + "serializationOptions": { + "json": { + "name": "data" + } + }, + "isHttpMetadata": false + }, + { + "$id": "49", + "kind": "property", + "name": "data_base64", + "serializedName": "data_base64", + "doc": "Event data specific to the event type, encoded as a base64 string.", + "type": { + "$id": "50", + "kind": "bytes", + "name": "bytes", + "encode": "base64", + "crossLanguageDefinitionId": "TypeSpec.bytes", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.CloudEvent.data_base64", + "serializationOptions": { + "json": { + "name": "data_base64" + } + }, + "isHttpMetadata": false + }, + { + "$id": "51", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "Type of event related to the originating occurrence.", + "type": { + "$id": "52", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.CloudEvent.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "53", + "kind": "property", + "name": "time", + "serializedName": "time", + "doc": "The time (in UTC) the event was generated, in RFC3339 format.", + "type": { + "$id": "54", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.CloudEvent.time", + "serializationOptions": { + "json": { + "name": "time" + } + }, + "isHttpMetadata": false + }, + { + "$id": "56", + "kind": "property", + "name": "specversion", + "serializedName": "specversion", + "doc": "The version of the CloudEvents specification which the event uses.", + "type": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.CloudEvent.specversion", + "serializationOptions": { + "json": { + "name": "specversion" + } + }, + "isHttpMetadata": false + }, + { + "$id": "58", + "kind": "property", + "name": "dataschema", + "serializedName": "dataschema", + "doc": "Identifies the schema that data adheres to.", + "type": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.CloudEvent.dataschema", + "serializationOptions": { + "json": { + "name": "dataschema" + } + }, + "isHttpMetadata": false + }, + { + "$id": "60", + "kind": "property", + "name": "datacontenttype", + "serializedName": "datacontenttype", + "doc": "Content type of data value.", + "type": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.CloudEvent.datacontenttype", + "serializationOptions": { + "json": { + "name": "datacontenttype" + } + }, + "isHttpMetadata": false + }, + { + "$id": "62", + "kind": "property", + "name": "subject", + "serializedName": "subject", + "doc": "This describes the subject of the event in the context of the event producer (identified by source).", + "type": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.CloudEvent.subject", + "serializationOptions": { + "json": { + "name": "subject" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "64", + "kind": "model", + "name": "PublishResult", + "namespace": "Azure.Messaging.EventGrid.Namespaces", + "crossLanguageDefinitionId": "Microsoft.EventGrid.PublishResult", + "usage": "Output,Json", + "doc": "The result of the Publish operation.", + "decorators": [], + "properties": [] + }, + { + "$id": "65", + "kind": "model", + "name": "ErrorResponse", + "namespace": "Azure.Messaging.EventGrid.Namespaces", + "crossLanguageDefinitionId": "Azure.Core.Foundations.ErrorResponse", + "usage": "Json,Exception", + "doc": "A response containing error details.", + "decorators": [], + "properties": [ + { + "$id": "66", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "The error object.", + "type": { + "$id": "67", + "kind": "model", + "name": "Error", + "namespace": "Azure.Messaging.EventGrid.Namespaces", + "crossLanguageDefinitionId": "Azure.Core.Foundations.Error", + "usage": "Output,Json,Exception", + "doc": "The error object.", + "decorators": [], + "properties": [ + { + "$id": "68", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "One of a server-defined set of error codes.", + "type": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.code", + "serializationOptions": { + "json": { + "name": "code" + } + }, + "isHttpMetadata": false + }, + { + "$id": "70", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "A human-readable representation of the error.", + "type": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.message", + "serializationOptions": { + "json": { + "name": "message" + } + }, + "isHttpMetadata": false + }, + { + "$id": "72", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The target of the error.", + "type": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.target", + "serializationOptions": { + "json": { + "name": "target" + } + }, + "isHttpMetadata": false + }, + { + "$id": "74", + "kind": "property", + "name": "details", + "serializedName": "details", + "doc": "An array of details about specific errors that led to this reported error.", + "type": { + "$id": "75", + "kind": "array", + "name": "ArrayError", + "valueType": { + "$ref": "67" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.details", + "serializationOptions": { + "json": { + "name": "details" + } + }, + "isHttpMetadata": false + }, + { + "$id": "76", + "kind": "property", + "name": "innererror", + "serializedName": "innererror", + "doc": "An object containing more specific information than the current object about the error.", + "type": { + "$id": "77", + "kind": "model", + "name": "InnerError", + "namespace": "Azure.Messaging.EventGrid.Namespaces", + "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError", + "usage": "Output,Json,Exception", + "doc": "An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.", + "decorators": [], + "properties": [ + { + "$id": "78", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "One of a server-defined set of error codes.", + "type": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError.code", + "serializationOptions": { + "json": { + "name": "code" + } + }, + "isHttpMetadata": false + }, + { + "$id": "80", + "kind": "property", + "name": "innererror", + "serializedName": "innererror", + "doc": "Inner error.", + "type": { + "$ref": "77" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError.innererror", + "serializationOptions": { + "json": { + "name": "innererror" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.innererror", + "serializationOptions": { + "json": { + "name": "innererror" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.ErrorResponse.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + }, + { + "$id": "81", + "kind": "property", + "name": "errorCode", + "serializedName": "errorCode", + "doc": "String error code indicating what went wrong.", + "type": { + "$id": "82", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.Core.Foundations.ErrorResponse.errorCode", + "serializationOptions": { + "json": { + "name": "errorCode" + } + }, + "isHttpMetadata": true + } + ] + }, + { + "$ref": "67" + }, + { + "$ref": "77" + }, + { + "$id": "83", + "kind": "model", + "name": "ReceiveResult", + "namespace": "Azure.Messaging.EventGrid.Namespaces", + "crossLanguageDefinitionId": "Microsoft.EventGrid.ReceiveResult", + "usage": "Output,Json", + "doc": "Details of the Receive operation response.", + "decorators": [], + "properties": [ + { + "$id": "84", + "kind": "property", + "name": "details", + "serializedName": "value", + "doc": "Array of receive responses, one per cloud event.", + "type": { + "$id": "85", + "kind": "array", + "name": "ArrayReceiveDetails", + "valueType": { + "$id": "86", + "kind": "model", + "name": "ReceiveDetails", + "namespace": "Azure.Messaging.EventGrid.Namespaces", + "crossLanguageDefinitionId": "Microsoft.EventGrid.ReceiveDetails", + "usage": "Output,Json", + "doc": "Receive operation details per Cloud Event.", + "decorators": [], + "properties": [ + { + "$id": "87", + "kind": "property", + "name": "brokerProperties", + "serializedName": "brokerProperties", + "doc": "The Event Broker details.", + "type": { + "$id": "88", + "kind": "model", + "name": "BrokerProperties", + "namespace": "Azure.Messaging.EventGrid.Namespaces", + "crossLanguageDefinitionId": "Microsoft.EventGrid.BrokerProperties", + "usage": "Output,Json", + "doc": "Properties of the Event Broker operation.", + "decorators": [], + "properties": [ + { + "$id": "89", + "kind": "property", + "name": "lockToken", + "serializedName": "lockToken", + "doc": "The token of the lock on the event.", + "type": { + "$id": "90", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.BrokerProperties.lockToken", + "serializationOptions": { + "json": { + "name": "lockToken" + } + }, + "isHttpMetadata": false + }, + { + "$id": "91", + "kind": "property", + "name": "deliveryCount", + "serializedName": "deliveryCount", + "doc": "The attempt count for delivering the event.", + "type": { + "$id": "92", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.BrokerProperties.deliveryCount", + "serializationOptions": { + "json": { + "name": "deliveryCount" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.ReceiveDetails.brokerProperties", + "serializationOptions": { + "json": { + "name": "brokerProperties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "93", + "kind": "property", + "name": "event", + "serializedName": "event", + "doc": "Cloud Event details.", + "type": { + "$ref": "42" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.ReceiveDetails.event", + "serializationOptions": { + "json": { + "name": "event" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.ReceiveResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "86" + }, + { + "$ref": "88" + }, + { + "$id": "94", + "kind": "model", + "name": "AcknowledgeRequest", + "namespace": "", + "crossLanguageDefinitionId": "Customizations.acknowledge.Request.anonymous", + "usage": "Spread,Json", + "decorators": [], + "properties": [ + { + "$id": "95", + "kind": "property", + "name": "lockTokens", + "serializedName": "lockTokens", + "doc": "Array of lock tokens.", + "type": { + "$id": "96", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "acknowledge.Request.anonymous.lockTokens", + "serializationOptions": { + "json": { + "name": "lockTokens" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "98", + "kind": "model", + "name": "AcknowledgeResult", + "namespace": "Azure.Messaging.EventGrid.Namespaces", + "crossLanguageDefinitionId": "Microsoft.EventGrid.AcknowledgeResult", + "access": "public", + "usage": "Output,Json", + "doc": "The result of the Acknowledge operation.", + "decorators": [], + "properties": [ + { + "$id": "99", + "kind": "property", + "name": "failedLockTokens", + "serializedName": "failedLockTokens", + "doc": "Array of FailedLockToken for failed cloud events. Each FailedLockToken includes the lock token along with the related error information (namely, the error code and description).", + "type": { + "$id": "100", + "kind": "array", + "name": "ArrayFailedLockToken", + "valueType": { + "$id": "101", + "kind": "model", + "name": "FailedLockToken", + "namespace": "Azure.Messaging.EventGrid.Namespaces", + "crossLanguageDefinitionId": "Microsoft.EventGrid.FailedLockToken", + "access": "public", + "usage": "Output,Json", + "doc": "Failed LockToken information.", + "decorators": [], + "properties": [ + { + "$id": "102", + "kind": "property", + "name": "lockToken", + "serializedName": "lockToken", + "doc": "The lock token of an entry in the request.", + "type": { + "$id": "103", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.FailedLockToken.lockToken", + "serializationOptions": { + "json": { + "name": "lockToken" + } + }, + "isHttpMetadata": false + }, + { + "$id": "104", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Error information of the failed operation result for the lock token in the request.", + "type": { + "$ref": "67" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.FailedLockToken.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.AcknowledgeResult.failedLockTokens", + "serializationOptions": { + "json": { + "name": "failedLockTokens" + } + }, + "isHttpMetadata": false + }, + { + "$id": "105", + "kind": "property", + "name": "succeededLockTokens", + "serializedName": "succeededLockTokens", + "doc": "Array of lock tokens for the successfully acknowledged cloud events.", + "type": { + "$ref": "96" + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.AcknowledgeResult.succeededLockTokens", + "serializationOptions": { + "json": { + "name": "succeededLockTokens" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "101" + }, + { + "$id": "106", + "kind": "model", + "name": "ReleaseRequest", + "namespace": "", + "crossLanguageDefinitionId": "Customizations.release.Request.anonymous", + "usage": "Spread,Json", + "decorators": [], + "properties": [ + { + "$id": "107", + "kind": "property", + "name": "lockTokens", + "serializedName": "lockTokens", + "doc": "Array of lock tokens.", + "type": { + "$ref": "96" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "release.Request.anonymous.lockTokens", + "serializationOptions": { + "json": { + "name": "lockTokens" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "108", + "kind": "model", + "name": "ReleaseResult", + "namespace": "Azure.Messaging.EventGrid.Namespaces", + "crossLanguageDefinitionId": "Microsoft.EventGrid.ReleaseResult", + "access": "public", + "usage": "Output,Json", + "doc": "The result of the Release operation.", + "decorators": [], + "properties": [ + { + "$id": "109", + "kind": "property", + "name": "failedLockTokens", + "serializedName": "failedLockTokens", + "doc": "Array of FailedLockToken for failed cloud events. Each FailedLockToken includes the lock token along with the related error information (namely, the error code and description).", + "type": { + "$ref": "100" + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.ReleaseResult.failedLockTokens", + "serializationOptions": { + "json": { + "name": "failedLockTokens" + } + }, + "isHttpMetadata": false + }, + { + "$id": "110", + "kind": "property", + "name": "succeededLockTokens", + "serializedName": "succeededLockTokens", + "doc": "Array of lock tokens for the successfully released cloud events.", + "type": { + "$ref": "96" + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.ReleaseResult.succeededLockTokens", + "serializationOptions": { + "json": { + "name": "succeededLockTokens" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "111", + "kind": "model", + "name": "RejectRequest", + "namespace": "", + "crossLanguageDefinitionId": "Customizations.reject.Request.anonymous", + "usage": "Spread,Json", + "decorators": [], + "properties": [ + { + "$id": "112", + "kind": "property", + "name": "lockTokens", + "serializedName": "lockTokens", + "doc": "Array of lock tokens.", + "type": { + "$ref": "96" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "reject.Request.anonymous.lockTokens", + "serializationOptions": { + "json": { + "name": "lockTokens" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "113", + "kind": "model", + "name": "RejectResult", + "namespace": "Azure.Messaging.EventGrid.Namespaces", + "crossLanguageDefinitionId": "Microsoft.EventGrid.RejectResult", + "access": "public", + "usage": "Output,Json", + "doc": "The result of the Reject operation.", + "decorators": [], + "properties": [ + { + "$id": "114", + "kind": "property", + "name": "failedLockTokens", + "serializedName": "failedLockTokens", + "doc": "Array of FailedLockToken for failed cloud events. Each FailedLockToken includes the lock token along with the related error information (namely, the error code and description).", + "type": { + "$ref": "100" + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.RejectResult.failedLockTokens", + "serializationOptions": { + "json": { + "name": "failedLockTokens" + } + }, + "isHttpMetadata": false + }, + { + "$id": "115", + "kind": "property", + "name": "succeededLockTokens", + "serializedName": "succeededLockTokens", + "doc": "Array of lock tokens for the successfully rejected cloud events.", + "type": { + "$ref": "96" + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.RejectResult.succeededLockTokens", + "serializationOptions": { + "json": { + "name": "succeededLockTokens" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "116", + "kind": "model", + "name": "RenewLocksRequest", + "namespace": "", + "crossLanguageDefinitionId": "Customizations.renewLocks.Request.anonymous", + "usage": "Spread,Json", + "decorators": [], + "properties": [ + { + "$id": "117", + "kind": "property", + "name": "lockTokens", + "serializedName": "lockTokens", + "doc": "Array of lock tokens.", + "type": { + "$ref": "96" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "renewLocks.Request.anonymous.lockTokens", + "serializationOptions": { + "json": { + "name": "lockTokens" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "118", + "kind": "model", + "name": "RenewLocksResult", + "namespace": "Azure.Messaging.EventGrid.Namespaces", + "crossLanguageDefinitionId": "Microsoft.EventGrid.RenewCloudEventLocksResult", + "access": "public", + "usage": "Output,Json", + "doc": "The result of the RenewLock operation.", + "decorators": [], + "properties": [ + { + "$id": "119", + "kind": "property", + "name": "failedLockTokens", + "serializedName": "failedLockTokens", + "doc": "Array of FailedLockToken for failed cloud events. Each FailedLockToken includes the lock token along with the related error information (namely, the error code and description).", + "type": { + "$ref": "100" + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.RenewCloudEventLocksResult.failedLockTokens", + "serializationOptions": { + "json": { + "name": "failedLockTokens" + } + }, + "isHttpMetadata": false + }, + { + "$id": "120", + "kind": "property", + "name": "succeededLockTokens", + "serializedName": "succeededLockTokens", + "doc": "Array of lock tokens for the successfully renewed locks.", + "type": { + "$ref": "96" + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.EventGrid.RenewCloudEventLocksResult.succeededLockTokens", + "serializationOptions": { + "json": { + "name": "succeededLockTokens" + } + }, + "isHttpMetadata": false + } + ] + } + ], + "clients": [ + { + "$id": "121", + "kind": "client", + "name": "EventGridSenderClient", + "namespace": "Azure.Messaging.EventGrid.Namespaces", + "methods": [ + { + "$id": "122", + "kind": "basic", + "name": "send", + "accessibility": "internal", + "apiVersions": [ + "2023-11-01", + "2024-06-01" + ], + "doc": "Publish a single Cloud Event to a namespace topic.", + "operation": { + "$id": "123", + "name": "send", + "resourceName": "ClientSender", + "doc": "Publish a single Cloud Event to a namespace topic.", + "accessibility": "internal", + "parameters": [ + { + "$id": "124", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "125", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "126", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-06-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "127", + "name": "topicName", + "nameInRequest": "topicName", + "doc": "Topic Name.", + "type": { + "$id": "128", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "129", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "content type", + "type": { + "$ref": "12" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "130", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "14" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "131", + "name": "event", + "nameInRequest": "event", + "doc": "Single Cloud Event being published.", + "type": { + "$ref": "42" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "64" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/topics/{topicName}:publish", + "requestMediaTypes": [ + "application/cloudevents+json; charset=utf-8" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Customizations.ClientSender.send", + "decorators": [] + }, + "parameters": [ + { + "$id": "132", + "name": "topicName", + "nameInRequest": "topicName", + "doc": "Topic Name.", + "type": { + "$id": "133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "134", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "content type", + "type": { + "$ref": "16" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "135", + "name": "event", + "nameInRequest": "event", + "doc": "Single Cloud Event being published.", + "type": { + "$ref": "42" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "136", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "14" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "64" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Customizations.ClientSender.send" + }, + { + "$id": "137", + "kind": "basic", + "name": "sendEvents", + "accessibility": "internal", + "apiVersions": [ + "2023-11-01", + "2024-06-01" + ], + "doc": "Publish a batch of Cloud Events to a namespace topic.", + "operation": { + "$id": "138", + "name": "sendEvents", + "resourceName": "ClientSender", + "doc": "Publish a batch of Cloud Events to a namespace topic.", + "accessibility": "internal", + "parameters": [ + { + "$id": "139", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "140", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "141", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-06-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "142", + "name": "topicName", + "nameInRequest": "topicName", + "doc": "Topic Name.", + "type": { + "$id": "143", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "144", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "content type", + "type": { + "$ref": "18" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "145", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "20" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "146", + "name": "events", + "nameInRequest": "events", + "doc": "Array of Cloud Events being published.", + "type": { + "$id": "147", + "kind": "array", + "name": "ArrayCloudEvent", + "valueType": { + "$ref": "42" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "64" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/topics/{topicName}:publish", + "requestMediaTypes": [ + "application/cloudevents-batch+json; charset=utf-8" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Customizations.ClientSender.sendEvents", + "decorators": [], + "examples": [ + { + "$id": "148", + "kind": "http", + "name": "Publish Cloud Event", + "description": "Publish Cloud Event", + "filePath": "2024-06-01/publish.json", + "parameters": [ + { + "parameter": { + "$ref": "142" + }, + "value": { + "$id": "149", + "kind": "string", + "type": { + "$ref": "143" + }, + "value": "myTopic" + } + }, + { + "parameter": { + "$ref": "139" + }, + "value": { + "$id": "150", + "kind": "string", + "type": { + "$ref": "140" + }, + "value": "2024-06-01" + } + }, + { + "parameter": { + "$ref": "146" + }, + "value": { + "$id": "151", + "kind": "array", + "type": { + "$ref": "147" + }, + "value": [ + { + "$id": "152", + "kind": "model", + "type": { + "$ref": "42" + }, + "value": { + "id": { + "$id": "153", + "kind": "string", + "type": { + "$ref": "44" + }, + "value": "b3ccc7e3-c1cb-49bf-b7c8-0d4e60980616" + }, + "source": { + "$id": "154", + "kind": "string", + "type": { + "$ref": "46" + }, + "value": "/microsoft/autorest/examples/eventgrid/cloud-events/publish" + }, + "specversion": { + "$id": "155", + "kind": "string", + "type": { + "$ref": "57" + }, + "value": "1.0" + }, + "data": { + "$id": "156", + "kind": "unknown", + "type": { + "$ref": "48" + }, + "value": { + "Property1": "Value1", + "Property2": "Value2" + } + }, + "type": { + "$id": "157", + "kind": "string", + "type": { + "$ref": "52" + }, + "value": "Microsoft.Contoso.TestEvent" + }, + "time": { + "$id": "158", + "kind": "string", + "type": { + "$ref": "54" + }, + "value": "2023-05-04T23:06:09.147165Z" + } + } + } + ] + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "64" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "159", + "kind": "model", + "type": { + "$ref": "64" + }, + "value": {} + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "160", + "name": "topicName", + "nameInRequest": "topicName", + "doc": "Topic Name.", + "type": { + "$id": "161", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "162", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "content type", + "type": { + "$ref": "22" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "163", + "name": "events", + "nameInRequest": "events", + "doc": "Array of Cloud Events being published.", + "type": { + "$ref": "147" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "164", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "20" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "64" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Customizations.ClientSender.sendEvents" + } + ], + "parameters": [ + { + "$id": "165", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "The host name of the namespace, e.g. namespaceName1.westus-1.eventgrid.azure.net", + "type": { + "$id": "166", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "serverUrlTemplate": "{endpoint}" + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Customizations.ClientSender", + "apiVersions": [ + "2023-11-01", + "2024-06-01" + ] + }, + { + "$id": "167", + "kind": "client", + "name": "EventGridReceiverClient", + "namespace": "Azure.Messaging.EventGrid.Namespaces", + "methods": [ + { + "$id": "168", + "kind": "basic", + "name": "receive", + "accessibility": "internal", + "apiVersions": [ + "2023-11-01", + "2024-06-01" + ], + "doc": "Receive a batch of Cloud Events from a subscription.", + "operation": { + "$id": "169", + "name": "receive", + "resourceName": "ClientReceiver", + "doc": "Receive a batch of Cloud Events from a subscription.", + "accessibility": "internal", + "parameters": [ + { + "$id": "170", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "171", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "172", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-06-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "173", + "name": "topicName", + "nameInRequest": "topicName", + "doc": "Topic Name.", + "type": { + "$id": "174", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "175", + "name": "eventSubscriptionName", + "nameInRequest": "eventSubscriptionName", + "doc": "Event Subscription Name.", + "type": { + "$id": "176", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "177", + "name": "maxEvents", + "nameInRequest": "maxEvents", + "doc": "Max Events count to be received. Minimum value is 1, while maximum value is 100 events. If not specified, the default value is 1.", + "type": { + "$id": "178", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "179", + "name": "maxWaitTime", + "nameInRequest": "maxWaitTime", + "doc": "Max wait time value for receive operation in Seconds. It is the time in seconds that the server approximately waits for the availability of an event and responds to the request. If an event is available, the broker responds immediately to the client. Minimum value is 10 seconds, while maximum value is 120 seconds. If not specified, the default value is 60 seconds.", + "type": { + "$id": "180", + "kind": "duration", + "name": "duration", + "encode": "seconds", + "wireType": { + "$id": "181", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.duration", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "182", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "24" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "83" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/topics/{topicName}/eventsubscriptions/{eventSubscriptionName}:receive", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Customizations.ClientReceiver.receive", + "decorators": [], + "examples": [ + { + "$id": "183", + "kind": "http", + "name": "Receive Cloud Event", + "description": "Receive Cloud Event", + "filePath": "2024-06-01/receive.json", + "parameters": [ + { + "parameter": { + "$ref": "173" + }, + "value": { + "$id": "184", + "kind": "string", + "type": { + "$ref": "174" + }, + "value": "myTopic" + } + }, + { + "parameter": { + "$ref": "175" + }, + "value": { + "$id": "185", + "kind": "string", + "type": { + "$ref": "176" + }, + "value": "myEventSubscription" + } + }, + { + "parameter": { + "$ref": "170" + }, + "value": { + "$id": "186", + "kind": "string", + "type": { + "$ref": "171" + }, + "value": "2024-06-01" + } + }, + { + "parameter": { + "$ref": "177" + }, + "value": { + "$id": "187", + "kind": "number", + "type": { + "$ref": "178" + }, + "value": 1 + } + }, + { + "parameter": { + "$ref": "179" + }, + "value": { + "$id": "188", + "kind": "number", + "type": { + "$ref": "180" + }, + "value": 60 + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "83" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "189", + "kind": "model", + "type": { + "$ref": "83" + }, + "value": { + "value": { + "$id": "190", + "kind": "array", + "type": { + "$ref": "85" + }, + "value": [ + { + "$id": "191", + "kind": "model", + "type": { + "$ref": "86" + }, + "value": { + "brokerProperties": { + "$id": "192", + "kind": "model", + "type": { + "$ref": "88" + }, + "value": { + "lockToken": { + "$id": "193", + "kind": "string", + "type": { + "$ref": "90" + }, + "value": "CgMKATESCQoHdG9rZW4tMQ==" + }, + "deliveryCount": { + "$id": "194", + "kind": "number", + "type": { + "$ref": "92" + }, + "value": 1 + } + } + }, + "event": { + "$id": "195", + "kind": "model", + "type": { + "$ref": "42" + }, + "value": { + "specversion": { + "$id": "196", + "kind": "string", + "type": { + "$ref": "57" + }, + "value": "1.0" + }, + "type": { + "$id": "197", + "kind": "string", + "type": { + "$ref": "52" + }, + "value": "demo-started" + }, + "source": { + "$id": "198", + "kind": "string", + "type": { + "$ref": "46" + }, + "value": "/test" + }, + "subject": { + "$id": "199", + "kind": "string", + "type": { + "$ref": "63" + }, + "value": "all-hands-0405" + }, + "id": { + "$id": "200", + "kind": "string", + "type": { + "$ref": "44" + }, + "value": "e770f36b-381a-41db-8b2b-b7199daeb202" + }, + "time": { + "$id": "201", + "kind": "string", + "type": { + "$ref": "54" + }, + "value": "2023-05-05T17:31:00Z" + }, + "datacontenttype": { + "$id": "202", + "kind": "string", + "type": { + "$ref": "61" + }, + "value": "application/json" + }, + "data": { + "$id": "203", + "kind": "unknown", + "type": { + "$ref": "48" + }, + "value": "test" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "204", + "name": "topicName", + "nameInRequest": "topicName", + "doc": "Topic Name.", + "type": { + "$id": "205", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "206", + "name": "eventSubscriptionName", + "nameInRequest": "eventSubscriptionName", + "doc": "Event Subscription Name.", + "type": { + "$id": "207", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "208", + "name": "maxEvents", + "nameInRequest": "maxEvents", + "doc": "Max Events count to be received. Minimum value is 1, while maximum value is 100 events. If not specified, the default value is 1.", + "type": { + "$id": "209", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "210", + "name": "maxWaitTime", + "nameInRequest": "maxWaitTime", + "doc": "Max wait time value for receive operation in Seconds. It is the time in seconds that the server approximately waits for the availability of an event and responds to the request. If an event is available, the broker responds immediately to the client. Minimum value is 10 seconds, while maximum value is 120 seconds. If not specified, the default value is 60 seconds.", + "type": { + "$id": "211", + "kind": "duration", + "name": "duration", + "encode": "seconds", + "wireType": { + "$id": "212", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.duration", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "213", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "24" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "83" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Customizations.ClientReceiver.receive" + }, + { + "$id": "214", + "kind": "basic", + "name": "acknowledge", + "accessibility": "internal", + "apiVersions": [ + "2023-11-01", + "2024-06-01" + ], + "doc": "Acknowledge a batch of Cloud Events. The response will include the set of successfully acknowledged lock tokens, along with other failed lock tokens with their corresponding error information. Successfully acknowledged events will no longer be available to be received by any consumer.", + "operation": { + "$id": "215", + "name": "acknowledge", + "resourceName": "ClientReceiver", + "doc": "Acknowledge a batch of Cloud Events. The response will include the set of successfully acknowledged lock tokens, along with other failed lock tokens with their corresponding error information. Successfully acknowledged events will no longer be available to be received by any consumer.", + "accessibility": "internal", + "parameters": [ + { + "$id": "216", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "217", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "218", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-06-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "219", + "name": "topicName", + "nameInRequest": "topicName", + "doc": "Topic Name.", + "type": { + "$id": "220", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "221", + "name": "eventSubscriptionName", + "nameInRequest": "eventSubscriptionName", + "doc": "Event Subscription Name.", + "type": { + "$id": "222", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "223", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "26" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "224", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "28" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "225", + "name": "acknowledgeRequest", + "nameInRequest": "acknowledgeRequest", + "type": { + "$ref": "94" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Spread", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "98" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/topics/{topicName}/eventsubscriptions/{eventSubscriptionName}:acknowledge", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Customizations.ClientReceiver.acknowledge", + "decorators": [], + "examples": [ + { + "$id": "226", + "kind": "http", + "name": "Acknowledge Cloud Event", + "description": "Acknowledge Cloud Event", + "filePath": "2024-06-01/ack.json", + "parameters": [ + { + "parameter": { + "$ref": "219" + }, + "value": { + "$id": "227", + "kind": "string", + "type": { + "$ref": "220" + }, + "value": "myTopic" + } + }, + { + "parameter": { + "$ref": "221" + }, + "value": { + "$id": "228", + "kind": "string", + "type": { + "$ref": "222" + }, + "value": "myEventSubscription" + } + }, + { + "parameter": { + "$ref": "216" + }, + "value": { + "$id": "229", + "kind": "string", + "type": { + "$ref": "217" + }, + "value": "2024-06-01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "98" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "230", + "kind": "model", + "type": { + "$ref": "98" + }, + "value": { + "failedLockTokens": { + "$id": "231", + "kind": "array", + "type": { + "$ref": "100" + }, + "value": [ + { + "$id": "232", + "kind": "model", + "type": { + "$ref": "101" + }, + "value": { + "lockToken": { + "$id": "233", + "kind": "string", + "type": { + "$ref": "103" + }, + "value": "CgMKATESCQoHdG9rZW4tMQ==" + }, + "error": { + "$id": "234", + "kind": "model", + "type": { + "$ref": "67" + }, + "value": { + "code": { + "$id": "235", + "kind": "string", + "type": { + "$ref": "69" + }, + "value": "BadToken" + }, + "message": { + "$id": "236", + "kind": "string", + "type": { + "$ref": "71" + }, + "value": "" + } + } + } + } + } + ] + }, + "succeededLockTokens": { + "$id": "237", + "kind": "array", + "type": { + "$ref": "96" + }, + "value": [ + { + "$id": "238", + "kind": "string", + "type": { + "$ref": "97" + }, + "value": "CgMKATESCQoHdG9rZW4tMQ==" + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "239", + "name": "topicName", + "nameInRequest": "topicName", + "doc": "Topic Name.", + "type": { + "$id": "240", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "241", + "name": "eventSubscriptionName", + "nameInRequest": "eventSubscriptionName", + "doc": "Event Subscription Name.", + "type": { + "$id": "242", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "243", + "name": "lockTokens", + "nameInRequest": "lockTokens", + "doc": "Array of lock tokens.", + "type": { + "$ref": "96" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "244", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "26" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "245", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "28" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "98" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Customizations.ClientReceiver.acknowledge" + }, + { + "$id": "246", + "kind": "basic", + "name": "release", + "accessibility": "internal", + "apiVersions": [ + "2023-11-01", + "2024-06-01" + ], + "doc": "Release a batch of Cloud Events. The response will include the set of successfully released lock tokens, along with other failed lock tokens with their corresponding error information. Successfully released events can be received by consumers.", + "operation": { + "$id": "247", + "name": "release", + "resourceName": "ClientReceiver", + "doc": "Release a batch of Cloud Events. The response will include the set of successfully released lock tokens, along with other failed lock tokens with their corresponding error information. Successfully released events can be received by consumers.", + "accessibility": "internal", + "parameters": [ + { + "$id": "248", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "249", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "250", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-06-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "251", + "name": "topicName", + "nameInRequest": "topicName", + "doc": "Topic Name.", + "type": { + "$id": "252", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "253", + "name": "eventSubscriptionName", + "nameInRequest": "eventSubscriptionName", + "doc": "Event Subscription Name.", + "type": { + "$id": "254", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "255", + "name": "releaseDelayInSeconds", + "nameInRequest": "releaseDelayInSeconds", + "doc": "Release cloud events with the specified delay in seconds.", + "type": { + "$ref": "5" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "256", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "30" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "257", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "32" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "258", + "name": "releaseRequest", + "nameInRequest": "releaseRequest", + "type": { + "$ref": "106" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Spread", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "108" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/topics/{topicName}/eventsubscriptions/{eventSubscriptionName}:release", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Customizations.ClientReceiver.release", + "decorators": [], + "examples": [ + { + "$id": "259", + "kind": "http", + "name": "Release Cloud Event with an optional delay.", + "description": "Release Cloud Event with an optional delay.", + "filePath": "2024-06-01/release.json", + "parameters": [ + { + "parameter": { + "$ref": "251" + }, + "value": { + "$id": "260", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "myTopic" + } + }, + { + "parameter": { + "$ref": "253" + }, + "value": { + "$id": "261", + "kind": "string", + "type": { + "$ref": "254" + }, + "value": "myEventSubscription" + } + }, + { + "parameter": { + "$ref": "248" + }, + "value": { + "$id": "262", + "kind": "string", + "type": { + "$ref": "249" + }, + "value": "2024-06-01" + } + }, + { + "parameter": { + "$ref": "255" + }, + "value": { + "$id": "263", + "kind": "number", + "type": { + "$ref": "5" + }, + "value": 10 + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "108" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "264", + "kind": "model", + "type": { + "$ref": "108" + }, + "value": { + "failedLockTokens": { + "$id": "265", + "kind": "array", + "type": { + "$ref": "100" + }, + "value": [] + }, + "succeededLockTokens": { + "$id": "266", + "kind": "array", + "type": { + "$ref": "96" + }, + "value": [ + { + "$id": "267", + "kind": "string", + "type": { + "$ref": "97" + }, + "value": "CgMKATESCQoHdG9rZW4tMQ==" + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "268", + "name": "topicName", + "nameInRequest": "topicName", + "doc": "Topic Name.", + "type": { + "$id": "269", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "270", + "name": "eventSubscriptionName", + "nameInRequest": "eventSubscriptionName", + "doc": "Event Subscription Name.", + "type": { + "$id": "271", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "272", + "name": "lockTokens", + "nameInRequest": "lockTokens", + "doc": "Array of lock tokens.", + "type": { + "$ref": "96" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "273", + "name": "releaseDelayInSeconds", + "nameInRequest": "releaseDelayInSeconds", + "doc": "Release cloud events with the specified delay in seconds.", + "type": { + "$ref": "5" + }, + "location": "Query", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "274", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "30" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "275", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "32" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "108" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Customizations.ClientReceiver.release" + }, + { + "$id": "276", + "kind": "basic", + "name": "reject", + "accessibility": "internal", + "apiVersions": [ + "2023-11-01", + "2024-06-01" + ], + "doc": "Reject a batch of Cloud Events. The response will include the set of successfully rejected lock tokens, along with other failed lock tokens with their corresponding error information. Successfully rejected events will be dead-lettered and can no longer be received by a consumer.", + "operation": { + "$id": "277", + "name": "reject", + "resourceName": "ClientReceiver", + "doc": "Reject a batch of Cloud Events. The response will include the set of successfully rejected lock tokens, along with other failed lock tokens with their corresponding error information. Successfully rejected events will be dead-lettered and can no longer be received by a consumer.", + "accessibility": "internal", + "parameters": [ + { + "$id": "278", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "279", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "280", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-06-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "281", + "name": "topicName", + "nameInRequest": "topicName", + "doc": "Topic Name.", + "type": { + "$id": "282", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "283", + "name": "eventSubscriptionName", + "nameInRequest": "eventSubscriptionName", + "doc": "Event Subscription Name.", + "type": { + "$id": "284", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "285", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "34" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "286", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "36" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "287", + "name": "rejectRequest", + "nameInRequest": "rejectRequest", + "type": { + "$ref": "111" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Spread", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "113" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/topics/{topicName}/eventsubscriptions/{eventSubscriptionName}:reject", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Customizations.ClientReceiver.reject", + "decorators": [], + "examples": [ + { + "$id": "288", + "kind": "http", + "name": "Reject Cloud Event", + "description": "Reject Cloud Event", + "filePath": "2024-06-01/reject.json", + "parameters": [ + { + "parameter": { + "$ref": "281" + }, + "value": { + "$id": "289", + "kind": "string", + "type": { + "$ref": "282" + }, + "value": "myTopic" + } + }, + { + "parameter": { + "$ref": "283" + }, + "value": { + "$id": "290", + "kind": "string", + "type": { + "$ref": "284" + }, + "value": "myEventSubscription" + } + }, + { + "parameter": { + "$ref": "278" + }, + "value": { + "$id": "291", + "kind": "string", + "type": { + "$ref": "279" + }, + "value": "2024-06-01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "113" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "292", + "kind": "model", + "type": { + "$ref": "113" + }, + "value": { + "failedLockTokens": { + "$id": "293", + "kind": "array", + "type": { + "$ref": "100" + }, + "value": [] + }, + "succeededLockTokens": { + "$id": "294", + "kind": "array", + "type": { + "$ref": "96" + }, + "value": [ + { + "$id": "295", + "kind": "string", + "type": { + "$ref": "97" + }, + "value": "CgMKATESCQoHdG9rZW4tMQ==" + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "296", + "name": "topicName", + "nameInRequest": "topicName", + "doc": "Topic Name.", + "type": { + "$id": "297", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "298", + "name": "eventSubscriptionName", + "nameInRequest": "eventSubscriptionName", + "doc": "Event Subscription Name.", + "type": { + "$id": "299", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "300", + "name": "lockTokens", + "nameInRequest": "lockTokens", + "doc": "Array of lock tokens.", + "type": { + "$ref": "96" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "301", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "34" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "302", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "36" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "113" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Customizations.ClientReceiver.reject" + }, + { + "$id": "303", + "kind": "basic", + "name": "renewLocks", + "accessibility": "internal", + "apiVersions": [ + "2024-06-01" + ], + "doc": "Renew locks for a batch of Cloud Events. The response will include the set of successfully renewed lock tokens, along with other failed lock tokens with their corresponding error information. Successfully renewed locks will ensure that the associated event is only available to the consumer that holds the renewed lock.", + "operation": { + "$id": "304", + "name": "renewLocks", + "resourceName": "ClientReceiver", + "doc": "Renew locks for a batch of Cloud Events. The response will include the set of successfully renewed lock tokens, along with other failed lock tokens with their corresponding error information. Successfully renewed locks will ensure that the associated event is only available to the consumer that holds the renewed lock.", + "accessibility": "internal", + "parameters": [ + { + "$id": "305", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "306", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "307", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-06-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "308", + "name": "topicName", + "nameInRequest": "topicName", + "doc": "Topic Name.", + "type": { + "$id": "309", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "310", + "name": "eventSubscriptionName", + "nameInRequest": "eventSubscriptionName", + "doc": "Event Subscription Name.", + "type": { + "$id": "311", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "312", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "38" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "313", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "40" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "314", + "name": "renewLocksRequest", + "nameInRequest": "renewLocksRequest", + "type": { + "$ref": "116" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Spread", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "118" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/topics/{topicName}/eventsubscriptions/{eventSubscriptionName}:renewLock", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Customizations.ClientReceiver.renewLocks", + "decorators": [], + "examples": [ + { + "$id": "315", + "kind": "http", + "name": "Renew lock for batch of Cloud Events", + "description": "Renew lock for batch of Cloud Events", + "filePath": "2024-06-01/renewlock.json", + "parameters": [ + { + "parameter": { + "$ref": "308" + }, + "value": { + "$id": "316", + "kind": "string", + "type": { + "$ref": "309" + }, + "value": "myTopic" + } + }, + { + "parameter": { + "$ref": "310" + }, + "value": { + "$id": "317", + "kind": "string", + "type": { + "$ref": "311" + }, + "value": "myEventSubscription" + } + }, + { + "parameter": { + "$ref": "305" + }, + "value": { + "$id": "318", + "kind": "string", + "type": { + "$ref": "306" + }, + "value": "2024-06-01" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "118" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "319", + "kind": "model", + "type": { + "$ref": "118" + }, + "value": { + "failedLockTokens": { + "$id": "320", + "kind": "array", + "type": { + "$ref": "100" + }, + "value": [] + }, + "succeededLockTokens": { + "$id": "321", + "kind": "array", + "type": { + "$ref": "96" + }, + "value": [ + { + "$id": "322", + "kind": "string", + "type": { + "$ref": "97" + }, + "value": "CgMKATESCQoHdG9rZW4tMQ==" + } + ] + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "323", + "name": "topicName", + "nameInRequest": "topicName", + "doc": "Topic Name.", + "type": { + "$id": "324", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "325", + "name": "eventSubscriptionName", + "nameInRequest": "eventSubscriptionName", + "doc": "Event Subscription Name.", + "type": { + "$id": "326", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "327", + "name": "lockTokens", + "nameInRequest": "lockTokens", + "doc": "Array of lock tokens.", + "type": { + "$ref": "96" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "328", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "38" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "329", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "40" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "118" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Customizations.ClientReceiver.renewLocks" + } + ], + "parameters": [ + { + "$id": "330", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "The host name of the namespace, e.g. namespaceName1.westus-1.eventgrid.azure.net", + "type": { + "$id": "331", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "serverUrlTemplate": "{endpoint}" + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Customizations.ClientReceiver", + "apiVersions": [ + "2023-11-01", + "2024-06-01" + ] + } + ], + "auth": { + "apiKey": { + "name": "Authorization", + "in": "header", + "prefix": "SharedAccessKey" + }, + "oAuth2": { + "flows": [ + { + "scopes": [ + "https://eventgrid.azure.net/.default" + ], + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize" + } + ] + } + } +} diff --git a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleAssignmentsAsyncCollectionResult.cs b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleAssignmentsAsyncCollectionResult.cs index ea2dcbb016b8..f77c3db9d521 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleAssignmentsAsyncCollectionResult.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleAssignmentsAsyncCollectionResult.cs @@ -46,29 +46,32 @@ public KeyVaultAccessControlClientGetRoleAssignmentsAsyncCollectionResult(KeyVau public override async IAsyncEnumerable> AsPages(string continuationToken, int? pageSizeHint) { Uri nextPage = continuationToken != null ? new Uri(continuationToken) : null; - do + while (true) { - Response response = await GetNextResponse(pageSizeHint, nextPage).ConfigureAwait(false); + Response response = await GetNextResponseAsync(pageSizeHint, nextPage).ConfigureAwait(false); if (response is null) { yield break; } - RoleAssignmentListResult responseWithType = (RoleAssignmentListResult)response; List items = new List(); - foreach (var item in responseWithType.Value) + foreach (var item in ((RoleAssignmentListResult)response).Value) { items.Add(BinaryData.FromObjectAsJson(item)); } - nextPage = responseWithType.NextLink != null ? new Uri(responseWithType.NextLink) : null; yield return Page.FromValues(items, nextPage?.AbsoluteUri, response); + string nextPageString = ((RoleAssignmentListResult)response).NextLink; + if (nextPageString == null) + { + yield break; + } + nextPage = new Uri(nextPageString); } - while (nextPage != null); } /// Get next page. /// The number of items per page. /// The next link to use for the next page of results. - private async ValueTask GetNextResponse(int? pageSizeHint, Uri nextLink) + private async ValueTask GetNextResponseAsync(int? pageSizeHint, Uri nextLink) { HttpMessage message = nextLink != null ? _client.CreateNextGetRoleAssignmentsRequest(nextLink, _scope, _filter, _context) : _client.CreateGetRoleAssignmentsRequest(_scope, _filter, _context); using DiagnosticScope scope = _client.ClientDiagnostics.CreateScope("KeyVaultAccessControlClient.GetRoleAssignments"); diff --git a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleAssignmentsAsyncCollectionResultOfT.cs b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleAssignmentsAsyncCollectionResultOfT.cs index eed95e7cf18b..f0b1f331734a 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleAssignmentsAsyncCollectionResultOfT.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleAssignmentsAsyncCollectionResultOfT.cs @@ -46,24 +46,27 @@ public KeyVaultAccessControlClientGetRoleAssignmentsAsyncCollectionResultOfT(Key public override async IAsyncEnumerable> AsPages(string continuationToken, int? pageSizeHint) { Uri nextPage = continuationToken != null ? new Uri(continuationToken) : null; - do + while (true) { - Response response = await GetNextResponse(pageSizeHint, nextPage).ConfigureAwait(false); + Response response = await GetNextResponseAsync(pageSizeHint, nextPage).ConfigureAwait(false); if (response is null) { yield break; } - RoleAssignmentListResult responseWithType = (RoleAssignmentListResult)response; - nextPage = responseWithType.NextLink != null ? new Uri(responseWithType.NextLink) : null; - yield return Page.FromValues((IReadOnlyList)responseWithType.Value, nextPage?.AbsoluteUri, response); + yield return Page.FromValues((IReadOnlyList)((RoleAssignmentListResult)response).Value, nextPage?.AbsoluteUri, response); + string nextPageString = ((RoleAssignmentListResult)response).NextLink; + if (nextPageString == null) + { + yield break; + } + nextPage = new Uri(nextPageString); } - while (nextPage != null); } /// Get next page. /// The number of items per page. /// The next link to use for the next page of results. - private async ValueTask GetNextResponse(int? pageSizeHint, Uri nextLink) + private async ValueTask GetNextResponseAsync(int? pageSizeHint, Uri nextLink) { HttpMessage message = nextLink != null ? _client.CreateNextGetRoleAssignmentsRequest(nextLink, _scope, _filter, _context) : _client.CreateGetRoleAssignmentsRequest(_scope, _filter, _context); using DiagnosticScope scope = _client.ClientDiagnostics.CreateScope("KeyVaultAccessControlClient.GetRoleAssignments"); diff --git a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleAssignmentsCollectionResult.cs b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleAssignmentsCollectionResult.cs index 621cf19c702a..62cd1da87ef2 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleAssignmentsCollectionResult.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleAssignmentsCollectionResult.cs @@ -45,23 +45,26 @@ public KeyVaultAccessControlClientGetRoleAssignmentsCollectionResult(KeyVaultAcc public override IEnumerable> AsPages(string continuationToken, int? pageSizeHint) { Uri nextPage = continuationToken != null ? new Uri(continuationToken) : null; - do + while (true) { Response response = GetNextResponse(pageSizeHint, nextPage); if (response is null) { yield break; } - RoleAssignmentListResult responseWithType = (RoleAssignmentListResult)response; List items = new List(); - foreach (var item in responseWithType.Value) + foreach (var item in ((RoleAssignmentListResult)response).Value) { items.Add(BinaryData.FromObjectAsJson(item)); } - nextPage = responseWithType.NextLink != null ? new Uri(responseWithType.NextLink) : null; yield return Page.FromValues(items, nextPage?.AbsoluteUri, response); + string nextPageString = ((RoleAssignmentListResult)response).NextLink; + if (nextPageString == null) + { + yield break; + } + nextPage = new Uri(nextPageString); } - while (nextPage != null); } /// Get next page. diff --git a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleAssignmentsCollectionResultOfT.cs b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleAssignmentsCollectionResultOfT.cs index 2f900e681f21..f10ffc645b2f 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleAssignmentsCollectionResultOfT.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleAssignmentsCollectionResultOfT.cs @@ -45,18 +45,21 @@ public KeyVaultAccessControlClientGetRoleAssignmentsCollectionResultOfT(KeyVault public override IEnumerable> AsPages(string continuationToken, int? pageSizeHint) { Uri nextPage = continuationToken != null ? new Uri(continuationToken) : null; - do + while (true) { Response response = GetNextResponse(pageSizeHint, nextPage); if (response is null) { yield break; } - RoleAssignmentListResult responseWithType = (RoleAssignmentListResult)response; - nextPage = responseWithType.NextLink != null ? new Uri(responseWithType.NextLink) : null; - yield return Page.FromValues((IReadOnlyList)responseWithType.Value, nextPage?.AbsoluteUri, response); + yield return Page.FromValues((IReadOnlyList)((RoleAssignmentListResult)response).Value, nextPage?.AbsoluteUri, response); + string nextPageString = ((RoleAssignmentListResult)response).NextLink; + if (nextPageString == null) + { + yield break; + } + nextPage = new Uri(nextPageString); } - while (nextPage != null); } /// Get next page. diff --git a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleDefinitionsAsyncCollectionResult.cs b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleDefinitionsAsyncCollectionResult.cs index 36c9bc0577fb..0fce90471a7f 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleDefinitionsAsyncCollectionResult.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleDefinitionsAsyncCollectionResult.cs @@ -46,29 +46,32 @@ public KeyVaultAccessControlClientGetRoleDefinitionsAsyncCollectionResult(KeyVau public override async IAsyncEnumerable> AsPages(string continuationToken, int? pageSizeHint) { Uri nextPage = continuationToken != null ? new Uri(continuationToken) : null; - do + while (true) { - Response response = await GetNextResponse(pageSizeHint, nextPage).ConfigureAwait(false); + Response response = await GetNextResponseAsync(pageSizeHint, nextPage).ConfigureAwait(false); if (response is null) { yield break; } - RoleDefinitionListResult responseWithType = (RoleDefinitionListResult)response; List items = new List(); - foreach (var item in responseWithType.Value) + foreach (var item in ((RoleDefinitionListResult)response).Value) { items.Add(BinaryData.FromObjectAsJson(item)); } - nextPage = responseWithType.NextLink != null ? new Uri(responseWithType.NextLink) : null; yield return Page.FromValues(items, nextPage?.AbsoluteUri, response); + string nextPageString = ((RoleDefinitionListResult)response).NextLink; + if (nextPageString == null) + { + yield break; + } + nextPage = new Uri(nextPageString); } - while (nextPage != null); } /// Get next page. /// The number of items per page. /// The next link to use for the next page of results. - private async ValueTask GetNextResponse(int? pageSizeHint, Uri nextLink) + private async ValueTask GetNextResponseAsync(int? pageSizeHint, Uri nextLink) { HttpMessage message = nextLink != null ? _client.CreateNextGetRoleDefinitionsRequest(nextLink, _scope, _filter, _context) : _client.CreateGetRoleDefinitionsRequest(_scope, _filter, _context); using DiagnosticScope scope = _client.ClientDiagnostics.CreateScope("KeyVaultAccessControlClient.GetRoleDefinitions"); diff --git a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleDefinitionsAsyncCollectionResultOfT.cs b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleDefinitionsAsyncCollectionResultOfT.cs index 501ba28cb5d7..d5422f6ba4a5 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleDefinitionsAsyncCollectionResultOfT.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleDefinitionsAsyncCollectionResultOfT.cs @@ -46,24 +46,27 @@ public KeyVaultAccessControlClientGetRoleDefinitionsAsyncCollectionResultOfT(Key public override async IAsyncEnumerable> AsPages(string continuationToken, int? pageSizeHint) { Uri nextPage = continuationToken != null ? new Uri(continuationToken) : null; - do + while (true) { - Response response = await GetNextResponse(pageSizeHint, nextPage).ConfigureAwait(false); + Response response = await GetNextResponseAsync(pageSizeHint, nextPage).ConfigureAwait(false); if (response is null) { yield break; } - RoleDefinitionListResult responseWithType = (RoleDefinitionListResult)response; - nextPage = responseWithType.NextLink != null ? new Uri(responseWithType.NextLink) : null; - yield return Page.FromValues((IReadOnlyList)responseWithType.Value, nextPage?.AbsoluteUri, response); + yield return Page.FromValues((IReadOnlyList)((RoleDefinitionListResult)response).Value, nextPage?.AbsoluteUri, response); + string nextPageString = ((RoleDefinitionListResult)response).NextLink; + if (nextPageString == null) + { + yield break; + } + nextPage = new Uri(nextPageString); } - while (nextPage != null); } /// Get next page. /// The number of items per page. /// The next link to use for the next page of results. - private async ValueTask GetNextResponse(int? pageSizeHint, Uri nextLink) + private async ValueTask GetNextResponseAsync(int? pageSizeHint, Uri nextLink) { HttpMessage message = nextLink != null ? _client.CreateNextGetRoleDefinitionsRequest(nextLink, _scope, _filter, _context) : _client.CreateGetRoleDefinitionsRequest(_scope, _filter, _context); using DiagnosticScope scope = _client.ClientDiagnostics.CreateScope("KeyVaultAccessControlClient.GetRoleDefinitions"); diff --git a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleDefinitionsCollectionResult.cs b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleDefinitionsCollectionResult.cs index 9ef8f02e4fea..dafe7596b1e3 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleDefinitionsCollectionResult.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleDefinitionsCollectionResult.cs @@ -45,23 +45,26 @@ public KeyVaultAccessControlClientGetRoleDefinitionsCollectionResult(KeyVaultAcc public override IEnumerable> AsPages(string continuationToken, int? pageSizeHint) { Uri nextPage = continuationToken != null ? new Uri(continuationToken) : null; - do + while (true) { Response response = GetNextResponse(pageSizeHint, nextPage); if (response is null) { yield break; } - RoleDefinitionListResult responseWithType = (RoleDefinitionListResult)response; List items = new List(); - foreach (var item in responseWithType.Value) + foreach (var item in ((RoleDefinitionListResult)response).Value) { items.Add(BinaryData.FromObjectAsJson(item)); } - nextPage = responseWithType.NextLink != null ? new Uri(responseWithType.NextLink) : null; yield return Page.FromValues(items, nextPage?.AbsoluteUri, response); + string nextPageString = ((RoleDefinitionListResult)response).NextLink; + if (nextPageString == null) + { + yield break; + } + nextPage = new Uri(nextPageString); } - while (nextPage != null); } /// Get next page. diff --git a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleDefinitionsCollectionResultOfT.cs b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleDefinitionsCollectionResultOfT.cs index 3875712fadf4..21302ab805af 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleDefinitionsCollectionResultOfT.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/KeyVaultAccessControlClientGetRoleDefinitionsCollectionResultOfT.cs @@ -45,18 +45,21 @@ public KeyVaultAccessControlClientGetRoleDefinitionsCollectionResultOfT(KeyVault public override IEnumerable> AsPages(string continuationToken, int? pageSizeHint) { Uri nextPage = continuationToken != null ? new Uri(continuationToken) : null; - do + while (true) { Response response = GetNextResponse(pageSizeHint, nextPage); if (response is null) { yield break; } - RoleDefinitionListResult responseWithType = (RoleDefinitionListResult)response; - nextPage = responseWithType.NextLink != null ? new Uri(responseWithType.NextLink) : null; - yield return Page.FromValues((IReadOnlyList)responseWithType.Value, nextPage?.AbsoluteUri, response); + yield return Page.FromValues((IReadOnlyList)((RoleDefinitionListResult)response).Value, nextPage?.AbsoluteUri, response); + string nextPageString = ((RoleDefinitionListResult)response).NextLink; + if (nextPageString == null) + { + yield break; + } + nextPage = new Uri(nextPageString); } - while (nextPage != null); } /// Get next page. diff --git a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/Models/KeyVaultSetting.Serialization.cs b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/Models/KeyVaultSetting.Serialization.cs index 190a9c817ae3..a9cb11acee91 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/Models/KeyVaultSetting.Serialization.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/Models/KeyVaultSetting.Serialization.cs @@ -41,13 +41,13 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WritePropertyName("name"u8); writer.WriteStringValue(Name); + writer.WritePropertyName("value"u8); + writer.WriteStringValue(Content); if (Optional.IsDefined(SettingType)) { writer.WritePropertyName("type"u8); writer.WriteStringValue(SettingType.Value.ToString()); } - writer.WritePropertyName("value"u8); - writer.WriteStringValue(Content); if (options.Format != "W" && _additionalBinaryDataProperties != null) { foreach (var item in _additionalBinaryDataProperties) @@ -91,8 +91,8 @@ internal static KeyVaultSetting DeserializeKeyVaultSetting(JsonElement element, return null; } string name = default; - KeyVaultSettingType? settingType = default; string content = default; + KeyVaultSettingType? settingType = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -101,6 +101,11 @@ internal static KeyVaultSetting DeserializeKeyVaultSetting(JsonElement element, name = prop.Value.GetString(); continue; } + if (prop.NameEquals("value"u8)) + { + content = prop.Value.GetString(); + continue; + } if (prop.NameEquals("type"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -110,17 +115,12 @@ internal static KeyVaultSetting DeserializeKeyVaultSetting(JsonElement element, settingType = new KeyVaultSettingType(prop.Value.GetString()); continue; } - if (prop.NameEquals("value"u8)) - { - content = prop.Value.GetString(); - continue; - } if (options.Format != "W") { additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } } - return new KeyVaultSetting(name, settingType, content, additionalBinaryDataProperties); + return new KeyVaultSetting(name, content, settingType, additionalBinaryDataProperties); } /// The client options for reading and writing models. diff --git a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/Models/KeyVaultSetting.cs b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/Models/KeyVaultSetting.cs index 92425e3cff2e..11a025f53aa4 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/Models/KeyVaultSetting.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/Models/KeyVaultSetting.cs @@ -16,6 +16,19 @@ public partial class KeyVaultSetting /// Keeps track of any properties unknown to the library. private protected readonly IDictionary _additionalBinaryDataProperties; + /// Initializes a new instance of . + /// The account setting to be updated. + /// + /// Gets the type specifier of the value. + /// Keeps track of any properties unknown to the library. + internal KeyVaultSetting(string name, string content, KeyVaultSettingType? settingType, IDictionary additionalBinaryDataProperties) + { + Name = name; + Content = content; + SettingType = settingType; + _additionalBinaryDataProperties = additionalBinaryDataProperties; + } + /// The account setting to be updated. public string Name { get; } } diff --git a/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClient.RestClient.cs b/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClient.RestClient.cs index d59820547342..f105ba9548c3 100644 --- a/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClient.RestClient.cs +++ b/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClient.RestClient.cs @@ -126,7 +126,6 @@ internal HttpMessage CreateGetSchemaPropertiesByContentRequest(string groupName, uri.AppendQuery("api-version", _apiVersion, true); request.Uri = uri; request.Headers.SetValue("Content-Type", contentType); - request.Headers.SetValue("Accept", "application/json"); request.Content = content; return message; } @@ -145,7 +144,6 @@ internal HttpMessage CreateRegisterSchemaRequest(string groupName, string schema uri.AppendQuery("api-version", _apiVersion, true); request.Uri = uri; request.Headers.SetValue("Content-Type", contentType); - request.Headers.SetValue("Accept", "application/json"); request.Content = content; return message; } diff --git a/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaGroupsAsyncCollectionResult.cs b/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaGroupsAsyncCollectionResult.cs index 7eafe258a369..e1af7bd7ab83 100644 --- a/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaGroupsAsyncCollectionResult.cs +++ b/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaGroupsAsyncCollectionResult.cs @@ -36,29 +36,31 @@ public SchemaRegistryClientGetSchemaGroupsAsyncCollectionResult(SchemaRegistryCl public override async IAsyncEnumerable> AsPages(string continuationToken, int? pageSizeHint) { Uri nextPage = continuationToken != null ? new Uri(continuationToken) : null; - do + while (true) { - Response response = await GetNextResponse(pageSizeHint, nextPage).ConfigureAwait(false); + Response response = await GetNextResponseAsync(pageSizeHint, nextPage).ConfigureAwait(false); if (response is null) { yield break; } - SchemaGroups responseWithType = (SchemaGroups)response; List items = new List(); - foreach (var item in responseWithType.Value) + foreach (var item in ((SchemaGroups)response).Value) { items.Add(BinaryData.FromObjectAsJson(item)); } - nextPage = responseWithType.NextLink; yield return Page.FromValues(items, nextPage?.AbsoluteUri, response); + nextPage = ((SchemaGroups)response).NextLink; + if (nextPage == null) + { + yield break; + } } - while (nextPage != null); } /// Get next page. /// The number of items per page. /// The next link to use for the next page of results. - private async ValueTask GetNextResponse(int? pageSizeHint, Uri nextLink) + private async ValueTask GetNextResponseAsync(int? pageSizeHint, Uri nextLink) { HttpMessage message = nextLink != null ? _client.CreateNextGetSchemaGroupsRequest(nextLink, _context) : _client.CreateGetSchemaGroupsRequest(_context); using DiagnosticScope scope = _client.ClientDiagnostics.CreateScope("SchemaRegistryClient.GetSchemaGroups"); diff --git a/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaGroupsAsyncCollectionResultOfT.cs b/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaGroupsAsyncCollectionResultOfT.cs index d13c2f67d16a..4653585f2719 100644 --- a/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaGroupsAsyncCollectionResultOfT.cs +++ b/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaGroupsAsyncCollectionResultOfT.cs @@ -36,24 +36,26 @@ public SchemaRegistryClientGetSchemaGroupsAsyncCollectionResultOfT(SchemaRegistr public override async IAsyncEnumerable> AsPages(string continuationToken, int? pageSizeHint) { Uri nextPage = continuationToken != null ? new Uri(continuationToken) : null; - do + while (true) { - Response response = await GetNextResponse(pageSizeHint, nextPage).ConfigureAwait(false); + Response response = await GetNextResponseAsync(pageSizeHint, nextPage).ConfigureAwait(false); if (response is null) { yield break; } - SchemaGroups responseWithType = (SchemaGroups)response; - nextPage = responseWithType.NextLink; - yield return Page.FromValues((IReadOnlyList)responseWithType.Value, nextPage?.AbsoluteUri, response); + yield return Page.FromValues((IReadOnlyList)((SchemaGroups)response).Value, nextPage?.AbsoluteUri, response); + nextPage = ((SchemaGroups)response).NextLink; + if (nextPage == null) + { + yield break; + } } - while (nextPage != null); } /// Get next page. /// The number of items per page. /// The next link to use for the next page of results. - private async ValueTask GetNextResponse(int? pageSizeHint, Uri nextLink) + private async ValueTask GetNextResponseAsync(int? pageSizeHint, Uri nextLink) { HttpMessage message = nextLink != null ? _client.CreateNextGetSchemaGroupsRequest(nextLink, _context) : _client.CreateGetSchemaGroupsRequest(_context); using DiagnosticScope scope = _client.ClientDiagnostics.CreateScope("SchemaRegistryClient.GetSchemaGroups"); diff --git a/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaGroupsCollectionResult.cs b/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaGroupsCollectionResult.cs index 6d6198054256..276bdeb01029 100644 --- a/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaGroupsCollectionResult.cs +++ b/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaGroupsCollectionResult.cs @@ -35,23 +35,25 @@ public SchemaRegistryClientGetSchemaGroupsCollectionResult(SchemaRegistryClient public override IEnumerable> AsPages(string continuationToken, int? pageSizeHint) { Uri nextPage = continuationToken != null ? new Uri(continuationToken) : null; - do + while (true) { Response response = GetNextResponse(pageSizeHint, nextPage); if (response is null) { yield break; } - SchemaGroups responseWithType = (SchemaGroups)response; List items = new List(); - foreach (var item in responseWithType.Value) + foreach (var item in ((SchemaGroups)response).Value) { items.Add(BinaryData.FromObjectAsJson(item)); } - nextPage = responseWithType.NextLink; yield return Page.FromValues(items, nextPage?.AbsoluteUri, response); + nextPage = ((SchemaGroups)response).NextLink; + if (nextPage == null) + { + yield break; + } } - while (nextPage != null); } /// Get next page. diff --git a/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaGroupsCollectionResultOfT.cs b/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaGroupsCollectionResultOfT.cs index 7748d6d45581..6c779ca6079d 100644 --- a/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaGroupsCollectionResultOfT.cs +++ b/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaGroupsCollectionResultOfT.cs @@ -35,18 +35,20 @@ public SchemaRegistryClientGetSchemaGroupsCollectionResultOfT(SchemaRegistryClie public override IEnumerable> AsPages(string continuationToken, int? pageSizeHint) { Uri nextPage = continuationToken != null ? new Uri(continuationToken) : null; - do + while (true) { Response response = GetNextResponse(pageSizeHint, nextPage); if (response is null) { yield break; } - SchemaGroups responseWithType = (SchemaGroups)response; - nextPage = responseWithType.NextLink; - yield return Page.FromValues((IReadOnlyList)responseWithType.Value, nextPage?.AbsoluteUri, response); + yield return Page.FromValues((IReadOnlyList)((SchemaGroups)response).Value, nextPage?.AbsoluteUri, response); + nextPage = ((SchemaGroups)response).NextLink; + if (nextPage == null) + { + yield break; + } } - while (nextPage != null); } /// Get next page. diff --git a/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaVersionsAsyncCollectionResult.cs b/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaVersionsAsyncCollectionResult.cs index 59d7190c0172..fdc7e8c35f25 100644 --- a/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaVersionsAsyncCollectionResult.cs +++ b/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaVersionsAsyncCollectionResult.cs @@ -47,29 +47,31 @@ public SchemaRegistryClientGetSchemaVersionsAsyncCollectionResult(SchemaRegistry public override async IAsyncEnumerable> AsPages(string continuationToken, int? pageSizeHint) { Uri nextPage = continuationToken != null ? new Uri(continuationToken) : null; - do + while (true) { - Response response = await GetNextResponse(pageSizeHint, nextPage).ConfigureAwait(false); + Response response = await GetNextResponseAsync(pageSizeHint, nextPage).ConfigureAwait(false); if (response is null) { yield break; } - SchemaVersions responseWithType = (SchemaVersions)response; List items = new List(); - foreach (var item in responseWithType.Value) + foreach (var item in ((SchemaVersions)response).Value) { items.Add(BinaryData.FromObjectAsJson(item)); } - nextPage = responseWithType.NextLink; yield return Page.FromValues(items, nextPage?.AbsoluteUri, response); + nextPage = ((SchemaVersions)response).NextLink; + if (nextPage == null) + { + yield break; + } } - while (nextPage != null); } /// Get next page. /// The number of items per page. /// The next link to use for the next page of results. - private async ValueTask GetNextResponse(int? pageSizeHint, Uri nextLink) + private async ValueTask GetNextResponseAsync(int? pageSizeHint, Uri nextLink) { HttpMessage message = nextLink != null ? _client.CreateNextGetSchemaVersionsRequest(nextLink, _groupName, _schemaName, _context) : _client.CreateGetSchemaVersionsRequest(_groupName, _schemaName, _context); using DiagnosticScope scope = _client.ClientDiagnostics.CreateScope("SchemaRegistryClient.GetSchemaVersions"); diff --git a/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaVersionsAsyncCollectionResultOfT.cs b/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaVersionsAsyncCollectionResultOfT.cs index 5545e304d591..e2609e4eb1e0 100644 --- a/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaVersionsAsyncCollectionResultOfT.cs +++ b/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaVersionsAsyncCollectionResultOfT.cs @@ -47,24 +47,26 @@ public SchemaRegistryClientGetSchemaVersionsAsyncCollectionResultOfT(SchemaRegis public override async IAsyncEnumerable> AsPages(string continuationToken, int? pageSizeHint) { Uri nextPage = continuationToken != null ? new Uri(continuationToken) : null; - do + while (true) { - Response response = await GetNextResponse(pageSizeHint, nextPage).ConfigureAwait(false); + Response response = await GetNextResponseAsync(pageSizeHint, nextPage).ConfigureAwait(false); if (response is null) { yield break; } - SchemaVersions responseWithType = (SchemaVersions)response; - nextPage = responseWithType.NextLink; - yield return Page.FromValues((IReadOnlyList)responseWithType.Value, nextPage?.AbsoluteUri, response); + yield return Page.FromValues((IReadOnlyList)((SchemaVersions)response).Value, nextPage?.AbsoluteUri, response); + nextPage = ((SchemaVersions)response).NextLink; + if (nextPage == null) + { + yield break; + } } - while (nextPage != null); } /// Get next page. /// The number of items per page. /// The next link to use for the next page of results. - private async ValueTask GetNextResponse(int? pageSizeHint, Uri nextLink) + private async ValueTask GetNextResponseAsync(int? pageSizeHint, Uri nextLink) { HttpMessage message = nextLink != null ? _client.CreateNextGetSchemaVersionsRequest(nextLink, _groupName, _schemaName, _context) : _client.CreateGetSchemaVersionsRequest(_groupName, _schemaName, _context); using DiagnosticScope scope = _client.ClientDiagnostics.CreateScope("SchemaRegistryClient.GetSchemaVersions"); diff --git a/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaVersionsCollectionResult.cs b/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaVersionsCollectionResult.cs index 525fe2d0b066..ab8ce875fd75 100644 --- a/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaVersionsCollectionResult.cs +++ b/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaVersionsCollectionResult.cs @@ -46,23 +46,25 @@ public SchemaRegistryClientGetSchemaVersionsCollectionResult(SchemaRegistryClien public override IEnumerable> AsPages(string continuationToken, int? pageSizeHint) { Uri nextPage = continuationToken != null ? new Uri(continuationToken) : null; - do + while (true) { Response response = GetNextResponse(pageSizeHint, nextPage); if (response is null) { yield break; } - SchemaVersions responseWithType = (SchemaVersions)response; List items = new List(); - foreach (var item in responseWithType.Value) + foreach (var item in ((SchemaVersions)response).Value) { items.Add(BinaryData.FromObjectAsJson(item)); } - nextPage = responseWithType.NextLink; yield return Page.FromValues(items, nextPage?.AbsoluteUri, response); + nextPage = ((SchemaVersions)response).NextLink; + if (nextPage == null) + { + yield break; + } } - while (nextPage != null); } /// Get next page. diff --git a/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaVersionsCollectionResultOfT.cs b/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaVersionsCollectionResultOfT.cs index cef3f29da124..fbb9f555479a 100644 --- a/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaVersionsCollectionResultOfT.cs +++ b/sdk/schemaregistry/Azure.Data.SchemaRegistry/src/Generated/SchemaRegistryClientGetSchemaVersionsCollectionResultOfT.cs @@ -46,18 +46,20 @@ public SchemaRegistryClientGetSchemaVersionsCollectionResultOfT(SchemaRegistryCl public override IEnumerable> AsPages(string continuationToken, int? pageSizeHint) { Uri nextPage = continuationToken != null ? new Uri(continuationToken) : null; - do + while (true) { Response response = GetNextResponse(pageSizeHint, nextPage); if (response is null) { yield break; } - SchemaVersions responseWithType = (SchemaVersions)response; - nextPage = responseWithType.NextLink; - yield return Page.FromValues((IReadOnlyList)responseWithType.Value, nextPage?.AbsoluteUri, response); + yield return Page.FromValues((IReadOnlyList)((SchemaVersions)response).Value, nextPage?.AbsoluteUri, response); + nextPage = ((SchemaVersions)response).NextLink; + if (nextPage == null) + { + yield break; + } } - while (nextPage != null); } /// Get next page.