@azure/arm-links 2.0.0-beta.1 → 2.0.0

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 (95) hide show
  1. package/CHANGELOG.md +6 -11
  2. package/README.md +15 -9
  3. package/dist/index.js +6 -247
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/src/index.d.ts +5 -0
  8. package/dist-esm/src/index.d.ts.map +1 -0
  9. package/{esm → dist-esm/src}/index.js +0 -1
  10. package/dist-esm/src/index.js.map +1 -0
  11. package/{esm → dist-esm/src}/managementLinkClient.d.ts +5 -2
  12. package/dist-esm/src/managementLinkClient.d.ts.map +1 -0
  13. package/{esm/managementLinkClientContext.js → dist-esm/src/managementLinkClient.js} +7 -4
  14. package/dist-esm/src/managementLinkClient.js.map +1 -0
  15. package/{esm → dist-esm/src}/models/index.d.ts +0 -17
  16. package/dist-esm/src/models/index.d.ts.map +1 -0
  17. package/{esm → dist-esm/src}/models/index.js +0 -0
  18. package/dist-esm/src/models/index.js.map +1 -0
  19. package/{esm → dist-esm/src}/models/mappers.d.ts +0 -0
  20. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  21. package/{esm → dist-esm/src}/models/mappers.js +0 -0
  22. package/dist-esm/src/models/mappers.js.map +1 -0
  23. package/{esm → dist-esm/src}/models/parameters.d.ts +0 -0
  24. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  25. package/{esm → dist-esm/src}/models/parameters.js +0 -0
  26. package/dist-esm/src/models/parameters.js.map +1 -0
  27. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  28. package/dist-esm/src/operations/index.d.ts.map +1 -0
  29. package/{esm → dist-esm/src}/operations/index.js +0 -0
  30. package/dist-esm/src/operations/index.js.map +1 -0
  31. package/{esm → dist-esm/src}/operations/operations.d.ts +4 -19
  32. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  33. package/{esm → dist-esm/src}/operations/operations.js +1 -72
  34. package/dist-esm/src/operations/operations.js.map +1 -0
  35. package/{esm/operationsInterfaces → dist-esm/src/operations}/resourceLinks.d.ts +43 -19
  36. package/dist-esm/src/operations/resourceLinks.d.ts.map +1 -0
  37. package/{esm → dist-esm/src}/operations/resourceLinks.js +1 -152
  38. package/dist-esm/src/operations/resourceLinks.js.map +1 -0
  39. package/{esm → dist-esm/src}/operationsInterfaces/index.d.ts +0 -0
  40. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  41. package/{esm → dist-esm/src}/operationsInterfaces/index.js +0 -0
  42. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  43. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  44. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  45. package/{esm → dist-esm/src}/operationsInterfaces/operations.js +1 -1
  46. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  47. package/dist-esm/src/operationsInterfaces/resourceLinks.d.ts +45 -0
  48. package/dist-esm/src/operationsInterfaces/resourceLinks.d.ts.map +1 -0
  49. package/{esm → dist-esm/src}/operationsInterfaces/resourceLinks.js +1 -1
  50. package/dist-esm/src/operationsInterfaces/resourceLinks.js.map +1 -0
  51. package/dist-esm/test/links_examples.d.ts +4 -0
  52. package/dist-esm/test/links_examples.d.ts.map +1 -0
  53. package/dist-esm/test/links_examples.js +129 -0
  54. package/dist-esm/test/links_examples.js.map +1 -0
  55. package/package.json +28 -33
  56. package/review/arm-links.api.md +5 -36
  57. package/src/index.ts +0 -1
  58. package/src/managementLinkClient.ts +46 -3
  59. package/src/models/index.ts +0 -24
  60. package/src/operations/operations.ts +5 -82
  61. package/src/operations/resourceLinks.ts +5 -186
  62. package/src/operationsInterfaces/operations.ts +1 -15
  63. package/src/operationsInterfaces/resourceLinks.ts +0 -25
  64. package/tsconfig.json +2 -3
  65. package/{esm/index.d.ts → types/arm-links.d.ts} +4 -58
  66. package/types/tsdoc-metadata.json +11 -0
  67. package/esm/index.d.ts.map +0 -1
  68. package/esm/index.js.map +0 -1
  69. package/esm/managementLinkClient.d.ts.map +0 -1
  70. package/esm/managementLinkClient.js +0 -23
  71. package/esm/managementLinkClient.js.map +0 -1
  72. package/esm/managementLinkClientContext.d.ts +0 -16
  73. package/esm/managementLinkClientContext.d.ts.map +0 -1
  74. package/esm/managementLinkClientContext.js.map +0 -1
  75. package/esm/models/index.d.ts.map +0 -1
  76. package/esm/models/index.js.map +0 -1
  77. package/esm/models/mappers.d.ts.map +0 -1
  78. package/esm/models/mappers.js.map +0 -1
  79. package/esm/models/parameters.d.ts.map +0 -1
  80. package/esm/models/parameters.js.map +0 -1
  81. package/esm/operations/index.d.ts.map +0 -1
  82. package/esm/operations/index.js.map +0 -1
  83. package/esm/operations/operations.d.ts.map +0 -1
  84. package/esm/operations/operations.js.map +0 -1
  85. package/esm/operations/resourceLinks.d.ts +0 -120
  86. package/esm/operations/resourceLinks.d.ts.map +0 -1
  87. package/esm/operations/resourceLinks.js.map +0 -1
  88. package/esm/operationsInterfaces/index.d.ts.map +0 -1
  89. package/esm/operationsInterfaces/index.js.map +0 -1
  90. package/esm/operationsInterfaces/operations.d.ts +0 -18
  91. package/esm/operationsInterfaces/operations.d.ts.map +0 -1
  92. package/esm/operationsInterfaces/operations.js.map +0 -1
  93. package/esm/operationsInterfaces/resourceLinks.d.ts.map +0 -1
  94. package/esm/operationsInterfaces/resourceLinks.js.map +0 -1
  95. package/src/managementLinkClientContext.ts +0 -70
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/operations.ts","../src/operations/resourceLinks.ts","../src/managementLinkClientContext.ts","../src/managementLinkClient.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 coreClient from \"@azure/core-client\";\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ResourceLink: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceLink\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"ResourceLinkProperties\"\n }\n }\n }\n }\n};\n\nexport const ResourceLinkProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceLinkProperties\",\n modelProperties: {\n sourceId: {\n serializedName: \"sourceId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n targetId: {\n serializedName: \"targetId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n notes: {\n serializedName: \"notes\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ResourceLinkResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceLinkResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ResourceLink\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ResourceLinkFilter: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceLinkFilter\",\n modelProperties: {\n targetId: {\n serializedName: \"targetId\",\n required: true,\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} from \"@azure/core-client\";\nimport { ResourceLink as ResourceLinkMapper } from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2016-09-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\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\nexport const linkId: OperationURLParameter = {\n parameterPath: \"linkId\",\n mapper: {\n serializedName: \"linkId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ResourceLinkMapper\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: [\"options\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const scope: OperationURLParameter = {\n parameterPath: \"scope\",\n mapper: {\n serializedName: \"scope\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const filter1: OperationQueryParameter = {\n parameterPath: [\"options\", \"filter\"],\n mapper: {\n defaultValue: \"atScope()\",\n isConstant: true,\n serializedName: \"$filter\",\n type: {\n name: \"String\"\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 \"@azure/core-paging\";\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Operations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ManagementLinkClientContext } from \"../managementLinkClientContext\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListNextNextOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse,\n OperationsListNextNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class representing a Operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: ManagementLinkClientContext;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: ManagementLinkClientContext) {\n this.client = client;\n }\n\n /**\n * Lists all of the available Microsoft.Resources REST API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(options);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation[]> {\n let result = await this._list(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n public listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listNextPagingAll(nextLink, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listNextPagingPage(nextLink, options);\n }\n };\n }\n\n private async *listNextPagingPage(\n nextLink: string,\n options?: OperationsListNextOptionalParams\n ): AsyncIterableIterator<Operation[]> {\n let result = await this._listNext(nextLink, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listNextNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listNextPagingAll(\n nextLink: string,\n options?: OperationsListNextOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listNextPagingPage(nextLink, options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Microsoft.Resources REST API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n\n /**\n * ListNextNext\n * @param nextLink The nextLink from the previous successful call to the ListNext method.\n * @param options The options parameters.\n */\n private _listNextNext(\n nextLink: string,\n options?: OperationsListNextNextOptionalParams\n ): Promise<OperationsListNextNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Resources/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\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 \"@azure/core-paging\";\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { ResourceLinks } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ManagementLinkClientContext } from \"../managementLinkClientContext\";\nimport {\n ResourceLink,\n ResourceLinksListAtSubscriptionNextOptionalParams,\n ResourceLinksListAtSubscriptionOptionalParams,\n ResourceLinksListAtSourceScopeNextOptionalParams,\n ResourceLinksListAtSourceScopeOptionalParams,\n ResourceLinksListAtSubscriptionNextNextOptionalParams,\n ResourceLinksListAtSourceScopeNextNextOptionalParams,\n ResourceLinksDeleteOptionalParams,\n ResourceLinksCreateOrUpdateOptionalParams,\n ResourceLinksCreateOrUpdateResponse,\n ResourceLinksGetOptionalParams,\n ResourceLinksGetResponse,\n ResourceLinksListAtSubscriptionResponse,\n ResourceLinksListAtSourceScopeResponse,\n ResourceLinksListAtSubscriptionNextResponse,\n ResourceLinksListAtSourceScopeNextResponse,\n ResourceLinksListAtSubscriptionNextNextResponse,\n ResourceLinksListAtSourceScopeNextNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class representing a ResourceLinks. */\nexport class ResourceLinksImpl implements ResourceLinks {\n private readonly client: ManagementLinkClientContext;\n\n /**\n * Initialize a new instance of the class ResourceLinks class.\n * @param client Reference to the service client\n */\n constructor(client: ManagementLinkClientContext) {\n this.client = client;\n }\n\n /**\n * Gets all the linked resources for the subscription.\n * @param options The options parameters.\n */\n public listAtSubscription(\n options?: ResourceLinksListAtSubscriptionOptionalParams\n ): PagedAsyncIterableIterator<ResourceLink> {\n const iter = this.listAtSubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listAtSubscriptionPagingPage(options);\n }\n };\n }\n\n private async *listAtSubscriptionPagingPage(\n options?: ResourceLinksListAtSubscriptionOptionalParams\n ): AsyncIterableIterator<ResourceLink[]> {\n let result = await this._listAtSubscription(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listAtSubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listAtSubscriptionPagingAll(\n options?: ResourceLinksListAtSubscriptionOptionalParams\n ): AsyncIterableIterator<ResourceLink> {\n for await (const page of this.listAtSubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of resource links at and below the specified source scope.\n * @param scope The fully qualified ID of the scope for getting the resource links. For example, to\n * list resource links at and under a resource group, set the scope to\n * /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup.\n * @param options The options parameters.\n */\n public listAtSourceScope(\n scope: string,\n options?: ResourceLinksListAtSourceScopeOptionalParams\n ): PagedAsyncIterableIterator<ResourceLink> {\n const iter = this.listAtSourceScopePagingAll(scope, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listAtSourceScopePagingPage(scope, options);\n }\n };\n }\n\n private async *listAtSourceScopePagingPage(\n scope: string,\n options?: ResourceLinksListAtSourceScopeOptionalParams\n ): AsyncIterableIterator<ResourceLink[]> {\n let result = await this._listAtSourceScope(scope, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listAtSourceScopeNext(\n scope,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listAtSourceScopePagingAll(\n scope: string,\n options?: ResourceLinksListAtSourceScopeOptionalParams\n ): AsyncIterableIterator<ResourceLink> {\n for await (const page of this.listAtSourceScopePagingPage(scope, options)) {\n yield* page;\n }\n }\n\n /**\n * ListAtSubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListAtSubscription method.\n * @param options The options parameters.\n */\n public listAtSubscriptionNext(\n nextLink: string,\n options?: ResourceLinksListAtSubscriptionNextOptionalParams\n ): PagedAsyncIterableIterator<ResourceLink> {\n const iter = this.listAtSubscriptionNextPagingAll(nextLink, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listAtSubscriptionNextPagingPage(nextLink, options);\n }\n };\n }\n\n private async *listAtSubscriptionNextPagingPage(\n nextLink: string,\n options?: ResourceLinksListAtSubscriptionNextOptionalParams\n ): AsyncIterableIterator<ResourceLink[]> {\n let result = await this._listAtSubscriptionNext(nextLink, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listAtSubscriptionNextNext(\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listAtSubscriptionNextPagingAll(\n nextLink: string,\n options?: ResourceLinksListAtSubscriptionNextOptionalParams\n ): AsyncIterableIterator<ResourceLink> {\n for await (const page of this.listAtSubscriptionNextPagingPage(\n nextLink,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * ListAtSourceScopeNext\n * @param scope The fully qualified ID of the scope for getting the resource links. For example, to\n * list resource links at and under a resource group, set the scope to\n * /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup.\n * @param nextLink The nextLink from the previous successful call to the ListAtSourceScope method.\n * @param options The options parameters.\n */\n public listAtSourceScopeNext(\n scope: string,\n nextLink: string,\n options?: ResourceLinksListAtSourceScopeNextOptionalParams\n ): PagedAsyncIterableIterator<ResourceLink> {\n const iter = this.listAtSourceScopeNextPagingAll(scope, nextLink, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listAtSourceScopeNextPagingPage(scope, nextLink, options);\n }\n };\n }\n\n private async *listAtSourceScopeNextPagingPage(\n scope: string,\n nextLink: string,\n options?: ResourceLinksListAtSourceScopeNextOptionalParams\n ): AsyncIterableIterator<ResourceLink[]> {\n let result = await this._listAtSourceScopeNext(scope, nextLink, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listAtSourceScopeNextNext(\n scope,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listAtSourceScopeNextPagingAll(\n scope: string,\n nextLink: string,\n options?: ResourceLinksListAtSourceScopeNextOptionalParams\n ): AsyncIterableIterator<ResourceLink> {\n for await (const page of this.listAtSourceScopeNextPagingPage(\n scope,\n nextLink,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Deletes a resource link with the specified ID.\n * @param linkId The fully qualified ID of the resource link. Use the format,\n * /subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/{provider-namespace}/{resource-type}/{resource-name}/Microsoft.Resources/links/{link-name}.\n * For example,\n * /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup/Microsoft.Web/sites/mySite/Microsoft.Resources/links/myLink\n * @param options The options parameters.\n */\n delete(\n linkId: string,\n options?: ResourceLinksDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { linkId, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Creates or updates a resource link between the specified resources.\n * @param linkId The fully qualified ID of the resource link. Use the format,\n * /subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/{provider-namespace}/{resource-type}/{resource-name}/Microsoft.Resources/links/{link-name}.\n * For example,\n * /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup/Microsoft.Web/sites/mySite/Microsoft.Resources/links/myLink\n * @param parameters Parameters for creating or updating a resource link.\n * @param options The options parameters.\n */\n createOrUpdate(\n linkId: string,\n parameters: ResourceLink,\n options?: ResourceLinksCreateOrUpdateOptionalParams\n ): Promise<ResourceLinksCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { linkId, parameters, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Gets a resource link with the specified ID.\n * @param linkId The fully qualified Id of the resource link. For example,\n * /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup/Microsoft.Web/sites/mySite/Microsoft.Resources/links/myLink\n * @param options The options parameters.\n */\n get(\n linkId: string,\n options?: ResourceLinksGetOptionalParams\n ): Promise<ResourceLinksGetResponse> {\n return this.client.sendOperationRequest(\n { linkId, options },\n getOperationSpec\n );\n }\n\n /**\n * Gets all the linked resources for the subscription.\n * @param options The options parameters.\n */\n private _listAtSubscription(\n options?: ResourceLinksListAtSubscriptionOptionalParams\n ): Promise<ResourceLinksListAtSubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listAtSubscriptionOperationSpec\n );\n }\n\n /**\n * Gets a list of resource links at and below the specified source scope.\n * @param scope The fully qualified ID of the scope for getting the resource links. For example, to\n * list resource links at and under a resource group, set the scope to\n * /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup.\n * @param options The options parameters.\n */\n private _listAtSourceScope(\n scope: string,\n options?: ResourceLinksListAtSourceScopeOptionalParams\n ): Promise<ResourceLinksListAtSourceScopeResponse> {\n return this.client.sendOperationRequest(\n { scope, options },\n listAtSourceScopeOperationSpec\n );\n }\n\n /**\n * ListAtSubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListAtSubscription method.\n * @param options The options parameters.\n */\n private _listAtSubscriptionNext(\n nextLink: string,\n options?: ResourceLinksListAtSubscriptionNextOptionalParams\n ): Promise<ResourceLinksListAtSubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listAtSubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListAtSourceScopeNext\n * @param scope The fully qualified ID of the scope for getting the resource links. For example, to\n * list resource links at and under a resource group, set the scope to\n * /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup.\n * @param nextLink The nextLink from the previous successful call to the ListAtSourceScope method.\n * @param options The options parameters.\n */\n private _listAtSourceScopeNext(\n scope: string,\n nextLink: string,\n options?: ResourceLinksListAtSourceScopeNextOptionalParams\n ): Promise<ResourceLinksListAtSourceScopeNextResponse> {\n return this.client.sendOperationRequest(\n { scope, nextLink, options },\n listAtSourceScopeNextOperationSpec\n );\n }\n\n /**\n * ListAtSubscriptionNextNext\n * @param nextLink The nextLink from the previous successful call to the ListAtSubscriptionNext method.\n * @param options The options parameters.\n */\n private _listAtSubscriptionNextNext(\n nextLink: string,\n options?: ResourceLinksListAtSubscriptionNextNextOptionalParams\n ): Promise<ResourceLinksListAtSubscriptionNextNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listAtSubscriptionNextNextOperationSpec\n );\n }\n\n /**\n * ListAtSourceScopeNextNext\n * @param scope The fully qualified ID of the scope for getting the resource links. For example, to\n * list resource links at and under a resource group, set the scope to\n * /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup.\n * @param nextLink The nextLink from the previous successful call to the ListAtSourceScopeNext method.\n * @param options The options parameters.\n */\n private _listAtSourceScopeNextNext(\n scope: string,\n nextLink: string,\n options?: ResourceLinksListAtSourceScopeNextNextOptionalParams\n ): Promise<ResourceLinksListAtSourceScopeNextNextResponse> {\n return this.client.sendOperationRequest(\n { scope, nextLink, options },\n listAtSourceScopeNextNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/{linkId}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.linkId],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/{linkId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceLink\n },\n 201: {\n bodyMapper: Mappers.ResourceLink\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.linkId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/{linkId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceLink\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.linkId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/links\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceLinkResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSourceScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Resources/links\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceLinkResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter1],\n urlParameters: [Parameters.$host, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceLinkResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSourceScopeNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceLinkResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter1],\n urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSubscriptionNextNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceLinkResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSourceScopeNextNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceLinkResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter1],\n urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\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 coreClient from \"@azure/core-client\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { ManagementLinkClientOptionalParams } from \"./models\";\n\nexport class ManagementLinkClientContext extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ManagementLinkClientContext 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?: ManagementLinkClientOptionalParams\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: ManagementLinkClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-links/2.0.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n if (!options.credentialScopes) {\n options.credentialScopes = [\"https://management.azure.com/.default\"];\n }\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint || \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\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 || \"2016-09-01\";\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 coreAuth from \"@azure/core-auth\";\nimport { OperationsImpl, ResourceLinksImpl } from \"./operations\";\nimport { Operations, ResourceLinks } from \"./operationsInterfaces\";\nimport { ManagementLinkClientContext } from \"./managementLinkClientContext\";\nimport { ManagementLinkClientOptionalParams } from \"./models\";\n\nexport class ManagementLinkClient extends ManagementLinkClientContext {\n /**\n * Initializes a new instance of the ManagementLinkClient 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?: ManagementLinkClientOptionalParams\n ) {\n super(credentials, subscriptionId, options);\n this.operations = new OperationsImpl(this);\n this.resourceLinks = new ResourceLinksImpl(this);\n }\n\n operations: Operations;\n resourceLinks: ResourceLinks;\n}\n"],"names":["ResourceLinkMapper","__asyncValues","__asyncDelegator","coreClient.createSerializer","Mappers.OperationListResult","Parameters.apiVersion","Parameters.$host","Parameters.accept","Parameters.nextLink","serializer","Parameters.linkId","Mappers.ResourceLink","Parameters.parameters","Parameters.contentType","Mappers.ResourceLinkResult","Parameters.filter","Parameters.subscript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,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,aAAa,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,CAAC;KAClD;CAIF;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/operations.ts","../src/operations/resourceLinks.ts","../src/managementLinkClient.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 coreClient from \"@azure/core-client\";\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ResourceLink: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceLink\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"ResourceLinkProperties\"\n }\n }\n }\n }\n};\n\nexport const ResourceLinkProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceLinkProperties\",\n modelProperties: {\n sourceId: {\n serializedName: \"sourceId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n targetId: {\n serializedName: \"targetId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n notes: {\n serializedName: \"notes\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ResourceLinkResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceLinkResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ResourceLink\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ResourceLinkFilter: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ResourceLinkFilter\",\n modelProperties: {\n targetId: {\n serializedName: \"targetId\",\n required: true,\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} from \"@azure/core-client\";\nimport { ResourceLink as ResourceLinkMapper } from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2016-09-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\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\nexport const linkId: OperationURLParameter = {\n parameterPath: \"linkId\",\n mapper: {\n serializedName: \"linkId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ResourceLinkMapper\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: [\"options\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const scope: OperationURLParameter = {\n parameterPath: \"scope\",\n mapper: {\n serializedName: \"scope\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const filter1: OperationQueryParameter = {\n parameterPath: [\"options\", \"filter\"],\n mapper: {\n defaultValue: \"atScope()\",\n isConstant: true,\n serializedName: \"$filter\",\n type: {\n name: \"String\"\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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Operations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ManagementLinkClient } from \"../managementLinkClient\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: ManagementLinkClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: ManagementLinkClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available Microsoft.Resources REST API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(options);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation[]> {\n let result = await this._list(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Microsoft.Resources REST API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Resources/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { ResourceLinks } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ManagementLinkClient } from \"../managementLinkClient\";\nimport {\n ResourceLink,\n ResourceLinksListAtSubscriptionNextOptionalParams,\n ResourceLinksListAtSubscriptionOptionalParams,\n ResourceLinksListAtSourceScopeNextOptionalParams,\n ResourceLinksListAtSourceScopeOptionalParams,\n ResourceLinksDeleteOptionalParams,\n ResourceLinksCreateOrUpdateOptionalParams,\n ResourceLinksCreateOrUpdateResponse,\n ResourceLinksGetOptionalParams,\n ResourceLinksGetResponse,\n ResourceLinksListAtSubscriptionResponse,\n ResourceLinksListAtSourceScopeResponse,\n ResourceLinksListAtSubscriptionNextResponse,\n ResourceLinksListAtSourceScopeNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ResourceLinks operations. */\nexport class ResourceLinksImpl implements ResourceLinks {\n private readonly client: ManagementLinkClient;\n\n /**\n * Initialize a new instance of the class ResourceLinks class.\n * @param client Reference to the service client\n */\n constructor(client: ManagementLinkClient) {\n this.client = client;\n }\n\n /**\n * Gets all the linked resources for the subscription.\n * @param options The options parameters.\n */\n public listAtSubscription(\n options?: ResourceLinksListAtSubscriptionOptionalParams\n ): PagedAsyncIterableIterator<ResourceLink> {\n const iter = this.listAtSubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listAtSubscriptionPagingPage(options);\n }\n };\n }\n\n private async *listAtSubscriptionPagingPage(\n options?: ResourceLinksListAtSubscriptionOptionalParams\n ): AsyncIterableIterator<ResourceLink[]> {\n let result = await this._listAtSubscription(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listAtSubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listAtSubscriptionPagingAll(\n options?: ResourceLinksListAtSubscriptionOptionalParams\n ): AsyncIterableIterator<ResourceLink> {\n for await (const page of this.listAtSubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of resource links at and below the specified source scope.\n * @param scope The fully qualified ID of the scope for getting the resource links. For example, to\n * list resource links at and under a resource group, set the scope to\n * /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup.\n * @param options The options parameters.\n */\n public listAtSourceScope(\n scope: string,\n options?: ResourceLinksListAtSourceScopeOptionalParams\n ): PagedAsyncIterableIterator<ResourceLink> {\n const iter = this.listAtSourceScopePagingAll(scope, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listAtSourceScopePagingPage(scope, options);\n }\n };\n }\n\n private async *listAtSourceScopePagingPage(\n scope: string,\n options?: ResourceLinksListAtSourceScopeOptionalParams\n ): AsyncIterableIterator<ResourceLink[]> {\n let result = await this._listAtSourceScope(scope, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listAtSourceScopeNext(\n scope,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listAtSourceScopePagingAll(\n scope: string,\n options?: ResourceLinksListAtSourceScopeOptionalParams\n ): AsyncIterableIterator<ResourceLink> {\n for await (const page of this.listAtSourceScopePagingPage(scope, options)) {\n yield* page;\n }\n }\n\n /**\n * Deletes a resource link with the specified ID.\n * @param linkId The fully qualified ID of the resource link. Use the format,\n * /subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/{provider-namespace}/{resource-type}/{resource-name}/Microsoft.Resources/links/{link-name}.\n * For example,\n * /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup/Microsoft.Web/sites/mySite/Microsoft.Resources/links/myLink\n * @param options The options parameters.\n */\n delete(\n linkId: string,\n options?: ResourceLinksDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { linkId, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Creates or updates a resource link between the specified resources.\n * @param linkId The fully qualified ID of the resource link. Use the format,\n * /subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/{provider-namespace}/{resource-type}/{resource-name}/Microsoft.Resources/links/{link-name}.\n * For example,\n * /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup/Microsoft.Web/sites/mySite/Microsoft.Resources/links/myLink\n * @param parameters Parameters for creating or updating a resource link.\n * @param options The options parameters.\n */\n createOrUpdate(\n linkId: string,\n parameters: ResourceLink,\n options?: ResourceLinksCreateOrUpdateOptionalParams\n ): Promise<ResourceLinksCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { linkId, parameters, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Gets a resource link with the specified ID.\n * @param linkId The fully qualified Id of the resource link. For example,\n * /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup/Microsoft.Web/sites/mySite/Microsoft.Resources/links/myLink\n * @param options The options parameters.\n */\n get(\n linkId: string,\n options?: ResourceLinksGetOptionalParams\n ): Promise<ResourceLinksGetResponse> {\n return this.client.sendOperationRequest(\n { linkId, options },\n getOperationSpec\n );\n }\n\n /**\n * Gets all the linked resources for the subscription.\n * @param options The options parameters.\n */\n private _listAtSubscription(\n options?: ResourceLinksListAtSubscriptionOptionalParams\n ): Promise<ResourceLinksListAtSubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listAtSubscriptionOperationSpec\n );\n }\n\n /**\n * Gets a list of resource links at and below the specified source scope.\n * @param scope The fully qualified ID of the scope for getting the resource links. For example, to\n * list resource links at and under a resource group, set the scope to\n * /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup.\n * @param options The options parameters.\n */\n private _listAtSourceScope(\n scope: string,\n options?: ResourceLinksListAtSourceScopeOptionalParams\n ): Promise<ResourceLinksListAtSourceScopeResponse> {\n return this.client.sendOperationRequest(\n { scope, options },\n listAtSourceScopeOperationSpec\n );\n }\n\n /**\n * ListAtSubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListAtSubscription method.\n * @param options The options parameters.\n */\n private _listAtSubscriptionNext(\n nextLink: string,\n options?: ResourceLinksListAtSubscriptionNextOptionalParams\n ): Promise<ResourceLinksListAtSubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listAtSubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListAtSourceScopeNext\n * @param scope The fully qualified ID of the scope for getting the resource links. For example, to\n * list resource links at and under a resource group, set the scope to\n * /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup.\n * @param nextLink The nextLink from the previous successful call to the ListAtSourceScope method.\n * @param options The options parameters.\n */\n private _listAtSourceScopeNext(\n scope: string,\n nextLink: string,\n options?: ResourceLinksListAtSourceScopeNextOptionalParams\n ): Promise<ResourceLinksListAtSourceScopeNextResponse> {\n return this.client.sendOperationRequest(\n { scope, nextLink, options },\n listAtSourceScopeNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/{linkId}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.linkId],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/{linkId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceLink\n },\n 201: {\n bodyMapper: Mappers.ResourceLink\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.linkId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/{linkId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceLink\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.linkId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/links\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceLinkResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSourceScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Resources/links\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceLinkResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter1],\n urlParameters: [Parameters.$host, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceLinkResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAtSourceScopeNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceLinkResult\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter1],\n urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope],\n headerParameters: [Parameters.accept],\n serializer\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 coreClient from \"@azure/core-client\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { OperationsImpl, ResourceLinksImpl } from \"./operations\";\nimport { Operations, ResourceLinks } from \"./operationsInterfaces\";\nimport { ManagementLinkClientOptionalParams } from \"./models\";\n\nexport class ManagementLinkClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ManagementLinkClient 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?: ManagementLinkClientOptionalParams\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: ManagementLinkClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-links/2.0.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n if (!options.credentialScopes) {\n options.credentialScopes = [\"https://management.azure.com/.default\"];\n }\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint || \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\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 || \"2016-09-01\";\n this.operations = new OperationsImpl(this);\n this.resourceLinks = new ResourceLinksImpl(this);\n }\n\n operations: Operations;\n resourceLinks: ResourceLinks;\n}\n"],"names":["ResourceLinkMapper","__asyncValues","__asyncDelegator","coreClient.createSerializer","Mappers.OperationListResult","Parameters.apiVersion","Parameters.$host","Parameters.accept","Parameters.nextLink","serializer","Parameters.linkId","Mappers.ResourceLink","Parameters.parameters","Parameters.contentType","Mappers.ResourceLinkResult","Parameters.filter","Parameters.subscriptionId","Parameters.filter1","Parameters.scope","coreClient.ServiceClient"],"mappings":";;;;;;;AAAA;;;;;;;AAUO,MAAM,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,qBAAqB;QAChC,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,WAAW;yBACvB;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAA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AAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;cAChE,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;cAC/D,GAAG,cAAc,EAAE,CAAC;QAE1B,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;YAC7B,OAAO,CAAC,gBAAgB,GAAG,CAAC,uCAAuC,CAAC,CAAC;SACtE;QACD,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,8BAA8B,GAC5D,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;;QAE3B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;;QAGrC,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;QACrD,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,aAAa,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,CAAC;KAClD;CAIF;;;;"}
package/dist/index.min.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib=require("tslib");require("@azure/core-paging");var coreClient=require("@azure/core-client");const OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Operation"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplay"}}}}},OperationDisplay={type:{name:"Composite",className:"OperationDisplay",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}}}}},ResourceLink={type:{name:"Composite",className:"ResourceLink",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"any"}}}},properties:{serializedName:"properties",type:{name:"Composite",className:"ResourceLinkProperties"}}}}},ResourceLinkProperties={type:{name:"Composite",className:"ResourceLinkProperties",modelProperties:{sourceId:{serializedName:"sourceId",readOnly:!0,type:{name:"String"}},targetId:{serializedName:"targetId",required:!0,type:{name:"String"}},notes:{serializedName:"notes",type:{name:"String"}}}}},ResourceLinkResult={type:{name:"Composite",className:"ResourceLinkResult",modelProperties:{value:{serializedName:"value",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceLink"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},ResourceLinkFilter={type:{name:"Composite",className:"ResourceLinkFilter",modelProperties:{targetId:{serializedName:"targetId",required:!0,type:{name:"String"}}}}};var Mappers=Object.freeze({__proto__:null,OperationListResult:OperationListResult,Operation:Operation,OperationDisplay:OperationDisplay,ResourceLink:ResourceLink,ResourceLinkProperties:ResourceLinkProperties,ResourceLinkResult:ResourceLinkResult,ResourceLinkFilter:ResourceLinkFilter});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2016-09-01",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},linkId={parameterPath:"linkId",mapper:{serializedName:"linkId",required:!0,type:{name:"String"}},skipEncoding:!0},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},parameters={parameterPath:"parameters",mapper:ResourceLink},filter={parameterPath:["options","filter"],mapper:{serializedName:"$filter",type:{name:"String"}}},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},scope={parameterPath:"scope",mapper:{serializedName:"scope",required:!0,type:{name:"String"}},skipEncoding:!0},filter1={parameterPath:["options","filter"],mapper:{defaultValue:"atScope()",isConstant:!0,serializedName:"$filter",type:{name:"String"}}};class OperationsImpl{constructor(e){this.client=e}list(e){const t=this.listPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(i));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(t,i)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,r=tslib.__asyncValues(this.listPagingPage(s));!(i=yield tslib.__await(r.next())).done;){var a=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(t)throw t.error}}})}listNext(e,t){const i=this.listNextPagingAll(e,t);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listNextPagingPage(e,t)}}listNextPagingPage(i,r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listNext(i,r));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNextNext(t,r)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listNextPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,r=tslib.__asyncValues(this.listNextPagingPage(s,n));!(i=yield tslib.__await(r.next())).done;){var a=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(t)throw t.error}}})}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec)}_listNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listNextOperationSpec)}_listNextNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listNextNextOperationSpec)}}const serializer=coreClient.createSerializer(Mappers,!1),listOperationSpec={path:"/providers/Microsoft.Resources/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer},listNextNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer};class ResourceLinksImpl{constructor(e){this.client=e}listAtSubscription(e){const t=this.listAtSubscriptionPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listAtSubscriptionPagingPage(e)}}listAtSubscriptionPagingPage(i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listAtSubscription(i));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listAtSubscriptionNext(t,i)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listAtSubscriptionPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,r=tslib.__asyncValues(this.listAtSubscriptionPagingPage(s));!(i=yield tslib.__await(r.next())).done;){var a=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(t)throw t.error}}})}listAtSourceScope(e,t){const i=this.listAtSourceScopePagingAll(e,t);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listAtSourceScopePagingPage(e,t)}}listAtSourceScopePagingPage(i,r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listAtSourceScope(i,r));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listAtSourceScopeNext(i,t,r)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listAtSourceScopePagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,r=tslib.__asyncValues(this.listAtSourceScopePagingPage(s,n));!(i=yield tslib.__await(r.next())).done;){var a=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(t)throw t.error}}})}listAtSubscriptionNext(e,t){const i=this.listAtSubscriptionNextPagingAll(e,t);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listAtSubscriptionNextPagingPage(e,t)}}listAtSubscriptionNextPagingPage(i,r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listAtSubscriptionNext(i,r));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listAtSubscriptionNextNext(t,r)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listAtSubscriptionNextPagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,r=tslib.__asyncValues(this.listAtSubscriptionNextPagingPage(s,n));!(i=yield tslib.__await(r.next())).done;){var a=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(t)throw t.error}}})}listAtSourceScopeNext(e,t,i){const r=this.listAtSourceScopeNextPagingAll(e,t,i);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listAtSourceScopeNextPagingPage(e,t,i)}}listAtSourceScopeNextPagingPage(i,r,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listAtSourceScopeNext(i,r,a));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listAtSourceScopeNextNext(i,t,a)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listAtSourceScopeNextPagingAll(s,n,l){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,r=tslib.__asyncValues(this.listAtSourceScopeNextPagingPage(s,n,l));!(i=yield tslib.__await(r.next())).done;){var a=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(t)throw t.error}}})}delete(e,t){return this.client.sendOperationRequest({linkId:e,options:t},deleteOperationSpec)}createOrUpdate(e,t,i){return this.client.sendOperationRequest({linkId:e,parameters:t,options:i},createOrUpdateOperationSpec)}get(e,t){return this.client.sendOperationRequest({linkId:e,options:t},getOperationSpec)}_listAtSubscription(e){return this.client.sendOperationRequest({options:e},listAtSubscriptionOperationSpec)}_listAtSourceScope(e,t){return this.client.sendOperationRequest({scope:e,options:t},listAtSourceScopeOperationSpec)}_listAtSubscriptionNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listAtSubscriptionNextOperationSpec)}_listAtSourceScopeNext(e,t,i){return this.client.sendOperationRequest({scope:e,nextLink:t,options:i},listAtSourceScopeNextOperationSpec)}_listAtSubscriptionNextNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listAtSubscriptionNextNextOperationSpec)}_listAtSourceScopeNextNext(e,t,i){return this.client.sendOperationRequest({scope:e,nextLink:t,options:i},listAtSourceScopeNextNextOperationSpec)}}const serializer$1=coreClient.createSerializer(Mappers,!1),deleteOperationSpec={path:"/{linkId}",httpMethod:"DELETE",responses:{200:{},204:{}},queryParameters:[apiVersion],urlParameters:[$host,linkId],serializer:serializer$1},createOrUpdateOperationSpec={path:"/{linkId}",httpMethod:"PUT",responses:{200:{bodyMapper:ResourceLink},201:{bodyMapper:ResourceLink}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,linkId],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},getOperationSpec={path:"/{linkId}",httpMethod:"GET",responses:{200:{bodyMapper:ResourceLink}},queryParameters:[apiVersion],urlParameters:[$host,linkId],headerParameters:[accept],serializer:serializer$1},listAtSubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/links",httpMethod:"GET",responses:{200:{bodyMapper:ResourceLinkResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$1},listAtSourceScopeOperationSpec={path:"/{scope}/providers/Microsoft.Resources/links",httpMethod:"GET",responses:{200:{bodyMapper:ResourceLinkResult}},queryParameters:[apiVersion,filter1],urlParameters:[$host,scope],headerParameters:[accept],serializer:serializer$1},listAtSubscriptionNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ResourceLinkResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,nextLink,subscriptionId],headerParameters:[accept],serializer:serializer$1},listAtSourceScopeNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ResourceLinkResult}},queryParameters:[apiVersion,filter1],urlParameters:[$host,nextLink,scope],headerParameters:[accept],serializer:serializer$1},listAtSubscriptionNextNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ResourceLinkResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,nextLink,subscriptionId],headerParameters:[accept],serializer:serializer$1},listAtSourceScopeNextNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ResourceLinkResult}},queryParameters:[apiVersion,filter1],urlParameters:[$host,nextLink,scope],headerParameters:[accept],serializer:serializer$1};class ManagementLinkClientContext extends coreClient.ServiceClient{constructor(e,t,i){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===t)throw new Error("'subscriptionId' cannot be null");var r={requestContentType:"application/json; charset=utf-8",credential:e},e="azsdk-js-arm-links/2.0.0-beta.1",e=(i=i||{}).userAgentOptions&&i.userAgentOptions.userAgentPrefix?`${i.userAgentOptions.userAgentPrefix} ${e}`:`${e}`;i.credentialScopes||(i.credentialScopes=["https://management.azure.com/.default"]),super(Object.assign(Object.assign(Object.assign({},r),i),{userAgentOptions:{userAgentPrefix:e},baseUri:i.endpoint||"https://management.azure.com"})),this.subscriptionId=t,this.$host=i.$host||"https://management.azure.com",this.apiVersion=i.apiVersion||"2016-09-01"}}class ManagementLinkClient extends ManagementLinkClientContext{constructor(e,t,i){super(e,t,i),this.operations=new OperationsImpl(this),this.resourceLinks=new ResourceLinksImpl(this)}}exports.ManagementLinkClient=ManagementLinkClient,exports.ManagementLinkClientContext=ManagementLinkClientContext;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),tslib=require("tslib");const OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Operation"}}}},nextLink:{serializedName:"nextLink",type:{name:"String"}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplay"}}}}},OperationDisplay={type:{name:"Composite",className:"OperationDisplay",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}},description:{serializedName:"description",type:{name:"String"}}}}},ResourceLink={type:{name:"Composite",className:"ResourceLink",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"any"}}}},properties:{serializedName:"properties",type:{name:"Composite",className:"ResourceLinkProperties"}}}}},ResourceLinkProperties={type:{name:"Composite",className:"ResourceLinkProperties",modelProperties:{sourceId:{serializedName:"sourceId",readOnly:!0,type:{name:"String"}},targetId:{serializedName:"targetId",required:!0,type:{name:"String"}},notes:{serializedName:"notes",type:{name:"String"}}}}},ResourceLinkResult={type:{name:"Composite",className:"ResourceLinkResult",modelProperties:{value:{serializedName:"value",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ResourceLink"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},ResourceLinkFilter={type:{name:"Composite",className:"ResourceLinkFilter",modelProperties:{targetId:{serializedName:"targetId",required:!0,type:{name:"String"}}}}};var Mappers=Object.freeze({__proto__:null,OperationListResult:OperationListResult,Operation:Operation,OperationDisplay:OperationDisplay,ResourceLink:ResourceLink,ResourceLinkProperties:ResourceLinkProperties,ResourceLinkResult:ResourceLinkResult,ResourceLinkFilter:ResourceLinkFilter});const accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2016-09-01",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},linkId={parameterPath:"linkId",mapper:{serializedName:"linkId",required:!0,type:{name:"String"}},skipEncoding:!0},contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},parameters={parameterPath:"parameters",mapper:ResourceLink},filter={parameterPath:["options","filter"],mapper:{serializedName:"$filter",type:{name:"String"}}},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},scope={parameterPath:"scope",mapper:{serializedName:"scope",required:!0,type:{name:"String"}},skipEncoding:!0},filter1={parameterPath:["options","filter"],mapper:{defaultValue:"atScope()",isConstant:!0,serializedName:"$filter",type:{name:"String"}}};class OperationsImpl{constructor(e){this.client=e}list(e){const t=this.listPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(i));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(t,i)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,r=tslib.__asyncValues(this.listPagingPage(s));!(i=yield tslib.__await(r.next())).done;){var a=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(t)throw t.error}}})}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec)}_listNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listNextOperationSpec)}}const serializer=coreClient.createSerializer(Mappers,!1),listOperationSpec={path:"/providers/Microsoft.Resources/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult}},queryParameters:[apiVersion],urlParameters:[$host,nextLink],headerParameters:[accept],serializer:serializer};class ResourceLinksImpl{constructor(e){this.client=e}listAtSubscription(e){const t=this.listAtSubscriptionPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listAtSubscriptionPagingPage(e)}}listAtSubscriptionPagingPage(i){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listAtSubscription(i));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listAtSubscriptionNext(t,i)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listAtSubscriptionPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,r=tslib.__asyncValues(this.listAtSubscriptionPagingPage(s));!(i=yield tslib.__await(r.next())).done;){var a=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(t)throw t.error}}})}listAtSourceScope(e,t){const i=this.listAtSourceScopePagingAll(e,t);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listAtSourceScopePagingPage(e,t)}}listAtSourceScopePagingPage(i,r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listAtSourceScope(i,r));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listAtSourceScopeNext(i,t,r)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listAtSourceScopePagingAll(s,n){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var i,r=tslib.__asyncValues(this.listAtSourceScopePagingPage(s,n));!(i=yield tslib.__await(r.next())).done;){var a=i.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(a)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&(yield tslib.__await(e.call(r)))}finally{if(t)throw t.error}}})}delete(e,t){return this.client.sendOperationRequest({linkId:e,options:t},deleteOperationSpec)}createOrUpdate(e,t,i){return this.client.sendOperationRequest({linkId:e,parameters:t,options:i},createOrUpdateOperationSpec)}get(e,t){return this.client.sendOperationRequest({linkId:e,options:t},getOperationSpec)}_listAtSubscription(e){return this.client.sendOperationRequest({options:e},listAtSubscriptionOperationSpec)}_listAtSourceScope(e,t){return this.client.sendOperationRequest({scope:e,options:t},listAtSourceScopeOperationSpec)}_listAtSubscriptionNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listAtSubscriptionNextOperationSpec)}_listAtSourceScopeNext(e,t,i){return this.client.sendOperationRequest({scope:e,nextLink:t,options:i},listAtSourceScopeNextOperationSpec)}}const serializer$1=coreClient.createSerializer(Mappers,!1),deleteOperationSpec={path:"/{linkId}",httpMethod:"DELETE",responses:{200:{},204:{}},queryParameters:[apiVersion],urlParameters:[$host,linkId],serializer:serializer$1},createOrUpdateOperationSpec={path:"/{linkId}",httpMethod:"PUT",responses:{200:{bodyMapper:ResourceLink},201:{bodyMapper:ResourceLink}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,linkId],headerParameters:[accept,contentType],mediaType:"json",serializer:serializer$1},getOperationSpec={path:"/{linkId}",httpMethod:"GET",responses:{200:{bodyMapper:ResourceLink}},queryParameters:[apiVersion],urlParameters:[$host,linkId],headerParameters:[accept],serializer:serializer$1},listAtSubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/links",httpMethod:"GET",responses:{200:{bodyMapper:ResourceLinkResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$1},listAtSourceScopeOperationSpec={path:"/{scope}/providers/Microsoft.Resources/links",httpMethod:"GET",responses:{200:{bodyMapper:ResourceLinkResult}},queryParameters:[apiVersion,filter1],urlParameters:[$host,scope],headerParameters:[accept],serializer:serializer$1},listAtSubscriptionNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ResourceLinkResult}},queryParameters:[apiVersion,filter],urlParameters:[$host,nextLink,subscriptionId],headerParameters:[accept],serializer:serializer$1},listAtSourceScopeNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:ResourceLinkResult}},queryParameters:[apiVersion,filter1],urlParameters:[$host,nextLink,scope],headerParameters:[accept],serializer:serializer$1};class ManagementLinkClient extends coreClient.ServiceClient{constructor(e,t,i){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===t)throw new Error("'subscriptionId' cannot be null");var r={requestContentType:"application/json; charset=utf-8",credential:e},e="azsdk-js-arm-links/2.0.0",e=(i=i||{}).userAgentOptions&&i.userAgentOptions.userAgentPrefix?i.userAgentOptions.userAgentPrefix+" "+e:e;i.credentialScopes||(i.credentialScopes=["https://management.azure.com/.default"]),super(Object.assign(Object.assign(Object.assign({},r),i),{userAgentOptions:{userAgentPrefix:e},baseUri:i.endpoint||"https://management.azure.com"})),this.subscriptionId=t,this.$host=i.$host||"https://management.azure.com",this.apiVersion=i.apiVersion||"2016-09-01",this.operations=new OperationsImpl(this),this.resourceLinks=new ResourceLinksImpl(this)}}exports.ManagementLinkClient=ManagementLinkClient;
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/operations.ts","../src/operations/resourceLinks.ts","../src/managementLinkClientContext.ts","../src/managementLinkClient.ts"],"names":["OperationListResult","type","name","className","modelProperties","value","serializedName","element","nextLink","Operation","display","OperationDisplay","provider","resource","operation","description","ResourceLink","id","readOnly","properties","ResourceLinkProperties","sourceId","targetId","required","notes","ResourceLinkResult","ResourceLinkFilter","accept","parameterPath","mapper","defaultValue","isConstant","$host","skipEncoding","apiVersion","linkId","contentType","parameters","ResourceLinkMapper","filter","subscriptionId","scope","filter1","OperationsImpl","constructor","client","this","list","options","iter","listPagingAll","next","Symbol","asyncIterator","byPage","listPagingPage","result","tslib","__await","_list","continuationToken","_listNext","_c","_b","__asyncValues","done","page","__asyncDelegator","listNext","listNextPagingAll","listNextPagingPage","_listNextNext","sendOperationRequest","listOperationSpec","listNextOperationSpec","listNextNextOperationSpec","serializer","coreClient.createSerializer","Mappers","path","httpMethod","responses","200","bodyMapper","Mappers.OperationListResult","queryParameters","Parameters.apiVersion","urlParameters","Parameters.$host","headerParameters","Parameters.accept","Parameters.nextLink","ResourceLinksImpl","listAtSubscription","listAtSubscriptionPagingAll","listAtSubscriptionPagingPage","_listAtSubscription","_listAtSubscriptionNext","listAtSourceScope","listAtSourceScopePagingAll","listAtSourceScopePagingPage","_listAtSourceScope","_listAtSourceScopeNext","listAtSubscriptionNext","listAtSubscriptionNextPagingAll","listAtSubscriptionNextPagingPage","_listAtSubscriptionNextNext","listAtSourceScopeNext","listAtSourceScopeNextPagingAll","listAtSourceScopeNextPagingPage","_listAtSourceScopeNextNext","delete","deleteOperationSpec","createOrUpdate","createOrUpdateOperationSpec","get","getOperationSpec","listAtSubscriptionOperationSpec","listAtSourceScopeOperationSpec","listAtSubscriptionNextOperationSpec","listAtSourceScopeNextOperationSpec","listAtSubscriptionNextNextOperationSpec","listAtSourceScopeNextNextOperationSpec","204","Parameters.linkId","Mappers.ResourceLink","201","requestBody","Parameters.parameters","Parameters.contentType","mediaType","Mappers.ResourceLinkResult","Parameters.filter","Parameters.subscriptionId","Parameters.filter1","Parameters.scope","ManagementLinkClientContext","coreClient.ServiceClient","credentials","undefined","Error","defaults","requestContentType","credential","packageDetails","userAgentPrefix","userAgentOptions","credentialScopes","super","Object","assign","baseUri","endpoint","ManagementLinkClient","operations","resourceLinks"],"mappings":"0KAUO,MAAMA,oBAAkD,CAC7DC,KAAM,CACJC,KAAM,YACNC,UAAW,sBACXC,gBAAiB,CACfC,MAAO,CACLC,eAAgB,QAChBL,KAAM,CACJC,KAAM,WACNK,QAAS,CACPN,KAAM,CACJC,KAAM,YACNC,UAAW,gBAKnBK,SAAU,CACRF,eAAgB,WAChBL,KAAM,CACJC,KAAM,cAOHO,UAAwC,CACnDR,KAAM,CACJC,KAAM,YACNC,UAAW,YACXC,gBAAiB,CACfF,KAAM,CACJI,eAAgB,OAChBL,KAAM,CACJC,KAAM,WAGVQ,QAAS,CACPJ,eAAgB,UAChBL,KAAM,CACJC,KAAM,YACNC,UAAW,wBAORQ,iBAA+C,CAC1DV,KAAM,CACJC,KAAM,YACNC,UAAW,mBACXC,gBAAiB,C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,aACNC,WAAY,MACZC,UAAW,CACTC,IAAK,CACHC,WAAYgD,qBAGhB9C,gBAAiB,CAACC,WAAuB8C,QACzC7C,cAAe,CACbC,MACAG,SACA0C,gBAEF5C,iBAAkB,CAACC,Q,WACnBd,cAEI8C,uCAAmE,CACvE3C,KAAM,aACNC,WAAY,MACZC,UAAW,CACTC,IAAK,CACHC,WAAYgD,qBAGhB9C,gBAAiB,CAACC,WAAuBgD,SACzC/C,cAAe,CAACC,MAAkBG,SAAqB4C,OACvD9C,iBAAkB,CAACC,Q,WACnBd,oBCzgBW4D,oCAAoCC,WAAAA,cAW/C7F,YACE8F,EACAlG,EACAQ,GAEA,QAAoB2F,IAAhBD,EACF,MAAM,IAAIE,MAAM,gCAElB,QAAuBD,IAAnBnG,EACF,MAAM,IAAIoG,MAAM,mCAOlB,IAAMC,EAA+C,CACnDC,mBAAoB,kCACpBC,WAAYL,GAGRM,EAAiB,kCACjBC,GARJjG,EADGA,GACO,IASFkG,kBAAoBlG,EAAQkG,iBAAiBD,mBAC9CjG,EAAQkG,iBAAiBD,mBAAmBD,OAC5CA,IAEJhG,EAAQmG,mBACXnG,EAAQmG,iBAAmB,CAAC,0CAU9BC,MARyBC,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAA,GACpBT,GACA7F,GAAO,CACVkG,iBAAkB,CAChBD,gBAAAA,GAEFM,QAASvG,EAAQwG,UAAY,kCAI/B1G,KAAKN,eAAiBA,EAGtBM,KAAKd,MAAQgB,EAAQhB,OAAS,+BAC9Bc,KAAKZ,WAAac,EAAQd,YAAc,oBCrD/BuH,6BAA6BjB,4BAOxC5F,YACE8F,EACAlG,EACAQ,GAEAoG,MAAMV,EAAalG,EAAgBQ,GACnCF,KAAK4G,WAAa,IAAI/G,eAAeG,MACrCA,KAAK6G,cAAgB,IAAI/D,kBAAkB9C,O"}
1
+ {"version":3,"sources":["../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/operations.ts","../src/operations/resourceLinks.ts","../src/managementLinkClient.ts"],"names":["OperationListResult","type","name","className","modelProperties","value","serializedName","element","nextLink","Operation","display","OperationDisplay","provider","resource","operation","description","ResourceLink","id","readOnly","properties","ResourceLinkProperties","sourceId","targetId","required","notes","ResourceLinkResult","ResourceLinkFilter","accept","parameterPath","mapper","defaultValue","isConstant","$host","skipEncoding","apiVersion","linkId","contentType","parameters","ResourceLinkMapper","filter","subscriptionId","scope","filter1","OperationsImpl","constructor","client","this","list","options","iter","listPagingAll","next","Symbol","asyncIterator","byPage","listPagingPage","let","result","tslib","__await","_list","continuationToken","_listNext","_c","_b","__asyncValues","done","page","__asyncDelegator","sendOperationRequest","listOperationSpec","listNextOperationSpec","serializer","coreClient.createSerializer","Mappers","path","httpMethod","responses","200","bodyMapper","Mappers.OperationListResult","queryParameters","Parameters.apiVersion","urlParameters","Parameters.$host","headerParameters","Parameters.accept","Parameters.nextLink","ResourceLinksImpl","listAtSubscription","listAtSubscriptionPagingAll","listAtSubscriptionPagingPage","_listAtSubscription","_listAtSubscriptionNext","listAtSourceScope","listAtSourceScopePagingAll","listAtSourceScopePagingPage","_listAtSourceScope","_listAtSourceScopeNext","delete","deleteOperationSpec","createOrUpdate","createOrUpdateOperationSpec","get","getOperationSpec","listAtSubscriptionOperationSpec","listAtSourceScopeOperationSpec","listAtSubscriptionNextOperationSpec","listAtSourceScopeNextOperationSpec","204","Parameters.linkId","Mappers.ResourceLink","201","requestBody","Parameters.parameters","Parameters.contentType","mediaType","Mappers.ResourceLinkResult","Parameters.filter","Parameters.subscriptionId","Parameters.filter1","Parameters.scope","ManagementLinkClient","coreClient.ServiceClient","credentials","undefined","Error","defaults","requestContentType","credential","packageDetails","userAgentPrefix","userAgentOptions","credentialScopes","super","Object","assign","baseUri","endpoint","operations","resourceLinks"],"mappings":"wIAUO,MAAMA,oBAAkD,CAC7DC,KAAM,CACJC,KAAM,YACNC,UAAW,sBACXC,gBAAiB,CACfC,MAAO,CACLC,eAAgB,QAChBL,KAAM,CACJC,KAAM,WACNK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ACC,MAAkBG,SAAqBkC,OACvDpC,iBAAkB,CAACC,Q,WACnBd,oBClVWkD,6BAA6BC,WAAAA,cAWxC/E,YACEgF,EACApF,EACAQ,GAEA,QAAoB6E,IAAhBD,EACF,MAAM,IAAIE,MAAM,gCAElB,QAAuBD,IAAnBrF,EACF,MAAM,IAAIsF,MAAM,mCAOlB,IAAMC,EAA+C,CACnDC,mBAAoB,kCACpBC,WAAYL,GAGRM,EAAiB,2BACjBC,GARJnF,EADGA,GACO,IASFoF,kBAAoBpF,EAAQoF,iBAAiBD,gBAC9CnF,EAAQoF,iBAAiBD,gBAA5B,IAA+CD,EAC5CA,EAEJlF,EAAQqF,mBACXrF,EAAQqF,iBAAmB,CAAC,0CAU9BC,MARyBC,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAA,GACpBT,GACA/E,GAAO,CACVoF,iBAAkB,CAChBD,gBAAAA,GAEFM,QAASzF,EAAQ0F,UAAY,kCAI/B5F,KAAKN,eAAiBA,EAGtBM,KAAKd,MAAQgB,EAAQhB,OAAS,+BAC9Bc,KAAKZ,WAAac,EAAQd,YAAc,aACxCY,KAAK6F,WAAa,IAAIhG,eAAeG,MACrCA,KAAK8F,cAAgB,IAAIpD,kBAAkB1C,O"}
@@ -0,0 +1,5 @@
1
+ /// <reference lib="esnext.asynciterable" />
2
+ export * from "./models";
3
+ export { ManagementLinkClient } from "./managementLinkClient";
4
+ export * from "./operationsInterfaces";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AASA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,cAAc,wBAAwB,CAAC"}
@@ -8,6 +8,5 @@
8
8
  /// <reference lib="esnext.asynciterable" />
9
9
  export * from "./models";
10
10
  export { ManagementLinkClient } from "./managementLinkClient";
11
- export { ManagementLinkClientContext } from "./managementLinkClientContext";
12
11
  export * from "./operationsInterfaces";
13
12
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,cAAc,wBAAwB,CAAC"}
@@ -1,8 +1,11 @@
1
+ import * as coreClient from "@azure/core-client";
1
2
  import * as coreAuth from "@azure/core-auth";
2
3
  import { Operations, ResourceLinks } from "./operationsInterfaces";
3
- import { ManagementLinkClientContext } from "./managementLinkClientContext";
4
4
  import { ManagementLinkClientOptionalParams } from "./models";
5
- export declare class ManagementLinkClient extends ManagementLinkClientContext {
5
+ export declare class ManagementLinkClient extends coreClient.ServiceClient {
6
+ $host: string;
7
+ apiVersion: string;
8
+ subscriptionId: string;
6
9
  /**
7
10
  * Initializes a new instance of the ManagementLinkClient class.
8
11
  * @param credentials Subscription credentials which uniquely identify client subscription.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managementLinkClient.d.ts","sourceRoot":"","sources":["../../src/managementLinkClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,kCAAkC,EAAE,MAAM,UAAU,CAAC;AAE9D,qBAAa,oBAAqB,SAAQ,UAAU,CAAC,aAAa;IAChE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,kCAAkC;IA8C9C,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,aAAa,CAAC;CAC9B"}
@@ -6,9 +6,10 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import * as coreClient from "@azure/core-client";
9
- export class ManagementLinkClientContext extends coreClient.ServiceClient {
9
+ import { OperationsImpl, ResourceLinksImpl } from "./operations";
10
+ export class ManagementLinkClient extends coreClient.ServiceClient {
10
11
  /**
11
- * Initializes a new instance of the ManagementLinkClientContext class.
12
+ * Initializes a new instance of the ManagementLinkClient class.
12
13
  * @param credentials Subscription credentials which uniquely identify client subscription.
13
14
  * @param subscriptionId The ID of the target subscription.
14
15
  * @param options The parameter options
@@ -28,7 +29,7 @@ export class ManagementLinkClientContext extends coreClient.ServiceClient {
28
29
  requestContentType: "application/json; charset=utf-8",
29
30
  credential: credentials
30
31
  };
31
- const packageDetails = `azsdk-js-arm-links/2.0.0-beta.1`;
32
+ const packageDetails = `azsdk-js-arm-links/2.0.0`;
32
33
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
33
34
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
34
35
  : `${packageDetails}`;
@@ -44,6 +45,8 @@ export class ManagementLinkClientContext extends coreClient.ServiceClient {
44
45
  // Assigning values to Constant parameters
45
46
  this.$host = options.$host || "https://management.azure.com";
46
47
  this.apiVersion = options.apiVersion || "2016-09-01";
48
+ this.operations = new OperationsImpl(this);
49
+ this.resourceLinks = new ResourceLinksImpl(this);
47
50
  }
48
51
  }
49
- //# sourceMappingURL=managementLinkClientContext.js.map
52
+ //# sourceMappingURL=managementLinkClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"managementLinkClient.js","sourceRoot":"","sources":["../../src/managementLinkClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM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,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,aAAa,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;CAIF"}
@@ -82,11 +82,6 @@ export interface OperationsListNextOptionalParams extends coreClient.OperationOp
82
82
  /** Contains response data for the listNext operation. */
83
83
  export declare type OperationsListNextResponse = OperationListResult;
84
84
  /** Optional parameters. */
85
- export interface OperationsListNextNextOptionalParams extends coreClient.OperationOptions {
86
- }
87
- /** Contains response data for the listNextNext operation. */
88
- export declare type OperationsListNextNextResponse = OperationListResult;
89
- /** Optional parameters. */
90
85
  export interface ResourceLinksDeleteOptionalParams extends coreClient.OperationOptions {
91
86
  }
92
87
  /** Optional parameters. */
@@ -124,18 +119,6 @@ export interface ResourceLinksListAtSourceScopeNextOptionalParams extends coreCl
124
119
  /** Contains response data for the listAtSourceScopeNext operation. */
125
120
  export declare type ResourceLinksListAtSourceScopeNextResponse = ResourceLinkResult;
126
121
  /** Optional parameters. */
127
- export interface ResourceLinksListAtSubscriptionNextNextOptionalParams extends coreClient.OperationOptions {
128
- /** The filter to apply on the list resource links operation. The supported filter for list resource links is targetId. For example, $filter=targetId eq {value} */
129
- filter?: string;
130
- }
131
- /** Contains response data for the listAtSubscriptionNextNext operation. */
132
- export declare type ResourceLinksListAtSubscriptionNextNextResponse = ResourceLinkResult;
133
- /** Optional parameters. */
134
- export interface ResourceLinksListAtSourceScopeNextNextOptionalParams extends coreClient.OperationOptions {
135
- }
136
- /** Contains response data for the listAtSourceScopeNextNext operation. */
137
- export declare type ResourceLinksListAtSourceScopeNextNextResponse = ResourceLinkResult;
138
- /** Optional parameters. */
139
122
  export interface ManagementLinkClientOptionalParams extends coreClient.ServiceClientOptions {
140
123
  /** server parameter */
141
124
  $host?: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,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7E,2BAA2B;AAC3B,MAAM,WAAW,gDACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,sEAAsE;AACtE,oBAAY,0CAA0C,GAAG,kBAAkB,CAAC;AAE5E,2BAA2B;AAC3B,MAAM,WAAW,kCACf,SAAQ,UAAU,CAAC,oBAAoB;IACvC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,eAyB5C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,UAAU,CAAC,eAoBlC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,eA+BzC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,UAAU,CAAC,eAoCrC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,UAAU,CAAC,eA2B/C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,UAAU,CAAC,eA2B3C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,UAAU,CAAC,eAc3C,CAAC"}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,mBAAmB,GAA+B;IAC7D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,q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AEF,MAAM,CAAC,MAAM,kBAAkB,GAA+B;IAC5D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,oBAAoB;QAC/B,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE,OAAO;gBACvB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,cAAc;yBAC1B;qBACF;iBACF;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAA+B;IAC5D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,oBAAoB;QAC/B,eAAe,EAAE;YACf,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;KACF;CACF,CAAC"}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAG5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,qBAUpB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,kBAGxB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,uBAQpB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,uBAUrB,CAAC"}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEvE,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,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4B;IAC9C,aAAa,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;IACpC,MAAM,EAAE;QACN,YAAY,EAAE,WAAW;QACzB,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,SAAS;QACzB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC"}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
@@ -1,16 +1,15 @@
1
- import "@azure/core-paging";
2
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
3
2
  import { Operations } from "../operationsInterfaces";
4
- import { ManagementLinkClientContext } from "../managementLinkClientContext";
5
- import { Operation, OperationsListNextOptionalParams, OperationsListOptionalParams } from "../models";
6
- /** Class representing a Operations. */
3
+ import { ManagementLinkClient } from "../managementLinkClient";
4
+ import { Operation, OperationsListOptionalParams } from "../models";
5
+ /** Class containing Operations operations. */
7
6
  export declare class OperationsImpl implements Operations {
8
7
  private readonly client;
9
8
  /**
10
9
  * Initialize a new instance of the class Operations class.
11
10
  * @param client Reference to the service client
12
11
  */
13
- constructor(client: ManagementLinkClientContext);
12
+ constructor(client: ManagementLinkClient);
14
13
  /**
15
14
  * Lists all of the available Microsoft.Resources REST API operations.
16
15
  * @param options The options parameters.
@@ -18,14 +17,6 @@ export declare class OperationsImpl implements Operations {
18
17
  list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
19
18
  private listPagingPage;
20
19
  private listPagingAll;
21
- /**
22
- * ListNext
23
- * @param nextLink The nextLink from the previous successful call to the List method.
24
- * @param options The options parameters.
25
- */
26
- listNext(nextLink: string, options?: OperationsListNextOptionalParams): PagedAsyncIterableIterator<Operation>;
27
- private listNextPagingPage;
28
- private listNextPagingAll;
29
20
  /**
30
21
  * Lists all of the available Microsoft.Resources REST API operations.
31
22
  * @param options The options parameters.
@@ -37,11 +28,5 @@ export declare class OperationsImpl implements Operations {
37
28
  * @param options The options parameters.
38
29
  */
39
30
  private _listNext;
40
- /**
41
- * ListNextNext
42
- * @param nextLink The nextLink from the previous successful call to the ListNext method.
43
- * @param options The options parameters.
44
- */
45
- private _listNextNext;
46
31
  }
47
32
  //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuB;IAE9C;;;OAGG;gBACS,MAAM,EAAE,oBAAoB;IAIxC;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAezB,cAAc;YAad,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}