@azure/arm-resources 5.0.0-beta.1 → 5.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 (243) hide show
  1. package/CHANGELOG.md +6 -11
  2. package/README.md +15 -9
  3. package/dist/index.js +450 -2161
  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/dist-esm/src/lroImpl.d.ts +16 -0
  12. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  13. package/dist-esm/src/lroImpl.js +29 -0
  14. package/dist-esm/src/lroImpl.js.map +1 -0
  15. package/{esm → dist-esm/src}/models/index.d.ts +60 -201
  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 +3 -2
  20. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  21. package/{esm → dist-esm/src}/models/mappers.js +106 -69
  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/operationsInterfaces → dist-esm/src/operations}/deploymentOperations.d.ts +85 -35
  28. package/dist-esm/src/operations/deploymentOperations.d.ts.map +1 -0
  29. package/{esm → dist-esm/src}/operations/deploymentOperations.js +1 -412
  30. package/dist-esm/src/operations/deploymentOperations.js.map +1 -0
  31. package/{esm/operationsInterfaces → dist-esm/src/operations}/deployments.d.ts +86 -40
  32. package/dist-esm/src/operations/deployments.d.ts.map +1 -0
  33. package/{esm → dist-esm/src}/operations/deployments.js +102 -429
  34. package/dist-esm/src/operations/deployments.js.map +1 -0
  35. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  36. package/dist-esm/src/operations/index.d.ts.map +1 -0
  37. package/{esm → dist-esm/src}/operations/index.js +0 -0
  38. package/dist-esm/src/operations/index.js.map +1 -0
  39. package/{esm → dist-esm/src}/operations/operations.d.ts +4 -19
  40. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  41. package/{esm → dist-esm/src}/operations/operations.js +1 -75
  42. package/dist-esm/src/operations/operations.js.map +1 -0
  43. package/{esm → dist-esm/src}/operations/providerResourceTypes.d.ts +3 -3
  44. package/dist-esm/src/operations/providerResourceTypes.d.ts.map +1 -0
  45. package/{esm → dist-esm/src}/operations/providerResourceTypes.js +1 -1
  46. package/dist-esm/src/operations/providerResourceTypes.js.map +1 -0
  47. package/{esm → dist-esm/src}/operations/providers.d.ts +4 -33
  48. package/dist-esm/src/operations/providers.d.ts.map +1 -0
  49. package/{esm → dist-esm/src}/operations/providers.js +5 -156
  50. package/dist-esm/src/operations/providers.js.map +1 -0
  51. package/{esm → dist-esm/src}/operations/resourceGroups.d.ts +4 -19
  52. package/dist-esm/src/operations/resourceGroups.d.ts.map +1 -0
  53. package/{esm → dist-esm/src}/operations/resourceGroups.js +14 -85
  54. package/dist-esm/src/operations/resourceGroups.js.map +1 -0
  55. package/{esm → dist-esm/src}/operations/resources.d.ts +4 -36
  56. package/dist-esm/src/operations/resources.d.ts.map +1 -0
  57. package/{esm → dist-esm/src}/operations/resources.js +43 -188
  58. package/dist-esm/src/operations/resources.js.map +1 -0
  59. package/{esm → dist-esm/src}/operations/tagsOperations.d.ts +13 -28
  60. package/dist-esm/src/operations/tagsOperations.d.ts.map +1 -0
  61. package/{esm → dist-esm/src}/operations/tagsOperations.js +1 -79
  62. package/dist-esm/src/operations/tagsOperations.js.map +1 -0
  63. package/dist-esm/src/operationsInterfaces/deploymentOperations.d.ts +77 -0
  64. package/dist-esm/src/operationsInterfaces/deploymentOperations.d.ts.map +1 -0
  65. package/dist-esm/src/operationsInterfaces/deploymentOperations.js +9 -0
  66. package/dist-esm/src/operationsInterfaces/deploymentOperations.js.map +1 -0
  67. package/{esm/operations → dist-esm/src/operationsInterfaces}/deployments.d.ts +3 -170
  68. package/dist-esm/src/operationsInterfaces/deployments.d.ts.map +1 -0
  69. package/dist-esm/src/operationsInterfaces/deployments.js +9 -0
  70. package/dist-esm/src/operationsInterfaces/deployments.js.map +1 -0
  71. package/{esm → dist-esm/src}/operationsInterfaces/index.d.ts +0 -0
  72. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  73. package/{esm → dist-esm/src}/operationsInterfaces/index.js +0 -0
  74. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  75. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  76. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  77. package/{esm → dist-esm/src}/operationsInterfaces/operations.js +1 -1
  78. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  79. package/{esm → dist-esm/src}/operationsInterfaces/providerResourceTypes.d.ts +0 -0
  80. package/dist-esm/src/operationsInterfaces/providerResourceTypes.d.ts.map +1 -0
  81. package/{esm → dist-esm/src}/operationsInterfaces/providerResourceTypes.js +0 -0
  82. package/dist-esm/src/operationsInterfaces/providerResourceTypes.js.map +1 -0
  83. package/{esm → dist-esm/src}/operationsInterfaces/providers.d.ts +1 -14
  84. package/dist-esm/src/operationsInterfaces/providers.d.ts.map +1 -0
  85. package/{esm → dist-esm/src}/operationsInterfaces/providers.js +1 -1
  86. package/dist-esm/src/operationsInterfaces/providers.js.map +1 -0
  87. package/{esm → dist-esm/src}/operationsInterfaces/resourceGroups.d.ts +1 -8
  88. package/dist-esm/src/operationsInterfaces/resourceGroups.d.ts.map +1 -0
  89. package/dist-esm/src/operationsInterfaces/resourceGroups.js +9 -0
  90. package/dist-esm/src/operationsInterfaces/resourceGroups.js.map +1 -0
  91. package/{esm → dist-esm/src}/operationsInterfaces/resources.d.ts +1 -15
  92. package/dist-esm/src/operationsInterfaces/resources.d.ts.map +1 -0
  93. package/{esm → dist-esm/src}/operationsInterfaces/resources.js +1 -1
  94. package/dist-esm/src/operationsInterfaces/resources.js.map +1 -0
  95. package/{esm → dist-esm/src}/operationsInterfaces/tagsOperations.d.ts +10 -17
  96. package/dist-esm/src/operationsInterfaces/tagsOperations.d.ts.map +1 -0
  97. package/dist-esm/src/operationsInterfaces/tagsOperations.js +9 -0
  98. package/dist-esm/src/operationsInterfaces/tagsOperations.js.map +1 -0
  99. package/{esm → dist-esm/src}/resourceManagementClient.d.ts +5 -2
  100. package/dist-esm/src/resourceManagementClient.d.ts.map +1 -0
  101. package/{esm/resourceManagementClientContext.js → dist-esm/src/resourceManagementClient.js} +13 -4
  102. package/dist-esm/src/resourceManagementClient.js.map +1 -0
  103. package/dist-esm/test/resources_examples.d.ts +4 -0
  104. package/dist-esm/test/resources_examples.d.ts.map +1 -0
  105. package/dist-esm/test/resources_examples.js +190 -0
  106. package/dist-esm/test/resources_examples.js.map +1 -0
  107. package/package.json +27 -33
  108. package/review/arm-resources.api.md +50 -214
  109. package/src/index.ts +0 -1
  110. package/src/lroImpl.ts +34 -0
  111. package/src/models/index.ts +61 -252
  112. package/src/models/mappers.ts +109 -71
  113. package/src/operations/deploymentOperations.ts +5 -593
  114. package/src/operations/deployments.ts +110 -544
  115. package/src/operations/operations.ts +5 -85
  116. package/src/operations/providerResourceTypes.ts +4 -4
  117. package/src/operations/providers.ts +9 -178
  118. package/src/operations/resourceGroups.ts +19 -98
  119. package/src/operations/resources.ts +47 -229
  120. package/src/operations/tagsOperations.ts +40 -129
  121. package/src/operationsInterfaces/deploymentOperations.ts +0 -69
  122. package/src/operationsInterfaces/deployments.ts +0 -60
  123. package/src/operationsInterfaces/operations.ts +1 -15
  124. package/src/operationsInterfaces/providers.ts +0 -21
  125. package/src/operationsInterfaces/resourceGroups.ts +0 -11
  126. package/src/operationsInterfaces/resources.ts +0 -23
  127. package/src/operationsInterfaces/tagsOperations.ts +28 -42
  128. package/src/resourceManagementClient.ts +46 -3
  129. package/tsconfig.json +2 -3
  130. package/{esm/index.d.ts → types/arm-resources.d.ts} +85 -388
  131. package/types/tsdoc-metadata.json +11 -0
  132. package/esm/coreClientLro.d.ts +0 -26
  133. package/esm/coreClientLro.d.ts.map +0 -1
  134. package/esm/coreClientLro.js +0 -186
  135. package/esm/coreClientLro.js.map +0 -1
  136. package/esm/index.d.ts.map +0 -1
  137. package/esm/index.js.map +0 -1
  138. package/esm/lro/azureAsyncPolling.d.ts +0 -3
  139. package/esm/lro/azureAsyncPolling.d.ts.map +0 -1
  140. package/esm/lro/azureAsyncPolling.js +0 -67
  141. package/esm/lro/azureAsyncPolling.js.map +0 -1
  142. package/esm/lro/bodyPolling.d.ts +0 -8
  143. package/esm/lro/bodyPolling.d.ts.map +0 -1
  144. package/esm/lro/bodyPolling.js +0 -37
  145. package/esm/lro/bodyPolling.js.map +0 -1
  146. package/esm/lro/index.d.ts +0 -4
  147. package/esm/lro/index.d.ts.map +0 -1
  148. package/esm/lro/index.js +0 -12
  149. package/esm/lro/index.js.map +0 -1
  150. package/esm/lro/locationPolling.d.ts +0 -3
  151. package/esm/lro/locationPolling.d.ts.map +0 -1
  152. package/esm/lro/locationPolling.js +0 -19
  153. package/esm/lro/locationPolling.js.map +0 -1
  154. package/esm/lro/lroEngine.d.ts +0 -14
  155. package/esm/lro/lroEngine.d.ts.map +0 -1
  156. package/esm/lro/lroEngine.js +0 -41
  157. package/esm/lro/lroEngine.js.map +0 -1
  158. package/esm/lro/models.d.ts +0 -138
  159. package/esm/lro/models.d.ts.map +0 -1
  160. package/esm/lro/models.js +0 -14
  161. package/esm/lro/models.js.map +0 -1
  162. package/esm/lro/operation.d.ts +0 -36
  163. package/esm/lro/operation.d.ts.map +0 -1
  164. package/esm/lro/operation.js +0 -82
  165. package/esm/lro/operation.js.map +0 -1
  166. package/esm/lro/passthrough.d.ts +0 -3
  167. package/esm/lro/passthrough.d.ts.map +0 -1
  168. package/esm/lro/passthrough.js +0 -15
  169. package/esm/lro/passthrough.js.map +0 -1
  170. package/esm/lro/requestUtils.d.ts +0 -16
  171. package/esm/lro/requestUtils.d.ts.map +0 -1
  172. package/esm/lro/requestUtils.js +0 -73
  173. package/esm/lro/requestUtils.js.map +0 -1
  174. package/esm/lro/stateMachine.d.ts +0 -18
  175. package/esm/lro/stateMachine.d.ts.map +0 -1
  176. package/esm/lro/stateMachine.js +0 -84
  177. package/esm/lro/stateMachine.js.map +0 -1
  178. package/esm/models/index.d.ts.map +0 -1
  179. package/esm/models/index.js.map +0 -1
  180. package/esm/models/mappers.d.ts.map +0 -1
  181. package/esm/models/mappers.js.map +0 -1
  182. package/esm/models/parameters.d.ts.map +0 -1
  183. package/esm/models/parameters.js.map +0 -1
  184. package/esm/operations/deploymentOperations.d.ts +0 -259
  185. package/esm/operations/deploymentOperations.d.ts.map +0 -1
  186. package/esm/operations/deploymentOperations.js.map +0 -1
  187. package/esm/operations/deployments.d.ts.map +0 -1
  188. package/esm/operations/deployments.js.map +0 -1
  189. package/esm/operations/index.d.ts.map +0 -1
  190. package/esm/operations/index.js.map +0 -1
  191. package/esm/operations/operations.d.ts.map +0 -1
  192. package/esm/operations/operations.js.map +0 -1
  193. package/esm/operations/providerResourceTypes.d.ts.map +0 -1
  194. package/esm/operations/providerResourceTypes.js.map +0 -1
  195. package/esm/operations/providers.d.ts.map +0 -1
  196. package/esm/operations/providers.js.map +0 -1
  197. package/esm/operations/resourceGroups.d.ts.map +0 -1
  198. package/esm/operations/resourceGroups.js.map +0 -1
  199. package/esm/operations/resources.d.ts.map +0 -1
  200. package/esm/operations/resources.js.map +0 -1
  201. package/esm/operations/tagsOperations.d.ts.map +0 -1
  202. package/esm/operations/tagsOperations.js.map +0 -1
  203. package/esm/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
  204. package/esm/operationsInterfaces/deploymentOperations.js +0 -9
  205. package/esm/operationsInterfaces/deploymentOperations.js.map +0 -1
  206. package/esm/operationsInterfaces/deployments.d.ts.map +0 -1
  207. package/esm/operationsInterfaces/deployments.js +0 -9
  208. package/esm/operationsInterfaces/deployments.js.map +0 -1
  209. package/esm/operationsInterfaces/index.d.ts.map +0 -1
  210. package/esm/operationsInterfaces/index.js.map +0 -1
  211. package/esm/operationsInterfaces/operations.d.ts +0 -18
  212. package/esm/operationsInterfaces/operations.d.ts.map +0 -1
  213. package/esm/operationsInterfaces/operations.js.map +0 -1
  214. package/esm/operationsInterfaces/providerResourceTypes.d.ts.map +0 -1
  215. package/esm/operationsInterfaces/providerResourceTypes.js.map +0 -1
  216. package/esm/operationsInterfaces/providers.d.ts.map +0 -1
  217. package/esm/operationsInterfaces/providers.js.map +0 -1
  218. package/esm/operationsInterfaces/resourceGroups.d.ts.map +0 -1
  219. package/esm/operationsInterfaces/resourceGroups.js +0 -9
  220. package/esm/operationsInterfaces/resourceGroups.js.map +0 -1
  221. package/esm/operationsInterfaces/resources.d.ts.map +0 -1
  222. package/esm/operationsInterfaces/resources.js.map +0 -1
  223. package/esm/operationsInterfaces/tagsOperations.d.ts.map +0 -1
  224. package/esm/operationsInterfaces/tagsOperations.js +0 -9
  225. package/esm/operationsInterfaces/tagsOperations.js.map +0 -1
  226. package/esm/resourceManagementClient.d.ts.map +0 -1
  227. package/esm/resourceManagementClient.js +0 -29
  228. package/esm/resourceManagementClient.js.map +0 -1
  229. package/esm/resourceManagementClientContext.d.ts +0 -16
  230. package/esm/resourceManagementClientContext.d.ts.map +0 -1
  231. package/esm/resourceManagementClientContext.js.map +0 -1
  232. package/src/coreClientLro.ts +0 -323
  233. package/src/lro/azureAsyncPolling.ts +0 -96
  234. package/src/lro/bodyPolling.ts +0 -54
  235. package/src/lro/index.ts +0 -26
  236. package/src/lro/locationPolling.ts +0 -30
  237. package/src/lro/lroEngine.ts +0 -61
  238. package/src/lro/models.ts +0 -173
  239. package/src/lro/operation.ts +0 -120
  240. package/src/lro/passthrough.ts +0 -23
  241. package/src/lro/requestUtils.ts +0 -105
  242. package/src/lro/stateMachine.ts +0 -138
  243. package/src/resourceManagementClientContext.ts +0 -70
@@ -6,48 +6,45 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import "@azure/core-paging";
10
9
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
10
  import { TagsOperations } from "../operationsInterfaces";
12
11
  import * as coreClient from "@azure/core-client";
13
12
  import * as Mappers from "../models/mappers";
14
13
  import * as Parameters from "../models/parameters";
15
- import { ResourceManagementClientContext } from "../resourceManagementClientContext";
14
+ import { ResourceManagementClient } from "../resourceManagementClient";
16
15
  import {
17
16
  TagDetails,
18
- TagsOperationsListNextOptionalParams,
19
- TagsOperationsListOptionalParams,
20
- TagsOperationsListNextNextOptionalParams,
21
- TagsOperationsDeleteValueOptionalParams,
22
- TagsOperationsCreateOrUpdateValueOptionalParams,
23
- TagsOperationsCreateOrUpdateValueResponse,
24
- TagsOperationsCreateOrUpdateOptionalParams,
25
- TagsOperationsCreateOrUpdateResponse,
26
- TagsOperationsDeleteOptionalParams,
27
- TagsOperationsListResponse,
17
+ TagsListNextOptionalParams,
18
+ TagsListOptionalParams,
19
+ TagsDeleteValueOptionalParams,
20
+ TagsCreateOrUpdateValueOptionalParams,
21
+ TagsCreateOrUpdateValueResponse,
22
+ TagsCreateOrUpdateOptionalParams,
23
+ TagsCreateOrUpdateResponse,
24
+ TagsDeleteOptionalParams,
25
+ TagsListResponse,
28
26
  TagsResource,
29
- TagsOperationsCreateOrUpdateAtScopeOptionalParams,
30
- TagsOperationsCreateOrUpdateAtScopeResponse,
27
+ TagsCreateOrUpdateAtScopeOptionalParams,
28
+ TagsCreateOrUpdateAtScopeResponse,
31
29
  TagsPatchResource,
32
- TagsOperationsUpdateAtScopeOptionalParams,
33
- TagsOperationsUpdateAtScopeResponse,
34
- TagsOperationsGetAtScopeOptionalParams,
35
- TagsOperationsGetAtScopeResponse,
36
- TagsOperationsDeleteAtScopeOptionalParams,
37
- TagsOperationsListNextResponse,
38
- TagsOperationsListNextNextResponse
30
+ TagsUpdateAtScopeOptionalParams,
31
+ TagsUpdateAtScopeResponse,
32
+ TagsGetAtScopeOptionalParams,
33
+ TagsGetAtScopeResponse,
34
+ TagsDeleteAtScopeOptionalParams,
35
+ TagsListNextResponse
39
36
  } from "../models";
40
37
 
41
38
  /// <reference lib="esnext.asynciterable" />
42
- /** Class representing a TagsOperations. */
39
+ /** Class containing TagsOperations operations. */
43
40
  export class TagsOperationsImpl implements TagsOperations {
44
- private readonly client: ResourceManagementClientContext;
41
+ private readonly client: ResourceManagementClient;
45
42
 
46
43
  /**
47
44
  * Initialize a new instance of the class TagsOperations class.
48
45
  * @param client Reference to the service client
49
46
  */
50
- constructor(client: ResourceManagementClientContext) {
47
+ constructor(client: ResourceManagementClient) {
51
48
  this.client = client;
52
49
  }
53
50
 
@@ -59,7 +56,7 @@ export class TagsOperationsImpl implements TagsOperations {
59
56
  * @param options The options parameters.
60
57
  */
61
58
  public list(
62
- options?: TagsOperationsListOptionalParams
59
+ options?: TagsListOptionalParams
63
60
  ): PagedAsyncIterableIterator<TagDetails> {
64
61
  const iter = this.listPagingAll(options);
65
62
  return {
@@ -76,7 +73,7 @@ export class TagsOperationsImpl implements TagsOperations {
76
73
  }
77
74
 
78
75
  private async *listPagingPage(
79
- options?: TagsOperationsListOptionalParams
76
+ options?: TagsListOptionalParams
80
77
  ): AsyncIterableIterator<TagDetails[]> {
81
78
  let result = await this._list(options);
82
79
  yield result.value || [];
@@ -89,59 +86,13 @@ export class TagsOperationsImpl implements TagsOperations {
89
86
  }
90
87
 
91
88
  private async *listPagingAll(
92
- options?: TagsOperationsListOptionalParams
89
+ options?: TagsListOptionalParams
93
90
  ): AsyncIterableIterator<TagDetails> {
94
91
  for await (const page of this.listPagingPage(options)) {
95
92
  yield* page;
96
93
  }
97
94
  }
98
95
 
99
- /**
100
- * ListNext
101
- * @param nextLink The nextLink from the previous successful call to the List method.
102
- * @param options The options parameters.
103
- */
104
- public listNext(
105
- nextLink: string,
106
- options?: TagsOperationsListNextOptionalParams
107
- ): PagedAsyncIterableIterator<TagDetails> {
108
- const iter = this.listNextPagingAll(nextLink, options);
109
- return {
110
- next() {
111
- return iter.next();
112
- },
113
- [Symbol.asyncIterator]() {
114
- return this;
115
- },
116
- byPage: () => {
117
- return this.listNextPagingPage(nextLink, options);
118
- }
119
- };
120
- }
121
-
122
- private async *listNextPagingPage(
123
- nextLink: string,
124
- options?: TagsOperationsListNextOptionalParams
125
- ): AsyncIterableIterator<TagDetails[]> {
126
- let result = await this._listNext(nextLink, options);
127
- yield result.value || [];
128
- let continuationToken = result.nextLink;
129
- while (continuationToken) {
130
- result = await this._listNextNext(continuationToken, options);
131
- continuationToken = result.nextLink;
132
- yield result.value || [];
133
- }
134
- }
135
-
136
- private async *listNextPagingAll(
137
- nextLink: string,
138
- options?: TagsOperationsListNextOptionalParams
139
- ): AsyncIterableIterator<TagDetails> {
140
- for await (const page of this.listNextPagingPage(nextLink, options)) {
141
- yield* page;
142
- }
143
- }
144
-
145
96
  /**
146
97
  * This operation allows deleting a value from the list of predefined values for an existing predefined
147
98
  * tag name. The value being deleted must not be in use as a tag value for the given tag name for any
@@ -153,7 +104,7 @@ export class TagsOperationsImpl implements TagsOperations {
153
104
  deleteValue(
154
105
  tagName: string,
155
106
  tagValue: string,
156
- options?: TagsOperationsDeleteValueOptionalParams
107
+ options?: TagsDeleteValueOptionalParams
157
108
  ): Promise<void> {
158
109
  return this.client.sendOperationRequest(
159
110
  { tagName, tagValue, options },
@@ -171,8 +122,8 @@ export class TagsOperationsImpl implements TagsOperations {
171
122
  createOrUpdateValue(
172
123
  tagName: string,
173
124
  tagValue: string,
174
- options?: TagsOperationsCreateOrUpdateValueOptionalParams
175
- ): Promise<TagsOperationsCreateOrUpdateValueResponse> {
125
+ options?: TagsCreateOrUpdateValueOptionalParams
126
+ ): Promise<TagsCreateOrUpdateValueResponse> {
176
127
  return this.client.sendOperationRequest(
177
128
  { tagName, tagValue, options },
178
129
  createOrUpdateValueOperationSpec
@@ -188,8 +139,8 @@ export class TagsOperationsImpl implements TagsOperations {
188
139
  */
189
140
  createOrUpdate(
190
141
  tagName: string,
191
- options?: TagsOperationsCreateOrUpdateOptionalParams
192
- ): Promise<TagsOperationsCreateOrUpdateResponse> {
142
+ options?: TagsCreateOrUpdateOptionalParams
143
+ ): Promise<TagsCreateOrUpdateResponse> {
193
144
  return this.client.sendOperationRequest(
194
145
  { tagName, options },
195
146
  createOrUpdateOperationSpec
@@ -203,10 +154,7 @@ export class TagsOperationsImpl implements TagsOperations {
203
154
  * @param tagName The name of the tag.
204
155
  * @param options The options parameters.
205
156
  */
206
- delete(
207
- tagName: string,
208
- options?: TagsOperationsDeleteOptionalParams
209
- ): Promise<void> {
157
+ delete(tagName: string, options?: TagsDeleteOptionalParams): Promise<void> {
210
158
  return this.client.sendOperationRequest(
211
159
  { tagName, options },
212
160
  deleteOperationSpec
@@ -220,9 +168,7 @@ export class TagsOperationsImpl implements TagsOperations {
220
168
  * result.
221
169
  * @param options The options parameters.
222
170
  */
223
- private _list(
224
- options?: TagsOperationsListOptionalParams
225
- ): Promise<TagsOperationsListResponse> {
171
+ private _list(options?: TagsListOptionalParams): Promise<TagsListResponse> {
226
172
  return this.client.sendOperationRequest({ options }, listOperationSpec);
227
173
  }
228
174
 
@@ -236,8 +182,8 @@ export class TagsOperationsImpl implements TagsOperations {
236
182
  createOrUpdateAtScope(
237
183
  scope: string,
238
184
  parameters: TagsResource,
239
- options?: TagsOperationsCreateOrUpdateAtScopeOptionalParams
240
- ): Promise<TagsOperationsCreateOrUpdateAtScopeResponse> {
185
+ options?: TagsCreateOrUpdateAtScopeOptionalParams
186
+ ): Promise<TagsCreateOrUpdateAtScopeResponse> {
241
187
  return this.client.sendOperationRequest(
242
188
  { scope, parameters, options },
243
189
  createOrUpdateAtScopeOperationSpec
@@ -257,8 +203,8 @@ export class TagsOperationsImpl implements TagsOperations {
257
203
  updateAtScope(
258
204
  scope: string,
259
205
  parameters: TagsPatchResource,
260
- options?: TagsOperationsUpdateAtScopeOptionalParams
261
- ): Promise<TagsOperationsUpdateAtScopeResponse> {
206
+ options?: TagsUpdateAtScopeOptionalParams
207
+ ): Promise<TagsUpdateAtScopeResponse> {
262
208
  return this.client.sendOperationRequest(
263
209
  { scope, parameters, options },
264
210
  updateAtScopeOperationSpec
@@ -272,8 +218,8 @@ export class TagsOperationsImpl implements TagsOperations {
272
218
  */
273
219
  getAtScope(
274
220
  scope: string,
275
- options?: TagsOperationsGetAtScopeOptionalParams
276
- ): Promise<TagsOperationsGetAtScopeResponse> {
221
+ options?: TagsGetAtScopeOptionalParams
222
+ ): Promise<TagsGetAtScopeResponse> {
277
223
  return this.client.sendOperationRequest(
278
224
  { scope, options },
279
225
  getAtScopeOperationSpec
@@ -287,7 +233,7 @@ export class TagsOperationsImpl implements TagsOperations {
287
233
  */
288
234
  deleteAtScope(
289
235
  scope: string,
290
- options?: TagsOperationsDeleteAtScopeOptionalParams
236
+ options?: TagsDeleteAtScopeOptionalParams
291
237
  ): Promise<void> {
292
238
  return this.client.sendOperationRequest(
293
239
  { scope, options },
@@ -302,28 +248,13 @@ export class TagsOperationsImpl implements TagsOperations {
302
248
  */
303
249
  private _listNext(
304
250
  nextLink: string,
305
- options?: TagsOperationsListNextOptionalParams
306
- ): Promise<TagsOperationsListNextResponse> {
251
+ options?: TagsListNextOptionalParams
252
+ ): Promise<TagsListNextResponse> {
307
253
  return this.client.sendOperationRequest(
308
254
  { nextLink, options },
309
255
  listNextOperationSpec
310
256
  );
311
257
  }
312
-
313
- /**
314
- * ListNextNext
315
- * @param nextLink The nextLink from the previous successful call to the ListNext method.
316
- * @param options The options parameters.
317
- */
318
- private _listNextNext(
319
- nextLink: string,
320
- options?: TagsOperationsListNextNextOptionalParams
321
- ): Promise<TagsOperationsListNextNextResponse> {
322
- return this.client.sendOperationRequest(
323
- { nextLink, options },
324
- listNextNextOperationSpec
325
- );
326
- }
327
258
  }
328
259
  // Operation Specifications
329
260
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
@@ -518,23 +449,3 @@ const listNextOperationSpec: coreClient.OperationSpec = {
518
449
  headerParameters: [Parameters.accept],
519
450
  serializer
520
451
  };
521
- const listNextNextOperationSpec: coreClient.OperationSpec = {
522
- path: "{nextLink}",
523
- httpMethod: "GET",
524
- responses: {
525
- 200: {
526
- bodyMapper: Mappers.TagsListResult
527
- },
528
- default: {
529
- bodyMapper: Mappers.CloudError
530
- }
531
- },
532
- queryParameters: [Parameters.apiVersion],
533
- urlParameters: [
534
- Parameters.$host,
535
- Parameters.nextLink,
536
- Parameters.subscriptionId
537
- ],
538
- headerParameters: [Parameters.accept],
539
- serializer
540
- };
@@ -6,19 +6,13 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import "@azure/core-paging";
10
9
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
10
  import {
12
11
  DeploymentOperation,
13
- DeploymentOperationsListAtScopeNextOptionalParams,
14
12
  DeploymentOperationsListAtScopeOptionalParams,
15
- DeploymentOperationsListAtTenantScopeNextOptionalParams,
16
13
  DeploymentOperationsListAtTenantScopeOptionalParams,
17
- DeploymentOperationsListAtManagementGroupScopeNextOptionalParams,
18
14
  DeploymentOperationsListAtManagementGroupScopeOptionalParams,
19
- DeploymentOperationsListAtSubscriptionScopeNextOptionalParams,
20
15
  DeploymentOperationsListAtSubscriptionScopeOptionalParams,
21
- DeploymentOperationsListNextOptionalParams,
22
16
  DeploymentOperationsListOptionalParams,
23
17
  DeploymentOperationsGetAtScopeOptionalParams,
24
18
  DeploymentOperationsGetAtScopeResponse,
@@ -86,69 +80,6 @@ export interface DeploymentOperations {
86
80
  deploymentName: string,
87
81
  options?: DeploymentOperationsListOptionalParams
88
82
  ): PagedAsyncIterableIterator<DeploymentOperation>;
89
- /**
90
- * ListAtScopeNext
91
- * @param scope The resource scope.
92
- * @param deploymentName The name of the deployment.
93
- * @param nextLink The nextLink from the previous successful call to the ListAtScope method.
94
- * @param options The options parameters.
95
- */
96
- listAtScopeNext(
97
- scope: string,
98
- deploymentName: string,
99
- nextLink: string,
100
- options?: DeploymentOperationsListAtScopeNextOptionalParams
101
- ): PagedAsyncIterableIterator<DeploymentOperation>;
102
- /**
103
- * ListAtTenantScopeNext
104
- * @param deploymentName The name of the deployment.
105
- * @param nextLink The nextLink from the previous successful call to the ListAtTenantScope method.
106
- * @param options The options parameters.
107
- */
108
- listAtTenantScopeNext(
109
- deploymentName: string,
110
- nextLink: string,
111
- options?: DeploymentOperationsListAtTenantScopeNextOptionalParams
112
- ): PagedAsyncIterableIterator<DeploymentOperation>;
113
- /**
114
- * ListAtManagementGroupScopeNext
115
- * @param groupId The management group ID.
116
- * @param deploymentName The name of the deployment.
117
- * @param nextLink The nextLink from the previous successful call to the ListAtManagementGroupScope
118
- * method.
119
- * @param options The options parameters.
120
- */
121
- listAtManagementGroupScopeNext(
122
- groupId: string,
123
- deploymentName: string,
124
- nextLink: string,
125
- options?: DeploymentOperationsListAtManagementGroupScopeNextOptionalParams
126
- ): PagedAsyncIterableIterator<DeploymentOperation>;
127
- /**
128
- * ListAtSubscriptionScopeNext
129
- * @param deploymentName The name of the deployment.
130
- * @param nextLink The nextLink from the previous successful call to the ListAtSubscriptionScope
131
- * method.
132
- * @param options The options parameters.
133
- */
134
- listAtSubscriptionScopeNext(
135
- deploymentName: string,
136
- nextLink: string,
137
- options?: DeploymentOperationsListAtSubscriptionScopeNextOptionalParams
138
- ): PagedAsyncIterableIterator<DeploymentOperation>;
139
- /**
140
- * ListNext
141
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
142
- * @param deploymentName The name of the deployment.
143
- * @param nextLink The nextLink from the previous successful call to the List method.
144
- * @param options The options parameters.
145
- */
146
- listNext(
147
- resourceGroupName: string,
148
- deploymentName: string,
149
- nextLink: string,
150
- options?: DeploymentOperationsListNextOptionalParams
151
- ): PagedAsyncIterableIterator<DeploymentOperation>;
152
83
  /**
153
84
  * Gets a deployments operation.
154
85
  * @param scope The resource scope.
@@ -6,20 +6,14 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import "@azure/core-paging";
10
9
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
10
  import { PollerLike, PollOperationState } from "@azure/core-lro";
12
11
  import {
13
12
  DeploymentExtended,
14
- DeploymentsListAtScopeNextOptionalParams,
15
13
  DeploymentsListAtScopeOptionalParams,
16
- DeploymentsListAtTenantScopeNextOptionalParams,
17
14
  DeploymentsListAtTenantScopeOptionalParams,
18
- DeploymentsListAtManagementGroupScopeNextOptionalParams,
19
15
  DeploymentsListAtManagementGroupScopeOptionalParams,
20
- DeploymentsListAtSubscriptionScopeNextOptionalParams,
21
16
  DeploymentsListAtSubscriptionScopeOptionalParams,
22
- DeploymentsListByResourceGroupNextOptionalParams,
23
17
  DeploymentsListByResourceGroupOptionalParams,
24
18
  DeploymentsDeleteAtScopeOptionalParams,
25
19
  DeploymentsCheckExistenceAtScopeOptionalParams,
@@ -142,60 +136,6 @@ export interface Deployments {
142
136
  resourceGroupName: string,
143
137
  options?: DeploymentsListByResourceGroupOptionalParams
144
138
  ): PagedAsyncIterableIterator<DeploymentExtended>;
145
- /**
146
- * ListAtScopeNext
147
- * @param scope The resource scope.
148
- * @param nextLink The nextLink from the previous successful call to the ListAtScope method.
149
- * @param options The options parameters.
150
- */
151
- listAtScopeNext(
152
- scope: string,
153
- nextLink: string,
154
- options?: DeploymentsListAtScopeNextOptionalParams
155
- ): PagedAsyncIterableIterator<DeploymentExtended>;
156
- /**
157
- * ListAtTenantScopeNext
158
- * @param nextLink The nextLink from the previous successful call to the ListAtTenantScope method.
159
- * @param options The options parameters.
160
- */
161
- listAtTenantScopeNext(
162
- nextLink: string,
163
- options?: DeploymentsListAtTenantScopeNextOptionalParams
164
- ): PagedAsyncIterableIterator<DeploymentExtended>;
165
- /**
166
- * ListAtManagementGroupScopeNext
167
- * @param groupId The management group ID.
168
- * @param nextLink The nextLink from the previous successful call to the ListAtManagementGroupScope
169
- * method.
170
- * @param options The options parameters.
171
- */
172
- listAtManagementGroupScopeNext(
173
- groupId: string,
174
- nextLink: string,
175
- options?: DeploymentsListAtManagementGroupScopeNextOptionalParams
176
- ): PagedAsyncIterableIterator<DeploymentExtended>;
177
- /**
178
- * ListAtSubscriptionScopeNext
179
- * @param nextLink The nextLink from the previous successful call to the ListAtSubscriptionScope
180
- * method.
181
- * @param options The options parameters.
182
- */
183
- listAtSubscriptionScopeNext(
184
- nextLink: string,
185
- options?: DeploymentsListAtSubscriptionScopeNextOptionalParams
186
- ): PagedAsyncIterableIterator<DeploymentExtended>;
187
- /**
188
- * ListByResourceGroupNext
189
- * @param resourceGroupName The name of the resource group with the deployments to get. The name is
190
- * case insensitive.
191
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
192
- * @param options The options parameters.
193
- */
194
- listByResourceGroupNext(
195
- resourceGroupName: string,
196
- nextLink: string,
197
- options?: DeploymentsListByResourceGroupNextOptionalParams
198
- ): PagedAsyncIterableIterator<DeploymentExtended>;
199
139
  /**
200
140
  * A template deployment that is currently running cannot be deleted. Deleting a template deployment
201
141
  * removes the associated deployment operations. This is an asynchronous operation that returns a
@@ -6,13 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import "@azure/core-paging";
10
9
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
- import {
12
- Operation,
13
- OperationsListNextOptionalParams,
14
- OperationsListOptionalParams
15
- } from "../models";
10
+ import { Operation, OperationsListOptionalParams } from "../models";
16
11
 
17
12
  /// <reference lib="esnext.asynciterable" />
18
13
  /** Interface representing a Operations. */
@@ -24,13 +19,4 @@ export interface Operations {
24
19
  list(
25
20
  options?: OperationsListOptionalParams
26
21
  ): PagedAsyncIterableIterator<Operation>;
27
- /**
28
- * ListNext
29
- * @param nextLink The nextLink from the previous successful call to the List method.
30
- * @param options The options parameters.
31
- */
32
- listNext(
33
- nextLink: string,
34
- options?: OperationsListNextOptionalParams
35
- ): PagedAsyncIterableIterator<Operation>;
36
22
  }
@@ -6,13 +6,10 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import "@azure/core-paging";
10
9
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
10
  import {
12
11
  Provider,
13
- ProvidersListNextOptionalParams,
14
12
  ProvidersListOptionalParams,
15
- ProvidersListAtTenantScopeNextOptionalParams,
16
13
  ProvidersListAtTenantScopeOptionalParams,
17
14
  ProvidersUnregisterOptionalParams,
18
15
  ProvidersUnregisterResponse,
@@ -44,24 +41,6 @@ export interface Providers {
44
41
  listAtTenantScope(
45
42
  options?: ProvidersListAtTenantScopeOptionalParams
46
43
  ): PagedAsyncIterableIterator<Provider>;
47
- /**
48
- * ListNext
49
- * @param nextLink The nextLink from the previous successful call to the List method.
50
- * @param options The options parameters.
51
- */
52
- listNext(
53
- nextLink: string,
54
- options?: ProvidersListNextOptionalParams
55
- ): PagedAsyncIterableIterator<Provider>;
56
- /**
57
- * ListAtTenantScopeNext
58
- * @param nextLink The nextLink from the previous successful call to the ListAtTenantScope method.
59
- * @param options The options parameters.
60
- */
61
- listAtTenantScopeNext(
62
- nextLink: string,
63
- options?: ProvidersListAtTenantScopeNextOptionalParams
64
- ): PagedAsyncIterableIterator<Provider>;
65
44
  /**
66
45
  * Unregisters a subscription from a resource provider.
67
46
  * @param resourceProviderNamespace The namespace of the resource provider to unregister.
@@ -6,12 +6,10 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import "@azure/core-paging";
10
9
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
10
  import { PollerLike, PollOperationState } from "@azure/core-lro";
12
11
  import {
13
12
  ResourceGroup,
14
- ResourceGroupsListNextOptionalParams,
15
13
  ResourceGroupsListOptionalParams,
16
14
  ResourceGroupsCheckExistenceOptionalParams,
17
15
  ResourceGroupsCheckExistenceResponse,
@@ -38,15 +36,6 @@ export interface ResourceGroups {
38
36
  list(
39
37
  options?: ResourceGroupsListOptionalParams
40
38
  ): PagedAsyncIterableIterator<ResourceGroup>;
41
- /**
42
- * ListNext
43
- * @param nextLink The nextLink from the previous successful call to the List method.
44
- * @param options The options parameters.
45
- */
46
- listNext(
47
- nextLink: string,
48
- options?: ResourceGroupsListNextOptionalParams
49
- ): PagedAsyncIterableIterator<ResourceGroup>;
50
39
  /**
51
40
  * Checks whether a resource group exists.
52
41
  * @param resourceGroupName The name of the resource group to check. The name is case insensitive.
@@ -6,14 +6,11 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import "@azure/core-paging";
10
9
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
10
  import { PollerLike, PollOperationState } from "@azure/core-lro";
12
11
  import {
13
12
  GenericResourceExpanded,
14
- ResourcesListByResourceGroupNextOptionalParams,
15
13
  ResourcesListByResourceGroupOptionalParams,
16
- ResourcesListNextOptionalParams,
17
14
  ResourcesListOptionalParams,
18
15
  ResourcesMoveInfo,
19
16
  ResourcesMoveResourcesOptionalParams,
@@ -58,26 +55,6 @@ export interface Resources {
58
55
  list(
59
56
  options?: ResourcesListOptionalParams
60
57
  ): PagedAsyncIterableIterator<GenericResourceExpanded>;
61
- /**
62
- * ListByResourceGroupNext
63
- * @param resourceGroupName The resource group with the resources to get.
64
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
65
- * @param options The options parameters.
66
- */
67
- listByResourceGroupNext(
68
- resourceGroupName: string,
69
- nextLink: string,
70
- options?: ResourcesListByResourceGroupNextOptionalParams
71
- ): PagedAsyncIterableIterator<GenericResourceExpanded>;
72
- /**
73
- * ListNext
74
- * @param nextLink The nextLink from the previous successful call to the List method.
75
- * @param options The options parameters.
76
- */
77
- listNext(
78
- nextLink: string,
79
- options?: ResourcesListNextOptionalParams
80
- ): PagedAsyncIterableIterator<GenericResourceExpanded>;
81
58
  /**
82
59
  * The resources to be moved must be in the same source resource group in the source subscription being
83
60
  * used. The target resource group may be in a different subscription. When moving resources, both the