@azure/template 1.0.12-beta.1318888 → 1.0.12-beta.1346472

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.
@@ -1 +1 @@
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;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,MAAM,CAAC,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;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA6B;IAClD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,YAAY;QACvB,eAAe,EAAE;YACf,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,IAAI,EAAE;oBACJ,IAAI,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Ae,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"]}
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../src/generated/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,aAAa,GAA+B;IACvD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,eAAe;QAC1B,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,O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*\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 coreClient from \"@azure/core-client\";\n\nexport const KeyListResult: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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: coreClient.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"]}
@@ -5,7 +5,6 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { QueryCollectionFormat } from "@azure/core-http";
9
8
  import { ConfigurationSetting as ConfigurationSettingMapper } from "../models/mappers";
10
9
  export const accept = {
11
10
  parameterPath: "accept",
@@ -128,7 +127,7 @@ export const select = {
128
127
  }
129
128
  }
130
129
  },
131
- collectionFormat: QueryCollectionFormat.Csv
130
+ collectionFormat: "CSV"
132
131
  };
133
132
  export const accept2 = {
134
133
  parameterPath: "accept",
@@ -210,7 +209,7 @@ export const select1 = {
210
209
  }
211
210
  }
212
211
  },
213
- collectionFormat: QueryCollectionFormat.Csv
212
+ collectionFormat: "CSV"
214
213
  };
215
214
  export const nextLink = {
216
215
  parameterPath: "nextLink",
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../src/generated/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAIL,qBAAqB,EACtB,MAAM,kBAAk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OAAO,GAAuB;IACzC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EACV,+FAA+F;QACjG,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAA4B;IAC9C,aAAa,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;IACpC,MAAM,EAAE;QACN,cAAc,EAAE,SAAS;QACzB,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE;gBACP,YAAY,EAAE,MAAM;gBACpB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;IACD,gBAAgB,EAAE,qBAAqB,CAAC,GAAG;CAC5C,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,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 {\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"]}
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../src/generated/models/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AM,CAAC,MAAM,OAAO,GAAuB;IACzC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EACV,+FAA+F;QACjG,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAA4B;IAC9C,aAAa,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;IACpC,MAAM,EAAE;QACN,cAAc,EAAE,SAAS;QACzB,IAAI,EAAE;YACJ,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE;gBACP,YAAY,EAAE,MAAM;gBACpB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;IACD,gBAAgB,EAAE,KAAK;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,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 {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\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: \"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: \"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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/template",
3
- "version": "1.0.12-beta.1318888",
3
+ "version": "1.0.12-beta.1346472",
4
4
  "description": "Example project for learning how to build a client library",
5
5
  "sdk-type": "client",
6
6
  "main": "dist/index.js",
@@ -10,11 +10,15 @@
10
10
  "constantPaths": [
11
11
  {
12
12
  "path": "src/generated/generatedClientContext.ts",
13
- "prefix": "packageVersion"
13
+ "prefix": "packageDetails"
14
14
  },
15
15
  {
16
16
  "path": "src/constants.ts",
17
17
  "prefix": "SDK_VERSION"
18
+ },
19
+ {
20
+ "path": "swagger/README.md",
21
+ "prefix": "package-version"
18
22
  }
19
23
  ]
20
24
  },
@@ -29,9 +33,9 @@
29
33
  "scripts": {
30
34
  "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
31
35
  "build:samples": "echo Obsolete",
32
- "build:test": "tsc -p . && rollup -c 2>&1",
36
+ "build:test": "npm run clean && tsc -p . && dev-tool run bundle",
33
37
  "build:types": "downlevel-dts types/latest/ types/3.1/",
34
- "build": "npm run clean && tsc -p . && rollup -c 2>&1 && api-extractor run --local && npm run build:types",
38
+ "build": "npm run build:test && api-extractor run --local && npm run build:types",
35
39
  "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
36
40
  "clean": "rimraf dist dist-* temp types *.tgz *.log",
37
41
  "execute:samples": "dev-tool samples run samples-dev",
@@ -46,7 +50,7 @@
46
50
  "pack": "npm pack 2>&1",
47
51
  "test:browser": "npm run clean && npm run build:test && npm run integration-test:browser",
48
52
  "test:node": "npm run clean && tsc -p . && npm run integration-test:node",
49
- "test": "npm run clean && tsc -p . && npm run unit-test:node && rollup -c 2>&1 && npm run unit-test:browser && npm run integration-test",
53
+ "test": "npm run clean && tsc -p . && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test",
50
54
  "unit-test:browser": "npm run integration-test:browser",
51
55
  "unit-test:node": "npm run integration-test:node",
52
56
  "unit-test": "npm run unit-test:node && npm run unit-test:browser"
@@ -78,8 +82,9 @@
78
82
  "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
79
83
  "dependencies": {
80
84
  "@azure/core-auth": "^1.3.0",
81
- "@azure/core-http": "^2.0.0",
82
- "@azure/core-tracing": "1.0.0-preview.13",
85
+ "@azure/core-client": "^1.4.0",
86
+ "@azure/core-rest-pipeline": "^1.4.0",
87
+ "@azure/core-tracing": "1.0.0-preview.14",
83
88
  "@azure/logger": "^1.0.0",
84
89
  "tslib": "^2.2.0"
85
90
  },
@@ -87,14 +92,14 @@
87
92
  "@azure/dev-tool": "^1.0.0",
88
93
  "@azure/eslint-plugin-azure-sdk": "^3.0.0",
89
94
  "@azure/identity": "^2.0.1",
95
+ "@azure/test-utils": "^1.0.0",
96
+ "@azure-tools/test-credential": "~1.0.0",
90
97
  "@azure-tools/test-recorder": "^2.0.0",
91
98
  "@microsoft/api-extractor": "^7.18.11",
92
99
  "@types/chai": "^4.1.6",
93
- "@types/chai-as-promised": "^7.1.0",
94
100
  "@types/mocha": "^7.0.2",
95
101
  "@types/node": "^12.0.0",
96
102
  "chai": "^4.2.0",
97
- "chai-as-promised": "^7.1.1",
98
103
  "cross-env": "^7.0.2",
99
104
  "dotenv": "^8.2.0",
100
105
  "downlevel-dts": "^0.8.0",
@@ -118,11 +123,9 @@
118
123
  "nyc": "^15.0.0",
119
124
  "prettier": "^2.5.1",
120
125
  "rimraf": "^3.0.0",
121
- "rollup": "^1.16.3",
122
126
  "source-map-support": "^0.5.9",
123
127
  "typescript": "~4.2.0",
124
- "util": "^0.12.1",
125
- "@azure-tools/test-credential": "~1.0.0"
128
+ "util": "^0.12.1"
126
129
  },
127
130
  "//sampleConfiguration": {
128
131
  "skipFolder": false,
@@ -1,11 +1,12 @@
1
- import { OperationOptions } from '@azure/core-http';
2
- import { PipelineOptions } from '@azure/core-http';
3
- import { TokenCredential } from '@azure/core-http';
1
+ import { CommonClientOptions } from '@azure/core-client';
2
+ import { OperationOptions } from '@azure/core-client';
3
+ import { TokenCredential } from '@azure/core-auth';
4
4
  /**
5
5
  * The client class used to interact with the App Configuration service.
6
6
  */
7
7
  export declare class ConfigurationClient {
8
8
  private client;
9
+ private tracingClient;
9
10
  /**
10
11
  * Creates an instance of a ConfigurationClient.
11
12
  *
@@ -43,7 +44,7 @@ export declare class ConfigurationClient {
43
44
  /**
44
45
  * Client options used to configure App Configuration API requests.
45
46
  */
46
- export declare interface ConfigurationClientOptions extends PipelineOptions {
47
+ export declare interface ConfigurationClientOptions extends CommonClientOptions {
47
48
  }
48
49
  export declare interface ConfigurationSetting {
49
50
  /** The unique name of the key-value. */
@@ -1,12 +1,13 @@
1
- import { OperationOptions } from '@azure/core-http';
2
- import { PipelineOptions } from '@azure/core-http';
3
- import { TokenCredential } from '@azure/core-http';
1
+ import { CommonClientOptions } from '@azure/core-client';
2
+ import { OperationOptions } from '@azure/core-client';
3
+ import { TokenCredential } from '@azure/core-auth';
4
4
 
5
5
  /**
6
6
  * The client class used to interact with the App Configuration service.
7
7
  */
8
8
  export declare class ConfigurationClient {
9
9
  private client;
10
+ private tracingClient;
10
11
  /**
11
12
  * Creates an instance of a ConfigurationClient.
12
13
  *
@@ -45,7 +46,7 @@ export declare class ConfigurationClient {
45
46
  /**
46
47
  * Client options used to configure App Configuration API requests.
47
48
  */
48
- export declare interface ConfigurationClientOptions extends PipelineOptions {
49
+ export declare interface ConfigurationClientOptions extends CommonClientOptions {
49
50
  }
50
51
 
51
52
  export declare interface ConfigurationSetting {
@@ -1,17 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT license.
3
- //
4
- import { createSpanFunction } from "@azure/core-tracing";
5
- /**
6
- * Creates a span using the global tracer.
7
- *
8
- * @param name - The name of the operation being performed.
9
- * @param tracingOptions - The options for the underlying http request.
10
- *
11
- * @internal
12
- */
13
- export const createSpan = createSpanFunction({
14
- namespace: "Microsoft.Learn",
15
- packagePrefix: "Azure.Learn.ApiLearn",
16
- });
17
- //# sourceMappingURL=tracing.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tracing.js","sourceRoot":"","sources":["../../src/tracing.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,EAAE;AACF,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,kBAAkB,CAAC;IAC3C,SAAS,EAAE,iBAAiB;IAC5B,aAAa,EAAE,sBAAsB;CACtC,CAAC,CAAC","sourcesContent":["// 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"]}