@azure/template 1.0.12-alpha.20220128.4 → 1.0.12-alpha.20220131.2

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Release History
2
2
 
3
- ## 1.0.12-beta.1334361 (2022-01-28)
3
+ ## 1.0.12-beta.1337917 (2022-01-31)
4
4
 
5
5
  - Test Release Pipeline
6
6
 
package/dist/index.js CHANGED
@@ -799,7 +799,7 @@ const nextLink = {
799
799
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
800
800
  */
801
801
  const packageName = "@azure/template";
802
- const packageVersion = "1.0.12-beta.1334361";
802
+ const packageVersion = "1.0.12-beta.1337917";
803
803
  /** @hidden */
804
804
  class GeneratedClientContext extends coreHttp__namespace.ServiceClient {
805
805
  /**
@@ -1462,21 +1462,7 @@ const getRevisionsNextOperationSpec = {
1462
1462
 
1463
1463
  // Copyright (c) Microsoft Corporation.
1464
1464
  // Licensed under the MIT license.
1465
- const SDK_VERSION = "1.0.12-beta.1334361";
1466
-
1467
- // Copyright (c) Microsoft Corporation.
1468
- /**
1469
- * Creates a span using the global tracer.
1470
- *
1471
- * @param name - The name of the operation being performed.
1472
- * @param tracingOptions - The options for the underlying http request.
1473
- *
1474
- * @internal
1475
- */
1476
- const createSpan = coreTracing.createSpanFunction({
1477
- namespace: "Microsoft.Learn",
1478
- packagePrefix: "Azure.Learn.ApiLearn",
1479
- });
1465
+ const SDK_VERSION = "1.0.12-beta.1337917";
1480
1466
 
1481
1467
  // Copyright (c) Microsoft Corporation.
1482
1468
  /**
@@ -1569,39 +1555,37 @@ class ConfigurationClient {
1569
1555
  });
1570
1556
  const pipeline = coreHttp.createPipelineFromOptions(internalPipelineOptions, authPolicy);
1571
1557
  this.client = new GeneratedClient(endpointUrl, pipeline);
1558
+ this.tracingClient = coreTracing.createTracingClient({
1559
+ // The name of the resource provider requests are made against, as described in
1560
+ // https://github.com/Azure/azure-sdk/blob/main/docs/tracing/distributed-tracing-conventions.yml#L11-L15
1561
+ namespace: "Microsoft.Learn",
1562
+ // The package name and version
1563
+ packageName: "@azure/template",
1564
+ packageVersion: SDK_VERSION,
1565
+ });
1572
1566
  }
1573
1567
  async getConfigurationSetting(keyOrSetting, options = {}) {
1574
1568
  let key;
1575
1569
  let ifNoneMatch;
1576
- if (typeof keyOrSetting === "string") {
1577
- key = keyOrSetting;
1578
- if (options.onlyIfChanged) {
1579
- throw new RangeError("You must pass a ConfigurationSetting instead of a key to perform a conditional fetch.");
1570
+ return this.tracingClient.withSpan(
1571
+ // Span names should take the form "<className>.<methodName>".
1572
+ "ConfigurationClient.getConfigurationSetting", options, (updatedOptions) => {
1573
+ if (typeof keyOrSetting === "string") {
1574
+ key = keyOrSetting;
1575
+ if (options.onlyIfChanged) {
1576
+ throw new RangeError("You must pass a ConfigurationSetting instead of a key to perform a conditional fetch.");
1577
+ }
1580
1578
  }
1581
- }
1582
- else {
1583
- key = keyOrSetting.key;
1584
- const etag = keyOrSetting.etag;
1585
- if (options.onlyIfChanged) {
1586
- ifNoneMatch = quoteETag(etag);
1579
+ else {
1580
+ key = keyOrSetting.key;
1581
+ const etag = keyOrSetting.etag;
1582
+ if (options.onlyIfChanged) {
1583
+ ifNoneMatch = quoteETag(etag);
1584
+ }
1587
1585
  }
1588
- }
1589
- const { span, updatedOptions } = createSpan(
1590
- // Here you set the name of the span, usually clientName-operationName
1591
- "ConfigurationClient-getConfigurationSetting", options);
1592
- try {
1593
- const result = await this.client.getKeyValue(key, Object.assign(Object.assign({}, updatedOptions), { ifNoneMatch }));
1594
- return result;
1595
- }
1596
- catch (e) {
1597
- // There are different standard codes available for different errors:
1598
- // https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/api.md#status
1599
- span.setStatus({ code: coreTracing.SpanStatusCode.ERROR, message: e.message });
1600
- throw e;
1601
- }
1602
- finally {
1603
- span.end();
1604
- }
1586
+ // You must pass updatedOptions to any calls you make within the callback.
1587
+ return this.client.getKeyValue(key, Object.assign(Object.assign({}, updatedOptions), { ifNoneMatch }));
1588
+ });
1605
1589
  }
1606
1590
  }
1607
1591
 
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/generated/models/mappers.ts","../src/generated/models/parameters.ts","../src/generated/generatedClientContext.ts","../src/generated/generatedClient.ts","../src/constants.ts","../src/tracing.ts","../src/logger.ts","../src/util.ts","../src/configurationClient.ts"],"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","/*\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.12-beta.1334361\";\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\nexport const SDK_VERSION: string = \"1.0.12-beta.1334361\";\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\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","// 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 { ConfigurationSetting, GeneratedClient } from \"./generated\";\nimport {\n InternalPipelineOptions,\n OperationOptions,\n PipelineOptions,\n TokenCredential,\n bearerTokenAuthenticationPolicy,\n createPipelineFromOptions,\n} from \"@azure/core-http\";\nimport { SDK_VERSION } from \"./constants\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\nimport { createSpan } from \"./tracing\";\nimport { logger } from \"./logger\";\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":["QueryCollectionFormat","ConfigurationSettingMapper","coreHttp","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","createClientLogger","bearerTokenAuthenticationPolicy","createPipelineFromOptions","SpanStatusCode"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAUO,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;oBAC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GAAGC,kCAAyB,CAAC,uBAAuB,EAAE,UAAU,CAAC,CAAC;QAEhF,IAAI,CAAC,MAAM,GAAG,IAAI,eAAe,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;KAC1D;IAyBM,MAAM,uBAAuB,CAClC,YAA2C,EAC3C,UAA0C,EAAE;QAE5C,IAAI,GAAW,CAAC;QAChB,IAAI,WAA+B,CAAC;QAEpC,IAAI,OAAO,YAAY,KAAK,QAAQ,EAAE;YACpC,GAAG,GAAG,YAAY,CAAC;YACnB,IAAI,OAAO,CAAC,aAAa,EAAE;gBACzB,MAAM,IAAI,UAAU,CAClB,uFAAuF,CACxF,CAAC;aACH;SACF;aAAM;YACL,GAAG,GAAG,YAAY,CAAC,GAAG,CAAC;YACvB,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC;YAC/B,IAAI,OAAO,CAAC,aAAa,EAAE;gBACzB,WAAW,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;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../src/generated/models/mappers.ts","../src/generated/models/parameters.ts","../src/generated/generatedClientContext.ts","../src/generated/generatedClient.ts","../src/constants.ts","../src/logger.ts","../src/util.ts","../src/configurationClient.ts"],"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","/*\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.12-beta.1337917\";\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\nexport const SDK_VERSION: string = \"1.0.12-beta.1337917\";\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","// 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 { ConfigurationSetting, GeneratedClient } from \"./generated\";\nimport {\n InternalPipelineOptions,\n OperationOptions,\n PipelineOptions,\n TokenCredential,\n bearerTokenAuthenticationPolicy,\n createPipelineFromOptions,\n} from \"@azure/core-http\";\nimport { TracingClient, createTracingClient } from \"@azure/core-tracing\";\nimport { SDK_VERSION } from \"./constants\";\nimport { logger } from \"./logger\";\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 private tracingClient: TracingClient;\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 this.tracingClient = createTracingClient({\n // The name of the resource provider requests are made against, as described in\n // https://github.com/Azure/azure-sdk/blob/main/docs/tracing/distributed-tracing-conventions.yml#L11-L15\n namespace: \"Microsoft.Learn\",\n // The package name and version\n packageName: \"@azure/template\",\n packageVersion: SDK_VERSION,\n });\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 return this.tracingClient.withSpan(\n // Span names should take the form \"<className>.<methodName>\".\n \"ConfigurationClient.getConfigurationSetting\",\n options,\n (updatedOptions) => {\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 // You must pass updatedOptions to any calls you make within the callback.\n return this.client.getKeyValue(key, { ...updatedOptions, ifNoneMatch });\n }\n );\n }\n}\n"],"names":["QueryCollectionFormat","ConfigurationSettingMapper","coreHttp","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","createClientLogger","bearerTokenAuthenticationPolicy","createPipelineFromOptions","createTracingClient"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAUO,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;AAEK,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;C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,uFAAuF,CACxF,CAAC;iBACH;aACF;iBAAM;gBACL,GAAG,GAAG,YAAY,CAAC,GAAG,CAAC;gBACvB,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC;gBAC/B,IAAI,OAAO,CAAC,aAAa,EAAE;oBACzB,WAAW,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;iBAC/B;aACF;;YAGD,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,kCAAO,cAAc,KAAE,WAAW,IAAG,CAAC;SACzE,CACF,CAAC;KACH;;;;;"}
@@ -2,9 +2,8 @@
2
2
  // Licensed under the MIT license.
3
3
  import { GeneratedClient } from "./generated";
4
4
  import { bearerTokenAuthenticationPolicy, createPipelineFromOptions, } from "@azure/core-http";
5
+ import { createTracingClient } from "@azure/core-tracing";
5
6
  import { SDK_VERSION } from "./constants";
6
- import { SpanStatusCode } from "@azure/core-tracing";
7
- import { createSpan } from "./tracing";
8
7
  import { logger } from "./logger";
9
8
  import { quoteETag } from "./util";
10
9
  /**
@@ -63,39 +62,37 @@ export class ConfigurationClient {
63
62
  });
64
63
  const pipeline = createPipelineFromOptions(internalPipelineOptions, authPolicy);
65
64
  this.client = new GeneratedClient(endpointUrl, pipeline);
65
+ this.tracingClient = createTracingClient({
66
+ // The name of the resource provider requests are made against, as described in
67
+ // https://github.com/Azure/azure-sdk/blob/main/docs/tracing/distributed-tracing-conventions.yml#L11-L15
68
+ namespace: "Microsoft.Learn",
69
+ // The package name and version
70
+ packageName: "@azure/template",
71
+ packageVersion: SDK_VERSION,
72
+ });
66
73
  }
67
74
  async getConfigurationSetting(keyOrSetting, options = {}) {
68
75
  let key;
69
76
  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.");
77
+ return this.tracingClient.withSpan(
78
+ // Span names should take the form "<className>.<methodName>".
79
+ "ConfigurationClient.getConfigurationSetting", options, (updatedOptions) => {
80
+ if (typeof keyOrSetting === "string") {
81
+ key = keyOrSetting;
82
+ if (options.onlyIfChanged) {
83
+ throw new RangeError("You must pass a ConfigurationSetting instead of a key to perform a conditional fetch.");
84
+ }
74
85
  }
75
- }
76
- else {
77
- key = keyOrSetting.key;
78
- const etag = keyOrSetting.etag;
79
- if (options.onlyIfChanged) {
80
- ifNoneMatch = quoteETag(etag);
86
+ else {
87
+ key = keyOrSetting.key;
88
+ const etag = keyOrSetting.etag;
89
+ if (options.onlyIfChanged) {
90
+ ifNoneMatch = quoteETag(etag);
91
+ }
81
92
  }
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
- }
93
+ // You must pass updatedOptions to any calls you make within the callback.
94
+ return this.client.getKeyValue(key, Object.assign(Object.assign({}, updatedOptions), { ifNoneMatch }));
95
+ });
99
96
  }
100
97
  }
101
98
  //# sourceMappingURL=configurationClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"configurationClient.js","sourceRoot":"","sources":["../../src/configurationClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAwB,eAAe,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,EAKL,+BAA+B,EAC/B,yBAAyB,GAC1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,E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EAAE,QAAQ,CAAC,CAAC;IAC3D,CAAC;IAyBM,KAAK,CAAC,uBAAuB,CAClC,YAA2C,EAC3C,UAA0C,EAAE;QAE5C,IAAI,GAAW,CAAC;QAChB,IAAI,WAA+B,CAAC;QAEpC,IAAI,OAAO,YAAY,KAAK,QAAQ,EAAE;YACpC,GAAG,GAAG,YAAY,CAAC;YACnB,IAAI,OAAO,CAAC,aAAa,EAAE;gBACzB,MAAM,IAAI,UAAU,CAClB,uFAAuF,CACxF,CAAC;aACH;SACF;aAAM;YACL,GAAG,GAAG,YAAY,CAAC,GAAG,CAAC;YACvB,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC;YAC/B,IAAI,OAAO,CAAC,aAAa,EAAE;gBACzB,WAAW,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;aAC/B;SACF;QAED,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,UAAU;QACzC,sEAAsE;QACtE,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;YACV,qEAAqE;YACrE,8GAA8G;YAC9G,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,cAAc,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;YAEnE,MAAM,CAAC,CAAC;SACT;gBAAS;YACR,IAAI,CAAC,GAAG,EAAE,CAAC;SACZ;IACH,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { ConfigurationSetting, GeneratedClient } from \"./generated\";\nimport {\n InternalPipelineOptions,\n OperationOptions,\n PipelineOptions,\n TokenCredential,\n bearerTokenAuthenticationPolicy,\n createPipelineFromOptions,\n} from \"@azure/core-http\";\nimport { SDK_VERSION } from \"./constants\";\nimport { SpanStatusCode } from \"@azure/core-tracing\";\nimport { createSpan } from \"./tracing\";\nimport { logger } from \"./logger\";\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
+ {"version":3,"file":"configurationClient.js","sourceRoot":"","sources":["../../src/configurationClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAwB,eAAe,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,EAKL,+BAA+B,EAC/B,yBAAyB,GAC1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAiB,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AA2BnC;;GAEG;AACH,MAAM,OAAO,mBAAmB;IAI9B;;;;;;;;;;;;;;;;OAgBG;IACH,YACE,WAAmB,EACnB,UAA2B,EAC3B,UAAsC,EAAE;QAExC,yEAAyE;QACzE,MAAM,OAAO,GAAG,8BAA8B,WAAW,EAAE,CAAC;QAC5D,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;YAC7B,OAAO,CAAC,gBAAgB,GAAG,EAAE,CAAC;SAC/B;QACD,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe,EAAE;YAC5C,OAAO,CAAC,gBAAgB,CAAC,eAAe,GAAG,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,OAAO,EAAE,CAAC;SACrG;aAAM;YACL,OAAO,CAAC,gBAAgB,CAAC,eAAe,GAAG,OAAO,CAAC;SACpD;QAED,wEAAwE;QACxE,qCAAqC;QACrC,MAAM,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IAAI,GAAG,YAAY,CAAC,IAAI,CAAC;gBAC/B,IAAI,OAAO,CAAC,aAAa,EAAE;oBACzB,WAAW,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;iBAC/B;aACF;YAED,0EAA0E;YAC1E,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,kCAAO,cAAc,KAAE,WAAW,IAAG,CAAC;QAC1E,CAAC,CACF,CAAC;IACJ,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { ConfigurationSetting, GeneratedClient } from \"./generated\";\nimport {\n InternalPipelineOptions,\n OperationOptions,\n PipelineOptions,\n TokenCredential,\n bearerTokenAuthenticationPolicy,\n createPipelineFromOptions,\n} from \"@azure/core-http\";\nimport { TracingClient, createTracingClient } from \"@azure/core-tracing\";\nimport { SDK_VERSION } from \"./constants\";\nimport { logger } from \"./logger\";\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 private tracingClient: TracingClient;\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 this.tracingClient = createTracingClient({\n // The name of the resource provider requests are made against, as described in\n // https://github.com/Azure/azure-sdk/blob/main/docs/tracing/distributed-tracing-conventions.yml#L11-L15\n namespace: \"Microsoft.Learn\",\n // The package name and version\n packageName: \"@azure/template\",\n packageVersion: SDK_VERSION,\n });\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 return this.tracingClient.withSpan(\n // Span names should take the form \"<className>.<methodName>\".\n \"ConfigurationClient.getConfigurationSetting\",\n options,\n (updatedOptions) => {\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 // You must pass updatedOptions to any calls you make within the callback.\n return this.client.getKeyValue(key, { ...updatedOptions, ifNoneMatch });\n }\n );\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT license.
3
- export const SDK_VERSION = "1.0.12-beta.1334361";
3
+ export const SDK_VERSION = "1.0.12-beta.1337917";
4
4
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,qBAAqB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const SDK_VERSION: string = \"1.0.12-beta.1334361\";\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,MAAM,CAAC,MAAM,WAAW,GAAW,qBAAqB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport const SDK_VERSION: string = \"1.0.12-beta.1337917\";\n"]}
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import * as coreHttp from "@azure/core-http";
9
9
  const packageName = "@azure/template";
10
- const packageVersion = "1.0.12-beta.1334361";
10
+ const packageVersion = "1.0.12-beta.1337917";
11
11
  /** @hidden */
12
12
  export class GeneratedClientContext extends coreHttp.ServiceClient {
13
13
  /**
@@ -1 +1 @@
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,qBAAqB,CAAC;AAE7C,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.12-beta.1334361\";\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
+ {"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,qBAAqB,CAAC;AAE7C,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.12-beta.1337917\";\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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/template",
3
- "version": "1.0.12-alpha.20220128.4",
3
+ "version": "1.0.12-alpha.20220131.2",
4
4
  "description": "Example project for learning how to build a client library",
5
5
  "sdk-type": "client",
6
6
  "main": "dist/index.js",
@@ -79,7 +79,7 @@
79
79
  "dependencies": {
80
80
  "@azure/core-auth": "^1.3.0",
81
81
  "@azure/core-http": "^2.0.0",
82
- "@azure/core-tracing": "1.0.0-preview.13",
82
+ "@azure/core-tracing": ">=1.0.0-alpha <1.0.0-alphb",
83
83
  "@azure/logger": "^1.0.0",
84
84
  "tslib": "^2.2.0"
85
85
  },
@@ -87,6 +87,8 @@
87
87
  "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
88
88
  "@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
89
89
  "@azure/identity": "^2.0.1",
90
+ "@azure/test-utils": ">=1.0.0-alpha <1.0.0-alphb",
91
+ "@azure-tools/test-credential": ">=1.0.0-alpha <1.0.0-alphb",
90
92
  "@azure-tools/test-recorder": ">=2.0.0-alpha <2.0.0-alphb",
91
93
  "@microsoft/api-extractor": "^7.18.11",
92
94
  "@types/chai": "^4.1.6",
@@ -120,8 +122,7 @@
120
122
  "rimraf": "^3.0.0",
121
123
  "source-map-support": "^0.5.9",
122
124
  "typescript": "~4.2.0",
123
- "util": "^0.12.1",
124
- "@azure-tools/test-credential": ">=1.0.0-alpha <1.0.0-alphb"
125
+ "util": "^0.12.1"
125
126
  },
126
127
  "//sampleConfiguration": {
127
128
  "skipFolder": false,
@@ -6,6 +6,7 @@ import { TokenCredential } from '@azure/core-http';
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
  *
@@ -7,6 +7,7 @@ import { TokenCredential } from '@azure/core-http';
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
  *
@@ -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"]}