@azure/arm-springappdiscovery 1.0.0-alpha.20250620.1 → 1.0.0-alpha.20250721.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/browser/lroImpl.js +7 -3
  2. package/dist/browser/lroImpl.js.map +1 -1
  3. package/dist/browser/models/mappers.js +64 -27
  4. package/dist/browser/models/mappers.js.map +1 -1
  5. package/dist/browser/operations/errorSummaries.js +23 -40
  6. package/dist/browser/operations/errorSummaries.js.map +1 -1
  7. package/dist/browser/operations/operations.js +23 -40
  8. package/dist/browser/operations/operations.js.map +1 -1
  9. package/dist/browser/operations/springbootapps.js +56 -85
  10. package/dist/browser/operations/springbootapps.js.map +1 -1
  11. package/dist/browser/operations/springbootservers.js +67 -91
  12. package/dist/browser/operations/springbootservers.js.map +1 -1
  13. package/dist/browser/operations/springbootsites.js +78 -97
  14. package/dist/browser/operations/springbootsites.js.map +1 -1
  15. package/dist/browser/operations/summaries.js +23 -40
  16. package/dist/browser/operations/summaries.js.map +1 -1
  17. package/dist/browser/pagingHelper.js +2 -4
  18. package/dist/browser/pagingHelper.js.map +1 -1
  19. package/dist/browser/springAppDiscoveryManagementClient.js +19 -5
  20. package/dist/browser/springAppDiscoveryManagementClient.js.map +1 -1
  21. package/dist/commonjs/lroImpl.js +7 -3
  22. package/dist/commonjs/lroImpl.js.map +1 -1
  23. package/dist/commonjs/models/mappers.js +64 -27
  24. package/dist/commonjs/models/mappers.js.map +1 -1
  25. package/dist/commonjs/operations/errorSummaries.js +23 -39
  26. package/dist/commonjs/operations/errorSummaries.js.map +1 -1
  27. package/dist/commonjs/operations/operations.js +23 -39
  28. package/dist/commonjs/operations/operations.js.map +1 -1
  29. package/dist/commonjs/operations/springbootapps.js +56 -84
  30. package/dist/commonjs/operations/springbootapps.js.map +1 -1
  31. package/dist/commonjs/operations/springbootservers.js +67 -90
  32. package/dist/commonjs/operations/springbootservers.js.map +1 -1
  33. package/dist/commonjs/operations/springbootsites.js +78 -96
  34. package/dist/commonjs/operations/springbootsites.js.map +1 -1
  35. package/dist/commonjs/operations/summaries.js +23 -39
  36. package/dist/commonjs/operations/summaries.js.map +1 -1
  37. package/dist/commonjs/pagingHelper.js +2 -4
  38. package/dist/commonjs/pagingHelper.js.map +1 -1
  39. package/dist/commonjs/springAppDiscoveryManagementClient.js +19 -5
  40. package/dist/commonjs/springAppDiscoveryManagementClient.js.map +1 -1
  41. package/dist/commonjs/tsdoc-metadata.json +11 -11
  42. package/dist/esm/lroImpl.js +7 -3
  43. package/dist/esm/lroImpl.js.map +1 -1
  44. package/dist/esm/models/mappers.js +64 -27
  45. package/dist/esm/models/mappers.js.map +1 -1
  46. package/dist/esm/operations/errorSummaries.js +23 -40
  47. package/dist/esm/operations/errorSummaries.js.map +1 -1
  48. package/dist/esm/operations/operations.js +23 -40
  49. package/dist/esm/operations/operations.js.map +1 -1
  50. package/dist/esm/operations/springbootapps.js +56 -85
  51. package/dist/esm/operations/springbootapps.js.map +1 -1
  52. package/dist/esm/operations/springbootservers.js +67 -91
  53. package/dist/esm/operations/springbootservers.js.map +1 -1
  54. package/dist/esm/operations/springbootsites.js +78 -97
  55. package/dist/esm/operations/springbootsites.js.map +1 -1
  56. package/dist/esm/operations/summaries.js +23 -40
  57. package/dist/esm/operations/summaries.js.map +1 -1
  58. package/dist/esm/pagingHelper.js +2 -4
  59. package/dist/esm/pagingHelper.js.map +1 -1
  60. package/dist/esm/springAppDiscoveryManagementClient.js +19 -5
  61. package/dist/esm/springAppDiscoveryManagementClient.js.map +1 -1
  62. package/dist/react-native/lroImpl.js +7 -3
  63. package/dist/react-native/lroImpl.js.map +1 -1
  64. package/dist/react-native/models/mappers.js +64 -27
  65. package/dist/react-native/models/mappers.js.map +1 -1
  66. package/dist/react-native/operations/errorSummaries.js +23 -40
  67. package/dist/react-native/operations/errorSummaries.js.map +1 -1
  68. package/dist/react-native/operations/operations.js +23 -40
  69. package/dist/react-native/operations/operations.js.map +1 -1
  70. package/dist/react-native/operations/springbootapps.js +56 -85
  71. package/dist/react-native/operations/springbootapps.js.map +1 -1
  72. package/dist/react-native/operations/springbootservers.js +67 -91
  73. package/dist/react-native/operations/springbootservers.js.map +1 -1
  74. package/dist/react-native/operations/springbootsites.js +78 -97
  75. package/dist/react-native/operations/springbootsites.js.map +1 -1
  76. package/dist/react-native/operations/summaries.js +23 -40
  77. package/dist/react-native/operations/summaries.js.map +1 -1
  78. package/dist/react-native/pagingHelper.js +2 -4
  79. package/dist/react-native/pagingHelper.js.map +1 -1
  80. package/dist/react-native/springAppDiscoveryManagementClient.js +19 -5
  81. package/dist/react-native/springAppDiscoveryManagementClient.js.map +1 -1
  82. package/package.json +2 -2
  83. /package/review/{arm-springappdiscovery.api.md → arm-springappdiscovery-node.api.md} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined,\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined,\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
@@ -9,6 +9,9 @@ import * as coreClient from "@azure/core-client";
9
9
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
10
  import { SpringbootsitesImpl, OperationsImpl, SpringbootserversImpl, SpringbootappsImpl, SummariesImpl, ErrorSummariesImpl, } from "./operations/index.js";
11
11
  export class SpringAppDiscoveryManagementClient extends coreClient.ServiceClient {
12
+ $host;
13
+ subscriptionId;
14
+ apiVersion;
12
15
  /**
13
16
  * Initializes a new instance of the SpringAppDiscoveryManagementClient class.
14
17
  * @param credentials Subscription credentials which uniquely identify client subscription.
@@ -16,7 +19,6 @@ export class SpringAppDiscoveryManagementClient extends coreClient.ServiceClient
16
19
  * @param options The parameter options
17
20
  */
18
21
  constructor(credentials, subscriptionId, options) {
19
- var _a, _b, _c;
20
22
  if (credentials === undefined) {
21
23
  throw new Error("'credentials' cannot be null");
22
24
  }
@@ -35,12 +37,17 @@ export class SpringAppDiscoveryManagementClient extends coreClient.ServiceClient
35
37
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
36
38
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
37
39
  : `${packageDetails}`;
38
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
40
+ const optionsWithDefaults = {
41
+ ...defaults,
42
+ ...options,
43
+ userAgentOptions: {
39
44
  userAgentPrefix,
40
- }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
45
+ },
46
+ endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com",
47
+ };
41
48
  super(optionsWithDefaults);
42
49
  let bearerTokenAuthenticationPolicyFound = false;
43
- if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
50
+ if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
44
51
  const pipelinePolicies = options.pipeline.getOrderedPolicies();
45
52
  bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
46
53
  coreRestPipeline.bearerTokenAuthenticationPolicyName);
@@ -54,7 +61,8 @@ export class SpringAppDiscoveryManagementClient extends coreClient.ServiceClient
54
61
  });
55
62
  this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
56
63
  credential: credentials,
57
- scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
64
+ scopes: optionsWithDefaults.credentialScopes ??
65
+ `${optionsWithDefaults.endpoint}/.default`,
58
66
  challengeCallbacks: {
59
67
  authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
60
68
  },
@@ -98,5 +106,11 @@ export class SpringAppDiscoveryManagementClient extends coreClient.ServiceClient
98
106
  };
99
107
  this.pipeline.addPolicy(apiVersionPolicy);
100
108
  }
109
+ springbootsites;
110
+ operations;
111
+ springbootservers;
112
+ springbootapps;
113
+ summaries;
114
+ errorSummaries;
101
115
  }
102
116
  //# sourceMappingURL=springAppDiscoveryManagementClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"springAppDiscoveryManagementClient.js","sourceRoot":"","sources":["../../src/springAppDiscoveryManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EACrB,kBAAkB,EAClB,aAAa,EACb,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAW/B,MAAM,OAAO,kCAAmC,SAAQ,UAAU,CAAC,aAAa;IAK9E;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA0D;;QAE1D,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAqD;YACjE,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,8CAA8C,CAAC;QACtE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe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IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAQF","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 coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n SpringbootsitesImpl,\n OperationsImpl,\n SpringbootserversImpl,\n SpringbootappsImpl,\n SummariesImpl,\n ErrorSummariesImpl,\n} from \"./operations/index.js\";\nimport {\n Springbootsites,\n Operations,\n Springbootservers,\n Springbootapps,\n Summaries,\n ErrorSummaries,\n} from \"./operationsInterfaces/index.js\";\nimport { SpringAppDiscoveryManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class SpringAppDiscoveryManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the SpringAppDiscoveryManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: SpringAppDiscoveryManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SpringAppDiscoveryManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-springappdiscovery/1.0.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2023-01-01-preview\";\n this.springbootsites = new SpringbootsitesImpl(this);\n this.operations = new OperationsImpl(this);\n this.springbootservers = new SpringbootserversImpl(this);\n this.springbootapps = new SpringbootappsImpl(this);\n this.summaries = new SummariesImpl(this);\n this.errorSummaries = new ErrorSummariesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n springbootsites: Springbootsites;\n operations: Operations;\n springbootservers: Springbootservers;\n springbootapps: Springbootapps;\n summaries: Summaries;\n errorSummaries: ErrorSummaries;\n}\n"]}
1
+ {"version":3,"file":"springAppDiscoveryManagementClient.js","sourceRoot":"","sources":["../../src/springAppDiscoveryManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EACrB,kBAAkB,EAClB,aAAa,EACb,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAW/B,MAAM,OAAO,kCAAmC,SAAQ,UAAU,CAAC,aAAa;IAC9E,KAAK,CAAS;IACd,cAAc,CAAS;IACvB,UAAU,CAAS;IAEnB;;;;;OAKG;I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AyB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,eAAe,CAAkB;IACjC,UAAU,CAAa;IACvB,iBAAiB,CAAoB;IACrC,cAAc,CAAiB;IAC/B,SAAS,CAAY;IACrB,cAAc,CAAiB;CAChC","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 coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n SpringbootsitesImpl,\n OperationsImpl,\n SpringbootserversImpl,\n SpringbootappsImpl,\n SummariesImpl,\n ErrorSummariesImpl,\n} from \"./operations/index.js\";\nimport {\n Springbootsites,\n Operations,\n Springbootservers,\n Springbootapps,\n Summaries,\n ErrorSummaries,\n} from \"./operationsInterfaces/index.js\";\nimport { SpringAppDiscoveryManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class SpringAppDiscoveryManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the SpringAppDiscoveryManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: SpringAppDiscoveryManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SpringAppDiscoveryManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-springappdiscovery/1.0.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2023-01-01-preview\";\n this.springbootsites = new SpringbootsitesImpl(this);\n this.operations = new OperationsImpl(this);\n this.springbootservers = new SpringbootserversImpl(this);\n this.springbootapps = new SpringbootappsImpl(this);\n this.summaries = new SummariesImpl(this);\n this.errorSummaries = new ErrorSummariesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n springbootsites: Springbootsites;\n operations: Operations;\n springbootservers: Springbootservers;\n springbootapps: Springbootapps;\n summaries: Summaries;\n errorSummaries: ErrorSummaries;\n}\n"]}
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createLroSpec = createLroSpec;
4
- const tslib_1 = require("tslib");
5
4
  function createLroSpec(inputs) {
6
5
  const { args, spec, sendOperationFn } = inputs;
7
6
  return {
@@ -9,8 +8,13 @@ function createLroSpec(inputs) {
9
8
  requestPath: spec.path,
10
9
  sendInitialRequest: () => sendOperationFn(args, spec),
11
10
  sendPollRequest: (path, options) => {
12
- const { requestBody } = spec, restSpec = tslib_1.__rest(spec, ["requestBody"]);
13
- return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
11
+ const { requestBody, ...restSpec } = spec;
12
+ return sendOperationFn(args, {
13
+ ...restSpec,
14
+ httpMethod: "GET",
15
+ path,
16
+ abortSignal: options?.abortSignal,
17
+ });
14
18
  },
15
19
  };
16
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";;AAUA,sCA2BC;;AA3BD,SAAgB,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,kBAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";;AAUA,sCA2BC;AA3BD,SAAgB,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,EAAE;gBAC3B,GAAG,QAAQ;gBACX,UAAU,EAAE,KAAK;gBACjB,IAAI;gBACJ,WAAW,EAAE,OAAO,EAAE,WAAW;aAClC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
@@ -1052,172 +1052,209 @@ exports.TrackedResource = {
1052
1052
  type: {
1053
1053
  name: "Composite",
1054
1054
  className: "TrackedResource",
1055
- modelProperties: Object.assign(Object.assign({}, exports.Resource.type.modelProperties), { tags: {
1055
+ modelProperties: {
1056
+ ...exports.Resource.type.modelProperties,
1057
+ tags: {
1056
1058
  serializedName: "tags",
1057
1059
  type: {
1058
1060
  name: "Dictionary",
1059
1061
  value: { type: { name: "String" } },
1060
1062
  },
1061
- }, location: {
1063
+ },
1064
+ location: {
1062
1065
  serializedName: "location",
1063
1066
  required: true,
1064
1067
  type: {
1065
1068
  name: "String",
1066
1069
  },
1067
- } }),
1070
+ },
1071
+ },
1068
1072
  },
1069
1073
  };
1070
1074
  exports.ProxyResource = {
1071
1075
  type: {
1072
1076
  name: "Composite",
1073
1077
  className: "ProxyResource",
1074
- modelProperties: Object.assign({}, exports.Resource.type.modelProperties),
1078
+ modelProperties: {
1079
+ ...exports.Resource.type.modelProperties,
1080
+ },
1075
1081
  },
1076
1082
  };
1077
1083
  exports.SpringbootsitesModel = {
1078
1084
  type: {
1079
1085
  name: "Composite",
1080
1086
  className: "SpringbootsitesModel",
1081
- modelProperties: Object.assign(Object.assign({}, exports.TrackedResource.type.modelProperties), { properties: {
1087
+ modelProperties: {
1088
+ ...exports.TrackedResource.type.modelProperties,
1089
+ properties: {
1082
1090
  serializedName: "properties",
1083
1091
  type: {
1084
1092
  name: "Composite",
1085
1093
  className: "SpringbootsitesProperties",
1086
1094
  },
1087
- }, extendedLocation: {
1095
+ },
1096
+ extendedLocation: {
1088
1097
  serializedName: "extendedLocation",
1089
1098
  type: {
1090
1099
  name: "Composite",
1091
1100
  className: "SpringbootsitesModelExtendedLocation",
1092
1101
  },
1093
- } }),
1102
+ },
1103
+ },
1094
1104
  },
1095
1105
  };
1096
1106
  exports.SpringbootsitesPatch = {
1097
1107
  type: {
1098
1108
  name: "Composite",
1099
1109
  className: "SpringbootsitesPatch",
1100
- modelProperties: Object.assign(Object.assign({}, exports.TrackedResource.type.modelProperties), { properties: {
1110
+ modelProperties: {
1111
+ ...exports.TrackedResource.type.modelProperties,
1112
+ properties: {
1101
1113
  serializedName: "properties",
1102
1114
  type: {
1103
1115
  name: "Composite",
1104
1116
  className: "SpringbootsitesProperties",
1105
1117
  },
1106
- } }),
1118
+ },
1119
+ },
1107
1120
  },
1108
1121
  };
1109
1122
  exports.SpringbootserversModel = {
1110
1123
  type: {
1111
1124
  name: "Composite",
1112
1125
  className: "SpringbootserversModel",
1113
- modelProperties: Object.assign(Object.assign({}, exports.ProxyResource.type.modelProperties), { tags: {
1126
+ modelProperties: {
1127
+ ...exports.ProxyResource.type.modelProperties,
1128
+ tags: {
1114
1129
  serializedName: "tags",
1115
1130
  type: {
1116
1131
  name: "Dictionary",
1117
1132
  value: { type: { name: "String" } },
1118
1133
  },
1119
- }, properties: {
1134
+ },
1135
+ properties: {
1120
1136
  serializedName: "properties",
1121
1137
  type: {
1122
1138
  name: "Composite",
1123
1139
  className: "SpringbootserversProperties",
1124
1140
  },
1125
- } }),
1141
+ },
1142
+ },
1126
1143
  },
1127
1144
  };
1128
1145
  exports.SpringbootserversPatch = {
1129
1146
  type: {
1130
1147
  name: "Composite",
1131
1148
  className: "SpringbootserversPatch",
1132
- modelProperties: Object.assign(Object.assign({}, exports.ProxyResource.type.modelProperties), { tags: {
1149
+ modelProperties: {
1150
+ ...exports.ProxyResource.type.modelProperties,
1151
+ tags: {
1133
1152
  serializedName: "tags",
1134
1153
  type: {
1135
1154
  name: "Dictionary",
1136
1155
  value: { type: { name: "String" } },
1137
1156
  },
1138
- }, properties: {
1157
+ },
1158
+ properties: {
1139
1159
  serializedName: "properties",
1140
1160
  type: {
1141
1161
  name: "Composite",
1142
1162
  className: "SpringbootserversProperties",
1143
1163
  },
1144
- } }),
1164
+ },
1165
+ },
1145
1166
  },
1146
1167
  };
1147
1168
  exports.SpringbootappsModel = {
1148
1169
  type: {
1149
1170
  name: "Composite",
1150
1171
  className: "SpringbootappsModel",
1151
- modelProperties: Object.assign(Object.assign({}, exports.ProxyResource.type.modelProperties), { properties: {
1172
+ modelProperties: {
1173
+ ...exports.ProxyResource.type.modelProperties,
1174
+ properties: {
1152
1175
  serializedName: "properties",
1153
1176
  type: {
1154
1177
  name: "Composite",
1155
1178
  className: "SpringbootappsProperties",
1156
1179
  },
1157
- }, tags: {
1180
+ },
1181
+ tags: {
1158
1182
  serializedName: "tags",
1159
1183
  type: {
1160
1184
  name: "Dictionary",
1161
1185
  value: { type: { name: "String" } },
1162
1186
  },
1163
- } }),
1187
+ },
1188
+ },
1164
1189
  },
1165
1190
  };
1166
1191
  exports.SpringbootappsPatch = {
1167
1192
  type: {
1168
1193
  name: "Composite",
1169
1194
  className: "SpringbootappsPatch",
1170
- modelProperties: Object.assign(Object.assign({}, exports.ProxyResource.type.modelProperties), { properties: {
1195
+ modelProperties: {
1196
+ ...exports.ProxyResource.type.modelProperties,
1197
+ properties: {
1171
1198
  serializedName: "properties",
1172
1199
  type: {
1173
1200
  name: "Composite",
1174
1201
  className: "SpringbootappsProperties",
1175
1202
  },
1176
- }, tags: {
1203
+ },
1204
+ tags: {
1177
1205
  serializedName: "tags",
1178
1206
  type: {
1179
1207
  name: "Dictionary",
1180
1208
  value: { type: { name: "String" } },
1181
1209
  },
1182
- } }),
1210
+ },
1211
+ },
1183
1212
  },
1184
1213
  };
1185
1214
  exports.Summary = {
1186
1215
  type: {
1187
1216
  name: "Composite",
1188
1217
  className: "Summary",
1189
- modelProperties: Object.assign(Object.assign({}, exports.ProxyResource.type.modelProperties), { properties: {
1218
+ modelProperties: {
1219
+ ...exports.ProxyResource.type.modelProperties,
1220
+ properties: {
1190
1221
  serializedName: "properties",
1191
1222
  type: {
1192
1223
  name: "Composite",
1193
1224
  className: "SummariesProperties",
1194
1225
  },
1195
- }, tags: {
1226
+ },
1227
+ tags: {
1196
1228
  serializedName: "tags",
1197
1229
  type: {
1198
1230
  name: "Dictionary",
1199
1231
  value: { type: { name: "String" } },
1200
1232
  },
1201
- } }),
1233
+ },
1234
+ },
1202
1235
  },
1203
1236
  };
1204
1237
  exports.ErrorSummary = {
1205
1238
  type: {
1206
1239
  name: "Composite",
1207
1240
  className: "ErrorSummary",
1208
- modelProperties: Object.assign(Object.assign({}, exports.ProxyResource.type.modelProperties), { properties: {
1241
+ modelProperties: {
1242
+ ...exports.ProxyResource.type.modelProperties,
1243
+ properties: {
1209
1244
  serializedName: "properties",
1210
1245
  type: {
1211
1246
  name: "Composite",
1212
1247
  className: "ErrorSummariesProperties",
1213
1248
  },
1214
- }, tags: {
1249
+ },
1250
+ tags: {
1215
1251
  serializedName: "tags",
1216
1252
  type: {
1217
1253
  name: "Dictionary",
1218
1254
  value: { type: { name: "String" } },
1219
1255
  },
1220
- } }),
1256
+ },
1257
+ },
1221
1258
  },
1222
1259
  };
1223
1260
  exports.SpringbootsitesDeleteHeaders = {