@azure/template 1.0.12 → 1.0.13-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -7
- package/dist/browser/configurationClient.d.ts +64 -0
- package/dist/browser/configurationClient.d.ts.map +1 -0
- package/dist/browser/configurationClient.js +90 -0
- package/dist/browser/configurationClient.js.map +1 -0
- package/dist/browser/constants.d.ts +2 -0
- package/dist/browser/constants.d.ts.map +1 -0
- package/dist/browser/constants.js +4 -0
- package/{dist-esm/src → dist/browser}/constants.js.map +1 -1
- package/dist/browser/generated/generatedClient.d.ts +168 -0
- package/dist/browser/generated/generatedClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/generatedClient.js +333 -107
- package/dist/browser/generated/generatedClient.js.map +1 -0
- package/dist/browser/generated/generatedClientContext.d.ts +15 -0
- package/dist/browser/generated/generatedClientContext.d.ts.map +1 -0
- package/dist/browser/generated/generatedClientContext.js +41 -0
- package/dist/browser/generated/generatedClientContext.js.map +1 -0
- package/dist/browser/generated/index.d.ts +4 -0
- package/dist/browser/generated/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/index.js +3 -3
- package/dist/browser/generated/index.js.map +1 -0
- package/dist/browser/generated/lroImpl.d.ts +16 -0
- package/dist/browser/generated/lroImpl.d.ts.map +1 -0
- package/dist/browser/generated/lroImpl.js +25 -0
- package/dist/browser/generated/lroImpl.js.map +1 -0
- package/dist/browser/generated/models/index.d.ts +775 -0
- package/dist/browser/generated/models/index.d.ts.map +1 -0
- package/dist/browser/generated/models/index.js +54 -0
- package/dist/browser/generated/models/index.js.map +1 -0
- package/dist/browser/generated/models/mappers.d.ts +41 -0
- package/dist/browser/generated/models/mappers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/models/mappers.js +446 -9
- package/dist/browser/generated/models/mappers.js.map +1 -0
- package/dist/browser/generated/models/parameters.d.ts +35 -0
- package/dist/browser/generated/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/models/parameters.js +157 -35
- package/dist/browser/generated/models/parameters.js.map +1 -0
- package/dist/browser/index.d.ts +2 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +4 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +7 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/logger.js +1 -1
- package/{dist-esm/src → dist/browser}/logger.js.map +1 -1
- package/dist/browser/package.json +3 -0
- package/dist/browser/util.d.ts +12 -0
- package/dist/browser/util.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/util.js +1 -1
- package/dist/browser/util.js.map +1 -0
- package/dist/commonjs/configurationClient.d.ts +64 -0
- package/dist/commonjs/configurationClient.d.ts.map +1 -0
- package/dist/commonjs/configurationClient.js +94 -0
- package/dist/commonjs/configurationClient.js.map +1 -0
- package/dist/commonjs/constants.d.ts +2 -0
- package/dist/commonjs/constants.d.ts.map +1 -0
- package/dist/commonjs/constants.js +7 -0
- package/dist/commonjs/constants.js.map +1 -0
- package/dist/commonjs/generated/generatedClient.d.ts +168 -0
- package/dist/commonjs/generated/generatedClient.d.ts.map +1 -0
- package/dist/commonjs/generated/generatedClient.js +866 -0
- package/dist/commonjs/generated/generatedClient.js.map +1 -0
- package/dist/commonjs/generated/generatedClientContext.d.ts +15 -0
- package/dist/commonjs/generated/generatedClientContext.d.ts.map +1 -0
- package/dist/commonjs/generated/generatedClientContext.js +46 -0
- package/dist/commonjs/generated/generatedClientContext.js.map +1 -0
- package/dist/commonjs/generated/index.d.ts +4 -0
- package/dist/commonjs/generated/index.d.ts.map +1 -0
- package/dist/commonjs/generated/index.js +17 -0
- package/dist/commonjs/generated/index.js.map +1 -0
- package/dist/commonjs/generated/lroImpl.d.ts +16 -0
- package/dist/commonjs/generated/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/generated/lroImpl.js +29 -0
- package/dist/commonjs/generated/lroImpl.js.map +1 -0
- package/dist/commonjs/generated/models/index.d.ts +775 -0
- package/dist/commonjs/generated/models/index.d.ts.map +1 -0
- package/dist/commonjs/generated/models/index.js +57 -0
- package/dist/commonjs/generated/models/index.js.map +1 -0
- package/dist/commonjs/generated/models/mappers.d.ts +41 -0
- package/dist/commonjs/generated/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/generated/models/mappers.js +952 -0
- package/dist/commonjs/generated/models/mappers.js.map +1 -0
- package/dist/commonjs/generated/models/parameters.d.ts +35 -0
- package/dist/commonjs/generated/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/generated/models/parameters.js +351 -0
- package/dist/commonjs/generated/models/parameters.js.map +1 -0
- package/dist/commonjs/index.d.ts +2 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +7 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +7 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +13 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/commonjs/util.d.ts +12 -0
- package/dist/commonjs/util.d.ts.map +1 -0
- package/dist/commonjs/util.js +29 -0
- package/dist/commonjs/util.js.map +1 -0
- package/dist/esm/configurationClient.d.ts +64 -0
- package/dist/esm/configurationClient.d.ts.map +1 -0
- package/dist/esm/configurationClient.js +90 -0
- package/dist/esm/configurationClient.js.map +1 -0
- package/dist/esm/constants.d.ts +2 -0
- package/dist/esm/constants.d.ts.map +1 -0
- package/dist/esm/constants.js +4 -0
- package/dist/esm/constants.js.map +1 -0
- package/dist/esm/generated/generatedClient.d.ts +168 -0
- package/dist/esm/generated/generatedClient.d.ts.map +1 -0
- package/dist/esm/generated/generatedClient.js +861 -0
- package/dist/esm/generated/generatedClient.js.map +1 -0
- package/dist/esm/generated/generatedClientContext.d.ts +15 -0
- package/dist/esm/generated/generatedClientContext.d.ts.map +1 -0
- package/dist/esm/generated/generatedClientContext.js +41 -0
- package/dist/esm/generated/generatedClientContext.js.map +1 -0
- package/dist/esm/generated/index.d.ts +4 -0
- package/dist/esm/generated/index.d.ts.map +1 -0
- package/{dist-esm/src/generated/models → dist/esm/generated}/index.js +3 -1
- package/dist/esm/generated/index.js.map +1 -0
- package/dist/esm/generated/lroImpl.d.ts +16 -0
- package/dist/esm/generated/lroImpl.d.ts.map +1 -0
- package/dist/esm/generated/lroImpl.js +25 -0
- package/dist/esm/generated/lroImpl.js.map +1 -0
- package/dist/esm/generated/models/index.d.ts +775 -0
- package/dist/esm/generated/models/index.d.ts.map +1 -0
- package/dist/esm/generated/models/index.js +54 -0
- package/dist/esm/generated/models/index.js.map +1 -0
- package/dist/esm/generated/models/mappers.d.ts +41 -0
- package/dist/esm/generated/models/mappers.d.ts.map +1 -0
- package/dist/esm/generated/models/mappers.js +949 -0
- package/dist/esm/generated/models/mappers.js.map +1 -0
- package/dist/esm/generated/models/parameters.d.ts +35 -0
- package/dist/esm/generated/models/parameters.d.ts.map +1 -0
- package/dist/esm/generated/models/parameters.js +348 -0
- package/dist/esm/generated/models/parameters.js.map +1 -0
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +7 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +10 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/util.d.ts +12 -0
- package/dist/esm/util.d.ts.map +1 -0
- package/dist/esm/util.js +26 -0
- package/dist/esm/util.js.map +1 -0
- package/dist/react-native/configurationClient.d.ts +64 -0
- package/dist/react-native/configurationClient.d.ts.map +1 -0
- package/dist/react-native/configurationClient.js +90 -0
- package/dist/react-native/configurationClient.js.map +1 -0
- package/dist/react-native/constants.d.ts +2 -0
- package/dist/react-native/constants.d.ts.map +1 -0
- package/dist/react-native/constants.js +4 -0
- package/dist/react-native/constants.js.map +1 -0
- package/dist/react-native/generated/generatedClient.d.ts +168 -0
- package/dist/react-native/generated/generatedClient.d.ts.map +1 -0
- package/dist/react-native/generated/generatedClient.js +861 -0
- package/dist/react-native/generated/generatedClient.js.map +1 -0
- package/dist/react-native/generated/generatedClientContext.d.ts +15 -0
- package/dist/react-native/generated/generatedClientContext.d.ts.map +1 -0
- package/dist/react-native/generated/generatedClientContext.js +41 -0
- package/dist/react-native/generated/generatedClientContext.js.map +1 -0
- package/dist/react-native/generated/index.d.ts +4 -0
- package/dist/react-native/generated/index.d.ts.map +1 -0
- package/dist/react-native/generated/index.js +11 -0
- package/dist/react-native/generated/index.js.map +1 -0
- package/dist/react-native/generated/lroImpl.d.ts +16 -0
- package/dist/react-native/generated/lroImpl.d.ts.map +1 -0
- package/dist/react-native/generated/lroImpl.js +25 -0
- package/dist/react-native/generated/lroImpl.js.map +1 -0
- package/dist/react-native/generated/models/index.d.ts +775 -0
- package/dist/react-native/generated/models/index.d.ts.map +1 -0
- package/dist/react-native/generated/models/index.js +54 -0
- package/dist/react-native/generated/models/index.js.map +1 -0
- package/dist/react-native/generated/models/mappers.d.ts +41 -0
- package/dist/react-native/generated/models/mappers.d.ts.map +1 -0
- package/dist/react-native/generated/models/mappers.js +949 -0
- package/dist/react-native/generated/models/mappers.js.map +1 -0
- package/dist/react-native/generated/models/parameters.d.ts +35 -0
- package/dist/react-native/generated/models/parameters.d.ts.map +1 -0
- package/dist/react-native/generated/models/parameters.js +348 -0
- package/dist/react-native/generated/models/parameters.js.map +1 -0
- package/dist/react-native/index.d.ts +2 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +4 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/logger.d.ts +7 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +10 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/util.d.ts +12 -0
- package/dist/react-native/util.d.ts.map +1 -0
- package/dist/react-native/util.js +26 -0
- package/dist/react-native/util.js.map +1 -0
- package/{types → dist}/template.d.ts +18 -17
- package/package.json +98 -91
- package/CHANGELOG.md +0 -51
- package/dist/index.js +0 -1589
- package/dist/index.js.map +0 -1
- package/dist-esm/src/configurationClient.js +0 -101
- package/dist-esm/src/configurationClient.js.map +0 -1
- package/dist-esm/src/constants.js +0 -4
- package/dist-esm/src/generated/generatedClient.js.map +0 -1
- package/dist-esm/src/generated/generatedClientContext.js +0 -39
- package/dist-esm/src/generated/generatedClientContext.js.map +0 -1
- package/dist-esm/src/generated/index.js.map +0 -1
- package/dist-esm/src/generated/models/index.js.map +0 -1
- package/dist-esm/src/generated/models/mappers.js.map +0 -1
- package/dist-esm/src/generated/models/parameters.js.map +0 -1
- package/dist-esm/src/index.js +0 -4
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/tracing.js +0 -17
- package/dist-esm/src/tracing.js.map +0 -1
- package/dist-esm/src/util.js.map +0 -1
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/constants.ts","../src/logger.ts","../src/generated/models/mappers.ts","../src/generated/models/parameters.ts","../src/generated/generatedClientContext.ts","../src/generated/generatedClient.ts","../src/tracing.ts","../src/util.ts","../src/configurationClient.ts"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const SDK_VERSION: string = \"1.0.11-beta.1\";\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { createClientLogger } from \"@azure/logger\";\n\n/**\n * The \\@azure/logger configuration for this package.\n *\n * @internal\n */\nexport const logger = createClientLogger(\"template\");\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\n\nexport const KeyListResult: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyListResult\",\n modelProperties: {\n items: {\n serializedName: \"items\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Key\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"@nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Key: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Key\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorModel: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorModel\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n },\n title: {\n serializedName: \"title\",\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n detail: {\n serializedName: \"detail\",\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const KeyValueListResult: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyValueListResult\",\n modelProperties: {\n items: {\n serializedName: \"items\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigurationSetting\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"@nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ConfigurationSetting: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationSetting\",\n modelProperties: {\n key: {\n serializedName: \"key\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n label: {\n serializedName: \"label\",\n type: {\n name: \"String\"\n }\n },\n contentType: {\n serializedName: \"content_type\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last_modified\",\n type: {\n name: \"DateTime\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n isReadOnly: {\n serializedName: \"locked\",\n type: {\n name: \"Boolean\"\n }\n },\n etag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const LabelListResult: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LabelListResult\",\n modelProperties: {\n items: {\n serializedName: \"items\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Label\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"@nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Label: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Label\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeysHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeysHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckKeysHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckKeysHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeyValuesHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeyValuesHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckKeyValuesHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckKeyValuesHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeyValueHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeyValueHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientPutKeyValueHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientPutKeyValueHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientDeleteKeyValueHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientDeleteKeyValueHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckKeyValueHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckKeyValueHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetLabelsHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetLabelsHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckLabelsHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckLabelsHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientPutLockHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientPutLockHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientDeleteLockHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientDeleteLockHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetRevisionsHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetRevisionsHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckRevisionsHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckRevisionsHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeysNextHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeysNextHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeyValuesNextHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeyValuesNextHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetLabelsNextHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetLabelsNextHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetRevisionsNextHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetRevisionsNextHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n QueryCollectionFormat\n} from \"@azure/core-http\";\nimport { ConfigurationSetting as ConfigurationSettingMapper } from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue:\n \"application/vnd.microsoft.appconfig.keyset+json, application/json, application/problem+json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const name: OperationQueryParameter = {\n parameterPath: [\"options\", \"name\"],\n mapper: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const syncToken: OperationParameter = {\n parameterPath: \"syncToken\",\n mapper: {\n serializedName: \"Sync-Token\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"1.0\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const after: OperationQueryParameter = {\n parameterPath: [\"options\", \"after\"],\n mapper: {\n serializedName: \"After\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const acceptDatetime: OperationParameter = {\n parameterPath: [\"options\", \"acceptDatetime\"],\n mapper: {\n serializedName: \"Accept-Datetime\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const accept1: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue:\n \"application/vnd.microsoft.appconfig.kvset+json, application/json, application/problem+json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const key: OperationQueryParameter = {\n parameterPath: [\"options\", \"key\"],\n mapper: {\n serializedName: \"key\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const label: OperationQueryParameter = {\n parameterPath: [\"options\", \"label\"],\n mapper: {\n serializedName: \"label\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const select: OperationQueryParameter = {\n parameterPath: [\"options\", \"select\"],\n mapper: {\n serializedName: \"$Select\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Enum\",\n allowedValues: [\n \"key\",\n \"label\",\n \"content_type\",\n \"value\",\n \"last_modified\",\n \"tags\",\n \"locked\",\n \"etag\"\n ]\n }\n }\n }\n },\n collectionFormat: QueryCollectionFormat.Csv\n};\n\nexport const accept2: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue:\n \"application/vnd.microsoft.appconfig.kv+json, application/json, application/problem+json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const key1: OperationURLParameter = {\n parameterPath: \"key\",\n mapper: {\n serializedName: \"key\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const ifMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifMatch\"],\n mapper: {\n serializedName: \"If-Match\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const ifNoneMatch: OperationParameter = {\n parameterPath: [\"options\", \"ifNoneMatch\"],\n mapper: {\n serializedName: \"If-None-Match\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/vnd.microsoft.appconfig.kv+json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const entity: OperationParameter = {\n parameterPath: [\"options\", \"entity\"],\n mapper: ConfigurationSettingMapper\n};\n\nexport const accept3: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue:\n \"application/vnd.microsoft.appconfig.labelset+json, application/json, application/problem+json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const select1: OperationQueryParameter = {\n parameterPath: [\"options\", \"select\"],\n mapper: {\n serializedName: \"$Select\",\n type: {\n name: \"Sequence\",\n element: {\n defaultValue: \"name\",\n isConstant: true,\n type: {\n name: \"String\"\n }\n }\n }\n },\n collectionFormat: QueryCollectionFormat.Csv\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport { GeneratedClientOptionalParams } from \"./models\";\n\nconst packageName = \"@azure/template\";\nconst packageVersion = \"1.0.11-beta.1\";\n\n/** @hidden */\nexport class GeneratedClientContext extends coreHttp.ServiceClient {\n endpoint: string;\n syncToken?: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the GeneratedClientContext class.\n * @param endpoint The endpoint of the App Configuration instance to send requests to.\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: GeneratedClientOptionalParams) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n\n if (!options.userAgent) {\n const defaultUserAgent = coreHttp.getDefaultUserAgentValue();\n options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;\n }\n\n super(undefined, options);\n\n this.requestContentType = \"application/json; charset=utf-8\";\n\n this.baseUri = options.endpoint || \"{endpoint}\";\n\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"1.0\";\n }\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport * as Parameters from \"./models/parameters\";\nimport * as Mappers from \"./models/mappers\";\nimport { GeneratedClientContext } from \"./generatedClientContext\";\nimport {\n GeneratedClientOptionalParams,\n GeneratedClientGetKeysOptionalParams,\n GeneratedClientGetKeysResponse,\n GeneratedClientCheckKeysOptionalParams,\n GeneratedClientCheckKeysResponse,\n GeneratedClientGetKeyValuesOptionalParams,\n GeneratedClientGetKeyValuesResponse,\n GeneratedClientCheckKeyValuesOptionalParams,\n GeneratedClientCheckKeyValuesResponse,\n GeneratedClientGetKeyValueOptionalParams,\n GeneratedClientGetKeyValueResponse,\n GeneratedClientPutKeyValueOptionalParams,\n GeneratedClientPutKeyValueResponse,\n GeneratedClientDeleteKeyValueOptionalParams,\n GeneratedClientDeleteKeyValueResponse,\n GeneratedClientCheckKeyValueOptionalParams,\n GeneratedClientCheckKeyValueResponse,\n GeneratedClientGetLabelsOptionalParams,\n GeneratedClientGetLabelsResponse,\n GeneratedClientCheckLabelsOptionalParams,\n GeneratedClientCheckLabelsResponse,\n GeneratedClientPutLockOptionalParams,\n GeneratedClientPutLockResponse,\n GeneratedClientDeleteLockOptionalParams,\n GeneratedClientDeleteLockResponse,\n GeneratedClientGetRevisionsOptionalParams,\n GeneratedClientGetRevisionsResponse,\n GeneratedClientCheckRevisionsOptionalParams,\n GeneratedClientCheckRevisionsResponse,\n GeneratedClientGetKeysNextOptionalParams,\n GeneratedClientGetKeysNextResponse,\n GeneratedClientGetKeyValuesNextOptionalParams,\n GeneratedClientGetKeyValuesNextResponse,\n GeneratedClientGetLabelsNextOptionalParams,\n GeneratedClientGetLabelsNextResponse,\n GeneratedClientGetRevisionsNextOptionalParams,\n GeneratedClientGetRevisionsNextResponse\n} from \"./models\";\n\n/** @hidden */\nexport class GeneratedClient extends GeneratedClientContext {\n /**\n * Initializes a new instance of the GeneratedClient class.\n * @param endpoint The endpoint of the App Configuration instance to send requests to.\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: GeneratedClientOptionalParams) {\n super(endpoint, options);\n }\n\n /**\n * Gets a list of keys.\n * @param options The options parameters.\n */\n getKeys(\n options?: GeneratedClientGetKeysOptionalParams\n ): Promise<GeneratedClientGetKeysResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeysOperationSpec\n ) as Promise<GeneratedClientGetKeysResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkKeys(\n options?: GeneratedClientCheckKeysOptionalParams\n ): Promise<GeneratedClientCheckKeysResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkKeysOperationSpec\n ) as Promise<GeneratedClientCheckKeysResponse>;\n }\n\n /**\n * Gets a list of key-values.\n * @param options The options parameters.\n */\n getKeyValues(\n options?: GeneratedClientGetKeyValuesOptionalParams\n ): Promise<GeneratedClientGetKeyValuesResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeyValuesOperationSpec\n ) as Promise<GeneratedClientGetKeyValuesResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkKeyValues(\n options?: GeneratedClientCheckKeyValuesOptionalParams\n ): Promise<GeneratedClientCheckKeyValuesResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkKeyValuesOperationSpec\n ) as Promise<GeneratedClientCheckKeyValuesResponse>;\n }\n\n /**\n * Gets a single key-value.\n * @param key The key of the key-value to retrieve.\n * @param options The options parameters.\n */\n getKeyValue(\n key: string,\n options?: GeneratedClientGetKeyValueOptionalParams\n ): Promise<GeneratedClientGetKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeyValueOperationSpec\n ) as Promise<GeneratedClientGetKeyValueResponse>;\n }\n\n /**\n * Creates a key-value.\n * @param key The key of the key-value to create.\n * @param options The options parameters.\n */\n putKeyValue(\n key: string,\n options?: GeneratedClientPutKeyValueOptionalParams\n ): Promise<GeneratedClientPutKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n putKeyValueOperationSpec\n ) as Promise<GeneratedClientPutKeyValueResponse>;\n }\n\n /**\n * Deletes a key-value.\n * @param key The key of the key-value to delete.\n * @param options The options parameters.\n */\n deleteKeyValue(\n key: string,\n options?: GeneratedClientDeleteKeyValueOptionalParams\n ): Promise<GeneratedClientDeleteKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n deleteKeyValueOperationSpec\n ) as Promise<GeneratedClientDeleteKeyValueResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param key The key of the key-value to retrieve.\n * @param options The options parameters.\n */\n checkKeyValue(\n key: string,\n options?: GeneratedClientCheckKeyValueOptionalParams\n ): Promise<GeneratedClientCheckKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkKeyValueOperationSpec\n ) as Promise<GeneratedClientCheckKeyValueResponse>;\n }\n\n /**\n * Gets a list of labels.\n * @param options The options parameters.\n */\n getLabels(\n options?: GeneratedClientGetLabelsOptionalParams\n ): Promise<GeneratedClientGetLabelsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getLabelsOperationSpec\n ) as Promise<GeneratedClientGetLabelsResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkLabels(\n options?: GeneratedClientCheckLabelsOptionalParams\n ): Promise<GeneratedClientCheckLabelsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkLabelsOperationSpec\n ) as Promise<GeneratedClientCheckLabelsResponse>;\n }\n\n /**\n * Locks a key-value.\n * @param key The key of the key-value to lock.\n * @param options The options parameters.\n */\n putLock(\n key: string,\n options?: GeneratedClientPutLockOptionalParams\n ): Promise<GeneratedClientPutLockResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n putLockOperationSpec\n ) as Promise<GeneratedClientPutLockResponse>;\n }\n\n /**\n * Unlocks a key-value.\n * @param key The key of the key-value to unlock.\n * @param options The options parameters.\n */\n deleteLock(\n key: string,\n options?: GeneratedClientDeleteLockOptionalParams\n ): Promise<GeneratedClientDeleteLockResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n deleteLockOperationSpec\n ) as Promise<GeneratedClientDeleteLockResponse>;\n }\n\n /**\n * Gets a list of key-value revisions.\n * @param options The options parameters.\n */\n getRevisions(\n options?: GeneratedClientGetRevisionsOptionalParams\n ): Promise<GeneratedClientGetRevisionsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getRevisionsOperationSpec\n ) as Promise<GeneratedClientGetRevisionsResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkRevisions(\n options?: GeneratedClientCheckRevisionsOptionalParams\n ): Promise<GeneratedClientCheckRevisionsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkRevisionsOperationSpec\n ) as Promise<GeneratedClientCheckRevisionsResponse>;\n }\n\n /**\n * GetKeysNext\n * @param nextLink The nextLink from the previous successful call to the GetKeys method.\n * @param options The options parameters.\n */\n getKeysNext(\n nextLink: string,\n options?: GeneratedClientGetKeysNextOptionalParams\n ): Promise<GeneratedClientGetKeysNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeysNextOperationSpec\n ) as Promise<GeneratedClientGetKeysNextResponse>;\n }\n\n /**\n * GetKeyValuesNext\n * @param nextLink The nextLink from the previous successful call to the GetKeyValues method.\n * @param options The options parameters.\n */\n getKeyValuesNext(\n nextLink: string,\n options?: GeneratedClientGetKeyValuesNextOptionalParams\n ): Promise<GeneratedClientGetKeyValuesNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeyValuesNextOperationSpec\n ) as Promise<GeneratedClientGetKeyValuesNextResponse>;\n }\n\n /**\n * GetLabelsNext\n * @param nextLink The nextLink from the previous successful call to the GetLabels method.\n * @param options The options parameters.\n */\n getLabelsNext(\n nextLink: string,\n options?: GeneratedClientGetLabelsNextOptionalParams\n ): Promise<GeneratedClientGetLabelsNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getLabelsNextOperationSpec\n ) as Promise<GeneratedClientGetLabelsNextResponse>;\n }\n\n /**\n * GetRevisionsNext\n * @param nextLink The nextLink from the previous successful call to the GetRevisions method.\n * @param options The options parameters.\n */\n getRevisionsNext(\n nextLink: string,\n options?: GeneratedClientGetRevisionsNextOptionalParams\n ): Promise<GeneratedClientGetRevisionsNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getRevisionsNextOperationSpec\n ) as Promise<GeneratedClientGetRevisionsNextResponse>;\n }\n}\n// Operation Specifications\nconst serializer = new coreHttp.Serializer(Mappers, /* isXml */ false);\n\nconst getKeysOperationSpec: coreHttp.OperationSpec = {\n path: \"/keys\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n headersMapper: Mappers.GeneratedClientGetKeysHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.accept,\n Parameters.syncToken,\n Parameters.acceptDatetime\n ],\n serializer\n};\nconst checkKeysOperationSpec: coreHttp.OperationSpec = {\n path: \"/keys\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckKeysHeaders\n },\n default: {}\n },\n queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst getKeyValuesOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetKeyValuesHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\nconst checkKeyValuesOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckKeyValuesHeaders\n },\n default: {}\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst getKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientGetKeyValueHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label, Parameters.select],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst putKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientPutKeyValueHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.entity,\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.contentType\n ],\n mediaType: \"json\",\n serializer\n};\nconst deleteKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientDeleteKeyValueHeaders\n },\n 204: {\n headersMapper: Mappers.GeneratedClientDeleteKeyValueHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch\n ],\n serializer\n};\nconst checkKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckKeyValueHeaders\n },\n default: {}\n },\n queryParameters: [Parameters.apiVersion, Parameters.label, Parameters.select],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst getLabelsOperationSpec: coreHttp.OperationSpec = {\n path: \"/labels\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabelListResult,\n headersMapper: Mappers.GeneratedClientGetLabelsHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.name,\n Parameters.apiVersion,\n Parameters.after,\n Parameters.select1\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept3\n ],\n serializer\n};\nconst checkLabelsOperationSpec: coreHttp.OperationSpec = {\n path: \"/labels\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckLabelsHeaders\n },\n default: {}\n },\n queryParameters: [\n Parameters.name,\n Parameters.apiVersion,\n Parameters.after,\n Parameters.select1\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst putLockOperationSpec: coreHttp.OperationSpec = {\n path: \"/locks/{key}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientPutLockHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst deleteLockOperationSpec: coreHttp.OperationSpec = {\n path: \"/locks/{key}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientDeleteLockHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst getRevisionsOperationSpec: coreHttp.OperationSpec = {\n path: \"/revisions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetRevisionsHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\nconst checkRevisionsOperationSpec: coreHttp.OperationSpec = {\n path: \"/revisions\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckRevisionsHeaders\n },\n default: {}\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst getKeysNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n headersMapper: Mappers.GeneratedClientGetKeysNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.accept,\n Parameters.syncToken,\n Parameters.acceptDatetime\n ],\n serializer\n};\nconst getKeyValuesNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetKeyValuesNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\nconst getLabelsNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabelListResult,\n headersMapper: Mappers.GeneratedClientGetLabelsNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.name,\n Parameters.apiVersion,\n Parameters.after,\n Parameters.select1\n ],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept3\n ],\n serializer\n};\nconst getRevisionsNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetRevisionsNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n//\nimport { createSpanFunction } from \"@azure/core-tracing\";\n\n/**\n * Creates a span using the global tracer.\n *\n * @param name - The name of the operation being performed.\n * @param tracingOptions - The options for the underlying http request.\n *\n * @internal\n */\nexport const createSpan = createSpanFunction({\n namespace: \"Microsoft.Learn\",\n packagePrefix: \"Azure.Learn.ApiLearn\"\n});\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/**\n * Handles etag quoting in AppConfig response objects.\n *\n * This is important because the etag inside the body of the configuration\n * object isn't quoted, even though the header is.\n *\n * @param etag - the tag to quote, if it isn't quoted already\n *\n * @internal\n */\nexport function quoteETag(etag: string | undefined): string | undefined {\n // https://tools.ietf.org/html/rfc7232#section-3.1\n if (etag === undefined || etag === \"*\") {\n return etag;\n }\n\n if (etag.startsWith('\"') && etag.endsWith('\"')) {\n return etag;\n }\n\n if (etag.startsWith(\"'\") && etag.endsWith(\"'\")) {\n return etag;\n }\n\n return `\"${etag}\"`;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n PipelineOptions,\n TokenCredential,\n OperationOptions,\n bearerTokenAuthenticationPolicy,\n createPipelineFromOptions,\n InternalPipelineOptions\n} from \"@azure/core-http\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\n\nimport { SDK_VERSION } from \"./constants\";\nimport { logger } from \"./logger\";\nimport { ConfigurationSetting, GeneratedClient } from \"./generated\";\nimport { createSpan } from \"./tracing\";\nimport { quoteETag } from \"./util\";\n\n// re-export generated types that are used as public interfaces.\nexport { ConfigurationSetting };\n\n/**\n * Options for the `getConfigurationSetting` method of `ConfigurationClient`.\n */\nexport interface GetConfigurationSettingOptions extends OperationOptions {\n /**\n * If set to `true`, the method will use entity tags to instruct the service\n * to send an updated value only if the value has changed.\n *\n * NOTE: This option is only supported if passing a full\n * `ConfigurationSetting` object with an `etag` as the first parameter to\n * `getConfigurationSetting`.\n */\n onlyIfChanged?: boolean;\n}\n\n/**\n * Client options used to configure App Configuration API requests.\n */\nexport interface ConfigurationClientOptions extends PipelineOptions {\n // Any custom options configured at the client level go here.\n}\n\n/**\n * The client class used to interact with the App Configuration service.\n */\nexport class ConfigurationClient {\n private client: GeneratedClient;\n\n /**\n * Creates an instance of a ConfigurationClient.\n *\n * Example usage:\n * ```ts\n * import { ConfigurationClient} from \"@azure/ai-text-analytics\";\n * import { DefaultAzureCredential} from \"@azure/identity\";\n *\n * const client = new ConfigurationClient(\n * \"<app configuration endpoint>\",\n * new DefaultAzureCredential()\n * );\n * ```\n * @param endpointUrl - the URL to the App Configuration endpoint\n * @param credential - used to authenticate requests to the service\n * @param options - optional configuration used to send requests to the service\n */\n constructor(\n endpointUrl: string,\n credential: TokenCredential,\n options: ConfigurationClientOptions = {}\n ) {\n // The below code helps us set a proper User-Agent header on all requests\n const libInfo = `azsdk-js-template-template/${SDK_VERSION}`;\n if (!options.userAgentOptions) {\n options.userAgentOptions = {};\n }\n if (options.userAgentOptions.userAgentPrefix) {\n options.userAgentOptions.userAgentPrefix = `${options.userAgentOptions.userAgentPrefix} ${libInfo}`;\n } else {\n options.userAgentOptions.userAgentPrefix = libInfo;\n }\n\n // The AAD scope for an API is usually the baseUri + \"/.default\", but it\n // may be different for your service.\n const authPolicy = bearerTokenAuthenticationPolicy(credential, `${endpointUrl}/.default`);\n\n const internalPipelineOptions: InternalPipelineOptions = {\n ...options,\n deserializationOptions: {\n expectedContentTypes: {\n json: [\n \"application/vnd.microsoft.appconfig.kvset+json\",\n \"application/vnd.microsoft.appconfig.kv+json\",\n \"application/vnd.microsoft.appconfig.kvs+json\",\n \"application/vnd.microsoft.appconfig.keyset+json\",\n \"application/vnd.microsoft.appconfig.revs+json\"\n ]\n }\n },\n ...{\n loggingOptions: {\n logger: logger.info,\n // This array contains header names we want to log that are not already\n // included as safe. Unknown/unsafe headers are logged as \"<REDACTED>\".\n allowedHeaderNames: [\"x-ms-correlation-request-id\"]\n }\n }\n };\n const pipeline = createPipelineFromOptions(internalPipelineOptions, authPolicy);\n\n this.client = new GeneratedClient(endpointUrl, pipeline);\n }\n\n /**\n * Retrieve the contents of an App Configuration setting by name (key).\n *\n * @param key - the unique name of the setting to get\n * @param options - optional configuration for the operation\n */\n public async getConfigurationSetting(\n key: string,\n options?: GetConfigurationSettingOptions\n ): Promise<ConfigurationSetting>;\n\n /**\n * Retrieve an updated value of an App Configuration setting, allowing for\n * the use of entity tags to request the new value only if it has changed.\n *\n * @param setting - the setting to retrieve from the service\n * @param options - optional configuration for the operation\n */\n public async getConfigurationSetting(\n setting: ConfigurationSetting,\n options?: GetConfigurationSettingOptions\n ): Promise<ConfigurationSetting>;\n\n public async getConfigurationSetting(\n keyOrSetting: string | ConfigurationSetting,\n options: GetConfigurationSettingOptions = {}\n ): Promise<ConfigurationSetting> {\n let key: string;\n let ifNoneMatch: string | undefined;\n\n if (typeof keyOrSetting === \"string\") {\n key = keyOrSetting;\n if (options.onlyIfChanged) {\n throw new RangeError(\n \"You must pass a ConfigurationSetting instead of a key to perform a conditional fetch.\"\n );\n }\n } else {\n key = keyOrSetting.key;\n const etag = keyOrSetting.etag;\n if (options.onlyIfChanged) {\n ifNoneMatch = quoteETag(etag);\n }\n }\n\n const { span, updatedOptions } = createSpan(\n // Here you set the name of the span, usually clientName-operationName\n \"ConfigurationClient-getConfigurationSetting\",\n options\n );\n\n try {\n const result = await this.client.getKeyValue(key, {\n ...updatedOptions,\n ifNoneMatch\n });\n return result;\n } catch (e) {\n // There are different standard codes available for different errors:\n // https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/api.md#status\n span.setStatus({ code: SpanStatusCode.ERROR, message: e.message });\n\n throw e;\n } finally {\n span.end();\n }\n }\n}\n"],"names":["createClientLogger","QueryCollectionFormat","ConfigurationSettingMapper","coreHttp.ServiceClient","coreHttp.getDefaultUserAgentValue","coreHttp.operationOptionsToRequestOptionsBase","coreHttp.Serializer","Mappers.KeyListResult","Mappers.GeneratedClientGetKeysHeaders","Mappers.ErrorModel","Parameters.name","Parameters.apiVersion","Parameters.after","Parameters.endpoint","Parameters.accept","Parameters.syncToken","Parameters.acceptDatetime","Mappers.GeneratedClientCheckKeysHeaders","Mappers.KeyValueListResult","Mappers.GeneratedClientGetKeyValuesHeaders","Parameters.key","Parameters.label","Parameters.select","Parameters.accept1","Mappers.GeneratedClientCheckKeyValuesHeaders","Mappers.ConfigurationSetting","Mappers.GeneratedClientGetKeyValueHeaders","Parameters.key1","Parameters.accept2","Parameters.ifMatch","Parameters.ifNoneMatch","Mappers.GeneratedClientPutKeyValueHeaders","Parameters.entity","Parameters.contentType","Mappers.GeneratedClientDeleteKeyValueHeaders","Mappers.GeneratedClientCheckKeyValueHeaders","Mappers.LabelListResult","Mappers.GeneratedClientGetLabelsHeaders","Parameters.select1","Parameters.accept3","Mappers.GeneratedClientCheckLabelsHeaders","Mappers.GeneratedClientPutLockHeaders","Mappers.GeneratedClientDeleteLockHeaders","Mappers.GeneratedClientGetRevisionsHeaders","Mappers.GeneratedClientCheckRevisionsHeaders","Mappers.GeneratedClientGetKeysNextHeaders","Parameters.nextLink","Mappers.GeneratedClientGetKeyValuesNextHeaders","Mappers.GeneratedClientGetLabelsNextHeaders","Mappers.GeneratedClientGetRevisionsNextHeaders","createSpanFunction","bearerTokenAuthenticationPolicy","createPipelineFromOptions","SpanStatusCode"],"mappings":";;;;;;;;AAAA;AACA;AAEO,MAAM,WAAW,GAAW,eAAe;;ACHlD;AACA,AAIA;;;;;AAKA,AAAO,MAAM,MAAM,GAAGA,2BAAkB,CAAC,UAAU,CAAC,CAAC;;ACVrD;;;;;;;AAUA,AAAO,MAAM,aAAa,GAA6B;IACrD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,eAAe;QAC1B,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,KAAK;yBACjB;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,WAAW;gBAC3B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,AAAO,MAAM,GAAG,GAA6B;IAC3C,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,KAAK;QAChB,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF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AW,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;aAC/B;SACF;QAED,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,UAAU;;QAEzC,6CAA6C,EAC7C,OAAO,CACR,CAAC;QAEF,IAAI;YACF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,kCAC3C,cAAc,KACjB,WAAW,IACX,CAAC;YACH,OAAO,MAAM,CAAC;SACf;QAAC,OAAO,CAAC,EAAE;;;YAGV,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAEC,0BAAc,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;YAEnE,MAAM,CAAC,CAAC;SACT;gBAAS;YACR,IAAI,CAAC,GAAG,EAAE,CAAC;SACZ;KACF;CACF;;;;"}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT license.
|
|
3
|
-
import { bearerTokenAuthenticationPolicy, createPipelineFromOptions } from "@azure/core-http";
|
|
4
|
-
import { SpanStatusCode } from "@azure/core-tracing";
|
|
5
|
-
import { SDK_VERSION } from "./constants";
|
|
6
|
-
import { logger } from "./logger";
|
|
7
|
-
import { GeneratedClient } from "./generated";
|
|
8
|
-
import { createSpan } from "./tracing";
|
|
9
|
-
import { quoteETag } from "./util";
|
|
10
|
-
/**
|
|
11
|
-
* The client class used to interact with the App Configuration service.
|
|
12
|
-
*/
|
|
13
|
-
export class ConfigurationClient {
|
|
14
|
-
/**
|
|
15
|
-
* Creates an instance of a ConfigurationClient.
|
|
16
|
-
*
|
|
17
|
-
* Example usage:
|
|
18
|
-
* ```ts
|
|
19
|
-
* import { ConfigurationClient} from "@azure/ai-text-analytics";
|
|
20
|
-
* import { DefaultAzureCredential} from "@azure/identity";
|
|
21
|
-
*
|
|
22
|
-
* const client = new ConfigurationClient(
|
|
23
|
-
* "<app configuration endpoint>",
|
|
24
|
-
* new DefaultAzureCredential()
|
|
25
|
-
* );
|
|
26
|
-
* ```
|
|
27
|
-
* @param endpointUrl - the URL to the App Configuration endpoint
|
|
28
|
-
* @param credential - used to authenticate requests to the service
|
|
29
|
-
* @param options - optional configuration used to send requests to the service
|
|
30
|
-
*/
|
|
31
|
-
constructor(endpointUrl, credential, options = {}) {
|
|
32
|
-
// The below code helps us set a proper User-Agent header on all requests
|
|
33
|
-
const libInfo = `azsdk-js-template-template/${SDK_VERSION}`;
|
|
34
|
-
if (!options.userAgentOptions) {
|
|
35
|
-
options.userAgentOptions = {};
|
|
36
|
-
}
|
|
37
|
-
if (options.userAgentOptions.userAgentPrefix) {
|
|
38
|
-
options.userAgentOptions.userAgentPrefix = `${options.userAgentOptions.userAgentPrefix} ${libInfo}`;
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
options.userAgentOptions.userAgentPrefix = libInfo;
|
|
42
|
-
}
|
|
43
|
-
// The AAD scope for an API is usually the baseUri + "/.default", but it
|
|
44
|
-
// may be different for your service.
|
|
45
|
-
const authPolicy = bearerTokenAuthenticationPolicy(credential, `${endpointUrl}/.default`);
|
|
46
|
-
const internalPipelineOptions = Object.assign(Object.assign(Object.assign({}, options), { deserializationOptions: {
|
|
47
|
-
expectedContentTypes: {
|
|
48
|
-
json: [
|
|
49
|
-
"application/vnd.microsoft.appconfig.kvset+json",
|
|
50
|
-
"application/vnd.microsoft.appconfig.kv+json",
|
|
51
|
-
"application/vnd.microsoft.appconfig.kvs+json",
|
|
52
|
-
"application/vnd.microsoft.appconfig.keyset+json",
|
|
53
|
-
"application/vnd.microsoft.appconfig.revs+json"
|
|
54
|
-
]
|
|
55
|
-
}
|
|
56
|
-
} }), {
|
|
57
|
-
loggingOptions: {
|
|
58
|
-
logger: logger.info,
|
|
59
|
-
// This array contains header names we want to log that are not already
|
|
60
|
-
// included as safe. Unknown/unsafe headers are logged as "<REDACTED>".
|
|
61
|
-
allowedHeaderNames: ["x-ms-correlation-request-id"]
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
const pipeline = createPipelineFromOptions(internalPipelineOptions, authPolicy);
|
|
65
|
-
this.client = new GeneratedClient(endpointUrl, pipeline);
|
|
66
|
-
}
|
|
67
|
-
async getConfigurationSetting(keyOrSetting, options = {}) {
|
|
68
|
-
let key;
|
|
69
|
-
let ifNoneMatch;
|
|
70
|
-
if (typeof keyOrSetting === "string") {
|
|
71
|
-
key = keyOrSetting;
|
|
72
|
-
if (options.onlyIfChanged) {
|
|
73
|
-
throw new RangeError("You must pass a ConfigurationSetting instead of a key to perform a conditional fetch.");
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
else {
|
|
77
|
-
key = keyOrSetting.key;
|
|
78
|
-
const etag = keyOrSetting.etag;
|
|
79
|
-
if (options.onlyIfChanged) {
|
|
80
|
-
ifNoneMatch = quoteETag(etag);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
const { span, updatedOptions } = createSpan(
|
|
84
|
-
// Here you set the name of the span, usually clientName-operationName
|
|
85
|
-
"ConfigurationClient-getConfigurationSetting", options);
|
|
86
|
-
try {
|
|
87
|
-
const result = await this.client.getKeyValue(key, Object.assign(Object.assign({}, updatedOptions), { ifNoneMatch }));
|
|
88
|
-
return result;
|
|
89
|
-
}
|
|
90
|
-
catch (e) {
|
|
91
|
-
// There are different standard codes available for different errors:
|
|
92
|
-
// https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/api.md#status
|
|
93
|
-
span.setStatus({ code: SpanStatusCode.ERROR, message: e.message });
|
|
94
|
-
throw e;
|
|
95
|
-
}
|
|
96
|
-
finally {
|
|
97
|
-
span.end();
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
//# sourceMappingURL=configurationClient.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configurationClient.js","sourceRoot":"","sources":["../../src/configurationClient.ts"],"names":[],"mappings":"AAAA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BAAS;YACR,IAAI,CAAC,GAAG,EAAE,CAAC;SACZ;IACH,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n PipelineOptions,\n TokenCredential,\n OperationOptions,\n bearerTokenAuthenticationPolicy,\n createPipelineFromOptions,\n InternalPipelineOptions\n} from \"@azure/core-http\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\n\nimport { SDK_VERSION } from \"./constants\";\nimport { logger } from \"./logger\";\nimport { ConfigurationSetting, GeneratedClient } from \"./generated\";\nimport { createSpan } from \"./tracing\";\nimport { quoteETag } from \"./util\";\n\n// re-export generated types that are used as public interfaces.\nexport { ConfigurationSetting };\n\n/**\n * Options for the `getConfigurationSetting` method of `ConfigurationClient`.\n */\nexport interface GetConfigurationSettingOptions extends OperationOptions {\n /**\n * If set to `true`, the method will use entity tags to instruct the service\n * to send an updated value only if the value has changed.\n *\n * NOTE: This option is only supported if passing a full\n * `ConfigurationSetting` object with an `etag` as the first parameter to\n * `getConfigurationSetting`.\n */\n onlyIfChanged?: boolean;\n}\n\n/**\n * Client options used to configure App Configuration API requests.\n */\nexport interface ConfigurationClientOptions extends PipelineOptions {\n // Any custom options configured at the client level go here.\n}\n\n/**\n * The client class used to interact with the App Configuration service.\n */\nexport class ConfigurationClient {\n private client: GeneratedClient;\n\n /**\n * Creates an instance of a ConfigurationClient.\n *\n * Example usage:\n * ```ts\n * import { ConfigurationClient} from \"@azure/ai-text-analytics\";\n * import { DefaultAzureCredential} from \"@azure/identity\";\n *\n * const client = new ConfigurationClient(\n * \"<app configuration endpoint>\",\n * new DefaultAzureCredential()\n * );\n * ```\n * @param endpointUrl - the URL to the App Configuration endpoint\n * @param credential - used to authenticate requests to the service\n * @param options - optional configuration used to send requests to the service\n */\n constructor(\n endpointUrl: string,\n credential: TokenCredential,\n options: ConfigurationClientOptions = {}\n ) {\n // The below code helps us set a proper User-Agent header on all requests\n const libInfo = `azsdk-js-template-template/${SDK_VERSION}`;\n if (!options.userAgentOptions) {\n options.userAgentOptions = {};\n }\n if (options.userAgentOptions.userAgentPrefix) {\n options.userAgentOptions.userAgentPrefix = `${options.userAgentOptions.userAgentPrefix} ${libInfo}`;\n } else {\n options.userAgentOptions.userAgentPrefix = libInfo;\n }\n\n // The AAD scope for an API is usually the baseUri + \"/.default\", but it\n // may be different for your service.\n const authPolicy = bearerTokenAuthenticationPolicy(credential, `${endpointUrl}/.default`);\n\n const internalPipelineOptions: InternalPipelineOptions = {\n ...options,\n deserializationOptions: {\n expectedContentTypes: {\n json: [\n \"application/vnd.microsoft.appconfig.kvset+json\",\n \"application/vnd.microsoft.appconfig.kv+json\",\n \"application/vnd.microsoft.appconfig.kvs+json\",\n \"application/vnd.microsoft.appconfig.keyset+json\",\n \"application/vnd.microsoft.appconfig.revs+json\"\n ]\n }\n },\n ...{\n loggingOptions: {\n logger: logger.info,\n // This array contains header names we want to log that are not already\n // included as safe. Unknown/unsafe headers are logged as \"<REDACTED>\".\n allowedHeaderNames: [\"x-ms-correlation-request-id\"]\n }\n }\n };\n const pipeline = createPipelineFromOptions(internalPipelineOptions, authPolicy);\n\n this.client = new GeneratedClient(endpointUrl, pipeline);\n }\n\n /**\n * Retrieve the contents of an App Configuration setting by name (key).\n *\n * @param key - the unique name of the setting to get\n * @param options - optional configuration for the operation\n */\n public async getConfigurationSetting(\n key: string,\n options?: GetConfigurationSettingOptions\n ): Promise<ConfigurationSetting>;\n\n /**\n * Retrieve an updated value of an App Configuration setting, allowing for\n * the use of entity tags to request the new value only if it has changed.\n *\n * @param setting - the setting to retrieve from the service\n * @param options - optional configuration for the operation\n */\n public async getConfigurationSetting(\n setting: ConfigurationSetting,\n options?: GetConfigurationSettingOptions\n ): Promise<ConfigurationSetting>;\n\n public async getConfigurationSetting(\n keyOrSetting: string | ConfigurationSetting,\n options: GetConfigurationSettingOptions = {}\n ): Promise<ConfigurationSetting> {\n let key: string;\n let ifNoneMatch: string | undefined;\n\n if (typeof keyOrSetting === \"string\") {\n key = keyOrSetting;\n if (options.onlyIfChanged) {\n throw new RangeError(\n \"You must pass a ConfigurationSetting instead of a key to perform a conditional fetch.\"\n );\n }\n } else {\n key = keyOrSetting.key;\n const etag = keyOrSetting.etag;\n if (options.onlyIfChanged) {\n ifNoneMatch = quoteETag(etag);\n }\n }\n\n const { span, updatedOptions } = createSpan(\n // Here you set the name of the span, usually clientName-operationName\n \"ConfigurationClient-getConfigurationSetting\",\n options\n );\n\n try {\n const result = await this.client.getKeyValue(key, {\n ...updatedOptions,\n ifNoneMatch\n });\n return result;\n } catch (e) {\n // There are different standard codes available for different errors:\n // https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/api.md#status\n span.setStatus({ code: SpanStatusCode.ERROR, message: e.message });\n\n throw e;\n } finally {\n span.end();\n }\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generatedClient.js","sourceRoot":"","sources":["../../../src/generated/generatedClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAyClE,cAAc;AACd,MAAM,OAAO,eAAgB,SAAQ,sBAAsB;IACzD;;;;OAIG;IACH,YAAY,QAAgB,EAAE,OAAuC;QACnE,KAAK,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC3B,CAAC;IAED;;;OAGG;IACH,OAAO,CACL,OAA8C;QAE9C,MAAM,kBAAkB,GAAgC;YACtD,OAAO,EAAE,QAAQ,CAAC,oCAAoC,CAAC,OAAO,IAAI,EAAE,CAAC;SACtE,CAAC;QACF,OAAO,IAAI,CAAC,oBAAoB,CAC9B,kBAAkB,EAClB,oBAAoB,CACsB,CAAC;IAC/C,CAAC;IAED;;;OAG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AE,OAAO,CAAC,sCAAsC;SAC9D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,GAAG;QACd,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,MAAM;KAClB;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,QAAQ,CAAC;IACzD,gBAAgB,EAAE;QAChB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,OAAO;KACnB;IACD,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport * as Parameters from \"./models/parameters\";\nimport * as Mappers from \"./models/mappers\";\nimport { GeneratedClientContext } from \"./generatedClientContext\";\nimport {\n GeneratedClientOptionalParams,\n GeneratedClientGetKeysOptionalParams,\n GeneratedClientGetKeysResponse,\n GeneratedClientCheckKeysOptionalParams,\n GeneratedClientCheckKeysResponse,\n GeneratedClientGetKeyValuesOptionalParams,\n GeneratedClientGetKeyValuesResponse,\n GeneratedClientCheckKeyValuesOptionalParams,\n GeneratedClientCheckKeyValuesResponse,\n GeneratedClientGetKeyValueOptionalParams,\n GeneratedClientGetKeyValueResponse,\n GeneratedClientPutKeyValueOptionalParams,\n GeneratedClientPutKeyValueResponse,\n GeneratedClientDeleteKeyValueOptionalParams,\n GeneratedClientDeleteKeyValueResponse,\n GeneratedClientCheckKeyValueOptionalParams,\n GeneratedClientCheckKeyValueResponse,\n GeneratedClientGetLabelsOptionalParams,\n GeneratedClientGetLabelsResponse,\n GeneratedClientCheckLabelsOptionalParams,\n GeneratedClientCheckLabelsResponse,\n GeneratedClientPutLockOptionalParams,\n GeneratedClientPutLockResponse,\n GeneratedClientDeleteLockOptionalParams,\n GeneratedClientDeleteLockResponse,\n GeneratedClientGetRevisionsOptionalParams,\n GeneratedClientGetRevisionsResponse,\n GeneratedClientCheckRevisionsOptionalParams,\n GeneratedClientCheckRevisionsResponse,\n GeneratedClientGetKeysNextOptionalParams,\n GeneratedClientGetKeysNextResponse,\n GeneratedClientGetKeyValuesNextOptionalParams,\n GeneratedClientGetKeyValuesNextResponse,\n GeneratedClientGetLabelsNextOptionalParams,\n GeneratedClientGetLabelsNextResponse,\n GeneratedClientGetRevisionsNextOptionalParams,\n GeneratedClientGetRevisionsNextResponse\n} from \"./models\";\n\n/** @hidden */\nexport class GeneratedClient extends GeneratedClientContext {\n /**\n * Initializes a new instance of the GeneratedClient class.\n * @param endpoint The endpoint of the App Configuration instance to send requests to.\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: GeneratedClientOptionalParams) {\n super(endpoint, options);\n }\n\n /**\n * Gets a list of keys.\n * @param options The options parameters.\n */\n getKeys(\n options?: GeneratedClientGetKeysOptionalParams\n ): Promise<GeneratedClientGetKeysResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeysOperationSpec\n ) as Promise<GeneratedClientGetKeysResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkKeys(\n options?: GeneratedClientCheckKeysOptionalParams\n ): Promise<GeneratedClientCheckKeysResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkKeysOperationSpec\n ) as Promise<GeneratedClientCheckKeysResponse>;\n }\n\n /**\n * Gets a list of key-values.\n * @param options The options parameters.\n */\n getKeyValues(\n options?: GeneratedClientGetKeyValuesOptionalParams\n ): Promise<GeneratedClientGetKeyValuesResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeyValuesOperationSpec\n ) as Promise<GeneratedClientGetKeyValuesResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkKeyValues(\n options?: GeneratedClientCheckKeyValuesOptionalParams\n ): Promise<GeneratedClientCheckKeyValuesResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkKeyValuesOperationSpec\n ) as Promise<GeneratedClientCheckKeyValuesResponse>;\n }\n\n /**\n * Gets a single key-value.\n * @param key The key of the key-value to retrieve.\n * @param options The options parameters.\n */\n getKeyValue(\n key: string,\n options?: GeneratedClientGetKeyValueOptionalParams\n ): Promise<GeneratedClientGetKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeyValueOperationSpec\n ) as Promise<GeneratedClientGetKeyValueResponse>;\n }\n\n /**\n * Creates a key-value.\n * @param key The key of the key-value to create.\n * @param options The options parameters.\n */\n putKeyValue(\n key: string,\n options?: GeneratedClientPutKeyValueOptionalParams\n ): Promise<GeneratedClientPutKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n putKeyValueOperationSpec\n ) as Promise<GeneratedClientPutKeyValueResponse>;\n }\n\n /**\n * Deletes a key-value.\n * @param key The key of the key-value to delete.\n * @param options The options parameters.\n */\n deleteKeyValue(\n key: string,\n options?: GeneratedClientDeleteKeyValueOptionalParams\n ): Promise<GeneratedClientDeleteKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n deleteKeyValueOperationSpec\n ) as Promise<GeneratedClientDeleteKeyValueResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param key The key of the key-value to retrieve.\n * @param options The options parameters.\n */\n checkKeyValue(\n key: string,\n options?: GeneratedClientCheckKeyValueOptionalParams\n ): Promise<GeneratedClientCheckKeyValueResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkKeyValueOperationSpec\n ) as Promise<GeneratedClientCheckKeyValueResponse>;\n }\n\n /**\n * Gets a list of labels.\n * @param options The options parameters.\n */\n getLabels(\n options?: GeneratedClientGetLabelsOptionalParams\n ): Promise<GeneratedClientGetLabelsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getLabelsOperationSpec\n ) as Promise<GeneratedClientGetLabelsResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkLabels(\n options?: GeneratedClientCheckLabelsOptionalParams\n ): Promise<GeneratedClientCheckLabelsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkLabelsOperationSpec\n ) as Promise<GeneratedClientCheckLabelsResponse>;\n }\n\n /**\n * Locks a key-value.\n * @param key The key of the key-value to lock.\n * @param options The options parameters.\n */\n putLock(\n key: string,\n options?: GeneratedClientPutLockOptionalParams\n ): Promise<GeneratedClientPutLockResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n putLockOperationSpec\n ) as Promise<GeneratedClientPutLockResponse>;\n }\n\n /**\n * Unlocks a key-value.\n * @param key The key of the key-value to unlock.\n * @param options The options parameters.\n */\n deleteLock(\n key: string,\n options?: GeneratedClientDeleteLockOptionalParams\n ): Promise<GeneratedClientDeleteLockResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n key,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n deleteLockOperationSpec\n ) as Promise<GeneratedClientDeleteLockResponse>;\n }\n\n /**\n * Gets a list of key-value revisions.\n * @param options The options parameters.\n */\n getRevisions(\n options?: GeneratedClientGetRevisionsOptionalParams\n ): Promise<GeneratedClientGetRevisionsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getRevisionsOperationSpec\n ) as Promise<GeneratedClientGetRevisionsResponse>;\n }\n\n /**\n * Requests the headers and status of the given resource.\n * @param options The options parameters.\n */\n checkRevisions(\n options?: GeneratedClientCheckRevisionsOptionalParams\n ): Promise<GeneratedClientCheckRevisionsResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n checkRevisionsOperationSpec\n ) as Promise<GeneratedClientCheckRevisionsResponse>;\n }\n\n /**\n * GetKeysNext\n * @param nextLink The nextLink from the previous successful call to the GetKeys method.\n * @param options The options parameters.\n */\n getKeysNext(\n nextLink: string,\n options?: GeneratedClientGetKeysNextOptionalParams\n ): Promise<GeneratedClientGetKeysNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeysNextOperationSpec\n ) as Promise<GeneratedClientGetKeysNextResponse>;\n }\n\n /**\n * GetKeyValuesNext\n * @param nextLink The nextLink from the previous successful call to the GetKeyValues method.\n * @param options The options parameters.\n */\n getKeyValuesNext(\n nextLink: string,\n options?: GeneratedClientGetKeyValuesNextOptionalParams\n ): Promise<GeneratedClientGetKeyValuesNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getKeyValuesNextOperationSpec\n ) as Promise<GeneratedClientGetKeyValuesNextResponse>;\n }\n\n /**\n * GetLabelsNext\n * @param nextLink The nextLink from the previous successful call to the GetLabels method.\n * @param options The options parameters.\n */\n getLabelsNext(\n nextLink: string,\n options?: GeneratedClientGetLabelsNextOptionalParams\n ): Promise<GeneratedClientGetLabelsNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getLabelsNextOperationSpec\n ) as Promise<GeneratedClientGetLabelsNextResponse>;\n }\n\n /**\n * GetRevisionsNext\n * @param nextLink The nextLink from the previous successful call to the GetRevisions method.\n * @param options The options parameters.\n */\n getRevisionsNext(\n nextLink: string,\n options?: GeneratedClientGetRevisionsNextOptionalParams\n ): Promise<GeneratedClientGetRevisionsNextResponse> {\n const operationArguments: coreHttp.OperationArguments = {\n nextLink,\n options: coreHttp.operationOptionsToRequestOptionsBase(options || {})\n };\n return this.sendOperationRequest(\n operationArguments,\n getRevisionsNextOperationSpec\n ) as Promise<GeneratedClientGetRevisionsNextResponse>;\n }\n}\n// Operation Specifications\nconst serializer = new coreHttp.Serializer(Mappers, /* isXml */ false);\n\nconst getKeysOperationSpec: coreHttp.OperationSpec = {\n path: \"/keys\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n headersMapper: Mappers.GeneratedClientGetKeysHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.accept,\n Parameters.syncToken,\n Parameters.acceptDatetime\n ],\n serializer\n};\nconst checkKeysOperationSpec: coreHttp.OperationSpec = {\n path: \"/keys\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckKeysHeaders\n },\n default: {}\n },\n queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst getKeyValuesOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetKeyValuesHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\nconst checkKeyValuesOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckKeyValuesHeaders\n },\n default: {}\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst getKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientGetKeyValueHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label, Parameters.select],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst putKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientPutKeyValueHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.entity,\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n Parameters.contentType\n ],\n mediaType: \"json\",\n serializer\n};\nconst deleteKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientDeleteKeyValueHeaders\n },\n 204: {\n headersMapper: Mappers.GeneratedClientDeleteKeyValueHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch\n ],\n serializer\n};\nconst checkKeyValueOperationSpec: coreHttp.OperationSpec = {\n path: \"/kv/{key}\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckKeyValueHeaders\n },\n default: {}\n },\n queryParameters: [Parameters.apiVersion, Parameters.label, Parameters.select],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst getLabelsOperationSpec: coreHttp.OperationSpec = {\n path: \"/labels\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabelListResult,\n headersMapper: Mappers.GeneratedClientGetLabelsHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.name,\n Parameters.apiVersion,\n Parameters.after,\n Parameters.select1\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept3\n ],\n serializer\n};\nconst checkLabelsOperationSpec: coreHttp.OperationSpec = {\n path: \"/labels\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckLabelsHeaders\n },\n default: {}\n },\n queryParameters: [\n Parameters.name,\n Parameters.apiVersion,\n Parameters.after,\n Parameters.select1\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst putLockOperationSpec: coreHttp.OperationSpec = {\n path: \"/locks/{key}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientPutLockHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst deleteLockOperationSpec: coreHttp.OperationSpec = {\n path: \"/locks/{key}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConfigurationSetting,\n headersMapper: Mappers.GeneratedClientDeleteLockHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.label],\n urlParameters: [Parameters.endpoint, Parameters.key1],\n headerParameters: [\n Parameters.syncToken,\n Parameters.accept2,\n Parameters.ifMatch,\n Parameters.ifNoneMatch\n ],\n serializer\n};\nconst getRevisionsOperationSpec: coreHttp.OperationSpec = {\n path: \"/revisions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetRevisionsHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\nconst checkRevisionsOperationSpec: coreHttp.OperationSpec = {\n path: \"/revisions\",\n httpMethod: \"HEAD\",\n responses: {\n 200: {\n headersMapper: Mappers.GeneratedClientCheckRevisionsHeaders\n },\n default: {}\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.syncToken, Parameters.acceptDatetime],\n serializer\n};\nconst getKeysNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyListResult,\n headersMapper: Mappers.GeneratedClientGetKeysNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.name, Parameters.apiVersion, Parameters.after],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.accept,\n Parameters.syncToken,\n Parameters.acceptDatetime\n ],\n serializer\n};\nconst getKeyValuesNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetKeyValuesNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\nconst getLabelsNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabelListResult,\n headersMapper: Mappers.GeneratedClientGetLabelsNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.name,\n Parameters.apiVersion,\n Parameters.after,\n Parameters.select1\n ],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept3\n ],\n serializer\n};\nconst getRevisionsNextOperationSpec: coreHttp.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.KeyValueListResult,\n headersMapper: Mappers.GeneratedClientGetRevisionsNextHeaders\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.after,\n Parameters.key,\n Parameters.label,\n Parameters.select\n ],\n urlParameters: [Parameters.endpoint, Parameters.nextLink],\n headerParameters: [\n Parameters.syncToken,\n Parameters.acceptDatetime,\n Parameters.accept1\n ],\n serializer\n};\n"]}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import * as coreHttp from "@azure/core-http";
|
|
9
|
-
const packageName = "@azure/template";
|
|
10
|
-
const packageVersion = "1.0.11-beta.1";
|
|
11
|
-
/** @hidden */
|
|
12
|
-
export class GeneratedClientContext extends coreHttp.ServiceClient {
|
|
13
|
-
/**
|
|
14
|
-
* Initializes a new instance of the GeneratedClientContext class.
|
|
15
|
-
* @param endpoint The endpoint of the App Configuration instance to send requests to.
|
|
16
|
-
* @param options The parameter options
|
|
17
|
-
*/
|
|
18
|
-
constructor(endpoint, options) {
|
|
19
|
-
if (endpoint === undefined) {
|
|
20
|
-
throw new Error("'endpoint' cannot be null");
|
|
21
|
-
}
|
|
22
|
-
// Initializing default values for options
|
|
23
|
-
if (!options) {
|
|
24
|
-
options = {};
|
|
25
|
-
}
|
|
26
|
-
if (!options.userAgent) {
|
|
27
|
-
const defaultUserAgent = coreHttp.getDefaultUserAgentValue();
|
|
28
|
-
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
|
|
29
|
-
}
|
|
30
|
-
super(undefined, options);
|
|
31
|
-
this.requestContentType = "application/json; charset=utf-8";
|
|
32
|
-
this.baseUri = options.endpoint || "{endpoint}";
|
|
33
|
-
// Parameter assignments
|
|
34
|
-
this.endpoint = endpoint;
|
|
35
|
-
// Assigning values to Constant parameters
|
|
36
|
-
this.apiVersion = options.apiVersion || "1.0";
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=generatedClientContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generatedClientContext.js","sourceRoot":"","sources":["../../../src/generated/generatedClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAG7C,MAAM,WAAW,GAAG,iBAAiB,CAAC;AACtC,MAAM,cAAc,GAAG,eAAe,CAAC;AAEvC,cAAc;AACd,MAAM,OAAO,sBAAuB,SAAQ,QAAQ,CAAC,aAAa;IAKhE;;;;OAIG;IACH,YAAY,QAAgB,EAAE,OAAuC;QACnE,IAAI,QAAQ,KAAK,SAAS,EAAE;YAC1B,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;SAC9C;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QAED,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE;YACtB,MAAM,gBAAgB,GAAG,QAAQ,CAAC,wBAAwB,EAAE,CAAC;YAC7D,OAAO,CAAC,SAAS,GAAG,GAAG,WAAW,IAAI,cAAc,IAAI,gBAAgB,EAAE,CAAC;SAC5E;QAED,KAAK,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QAE1B,IAAI,CAAC,kBAAkB,GAAG,iCAAiC,CAAC;QAE5D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,QAAQ,IAAI,YAAY,CAAC;QAEhD,wBAAwB;QACxB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAEzB,0CAA0C;QAC1C,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,KAAK,CAAC;IAChD,CAAC;CACF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\nimport { GeneratedClientOptionalParams } from \"./models\";\n\nconst packageName = \"@azure/template\";\nconst packageVersion = \"1.0.11-beta.1\";\n\n/** @hidden */\nexport class GeneratedClientContext extends coreHttp.ServiceClient {\n endpoint: string;\n syncToken?: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the GeneratedClientContext class.\n * @param endpoint The endpoint of the App Configuration instance to send requests to.\n * @param options The parameter options\n */\n constructor(endpoint: string, options?: GeneratedClientOptionalParams) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n\n if (!options.userAgent) {\n const defaultUserAgent = coreHttp.getDefaultUserAgentValue();\n options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;\n }\n\n super(undefined, options);\n\n this.requestContentType = \"application/json; charset=utf-8\";\n\n this.baseUri = options.endpoint || \"{endpoint}\";\n\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"1.0\";\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/generated/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./models\";\nexport { GeneratedClient } from \"./generatedClient\";\nexport { GeneratedClientContext } from \"./generatedClientContext\";\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\n\n/** The result of a list request. */\nexport interface KeyListResult {\n /** The collection value. */\n items?: Key[];\n /** The URI that can be used to request the next set of paged results. */\n nextLink?: string;\n}\n\nexport interface Key {\n /**\n * The name of the key.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n}\n\n/** Azure App Configuration error object. */\nexport interface ErrorModel {\n /** The type of the error. */\n type?: string;\n /** A brief summary of the error. */\n title?: string;\n /** The name of the parameter that resulted in the error. */\n name?: string;\n /** A detailed description of the error. */\n detail?: string;\n /** The HTTP status code that the error maps to. */\n status?: number;\n}\n\n/** The result of a list request. */\nexport interface KeyValueListResult {\n /** The collection value. */\n items?: ConfigurationSetting[];\n /** The URI that can be used to request the next set of paged results. */\n nextLink?: string;\n}\n\nexport interface ConfigurationSetting {\n /** The unique name of the key-value. */\n key: string;\n /** The label of the key-value. */\n label?: string;\n /** The content type of the key-value. */\n contentType?: string;\n /** The value of the key-value. */\n value?: string;\n /** The time the key-value was last modified. */\n lastModified?: Date;\n /** Dictionary of <string> */\n tags?: { [propertyName: string]: string };\n /** Indicates whether or not this key-value is readonly. */\n isReadOnly?: boolean;\n /** The entity-tag of the key-value. */\n etag?: string;\n}\n\n/** The result of a list request. */\nexport interface LabelListResult {\n /** The collection value. */\n items?: Label[];\n /** The URI that can be used to request the next set of paged results. */\n nextLink?: string;\n}\n\nexport interface Label {\n /**\n * The name of the label.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n}\n\n/** Defines headers for GeneratedClient_getKeys operation. */\nexport interface GeneratedClientGetKeysHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_checkKeys operation. */\nexport interface GeneratedClientCheckKeysHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_getKeyValues operation. */\nexport interface GeneratedClientGetKeyValuesHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_checkKeyValues operation. */\nexport interface GeneratedClientCheckKeyValuesHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_getKeyValue operation. */\nexport interface GeneratedClientGetKeyValueHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n /** An identifier representing the returned state of the resource. */\n eTag?: string;\n /** A UTC datetime that specifies the last time the resource was modified. */\n lastModified?: string;\n}\n\n/** Defines headers for GeneratedClient_putKeyValue operation. */\nexport interface GeneratedClientPutKeyValueHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n /** An identifier representing the returned state of the resource. */\n eTag?: string;\n}\n\n/** Defines headers for GeneratedClient_deleteKeyValue operation. */\nexport interface GeneratedClientDeleteKeyValueHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n /** An identifier representing the returned state of the resource. */\n eTag?: string;\n}\n\n/** Defines headers for GeneratedClient_checkKeyValue operation. */\nexport interface GeneratedClientCheckKeyValueHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n /** An identifier representing the returned state of the resource. */\n eTag?: string;\n /** A UTC datetime that specifies the last time the resource was modified. */\n lastModified?: string;\n}\n\n/** Defines headers for GeneratedClient_getLabels operation. */\nexport interface GeneratedClientGetLabelsHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_checkLabels operation. */\nexport interface GeneratedClientCheckLabelsHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_putLock operation. */\nexport interface GeneratedClientPutLockHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n /** An identifier representing the returned state of the resource. */\n eTag?: string;\n}\n\n/** Defines headers for GeneratedClient_deleteLock operation. */\nexport interface GeneratedClientDeleteLockHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n /** An identifier representing the returned state of the resource. */\n eTag?: string;\n}\n\n/** Defines headers for GeneratedClient_getRevisions operation. */\nexport interface GeneratedClientGetRevisionsHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_checkRevisions operation. */\nexport interface GeneratedClientCheckRevisionsHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_getKeysNext operation. */\nexport interface GeneratedClientGetKeysNextHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_getKeyValuesNext operation. */\nexport interface GeneratedClientGetKeyValuesNextHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_getLabelsNext operation. */\nexport interface GeneratedClientGetLabelsNextHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines headers for GeneratedClient_getRevisionsNext operation. */\nexport interface GeneratedClientGetRevisionsNextHeaders {\n /** Enables real-time consistency between requests by providing the returned value in the next request made to the server. */\n syncToken?: string;\n}\n\n/** Defines values for SettingFields. */\nexport type SettingFields =\n | \"key\"\n | \"label\"\n | \"content_type\"\n | \"value\"\n | \"last_modified\"\n | \"tags\"\n | \"locked\"\n | \"etag\";\n\n/** Optional parameters. */\nexport interface GeneratedClientGetKeysOptionalParams\n extends coreHttp.OperationOptions {\n /** A filter for the name of the returned keys. */\n name?: string;\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n}\n\n/** Contains response data for the getKeys operation. */\nexport type GeneratedClientGetKeysResponse = GeneratedClientGetKeysHeaders &\n KeyListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyListResult;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientGetKeysHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientCheckKeysOptionalParams\n extends coreHttp.OperationOptions {\n /** A filter for the name of the returned keys. */\n name?: string;\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n}\n\n/** Contains response data for the checkKeys operation. */\nexport type GeneratedClientCheckKeysResponse = GeneratedClientCheckKeysHeaders & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientCheckKeysHeaders;\n };\n};\n\n/** Optional parameters. */\nexport interface GeneratedClientGetKeyValuesOptionalParams\n extends coreHttp.OperationOptions {\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** A filter used to match keys. */\n key?: string;\n /** A filter used to match labels */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n}\n\n/** Contains response data for the getKeyValues operation. */\nexport type GeneratedClientGetKeyValuesResponse = GeneratedClientGetKeyValuesHeaders &\n KeyValueListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyValueListResult;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientGetKeyValuesHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientCheckKeyValuesOptionalParams\n extends coreHttp.OperationOptions {\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** A filter used to match keys. */\n key?: string;\n /** A filter used to match labels */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n}\n\n/** Contains response data for the checkKeyValues operation. */\nexport type GeneratedClientCheckKeyValuesResponse = GeneratedClientCheckKeyValuesHeaders & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientCheckKeyValuesHeaders;\n };\n};\n\n/** Optional parameters. */\nexport interface GeneratedClientGetKeyValueOptionalParams\n extends coreHttp.OperationOptions {\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** The label of the key-value to retrieve. */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n /** Used to perform an operation only if the targeted resource's etag matches the value provided. */\n ifMatch?: string;\n /** Used to perform an operation only if the targeted resource's etag does not match the value provided. */\n ifNoneMatch?: string;\n}\n\n/** Contains response data for the getKeyValue operation. */\nexport type GeneratedClientGetKeyValueResponse = GeneratedClientGetKeyValueHeaders &\n ConfigurationSetting & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: ConfigurationSetting;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientGetKeyValueHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientPutKeyValueOptionalParams\n extends coreHttp.OperationOptions {\n /** The label of the key-value to create. */\n label?: string;\n /** Used to perform an operation only if the targeted resource's etag matches the value provided. */\n ifMatch?: string;\n /** Used to perform an operation only if the targeted resource's etag does not match the value provided. */\n ifNoneMatch?: string;\n /** The key-value to create. */\n entity?: ConfigurationSetting;\n}\n\n/** Contains response data for the putKeyValue operation. */\nexport type GeneratedClientPutKeyValueResponse = GeneratedClientPutKeyValueHeaders &\n ConfigurationSetting & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: ConfigurationSetting;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientPutKeyValueHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientDeleteKeyValueOptionalParams\n extends coreHttp.OperationOptions {\n /** The label of the key-value to delete. */\n label?: string;\n /** Used to perform an operation only if the targeted resource's etag matches the value provided. */\n ifMatch?: string;\n}\n\n/** Contains response data for the deleteKeyValue operation. */\nexport type GeneratedClientDeleteKeyValueResponse = GeneratedClientDeleteKeyValueHeaders &\n ConfigurationSetting & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: ConfigurationSetting;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientDeleteKeyValueHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientCheckKeyValueOptionalParams\n extends coreHttp.OperationOptions {\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** The label of the key-value to retrieve. */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n /** Used to perform an operation only if the targeted resource's etag matches the value provided. */\n ifMatch?: string;\n /** Used to perform an operation only if the targeted resource's etag does not match the value provided. */\n ifNoneMatch?: string;\n}\n\n/** Contains response data for the checkKeyValue operation. */\nexport type GeneratedClientCheckKeyValueResponse = GeneratedClientCheckKeyValueHeaders & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientCheckKeyValueHeaders;\n };\n};\n\n/** Optional parameters. */\nexport interface GeneratedClientGetLabelsOptionalParams\n extends coreHttp.OperationOptions {\n /** A filter for the name of the returned labels. */\n name?: string;\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: string[];\n}\n\n/** Contains response data for the getLabels operation. */\nexport type GeneratedClientGetLabelsResponse = GeneratedClientGetLabelsHeaders &\n LabelListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: LabelListResult;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientGetLabelsHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientCheckLabelsOptionalParams\n extends coreHttp.OperationOptions {\n /** A filter for the name of the returned labels. */\n name?: string;\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: string[];\n}\n\n/** Contains response data for the checkLabels operation. */\nexport type GeneratedClientCheckLabelsResponse = GeneratedClientCheckLabelsHeaders & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientCheckLabelsHeaders;\n };\n};\n\n/** Optional parameters. */\nexport interface GeneratedClientPutLockOptionalParams\n extends coreHttp.OperationOptions {\n /** The label, if any, of the key-value to lock. */\n label?: string;\n /** Used to perform an operation only if the targeted resource's etag matches the value provided. */\n ifMatch?: string;\n /** Used to perform an operation only if the targeted resource's etag does not match the value provided. */\n ifNoneMatch?: string;\n}\n\n/** Contains response data for the putLock operation. */\nexport type GeneratedClientPutLockResponse = GeneratedClientPutLockHeaders &\n ConfigurationSetting & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: ConfigurationSetting;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientPutLockHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientDeleteLockOptionalParams\n extends coreHttp.OperationOptions {\n /** The label, if any, of the key-value to unlock. */\n label?: string;\n /** Used to perform an operation only if the targeted resource's etag matches the value provided. */\n ifMatch?: string;\n /** Used to perform an operation only if the targeted resource's etag does not match the value provided. */\n ifNoneMatch?: string;\n}\n\n/** Contains response data for the deleteLock operation. */\nexport type GeneratedClientDeleteLockResponse = GeneratedClientDeleteLockHeaders &\n ConfigurationSetting & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: ConfigurationSetting;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientDeleteLockHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientGetRevisionsOptionalParams\n extends coreHttp.OperationOptions {\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** A filter used to match keys. */\n key?: string;\n /** A filter used to match labels */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n}\n\n/** Contains response data for the getRevisions operation. */\nexport type GeneratedClientGetRevisionsResponse = GeneratedClientGetRevisionsHeaders &\n KeyValueListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyValueListResult;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientGetRevisionsHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientCheckRevisionsOptionalParams\n extends coreHttp.OperationOptions {\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** A filter used to match keys. */\n key?: string;\n /** A filter used to match labels */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n}\n\n/** Contains response data for the checkRevisions operation. */\nexport type GeneratedClientCheckRevisionsResponse = GeneratedClientCheckRevisionsHeaders & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientCheckRevisionsHeaders;\n };\n};\n\n/** Optional parameters. */\nexport interface GeneratedClientGetKeysNextOptionalParams\n extends coreHttp.OperationOptions {\n /** A filter for the name of the returned keys. */\n name?: string;\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n}\n\n/** Contains response data for the getKeysNext operation. */\nexport type GeneratedClientGetKeysNextResponse = GeneratedClientGetKeysNextHeaders &\n KeyListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyListResult;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientGetKeysNextHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientGetKeyValuesNextOptionalParams\n extends coreHttp.OperationOptions {\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** A filter used to match keys. */\n key?: string;\n /** A filter used to match labels */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n}\n\n/** Contains response data for the getKeyValuesNext operation. */\nexport type GeneratedClientGetKeyValuesNextResponse = GeneratedClientGetKeyValuesNextHeaders &\n KeyValueListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyValueListResult;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientGetKeyValuesNextHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientGetLabelsNextOptionalParams\n extends coreHttp.OperationOptions {\n /** A filter for the name of the returned labels. */\n name?: string;\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: string[];\n}\n\n/** Contains response data for the getLabelsNext operation. */\nexport type GeneratedClientGetLabelsNextResponse = GeneratedClientGetLabelsNextHeaders &\n LabelListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: LabelListResult;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientGetLabelsNextHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientGetRevisionsNextOptionalParams\n extends coreHttp.OperationOptions {\n /** Instructs the server to return elements that appear after the element referred to by the specified token. */\n after?: string;\n /** Requests the server to respond with the state of the resource at the specified time. */\n acceptDatetime?: string;\n /** A filter used to match keys. */\n key?: string;\n /** A filter used to match labels */\n label?: string;\n /** Used to select what fields are present in the returned resource(s). */\n select?: SettingFields[];\n}\n\n/** Contains response data for the getRevisionsNext operation. */\nexport type GeneratedClientGetRevisionsNextResponse = GeneratedClientGetRevisionsNextHeaders &\n KeyValueListResult & {\n /** The underlying HTTP response. */\n _response: coreHttp.HttpResponse & {\n /** The response body as text (string format) */\n bodyAsText: string;\n\n /** The response body as parsed JSON or XML */\n parsedBody: KeyValueListResult;\n /** The parsed HTTP response headers. */\n parsedHeaders: GeneratedClientGetRevisionsNextHeaders;\n };\n };\n\n/** Optional parameters. */\nexport interface GeneratedClientOptionalParams\n extends coreHttp.ServiceClientOptions {\n /** Used to guarantee real-time consistency between requests. */\n syncToken?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../src/generated/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,aAAa,GAA6B;IACrD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,eAAe;QAC1B,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBACh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,EAAE,WAAW;QACjB,SAAS,EAAE,sCAAsC;QACjD,eAAe,EAAE;YACf,SAAS,EAAE;gBACT,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAA6B;IACzE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,mCAAmC;QAC9C,eAAe,EAAE;YACf,SAAS,EAAE;gBACT,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GAA6B;IAC9E,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,wCAAwC;QACnD,eAAe,EAAE;YACf,SAAS,EAAE;gBACT,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mCAAmC,GAA6B;IAC3E,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qCAAqC;QAChD,eAAe,EAAE;YACf,SAAS,EAAE;gBACT,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GAA6B;IAC9E,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,wCAAwC;QACnD,eAAe,EAAE;YACf,SAAS,EAAE;gBACT,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreHttp from \"@azure/core-http\";\n\nexport const KeyListResult: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyListResult\",\n modelProperties: {\n items: {\n serializedName: \"items\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Key\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"@nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Key: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Key\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ErrorModel: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorModel\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n },\n title: {\n serializedName: \"title\",\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n detail: {\n serializedName: \"detail\",\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const KeyValueListResult: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"KeyValueListResult\",\n modelProperties: {\n items: {\n serializedName: \"items\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigurationSetting\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"@nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ConfigurationSetting: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationSetting\",\n modelProperties: {\n key: {\n serializedName: \"key\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n label: {\n serializedName: \"label\",\n type: {\n name: \"String\"\n }\n },\n contentType: {\n serializedName: \"content_type\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last_modified\",\n type: {\n name: \"DateTime\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n isReadOnly: {\n serializedName: \"locked\",\n type: {\n name: \"Boolean\"\n }\n },\n etag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const LabelListResult: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LabelListResult\",\n modelProperties: {\n items: {\n serializedName: \"items\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Label\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"@nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Label: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Label\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeysHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeysHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckKeysHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckKeysHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeyValuesHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeyValuesHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckKeyValuesHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckKeyValuesHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeyValueHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeyValueHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientPutKeyValueHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientPutKeyValueHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientDeleteKeyValueHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientDeleteKeyValueHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckKeyValueHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckKeyValueHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n },\n lastModified: {\n serializedName: \"last-modified\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetLabelsHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetLabelsHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckLabelsHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckLabelsHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientPutLockHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientPutLockHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientDeleteLockHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientDeleteLockHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n },\n eTag: {\n serializedName: \"etag\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetRevisionsHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetRevisionsHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientCheckRevisionsHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientCheckRevisionsHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeysNextHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeysNextHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetKeyValuesNextHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetKeyValuesNextHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetLabelsNextHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetLabelsNextHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GeneratedClientGetRevisionsNextHeaders: coreHttp.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GeneratedClientGetRevisionsNextHeaders\",\n modelProperties: {\n syncToken: {\n serializedName: \"sync-token\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n"]}
|