@azure/arm-deviceupdate 1.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +3665 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/accountsCreateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/accountsCreateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/accountsCreateSample.js +32 -0
  11. package/dist-esm/samples-dev/accountsCreateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/accountsDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/accountsDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/accountsDeleteSample.js +31 -0
  15. package/dist-esm/samples-dev/accountsDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/accountsGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/accountsGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/accountsGetSample.js +31 -0
  19. package/dist-esm/samples-dev/accountsGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/accountsHeadSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/accountsHeadSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/accountsHeadSample.js +31 -0
  23. package/dist-esm/samples-dev/accountsHeadSample.js.map +1 -0
  24. package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js +44 -0
  27. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +1 -0
  28. package/dist-esm/samples-dev/accountsListBySubscriptionSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/accountsListBySubscriptionSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/accountsListBySubscriptionSample.js +43 -0
  31. package/dist-esm/samples-dev/accountsListBySubscriptionSample.js.map +1 -0
  32. package/dist-esm/samples-dev/accountsUpdateSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/accountsUpdateSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/accountsUpdateSample.js +32 -0
  35. package/dist-esm/samples-dev/accountsUpdateSample.js.map +1 -0
  36. package/dist-esm/samples-dev/checkNameAvailabilitySample.d.ts +2 -0
  37. package/dist-esm/samples-dev/checkNameAvailabilitySample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/checkNameAvailabilitySample.js +53 -0
  39. package/dist-esm/samples-dev/checkNameAvailabilitySample.js.map +1 -0
  40. package/dist-esm/samples-dev/instancesCreateSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/instancesCreateSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/instancesCreateSample.js +46 -0
  43. package/dist-esm/samples-dev/instancesCreateSample.js.map +1 -0
  44. package/dist-esm/samples-dev/instancesDeleteSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/instancesDeleteSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/instancesDeleteSample.js +32 -0
  47. package/dist-esm/samples-dev/instancesDeleteSample.js.map +1 -0
  48. package/dist-esm/samples-dev/instancesGetSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/instancesGetSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/instancesGetSample.js +32 -0
  51. package/dist-esm/samples-dev/instancesGetSample.js.map +1 -0
  52. package/dist-esm/samples-dev/instancesHeadSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/instancesHeadSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/instancesHeadSample.js +32 -0
  55. package/dist-esm/samples-dev/instancesHeadSample.js.map +1 -0
  56. package/dist-esm/samples-dev/instancesListByAccountSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/instancesListByAccountSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/instancesListByAccountSample.js +45 -0
  59. package/dist-esm/samples-dev/instancesListByAccountSample.js.map +1 -0
  60. package/dist-esm/samples-dev/instancesUpdateSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/instancesUpdateSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/instancesUpdateSample.js +33 -0
  63. package/dist-esm/samples-dev/instancesUpdateSample.js.map +1 -0
  64. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/operationsListSample.js +43 -0
  67. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  68. package/dist-esm/samples-dev/privateEndpointConnectionProxiesCreateOrUpdateSample.d.ts +2 -0
  69. package/dist-esm/samples-dev/privateEndpointConnectionProxiesCreateOrUpdateSample.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/privateEndpointConnectionProxiesCreateOrUpdateSample.js +53 -0
  71. package/dist-esm/samples-dev/privateEndpointConnectionProxiesCreateOrUpdateSample.js.map +1 -0
  72. package/dist-esm/samples-dev/privateEndpointConnectionProxiesDeleteSample.d.ts +2 -0
  73. package/dist-esm/samples-dev/privateEndpointConnectionProxiesDeleteSample.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/privateEndpointConnectionProxiesDeleteSample.js +32 -0
  75. package/dist-esm/samples-dev/privateEndpointConnectionProxiesDeleteSample.js.map +1 -0
  76. package/dist-esm/samples-dev/privateEndpointConnectionProxiesGetSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/privateEndpointConnectionProxiesGetSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/privateEndpointConnectionProxiesGetSample.js +32 -0
  79. package/dist-esm/samples-dev/privateEndpointConnectionProxiesGetSample.js.map +1 -0
  80. package/dist-esm/samples-dev/privateEndpointConnectionProxiesListByAccountSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/privateEndpointConnectionProxiesListByAccountSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/privateEndpointConnectionProxiesListByAccountSample.js +45 -0
  83. package/dist-esm/samples-dev/privateEndpointConnectionProxiesListByAccountSample.js.map +1 -0
  84. package/dist-esm/samples-dev/privateEndpointConnectionProxiesUpdatePrivateEndpointPropertiesSample.d.ts +2 -0
  85. package/dist-esm/samples-dev/privateEndpointConnectionProxiesUpdatePrivateEndpointPropertiesSample.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/privateEndpointConnectionProxiesUpdatePrivateEndpointPropertiesSample.js +39 -0
  87. package/dist-esm/samples-dev/privateEndpointConnectionProxiesUpdatePrivateEndpointPropertiesSample.js.map +1 -0
  88. package/dist-esm/samples-dev/privateEndpointConnectionProxiesValidateSample.d.ts +2 -0
  89. package/dist-esm/samples-dev/privateEndpointConnectionProxiesValidateSample.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/privateEndpointConnectionProxiesValidateSample.js +53 -0
  91. package/dist-esm/samples-dev/privateEndpointConnectionProxiesValidateSample.js.map +1 -0
  92. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts +2 -0
  93. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +38 -0
  95. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -0
  96. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +2 -0
  97. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +32 -0
  99. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -0
  100. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
  101. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +32 -0
  103. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
  104. package/dist-esm/samples-dev/privateEndpointConnectionsListByAccountSample.d.ts +2 -0
  105. package/dist-esm/samples-dev/privateEndpointConnectionsListByAccountSample.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/privateEndpointConnectionsListByAccountSample.js +45 -0
  107. package/dist-esm/samples-dev/privateEndpointConnectionsListByAccountSample.js.map +1 -0
  108. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts +2 -0
  109. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +32 -0
  111. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -0
  112. package/dist-esm/samples-dev/privateLinkResourcesListByAccountSample.d.ts +2 -0
  113. package/dist-esm/samples-dev/privateLinkResourcesListByAccountSample.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/privateLinkResourcesListByAccountSample.js +45 -0
  115. package/dist-esm/samples-dev/privateLinkResourcesListByAccountSample.js.map +1 -0
  116. package/dist-esm/src/deviceUpdate.d.ts +31 -0
  117. package/dist-esm/src/deviceUpdate.d.ts.map +1 -0
  118. package/dist-esm/src/deviceUpdate.js +133 -0
  119. package/dist-esm/src/deviceUpdate.js.map +1 -0
  120. package/dist-esm/src/index.d.ts +5 -0
  121. package/dist-esm/src/index.d.ts.map +1 -0
  122. package/dist-esm/src/index.js +12 -0
  123. package/dist-esm/src/index.js.map +1 -0
  124. package/dist-esm/src/lroImpl.d.ts +16 -0
  125. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  126. package/dist-esm/src/lroImpl.js +29 -0
  127. package/dist-esm/src/lroImpl.js.map +1 -0
  128. package/dist-esm/src/models/index.d.ts +941 -0
  129. package/dist-esm/src/models/index.d.ts.map +1 -0
  130. package/dist-esm/src/models/index.js +105 -0
  131. package/dist-esm/src/models/index.js.map +1 -0
  132. package/dist-esm/src/models/mappers.d.ts +44 -0
  133. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  134. package/dist-esm/src/models/mappers.js +1266 -0
  135. package/dist-esm/src/models/mappers.js.map +1 -0
  136. package/dist-esm/src/models/parameters.d.ts +22 -0
  137. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  138. package/dist-esm/src/models/parameters.js +176 -0
  139. package/dist-esm/src/models/parameters.js.map +1 -0
  140. package/dist-esm/src/operations/accounts.d.ts +114 -0
  141. package/dist-esm/src/operations/accounts.d.ts.map +1 -0
  142. package/dist-esm/src/operations/accounts.js +537 -0
  143. package/dist-esm/src/operations/accounts.js.map +1 -0
  144. package/dist-esm/src/operations/index.d.ts +7 -0
  145. package/dist-esm/src/operations/index.d.ts.map +1 -0
  146. package/dist-esm/src/operations/index.js +14 -0
  147. package/dist-esm/src/operations/index.js.map +1 -0
  148. package/dist-esm/src/operations/instances.d.ts +98 -0
  149. package/dist-esm/src/operations/instances.d.ts.map +1 -0
  150. package/dist-esm/src/operations/instances.js +408 -0
  151. package/dist-esm/src/operations/instances.js.map +1 -0
  152. package/dist-esm/src/operations/operations.d.ts +32 -0
  153. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  154. package/dist-esm/src/operations/operations.js +120 -0
  155. package/dist-esm/src/operations/operations.js.map +1 -0
  156. package/dist-esm/src/operations/privateEndpointConnectionProxies.d.ts +100 -0
  157. package/dist-esm/src/operations/privateEndpointConnectionProxies.d.ts.map +1 -0
  158. package/dist-esm/src/operations/privateEndpointConnectionProxies.js +402 -0
  159. package/dist-esm/src/operations/privateEndpointConnectionProxies.js.map +1 -0
  160. package/dist-esm/src/operations/privateEndpointConnections.d.ts +78 -0
  161. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  162. package/dist-esm/src/operations/privateEndpointConnections.js +320 -0
  163. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  164. package/dist-esm/src/operations/privateLinkResources.d.ts +38 -0
  165. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  166. package/dist-esm/src/operations/privateLinkResources.js +131 -0
  167. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  168. package/dist-esm/src/operationsInterfaces/accounts.d.ts +78 -0
  169. package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
  170. package/dist-esm/src/operationsInterfaces/accounts.js +9 -0
  171. package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
  172. package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
  173. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  174. package/dist-esm/src/operationsInterfaces/index.js +14 -0
  175. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  176. package/dist-esm/src/operationsInterfaces/instances.d.ts +73 -0
  177. package/dist-esm/src/operationsInterfaces/instances.d.ts.map +1 -0
  178. package/dist-esm/src/operationsInterfaces/instances.js +9 -0
  179. package/dist-esm/src/operationsInterfaces/instances.js.map +1 -0
  180. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  181. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  182. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  183. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  184. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionProxies.d.ts +83 -0
  185. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionProxies.d.ts.map +1 -0
  186. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionProxies.js +9 -0
  187. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionProxies.js.map +1 -0
  188. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +61 -0
  189. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  190. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  191. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  192. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
  193. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  194. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  195. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  196. package/dist-esm/test/sampleTest.d.ts +2 -0
  197. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  198. package/dist-esm/test/sampleTest.js +38 -0
  199. package/dist-esm/test/sampleTest.js.map +1 -0
  200. package/package.json +122 -0
  201. package/review/arm-deviceupdate.api.md +805 -0
  202. package/rollup.config.js +122 -0
  203. package/src/deviceUpdate.ts +204 -0
  204. package/src/index.ts +12 -0
  205. package/src/lroImpl.ts +34 -0
  206. package/src/models/index.ts +1080 -0
  207. package/src/models/mappers.ts +1356 -0
  208. package/src/models/parameters.ts +210 -0
  209. package/src/operations/accounts.ts +722 -0
  210. package/src/operations/index.ts +14 -0
  211. package/src/operations/instances.ts +579 -0
  212. package/src/operations/operations.ts +137 -0
  213. package/src/operations/privateEndpointConnectionProxies.ts +559 -0
  214. package/src/operations/privateEndpointConnections.ts +450 -0
  215. package/src/operations/privateLinkResources.ts +179 -0
  216. package/src/operationsInterfaces/accounts.ts +152 -0
  217. package/src/operationsInterfaces/index.ts +14 -0
  218. package/src/operationsInterfaces/instances.ts +142 -0
  219. package/src/operationsInterfaces/operations.ts +22 -0
  220. package/src/operationsInterfaces/privateEndpointConnectionProxies.ts +153 -0
  221. package/src/operationsInterfaces/privateEndpointConnections.ts +114 -0
  222. package/src/operationsInterfaces/privateLinkResources.ts +44 -0
  223. package/tsconfig.json +33 -0
  224. package/types/arm-deviceupdate.d.ts +1412 -0
  225. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,152 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ Account,
13
+ AccountsListBySubscriptionOptionalParams,
14
+ AccountsListByResourceGroupOptionalParams,
15
+ AccountsGetOptionalParams,
16
+ AccountsGetResponse,
17
+ AccountsHeadOptionalParams,
18
+ AccountsHeadResponse,
19
+ AccountsCreateOptionalParams,
20
+ AccountsCreateResponse,
21
+ AccountsDeleteOptionalParams,
22
+ AccountUpdate,
23
+ AccountsUpdateOptionalParams,
24
+ AccountsUpdateResponse
25
+ } from "../models";
26
+
27
+ /// <reference lib="esnext.asynciterable" />
28
+ /** Interface representing a Accounts. */
29
+ export interface Accounts {
30
+ /**
31
+ * Returns list of Accounts.
32
+ * @param options The options parameters.
33
+ */
34
+ listBySubscription(
35
+ options?: AccountsListBySubscriptionOptionalParams
36
+ ): PagedAsyncIterableIterator<Account>;
37
+ /**
38
+ * Returns list of Accounts.
39
+ * @param resourceGroupName The resource group name.
40
+ * @param options The options parameters.
41
+ */
42
+ listByResourceGroup(
43
+ resourceGroupName: string,
44
+ options?: AccountsListByResourceGroupOptionalParams
45
+ ): PagedAsyncIterableIterator<Account>;
46
+ /**
47
+ * Returns account details for the given account name.
48
+ * @param resourceGroupName The resource group name.
49
+ * @param accountName Account name.
50
+ * @param options The options parameters.
51
+ */
52
+ get(
53
+ resourceGroupName: string,
54
+ accountName: string,
55
+ options?: AccountsGetOptionalParams
56
+ ): Promise<AccountsGetResponse>;
57
+ /**
58
+ * Checks whether account exists.
59
+ * @param resourceGroupName The resource group name.
60
+ * @param accountName Account name.
61
+ * @param options The options parameters.
62
+ */
63
+ head(
64
+ resourceGroupName: string,
65
+ accountName: string,
66
+ options?: AccountsHeadOptionalParams
67
+ ): Promise<AccountsHeadResponse>;
68
+ /**
69
+ * Creates or updates Account.
70
+ * @param resourceGroupName The resource group name.
71
+ * @param accountName Account name.
72
+ * @param account Account details.
73
+ * @param options The options parameters.
74
+ */
75
+ beginCreate(
76
+ resourceGroupName: string,
77
+ accountName: string,
78
+ account: Account,
79
+ options?: AccountsCreateOptionalParams
80
+ ): Promise<
81
+ PollerLike<
82
+ PollOperationState<AccountsCreateResponse>,
83
+ AccountsCreateResponse
84
+ >
85
+ >;
86
+ /**
87
+ * Creates or updates Account.
88
+ * @param resourceGroupName The resource group name.
89
+ * @param accountName Account name.
90
+ * @param account Account details.
91
+ * @param options The options parameters.
92
+ */
93
+ beginCreateAndWait(
94
+ resourceGroupName: string,
95
+ accountName: string,
96
+ account: Account,
97
+ options?: AccountsCreateOptionalParams
98
+ ): Promise<AccountsCreateResponse>;
99
+ /**
100
+ * Deletes account.
101
+ * @param resourceGroupName The resource group name.
102
+ * @param accountName Account name.
103
+ * @param options The options parameters.
104
+ */
105
+ beginDelete(
106
+ resourceGroupName: string,
107
+ accountName: string,
108
+ options?: AccountsDeleteOptionalParams
109
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
110
+ /**
111
+ * Deletes account.
112
+ * @param resourceGroupName The resource group name.
113
+ * @param accountName Account name.
114
+ * @param options The options parameters.
115
+ */
116
+ beginDeleteAndWait(
117
+ resourceGroupName: string,
118
+ accountName: string,
119
+ options?: AccountsDeleteOptionalParams
120
+ ): Promise<void>;
121
+ /**
122
+ * Updates account's patchable properties
123
+ * @param resourceGroupName The resource group name.
124
+ * @param accountName Account name.
125
+ * @param accountUpdatePayload Updated Account.
126
+ * @param options The options parameters.
127
+ */
128
+ beginUpdate(
129
+ resourceGroupName: string,
130
+ accountName: string,
131
+ accountUpdatePayload: AccountUpdate,
132
+ options?: AccountsUpdateOptionalParams
133
+ ): Promise<
134
+ PollerLike<
135
+ PollOperationState<AccountsUpdateResponse>,
136
+ AccountsUpdateResponse
137
+ >
138
+ >;
139
+ /**
140
+ * Updates account's patchable properties
141
+ * @param resourceGroupName The resource group name.
142
+ * @param accountName Account name.
143
+ * @param accountUpdatePayload Updated Account.
144
+ * @param options The options parameters.
145
+ */
146
+ beginUpdateAndWait(
147
+ resourceGroupName: string,
148
+ accountName: string,
149
+ accountUpdatePayload: AccountUpdate,
150
+ options?: AccountsUpdateOptionalParams
151
+ ): Promise<AccountsUpdateResponse>;
152
+ }
@@ -0,0 +1,14 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ export * from "./accounts";
10
+ export * from "./instances";
11
+ export * from "./privateEndpointConnections";
12
+ export * from "./privateLinkResources";
13
+ export * from "./privateEndpointConnectionProxies";
14
+ export * from "./operations";
@@ -0,0 +1,142 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ Instance,
13
+ InstancesListByAccountOptionalParams,
14
+ InstancesGetOptionalParams,
15
+ InstancesGetResponse,
16
+ InstancesHeadOptionalParams,
17
+ InstancesHeadResponse,
18
+ InstancesCreateOptionalParams,
19
+ InstancesCreateResponse,
20
+ InstancesDeleteOptionalParams,
21
+ TagUpdate,
22
+ InstancesUpdateOptionalParams,
23
+ InstancesUpdateResponse
24
+ } from "../models";
25
+
26
+ /// <reference lib="esnext.asynciterable" />
27
+ /** Interface representing a Instances. */
28
+ export interface Instances {
29
+ /**
30
+ * Returns instances for the given account name.
31
+ * @param resourceGroupName The resource group name.
32
+ * @param accountName Account name.
33
+ * @param options The options parameters.
34
+ */
35
+ listByAccount(
36
+ resourceGroupName: string,
37
+ accountName: string,
38
+ options?: InstancesListByAccountOptionalParams
39
+ ): PagedAsyncIterableIterator<Instance>;
40
+ /**
41
+ * Returns instance details for the given instance and account name.
42
+ * @param resourceGroupName The resource group name.
43
+ * @param accountName Account name.
44
+ * @param instanceName Instance name.
45
+ * @param options The options parameters.
46
+ */
47
+ get(
48
+ resourceGroupName: string,
49
+ accountName: string,
50
+ instanceName: string,
51
+ options?: InstancesGetOptionalParams
52
+ ): Promise<InstancesGetResponse>;
53
+ /**
54
+ * Checks whether instance exists.
55
+ * @param resourceGroupName The resource group name.
56
+ * @param accountName Account name.
57
+ * @param instanceName Instance name.
58
+ * @param options The options parameters.
59
+ */
60
+ head(
61
+ resourceGroupName: string,
62
+ accountName: string,
63
+ instanceName: string,
64
+ options?: InstancesHeadOptionalParams
65
+ ): Promise<InstancesHeadResponse>;
66
+ /**
67
+ * Creates or updates instance.
68
+ * @param resourceGroupName The resource group name.
69
+ * @param accountName Account name.
70
+ * @param instanceName Instance name.
71
+ * @param instance Instance details.
72
+ * @param options The options parameters.
73
+ */
74
+ beginCreate(
75
+ resourceGroupName: string,
76
+ accountName: string,
77
+ instanceName: string,
78
+ instance: Instance,
79
+ options?: InstancesCreateOptionalParams
80
+ ): Promise<
81
+ PollerLike<
82
+ PollOperationState<InstancesCreateResponse>,
83
+ InstancesCreateResponse
84
+ >
85
+ >;
86
+ /**
87
+ * Creates or updates instance.
88
+ * @param resourceGroupName The resource group name.
89
+ * @param accountName Account name.
90
+ * @param instanceName Instance name.
91
+ * @param instance Instance details.
92
+ * @param options The options parameters.
93
+ */
94
+ beginCreateAndWait(
95
+ resourceGroupName: string,
96
+ accountName: string,
97
+ instanceName: string,
98
+ instance: Instance,
99
+ options?: InstancesCreateOptionalParams
100
+ ): Promise<InstancesCreateResponse>;
101
+ /**
102
+ * Deletes instance.
103
+ * @param resourceGroupName The resource group name.
104
+ * @param accountName Account name.
105
+ * @param instanceName Instance name.
106
+ * @param options The options parameters.
107
+ */
108
+ beginDelete(
109
+ resourceGroupName: string,
110
+ accountName: string,
111
+ instanceName: string,
112
+ options?: InstancesDeleteOptionalParams
113
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
114
+ /**
115
+ * Deletes instance.
116
+ * @param resourceGroupName The resource group name.
117
+ * @param accountName Account name.
118
+ * @param instanceName Instance name.
119
+ * @param options The options parameters.
120
+ */
121
+ beginDeleteAndWait(
122
+ resourceGroupName: string,
123
+ accountName: string,
124
+ instanceName: string,
125
+ options?: InstancesDeleteOptionalParams
126
+ ): Promise<void>;
127
+ /**
128
+ * Updates instance's tags.
129
+ * @param resourceGroupName The resource group name.
130
+ * @param accountName Account name.
131
+ * @param instanceName Instance name.
132
+ * @param tagUpdatePayload Updated tags.
133
+ * @param options The options parameters.
134
+ */
135
+ update(
136
+ resourceGroupName: string,
137
+ accountName: string,
138
+ instanceName: string,
139
+ tagUpdatePayload: TagUpdate,
140
+ options?: InstancesUpdateOptionalParams
141
+ ): Promise<InstancesUpdateResponse>;
142
+ }
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { Operation, OperationsListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a Operations. */
14
+ export interface Operations {
15
+ /**
16
+ * Returns list of operations for Microsoft.DeviceUpdate resource provider.
17
+ * @param options The options parameters.
18
+ */
19
+ list(
20
+ options?: OperationsListOptionalParams
21
+ ): PagedAsyncIterableIterator<Operation>;
22
+ }
@@ -0,0 +1,153 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ PrivateEndpointConnectionProxy,
13
+ PrivateEndpointConnectionProxiesListByAccountOptionalParams,
14
+ PrivateEndpointConnectionProxiesValidateOptionalParams,
15
+ PrivateEndpointUpdate,
16
+ PrivateEndpointConnectionProxiesUpdatePrivateEndpointPropertiesOptionalParams,
17
+ PrivateEndpointConnectionProxiesGetOptionalParams,
18
+ PrivateEndpointConnectionProxiesGetResponse,
19
+ PrivateEndpointConnectionProxiesCreateOrUpdateOptionalParams,
20
+ PrivateEndpointConnectionProxiesCreateOrUpdateResponse,
21
+ PrivateEndpointConnectionProxiesDeleteOptionalParams
22
+ } from "../models";
23
+
24
+ /// <reference lib="esnext.asynciterable" />
25
+ /** Interface representing a PrivateEndpointConnectionProxies. */
26
+ export interface PrivateEndpointConnectionProxies {
27
+ /**
28
+ * (INTERNAL - DO NOT USE) List all private endpoint connection proxies in a device update account.
29
+ * @param resourceGroupName The resource group name.
30
+ * @param accountName Account name.
31
+ * @param options The options parameters.
32
+ */
33
+ listByAccount(
34
+ resourceGroupName: string,
35
+ accountName: string,
36
+ options?: PrivateEndpointConnectionProxiesListByAccountOptionalParams
37
+ ): PagedAsyncIterableIterator<PrivateEndpointConnectionProxy>;
38
+ /**
39
+ * (INTERNAL - DO NOT USE) Validates a private endpoint connection proxy object.
40
+ * @param resourceGroupName The resource group name.
41
+ * @param accountName Account name.
42
+ * @param privateEndpointConnectionProxyId The ID of the private endpoint connection proxy object.
43
+ * @param privateEndpointConnectionProxy The parameters for creating a private endpoint connection
44
+ * proxy.
45
+ * @param options The options parameters.
46
+ */
47
+ validate(
48
+ resourceGroupName: string,
49
+ accountName: string,
50
+ privateEndpointConnectionProxyId: string,
51
+ privateEndpointConnectionProxy: PrivateEndpointConnectionProxy,
52
+ options?: PrivateEndpointConnectionProxiesValidateOptionalParams
53
+ ): Promise<void>;
54
+ /**
55
+ * (INTERNAL - DO NOT USE) Updates a private endpoint inside the private endpoint connection proxy
56
+ * object.
57
+ * @param resourceGroupName The resource group name.
58
+ * @param accountName Account name.
59
+ * @param privateEndpointConnectionProxyId The ID of the private endpoint connection proxy object.
60
+ * @param privateEndpointUpdate The parameters for updating a private endpoint connection proxy.
61
+ * @param options The options parameters.
62
+ */
63
+ updatePrivateEndpointProperties(
64
+ resourceGroupName: string,
65
+ accountName: string,
66
+ privateEndpointConnectionProxyId: string,
67
+ privateEndpointUpdate: PrivateEndpointUpdate,
68
+ options?: PrivateEndpointConnectionProxiesUpdatePrivateEndpointPropertiesOptionalParams
69
+ ): Promise<void>;
70
+ /**
71
+ * (INTERNAL - DO NOT USE) Get the specified private endpoint connection proxy associated with the
72
+ * device update account.
73
+ * @param resourceGroupName The resource group name.
74
+ * @param accountName Account name.
75
+ * @param privateEndpointConnectionProxyId The ID of the private endpoint connection proxy object.
76
+ * @param options The options parameters.
77
+ */
78
+ get(
79
+ resourceGroupName: string,
80
+ accountName: string,
81
+ privateEndpointConnectionProxyId: string,
82
+ options?: PrivateEndpointConnectionProxiesGetOptionalParams
83
+ ): Promise<PrivateEndpointConnectionProxiesGetResponse>;
84
+ /**
85
+ * (INTERNAL - DO NOT USE) Creates or updates the specified private endpoint connection proxy resource
86
+ * associated with the device update account.
87
+ * @param resourceGroupName The resource group name.
88
+ * @param accountName Account name.
89
+ * @param privateEndpointConnectionProxyId The ID of the private endpoint connection proxy object.
90
+ * @param privateEndpointConnectionProxy The parameters for creating a private endpoint connection
91
+ * proxy.
92
+ * @param options The options parameters.
93
+ */
94
+ beginCreateOrUpdate(
95
+ resourceGroupName: string,
96
+ accountName: string,
97
+ privateEndpointConnectionProxyId: string,
98
+ privateEndpointConnectionProxy: PrivateEndpointConnectionProxy,
99
+ options?: PrivateEndpointConnectionProxiesCreateOrUpdateOptionalParams
100
+ ): Promise<
101
+ PollerLike<
102
+ PollOperationState<
103
+ PrivateEndpointConnectionProxiesCreateOrUpdateResponse
104
+ >,
105
+ PrivateEndpointConnectionProxiesCreateOrUpdateResponse
106
+ >
107
+ >;
108
+ /**
109
+ * (INTERNAL - DO NOT USE) Creates or updates the specified private endpoint connection proxy resource
110
+ * associated with the device update account.
111
+ * @param resourceGroupName The resource group name.
112
+ * @param accountName Account name.
113
+ * @param privateEndpointConnectionProxyId The ID of the private endpoint connection proxy object.
114
+ * @param privateEndpointConnectionProxy The parameters for creating a private endpoint connection
115
+ * proxy.
116
+ * @param options The options parameters.
117
+ */
118
+ beginCreateOrUpdateAndWait(
119
+ resourceGroupName: string,
120
+ accountName: string,
121
+ privateEndpointConnectionProxyId: string,
122
+ privateEndpointConnectionProxy: PrivateEndpointConnectionProxy,
123
+ options?: PrivateEndpointConnectionProxiesCreateOrUpdateOptionalParams
124
+ ): Promise<PrivateEndpointConnectionProxiesCreateOrUpdateResponse>;
125
+ /**
126
+ * (INTERNAL - DO NOT USE) Deletes the specified private endpoint connection proxy associated with the
127
+ * device update account.
128
+ * @param resourceGroupName The resource group name.
129
+ * @param accountName Account name.
130
+ * @param privateEndpointConnectionProxyId The ID of the private endpoint connection proxy object.
131
+ * @param options The options parameters.
132
+ */
133
+ beginDelete(
134
+ resourceGroupName: string,
135
+ accountName: string,
136
+ privateEndpointConnectionProxyId: string,
137
+ options?: PrivateEndpointConnectionProxiesDeleteOptionalParams
138
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
139
+ /**
140
+ * (INTERNAL - DO NOT USE) Deletes the specified private endpoint connection proxy associated with the
141
+ * device update account.
142
+ * @param resourceGroupName The resource group name.
143
+ * @param accountName Account name.
144
+ * @param privateEndpointConnectionProxyId The ID of the private endpoint connection proxy object.
145
+ * @param options The options parameters.
146
+ */
147
+ beginDeleteAndWait(
148
+ resourceGroupName: string,
149
+ accountName: string,
150
+ privateEndpointConnectionProxyId: string,
151
+ options?: PrivateEndpointConnectionProxiesDeleteOptionalParams
152
+ ): Promise<void>;
153
+ }
@@ -0,0 +1,114 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ PrivateEndpointConnection,
13
+ PrivateEndpointConnectionsListByAccountOptionalParams,
14
+ PrivateEndpointConnectionsGetOptionalParams,
15
+ PrivateEndpointConnectionsGetResponse,
16
+ PrivateEndpointConnectionsCreateOrUpdateOptionalParams,
17
+ PrivateEndpointConnectionsCreateOrUpdateResponse,
18
+ PrivateEndpointConnectionsDeleteOptionalParams
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a PrivateEndpointConnections. */
23
+ export interface PrivateEndpointConnections {
24
+ /**
25
+ * List all private endpoint connections in a device update account.
26
+ * @param resourceGroupName The resource group name.
27
+ * @param accountName Account name.
28
+ * @param options The options parameters.
29
+ */
30
+ listByAccount(
31
+ resourceGroupName: string,
32
+ accountName: string,
33
+ options?: PrivateEndpointConnectionsListByAccountOptionalParams
34
+ ): PagedAsyncIterableIterator<PrivateEndpointConnection>;
35
+ /**
36
+ * Get the specified private endpoint connection associated with the device update account.
37
+ * @param resourceGroupName The resource group name.
38
+ * @param accountName Account name.
39
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
40
+ * Azure resource
41
+ * @param options The options parameters.
42
+ */
43
+ get(
44
+ resourceGroupName: string,
45
+ accountName: string,
46
+ privateEndpointConnectionName: string,
47
+ options?: PrivateEndpointConnectionsGetOptionalParams
48
+ ): Promise<PrivateEndpointConnectionsGetResponse>;
49
+ /**
50
+ * Update the state of specified private endpoint connection associated with the device update account.
51
+ * @param resourceGroupName The resource group name.
52
+ * @param accountName Account name.
53
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
54
+ * Azure resource
55
+ * @param privateEndpointConnection The parameters for creating a private endpoint connection.
56
+ * @param options The options parameters.
57
+ */
58
+ beginCreateOrUpdate(
59
+ resourceGroupName: string,
60
+ accountName: string,
61
+ privateEndpointConnectionName: string,
62
+ privateEndpointConnection: PrivateEndpointConnection,
63
+ options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
64
+ ): Promise<
65
+ PollerLike<
66
+ PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>,
67
+ PrivateEndpointConnectionsCreateOrUpdateResponse
68
+ >
69
+ >;
70
+ /**
71
+ * Update the state of specified private endpoint connection associated with the device update account.
72
+ * @param resourceGroupName The resource group name.
73
+ * @param accountName Account name.
74
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
75
+ * Azure resource
76
+ * @param privateEndpointConnection The parameters for creating a private endpoint connection.
77
+ * @param options The options parameters.
78
+ */
79
+ beginCreateOrUpdateAndWait(
80
+ resourceGroupName: string,
81
+ accountName: string,
82
+ privateEndpointConnectionName: string,
83
+ privateEndpointConnection: PrivateEndpointConnection,
84
+ options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
85
+ ): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
86
+ /**
87
+ * Deletes the specified private endpoint connection associated with the device update account.
88
+ * @param resourceGroupName The resource group name.
89
+ * @param accountName Account name.
90
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
91
+ * Azure resource
92
+ * @param options The options parameters.
93
+ */
94
+ beginDelete(
95
+ resourceGroupName: string,
96
+ accountName: string,
97
+ privateEndpointConnectionName: string,
98
+ options?: PrivateEndpointConnectionsDeleteOptionalParams
99
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
100
+ /**
101
+ * Deletes the specified private endpoint connection associated with the device update account.
102
+ * @param resourceGroupName The resource group name.
103
+ * @param accountName Account name.
104
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
105
+ * Azure resource
106
+ * @param options The options parameters.
107
+ */
108
+ beginDeleteAndWait(
109
+ resourceGroupName: string,
110
+ accountName: string,
111
+ privateEndpointConnectionName: string,
112
+ options?: PrivateEndpointConnectionsDeleteOptionalParams
113
+ ): Promise<void>;
114
+ }
@@ -0,0 +1,44 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ GroupInformation,
12
+ PrivateLinkResourcesListByAccountOptionalParams,
13
+ PrivateLinkResourcesGetOptionalParams,
14
+ PrivateLinkResourcesGetResponse
15
+ } from "../models";
16
+
17
+ /// <reference lib="esnext.asynciterable" />
18
+ /** Interface representing a PrivateLinkResources. */
19
+ export interface PrivateLinkResources {
20
+ /**
21
+ * List all private link resources in a device update account.
22
+ * @param resourceGroupName The resource group name.
23
+ * @param accountName Account name.
24
+ * @param options The options parameters.
25
+ */
26
+ listByAccount(
27
+ resourceGroupName: string,
28
+ accountName: string,
29
+ options?: PrivateLinkResourcesListByAccountOptionalParams
30
+ ): PagedAsyncIterableIterator<GroupInformation>;
31
+ /**
32
+ * Get the specified private link resource associated with the device update account.
33
+ * @param resourceGroupName The resource group name.
34
+ * @param accountName Account name.
35
+ * @param groupId The group ID of the private link resource.
36
+ * @param options The options parameters.
37
+ */
38
+ get(
39
+ resourceGroupName: string,
40
+ accountName: string,
41
+ groupId: string,
42
+ options?: PrivateLinkResourcesGetOptionalParams
43
+ ): Promise<PrivateLinkResourcesGetResponse>;
44
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "compilerOptions": {
3
+ "module": "es6",
4
+ "moduleResolution": "node",
5
+ "strict": true,
6
+ "target": "es6",
7
+ "sourceMap": true,
8
+ "declarationMap": true,
9
+ "esModuleInterop": true,
10
+ "allowSyntheticDefaultImports": true,
11
+ "forceConsistentCasingInFileNames": true,
12
+ "lib": [
13
+ "es6",
14
+ "dom"
15
+ ],
16
+ "declaration": true,
17
+ "outDir": "./dist-esm",
18
+ "importHelpers": true,
19
+ "paths": {
20
+ "@azure/arm-deviceupdate": [
21
+ "./src/index"
22
+ ]
23
+ }
24
+ },
25
+ "include": [
26
+ "./src/**/*.ts",
27
+ "./test/**/*.ts",
28
+ "samples-dev/**/*.ts"
29
+ ],
30
+ "exclude": [
31
+ "node_modules"
32
+ ]
33
+ }