@azure/arm-sphere 1.0.0-beta.1 → 1.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 (149) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE +1 -1
  3. package/README.md +1 -1
  4. package/dist/index.js +1517 -1338
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/catalogsCountDevicesSample.js +1 -1
  9. package/dist-esm/samples-dev/catalogsCreateOrUpdateSample.js +1 -1
  10. package/dist-esm/samples-dev/catalogsDeleteSample.js +1 -1
  11. package/dist-esm/samples-dev/catalogsGetSample.js +1 -1
  12. package/dist-esm/samples-dev/catalogsListByResourceGroupSample.js +4 -9
  13. package/dist-esm/samples-dev/catalogsListByResourceGroupSample.js.map +1 -1
  14. package/dist-esm/samples-dev/catalogsListBySubscriptionSample.js +4 -9
  15. package/dist-esm/samples-dev/catalogsListBySubscriptionSample.js.map +1 -1
  16. package/dist-esm/samples-dev/catalogsListDeploymentsSample.js +4 -9
  17. package/dist-esm/samples-dev/catalogsListDeploymentsSample.js.map +1 -1
  18. package/dist-esm/samples-dev/catalogsListDeviceGroupsSample.js +6 -11
  19. package/dist-esm/samples-dev/catalogsListDeviceGroupsSample.js.map +1 -1
  20. package/dist-esm/samples-dev/catalogsListDeviceInsightsSample.js +6 -11
  21. package/dist-esm/samples-dev/catalogsListDeviceInsightsSample.js.map +1 -1
  22. package/dist-esm/samples-dev/catalogsListDevicesSample.js +4 -9
  23. package/dist-esm/samples-dev/catalogsListDevicesSample.js.map +1 -1
  24. package/dist-esm/samples-dev/catalogsUpdateSample.js +1 -1
  25. package/dist-esm/samples-dev/catalogsUploadImageSample.d.ts +2 -0
  26. package/dist-esm/samples-dev/catalogsUploadImageSample.d.ts.map +1 -0
  27. package/dist-esm/samples-dev/catalogsUploadImageSample.js +42 -0
  28. package/dist-esm/samples-dev/catalogsUploadImageSample.js.map +1 -0
  29. package/dist-esm/samples-dev/certificatesGetSample.js +1 -1
  30. package/dist-esm/samples-dev/certificatesListByCatalogSample.js +4 -9
  31. package/dist-esm/samples-dev/certificatesListByCatalogSample.js.map +1 -1
  32. package/dist-esm/samples-dev/certificatesRetrieveCertChainSample.js +1 -1
  33. package/dist-esm/samples-dev/certificatesRetrieveProofOfPossessionNonceSample.js +3 -3
  34. package/dist-esm/samples-dev/certificatesRetrieveProofOfPossessionNonceSample.js.map +1 -1
  35. package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.js +1 -1
  36. package/dist-esm/samples-dev/deploymentsDeleteSample.js +1 -1
  37. package/dist-esm/samples-dev/deploymentsGetSample.js +1 -1
  38. package/dist-esm/samples-dev/deploymentsListByDeviceGroupSample.js +4 -9
  39. package/dist-esm/samples-dev/deploymentsListByDeviceGroupSample.js.map +1 -1
  40. package/dist-esm/samples-dev/deviceGroupsClaimDevicesSample.js +4 -4
  41. package/dist-esm/samples-dev/deviceGroupsClaimDevicesSample.js.map +1 -1
  42. package/dist-esm/samples-dev/deviceGroupsCountDevicesSample.js +1 -1
  43. package/dist-esm/samples-dev/deviceGroupsCreateOrUpdateSample.js +6 -4
  44. package/dist-esm/samples-dev/deviceGroupsCreateOrUpdateSample.js.map +1 -1
  45. package/dist-esm/samples-dev/deviceGroupsDeleteSample.js +1 -1
  46. package/dist-esm/samples-dev/deviceGroupsGetSample.js +1 -1
  47. package/dist-esm/samples-dev/deviceGroupsListByProductSample.js +4 -9
  48. package/dist-esm/samples-dev/deviceGroupsListByProductSample.js.map +1 -1
  49. package/dist-esm/samples-dev/deviceGroupsUpdateSample.js +2 -2
  50. package/dist-esm/samples-dev/deviceGroupsUpdateSample.js.map +1 -1
  51. package/dist-esm/samples-dev/devicesCreateOrUpdateSample.js +1 -1
  52. package/dist-esm/samples-dev/devicesDeleteSample.js +1 -1
  53. package/dist-esm/samples-dev/devicesGenerateCapabilityImageSample.js +3 -3
  54. package/dist-esm/samples-dev/devicesGenerateCapabilityImageSample.js.map +1 -1
  55. package/dist-esm/samples-dev/devicesGetSample.js +1 -1
  56. package/dist-esm/samples-dev/devicesListByDeviceGroupSample.js +4 -9
  57. package/dist-esm/samples-dev/devicesListByDeviceGroupSample.js.map +1 -1
  58. package/dist-esm/samples-dev/devicesUpdateSample.js +1 -1
  59. package/dist-esm/samples-dev/imagesCreateOrUpdateSample.js +3 -3
  60. package/dist-esm/samples-dev/imagesCreateOrUpdateSample.js.map +1 -1
  61. package/dist-esm/samples-dev/imagesDeleteSample.js +2 -2
  62. package/dist-esm/samples-dev/imagesDeleteSample.js.map +1 -1
  63. package/dist-esm/samples-dev/imagesGetSample.js +2 -2
  64. package/dist-esm/samples-dev/imagesGetSample.js.map +1 -1
  65. package/dist-esm/samples-dev/imagesListByCatalogSample.js +4 -9
  66. package/dist-esm/samples-dev/imagesListByCatalogSample.js.map +1 -1
  67. package/dist-esm/samples-dev/operationsListSample.js +4 -9
  68. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  69. package/dist-esm/samples-dev/productsCountDevicesSample.js +1 -1
  70. package/dist-esm/samples-dev/productsCreateOrUpdateSample.js +1 -1
  71. package/dist-esm/samples-dev/productsDeleteSample.js +1 -1
  72. package/dist-esm/samples-dev/productsGenerateDefaultDeviceGroupsSample.js +4 -9
  73. package/dist-esm/samples-dev/productsGenerateDefaultDeviceGroupsSample.js.map +1 -1
  74. package/dist-esm/samples-dev/productsGetSample.js +1 -1
  75. package/dist-esm/samples-dev/productsListByCatalogSample.js +4 -9
  76. package/dist-esm/samples-dev/productsListByCatalogSample.js.map +1 -1
  77. package/dist-esm/samples-dev/productsUpdateSample.js +1 -1
  78. package/dist-esm/src/azureSphereManagementClient.d.ts.map +1 -1
  79. package/dist-esm/src/azureSphereManagementClient.js +9 -9
  80. package/dist-esm/src/azureSphereManagementClient.js.map +1 -1
  81. package/dist-esm/src/lroImpl.js +1 -1
  82. package/dist-esm/src/models/index.d.ts +232 -178
  83. package/dist-esm/src/models/index.d.ts.map +1 -1
  84. package/dist-esm/src/models/index.js.map +1 -1
  85. package/dist-esm/src/models/mappers.d.ts +11 -2
  86. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  87. package/dist-esm/src/models/mappers.js +783 -636
  88. package/dist-esm/src/models/mappers.js.map +1 -1
  89. package/dist-esm/src/models/parameters.d.ts +1 -0
  90. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  91. package/dist-esm/src/models/parameters.js +80 -76
  92. package/dist-esm/src/models/parameters.js.map +1 -1
  93. package/dist-esm/src/operations/catalogs.d.ts +17 -1
  94. package/dist-esm/src/operations/catalogs.d.ts.map +1 -1
  95. package/dist-esm/src/operations/catalogs.js +214 -154
  96. package/dist-esm/src/operations/catalogs.js.map +1 -1
  97. package/dist-esm/src/operations/certificates.js +31 -36
  98. package/dist-esm/src/operations/certificates.js.map +1 -1
  99. package/dist-esm/src/operations/deployments.d.ts.map +1 -1
  100. package/dist-esm/src/operations/deployments.js +45 -50
  101. package/dist-esm/src/operations/deployments.js.map +1 -1
  102. package/dist-esm/src/operations/deviceGroups.d.ts.map +1 -1
  103. package/dist-esm/src/operations/deviceGroups.js +74 -79
  104. package/dist-esm/src/operations/deviceGroups.js.map +1 -1
  105. package/dist-esm/src/operations/devices.d.ts.map +1 -1
  106. package/dist-esm/src/operations/devices.js +70 -75
  107. package/dist-esm/src/operations/devices.js.map +1 -1
  108. package/dist-esm/src/operations/images.d.ts +5 -5
  109. package/dist-esm/src/operations/images.d.ts.map +1 -1
  110. package/dist-esm/src/operations/images.js +46 -51
  111. package/dist-esm/src/operations/images.js.map +1 -1
  112. package/dist-esm/src/operations/operations.js +12 -17
  113. package/dist-esm/src/operations/operations.js.map +1 -1
  114. package/dist-esm/src/operations/products.d.ts.map +1 -1
  115. package/dist-esm/src/operations/products.js +72 -82
  116. package/dist-esm/src/operations/products.js.map +1 -1
  117. package/dist-esm/src/operationsInterfaces/catalogs.d.ts +17 -1
  118. package/dist-esm/src/operationsInterfaces/catalogs.d.ts.map +1 -1
  119. package/dist-esm/src/operationsInterfaces/images.d.ts +5 -5
  120. package/dist-esm/src/pagingHelper.js.map +1 -1
  121. package/dist-esm/test/sphere_operations_test.spec.js +12 -27
  122. package/dist-esm/test/sphere_operations_test.spec.js.map +1 -1
  123. package/package.json +16 -21
  124. package/review/arm-sphere.api.md +103 -51
  125. package/src/azureSphereManagementClient.ts +18 -17
  126. package/src/lroImpl.ts +3 -3
  127. package/src/models/index.ts +262 -194
  128. package/src/models/mappers.ts +811 -682
  129. package/src/models/parameters.ts +85 -80
  130. package/src/operations/catalogs.ts +338 -221
  131. package/src/operations/certificates.ts +51 -55
  132. package/src/operations/deployments.ts +81 -87
  133. package/src/operations/deviceGroups.ts +135 -146
  134. package/src/operations/devices.ts +128 -138
  135. package/src/operations/images.ts +82 -88
  136. package/src/operations/operations.ts +16 -16
  137. package/src/operations/products.ts +132 -142
  138. package/src/operationsInterfaces/catalogs.ts +48 -14
  139. package/src/operationsInterfaces/certificates.ts +5 -5
  140. package/src/operationsInterfaces/deployments.ts +7 -7
  141. package/src/operationsInterfaces/deviceGroups.ts +12 -12
  142. package/src/operationsInterfaces/devices.ts +11 -11
  143. package/src/operationsInterfaces/images.ts +12 -12
  144. package/src/operationsInterfaces/operations.ts +1 -1
  145. package/src/operationsInterfaces/products.ts +11 -11
  146. package/src/pagingHelper.ts +1 -1
  147. package/types/arm-sphere.d.ts +212 -131
  148. package/types/tsdoc-metadata.json +1 -1
  149. package/rollup.config.js +0 -122
@@ -30,7 +30,10 @@ import {
30
30
  CatalogsUpdateResponse,
31
31
  CatalogsDeleteOptionalParams,
32
32
  CatalogsCountDevicesOptionalParams,
33
- CatalogsCountDevicesResponse
33
+ CatalogsCountDevicesResponse,
34
+ Image,
35
+ CatalogsUploadImageOptionalParams,
36
+ CatalogsUploadImageResponse,
34
37
  } from "../models";
35
38
 
36
39
  /// <reference lib="esnext.asynciterable" />
@@ -41,7 +44,7 @@ export interface Catalogs {
41
44
  * @param options The options parameters.
42
45
  */
43
46
  listBySubscription(
44
- options?: CatalogsListBySubscriptionOptionalParams
47
+ options?: CatalogsListBySubscriptionOptionalParams,
45
48
  ): PagedAsyncIterableIterator<Catalog>;
46
49
  /**
47
50
  * List Catalog resources by resource group
@@ -50,7 +53,7 @@ export interface Catalogs {
50
53
  */
51
54
  listByResourceGroup(
52
55
  resourceGroupName: string,
53
- options?: CatalogsListByResourceGroupOptionalParams
56
+ options?: CatalogsListByResourceGroupOptionalParams,
54
57
  ): PagedAsyncIterableIterator<Catalog>;
55
58
  /**
56
59
  * Lists deployments for catalog.
@@ -61,7 +64,7 @@ export interface Catalogs {
61
64
  listDeployments(
62
65
  resourceGroupName: string,
63
66
  catalogName: string,
64
- options?: CatalogsListDeploymentsOptionalParams
67
+ options?: CatalogsListDeploymentsOptionalParams,
65
68
  ): PagedAsyncIterableIterator<Deployment>;
66
69
  /**
67
70
  * List the device groups for the catalog.
@@ -74,7 +77,7 @@ export interface Catalogs {
74
77
  resourceGroupName: string,
75
78
  catalogName: string,
76
79
  listDeviceGroupsRequest: ListDeviceGroupsRequest,
77
- options?: CatalogsListDeviceGroupsOptionalParams
80
+ options?: CatalogsListDeviceGroupsOptionalParams,
78
81
  ): PagedAsyncIterableIterator<DeviceGroup>;
79
82
  /**
80
83
  * Lists device insights for catalog.
@@ -85,7 +88,7 @@ export interface Catalogs {
85
88
  listDeviceInsights(
86
89
  resourceGroupName: string,
87
90
  catalogName: string,
88
- options?: CatalogsListDeviceInsightsOptionalParams
91
+ options?: CatalogsListDeviceInsightsOptionalParams,
89
92
  ): PagedAsyncIterableIterator<DeviceInsight>;
90
93
  /**
91
94
  * Lists devices for catalog.
@@ -96,7 +99,7 @@ export interface Catalogs {
96
99
  listDevices(
97
100
  resourceGroupName: string,
98
101
  catalogName: string,
99
- options?: CatalogsListDevicesOptionalParams
102
+ options?: CatalogsListDevicesOptionalParams,
100
103
  ): PagedAsyncIterableIterator<Device>;
101
104
  /**
102
105
  * Get a Catalog
@@ -107,7 +110,7 @@ export interface Catalogs {
107
110
  get(
108
111
  resourceGroupName: string,
109
112
  catalogName: string,
110
- options?: CatalogsGetOptionalParams
113
+ options?: CatalogsGetOptionalParams,
111
114
  ): Promise<CatalogsGetResponse>;
112
115
  /**
113
116
  * Create a Catalog
@@ -120,7 +123,7 @@ export interface Catalogs {
120
123
  resourceGroupName: string,
121
124
  catalogName: string,
122
125
  resource: Catalog,
123
- options?: CatalogsCreateOrUpdateOptionalParams
126
+ options?: CatalogsCreateOrUpdateOptionalParams,
124
127
  ): Promise<
125
128
  SimplePollerLike<
126
129
  OperationState<CatalogsCreateOrUpdateResponse>,
@@ -138,7 +141,7 @@ export interface Catalogs {
138
141
  resourceGroupName: string,
139
142
  catalogName: string,
140
143
  resource: Catalog,
141
- options?: CatalogsCreateOrUpdateOptionalParams
144
+ options?: CatalogsCreateOrUpdateOptionalParams,
142
145
  ): Promise<CatalogsCreateOrUpdateResponse>;
143
146
  /**
144
147
  * Update a Catalog
@@ -151,7 +154,7 @@ export interface Catalogs {
151
154
  resourceGroupName: string,
152
155
  catalogName: string,
153
156
  properties: CatalogUpdate,
154
- options?: CatalogsUpdateOptionalParams
157
+ options?: CatalogsUpdateOptionalParams,
155
158
  ): Promise<CatalogsUpdateResponse>;
156
159
  /**
157
160
  * Delete a Catalog
@@ -162,7 +165,7 @@ export interface Catalogs {
162
165
  beginDelete(
163
166
  resourceGroupName: string,
164
167
  catalogName: string,
165
- options?: CatalogsDeleteOptionalParams
168
+ options?: CatalogsDeleteOptionalParams,
166
169
  ): Promise<SimplePollerLike<OperationState<void>, void>>;
167
170
  /**
168
171
  * Delete a Catalog
@@ -173,7 +176,7 @@ export interface Catalogs {
173
176
  beginDeleteAndWait(
174
177
  resourceGroupName: string,
175
178
  catalogName: string,
176
- options?: CatalogsDeleteOptionalParams
179
+ options?: CatalogsDeleteOptionalParams,
177
180
  ): Promise<void>;
178
181
  /**
179
182
  * Counts devices in catalog.
@@ -184,6 +187,37 @@ export interface Catalogs {
184
187
  countDevices(
185
188
  resourceGroupName: string,
186
189
  catalogName: string,
187
- options?: CatalogsCountDevicesOptionalParams
190
+ options?: CatalogsCountDevicesOptionalParams,
188
191
  ): Promise<CatalogsCountDevicesResponse>;
192
+ /**
193
+ * Creates an image. Use this action when the image ID is unknown.
194
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
195
+ * @param catalogName Name of catalog
196
+ * @param uploadImageRequest Image upload request body.
197
+ * @param options The options parameters.
198
+ */
199
+ beginUploadImage(
200
+ resourceGroupName: string,
201
+ catalogName: string,
202
+ uploadImageRequest: Image,
203
+ options?: CatalogsUploadImageOptionalParams,
204
+ ): Promise<
205
+ SimplePollerLike<
206
+ OperationState<CatalogsUploadImageResponse>,
207
+ CatalogsUploadImageResponse
208
+ >
209
+ >;
210
+ /**
211
+ * Creates an image. Use this action when the image ID is unknown.
212
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
213
+ * @param catalogName Name of catalog
214
+ * @param uploadImageRequest Image upload request body.
215
+ * @param options The options parameters.
216
+ */
217
+ beginUploadImageAndWait(
218
+ resourceGroupName: string,
219
+ catalogName: string,
220
+ uploadImageRequest: Image,
221
+ options?: CatalogsUploadImageOptionalParams,
222
+ ): Promise<CatalogsUploadImageResponse>;
189
223
  }
@@ -16,7 +16,7 @@ import {
16
16
  CertificatesRetrieveCertChainResponse,
17
17
  ProofOfPossessionNonceRequest,
18
18
  CertificatesRetrieveProofOfPossessionNonceOptionalParams,
19
- CertificatesRetrieveProofOfPossessionNonceResponse
19
+ CertificatesRetrieveProofOfPossessionNonceResponse,
20
20
  } from "../models";
21
21
 
22
22
  /// <reference lib="esnext.asynciterable" />
@@ -31,7 +31,7 @@ export interface Certificates {
31
31
  listByCatalog(
32
32
  resourceGroupName: string,
33
33
  catalogName: string,
34
- options?: CertificatesListByCatalogOptionalParams
34
+ options?: CertificatesListByCatalogOptionalParams,
35
35
  ): PagedAsyncIterableIterator<Certificate>;
36
36
  /**
37
37
  * Get a Certificate
@@ -45,7 +45,7 @@ export interface Certificates {
45
45
  resourceGroupName: string,
46
46
  catalogName: string,
47
47
  serialNumber: string,
48
- options?: CertificatesGetOptionalParams
48
+ options?: CertificatesGetOptionalParams,
49
49
  ): Promise<CertificatesGetResponse>;
50
50
  /**
51
51
  * Retrieves cert chain.
@@ -59,7 +59,7 @@ export interface Certificates {
59
59
  resourceGroupName: string,
60
60
  catalogName: string,
61
61
  serialNumber: string,
62
- options?: CertificatesRetrieveCertChainOptionalParams
62
+ options?: CertificatesRetrieveCertChainOptionalParams,
63
63
  ): Promise<CertificatesRetrieveCertChainResponse>;
64
64
  /**
65
65
  * Gets the proof of possession nonce.
@@ -75,6 +75,6 @@ export interface Certificates {
75
75
  catalogName: string,
76
76
  serialNumber: string,
77
77
  proofOfPossessionNonceRequest: ProofOfPossessionNonceRequest,
78
- options?: CertificatesRetrieveProofOfPossessionNonceOptionalParams
78
+ options?: CertificatesRetrieveProofOfPossessionNonceOptionalParams,
79
79
  ): Promise<CertificatesRetrieveProofOfPossessionNonceResponse>;
80
80
  }
@@ -15,7 +15,7 @@ import {
15
15
  DeploymentsGetResponse,
16
16
  DeploymentsCreateOrUpdateOptionalParams,
17
17
  DeploymentsCreateOrUpdateResponse,
18
- DeploymentsDeleteOptionalParams
18
+ DeploymentsDeleteOptionalParams,
19
19
  } from "../models";
20
20
 
21
21
  /// <reference lib="esnext.asynciterable" />
@@ -35,7 +35,7 @@ export interface Deployments {
35
35
  catalogName: string,
36
36
  productName: string,
37
37
  deviceGroupName: string,
38
- options?: DeploymentsListByDeviceGroupOptionalParams
38
+ options?: DeploymentsListByDeviceGroupOptionalParams,
39
39
  ): PagedAsyncIterableIterator<Deployment>;
40
40
  /**
41
41
  * Get a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for
@@ -54,7 +54,7 @@ export interface Deployments {
54
54
  productName: string,
55
55
  deviceGroupName: string,
56
56
  deploymentName: string,
57
- options?: DeploymentsGetOptionalParams
57
+ options?: DeploymentsGetOptionalParams,
58
58
  ): Promise<DeploymentsGetResponse>;
59
59
  /**
60
60
  * Create a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for
@@ -75,7 +75,7 @@ export interface Deployments {
75
75
  deviceGroupName: string,
76
76
  deploymentName: string,
77
77
  resource: Deployment,
78
- options?: DeploymentsCreateOrUpdateOptionalParams
78
+ options?: DeploymentsCreateOrUpdateOptionalParams,
79
79
  ): Promise<
80
80
  SimplePollerLike<
81
81
  OperationState<DeploymentsCreateOrUpdateResponse>,
@@ -101,7 +101,7 @@ export interface Deployments {
101
101
  deviceGroupName: string,
102
102
  deploymentName: string,
103
103
  resource: Deployment,
104
- options?: DeploymentsCreateOrUpdateOptionalParams
104
+ options?: DeploymentsCreateOrUpdateOptionalParams,
105
105
  ): Promise<DeploymentsCreateOrUpdateResponse>;
106
106
  /**
107
107
  * Delete a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for
@@ -120,7 +120,7 @@ export interface Deployments {
120
120
  productName: string,
121
121
  deviceGroupName: string,
122
122
  deploymentName: string,
123
- options?: DeploymentsDeleteOptionalParams
123
+ options?: DeploymentsDeleteOptionalParams,
124
124
  ): Promise<SimplePollerLike<OperationState<void>, void>>;
125
125
  /**
126
126
  * Delete a Deployment. '.default' and '.unassigned' are system defined values and cannot be used for
@@ -139,6 +139,6 @@ export interface Deployments {
139
139
  productName: string,
140
140
  deviceGroupName: string,
141
141
  deploymentName: string,
142
- options?: DeploymentsDeleteOptionalParams
142
+ options?: DeploymentsDeleteOptionalParams,
143
143
  ): Promise<void>;
144
144
  }
@@ -23,7 +23,7 @@ import {
23
23
  DeviceGroupsClaimDevicesOptionalParams,
24
24
  DeviceGroupsClaimDevicesResponse,
25
25
  DeviceGroupsCountDevicesOptionalParams,
26
- DeviceGroupsCountDevicesResponse
26
+ DeviceGroupsCountDevicesResponse,
27
27
  } from "../models";
28
28
 
29
29
  /// <reference lib="esnext.asynciterable" />
@@ -41,7 +41,7 @@ export interface DeviceGroups {
41
41
  resourceGroupName: string,
42
42
  catalogName: string,
43
43
  productName: string,
44
- options?: DeviceGroupsListByProductOptionalParams
44
+ options?: DeviceGroupsListByProductOptionalParams,
45
45
  ): PagedAsyncIterableIterator<DeviceGroup>;
46
46
  /**
47
47
  * Get a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for
@@ -57,7 +57,7 @@ export interface DeviceGroups {
57
57
  catalogName: string,
58
58
  productName: string,
59
59
  deviceGroupName: string,
60
- options?: DeviceGroupsGetOptionalParams
60
+ options?: DeviceGroupsGetOptionalParams,
61
61
  ): Promise<DeviceGroupsGetResponse>;
62
62
  /**
63
63
  * Create a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for
@@ -75,7 +75,7 @@ export interface DeviceGroups {
75
75
  productName: string,
76
76
  deviceGroupName: string,
77
77
  resource: DeviceGroup,
78
- options?: DeviceGroupsCreateOrUpdateOptionalParams
78
+ options?: DeviceGroupsCreateOrUpdateOptionalParams,
79
79
  ): Promise<
80
80
  SimplePollerLike<
81
81
  OperationState<DeviceGroupsCreateOrUpdateResponse>,
@@ -98,7 +98,7 @@ export interface DeviceGroups {
98
98
  productName: string,
99
99
  deviceGroupName: string,
100
100
  resource: DeviceGroup,
101
- options?: DeviceGroupsCreateOrUpdateOptionalParams
101
+ options?: DeviceGroupsCreateOrUpdateOptionalParams,
102
102
  ): Promise<DeviceGroupsCreateOrUpdateResponse>;
103
103
  /**
104
104
  * Update a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for
@@ -116,7 +116,7 @@ export interface DeviceGroups {
116
116
  productName: string,
117
117
  deviceGroupName: string,
118
118
  properties: DeviceGroupUpdate,
119
- options?: DeviceGroupsUpdateOptionalParams
119
+ options?: DeviceGroupsUpdateOptionalParams,
120
120
  ): Promise<
121
121
  SimplePollerLike<
122
122
  OperationState<DeviceGroupsUpdateResponse>,
@@ -139,7 +139,7 @@ export interface DeviceGroups {
139
139
  productName: string,
140
140
  deviceGroupName: string,
141
141
  properties: DeviceGroupUpdate,
142
- options?: DeviceGroupsUpdateOptionalParams
142
+ options?: DeviceGroupsUpdateOptionalParams,
143
143
  ): Promise<DeviceGroupsUpdateResponse>;
144
144
  /**
145
145
  * Delete a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for
@@ -155,7 +155,7 @@ export interface DeviceGroups {
155
155
  catalogName: string,
156
156
  productName: string,
157
157
  deviceGroupName: string,
158
- options?: DeviceGroupsDeleteOptionalParams
158
+ options?: DeviceGroupsDeleteOptionalParams,
159
159
  ): Promise<SimplePollerLike<OperationState<void>, void>>;
160
160
  /**
161
161
  * Delete a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for
@@ -171,7 +171,7 @@ export interface DeviceGroups {
171
171
  catalogName: string,
172
172
  productName: string,
173
173
  deviceGroupName: string,
174
- options?: DeviceGroupsDeleteOptionalParams
174
+ options?: DeviceGroupsDeleteOptionalParams,
175
175
  ): Promise<void>;
176
176
  /**
177
177
  * Bulk claims the devices. Use '.unassigned' or '.default' for the device group and product names when
@@ -189,7 +189,7 @@ export interface DeviceGroups {
189
189
  productName: string,
190
190
  deviceGroupName: string,
191
191
  claimDevicesRequest: ClaimDevicesRequest,
192
- options?: DeviceGroupsClaimDevicesOptionalParams
192
+ options?: DeviceGroupsClaimDevicesOptionalParams,
193
193
  ): Promise<
194
194
  SimplePollerLike<
195
195
  OperationState<DeviceGroupsClaimDevicesResponse>,
@@ -212,7 +212,7 @@ export interface DeviceGroups {
212
212
  productName: string,
213
213
  deviceGroupName: string,
214
214
  claimDevicesRequest: ClaimDevicesRequest,
215
- options?: DeviceGroupsClaimDevicesOptionalParams
215
+ options?: DeviceGroupsClaimDevicesOptionalParams,
216
216
  ): Promise<DeviceGroupsClaimDevicesResponse>;
217
217
  /**
218
218
  * Counts devices in device group. '.default' and '.unassigned' are system defined values and cannot be
@@ -228,6 +228,6 @@ export interface DeviceGroups {
228
228
  catalogName: string,
229
229
  productName: string,
230
230
  deviceGroupName: string,
231
- options?: DeviceGroupsCountDevicesOptionalParams
231
+ options?: DeviceGroupsCountDevicesOptionalParams,
232
232
  ): Promise<DeviceGroupsCountDevicesResponse>;
233
233
  }
@@ -21,7 +21,7 @@ import {
21
21
  DevicesDeleteOptionalParams,
22
22
  GenerateCapabilityImageRequest,
23
23
  DevicesGenerateCapabilityImageOptionalParams,
24
- DevicesGenerateCapabilityImageResponse
24
+ DevicesGenerateCapabilityImageResponse,
25
25
  } from "../models";
26
26
 
27
27
  /// <reference lib="esnext.asynciterable" />
@@ -41,7 +41,7 @@ export interface Devices {
41
41
  catalogName: string,
42
42
  productName: string,
43
43
  deviceGroupName: string,
44
- options?: DevicesListByDeviceGroupOptionalParams
44
+ options?: DevicesListByDeviceGroupOptionalParams,
45
45
  ): PagedAsyncIterableIterator<Device>;
46
46
  /**
47
47
  * Get a Device. Use '.unassigned' or '.default' for the device group and product names when a device
@@ -59,7 +59,7 @@ export interface Devices {
59
59
  productName: string,
60
60
  deviceGroupName: string,
61
61
  deviceName: string,
62
- options?: DevicesGetOptionalParams
62
+ options?: DevicesGetOptionalParams,
63
63
  ): Promise<DevicesGetResponse>;
64
64
  /**
65
65
  * Create a Device. Use '.unassigned' or '.default' for the device group and product names to claim a
@@ -79,7 +79,7 @@ export interface Devices {
79
79
  deviceGroupName: string,
80
80
  deviceName: string,
81
81
  resource: Device,
82
- options?: DevicesCreateOrUpdateOptionalParams
82
+ options?: DevicesCreateOrUpdateOptionalParams,
83
83
  ): Promise<
84
84
  SimplePollerLike<
85
85
  OperationState<DevicesCreateOrUpdateResponse>,
@@ -104,7 +104,7 @@ export interface Devices {
104
104
  deviceGroupName: string,
105
105
  deviceName: string,
106
106
  resource: Device,
107
- options?: DevicesCreateOrUpdateOptionalParams
107
+ options?: DevicesCreateOrUpdateOptionalParams,
108
108
  ): Promise<DevicesCreateOrUpdateResponse>;
109
109
  /**
110
110
  * Update a Device. Use '.unassigned' or '.default' for the device group and product names to move a
@@ -124,7 +124,7 @@ export interface Devices {
124
124
  deviceGroupName: string,
125
125
  deviceName: string,
126
126
  properties: DeviceUpdate,
127
- options?: DevicesUpdateOptionalParams
127
+ options?: DevicesUpdateOptionalParams,
128
128
  ): Promise<
129
129
  SimplePollerLike<
130
130
  OperationState<DevicesUpdateResponse>,
@@ -149,7 +149,7 @@ export interface Devices {
149
149
  deviceGroupName: string,
150
150
  deviceName: string,
151
151
  properties: DeviceUpdate,
152
- options?: DevicesUpdateOptionalParams
152
+ options?: DevicesUpdateOptionalParams,
153
153
  ): Promise<DevicesUpdateResponse>;
154
154
  /**
155
155
  * Delete a Device
@@ -166,7 +166,7 @@ export interface Devices {
166
166
  productName: string,
167
167
  deviceGroupName: string,
168
168
  deviceName: string,
169
- options?: DevicesDeleteOptionalParams
169
+ options?: DevicesDeleteOptionalParams,
170
170
  ): Promise<SimplePollerLike<OperationState<void>, void>>;
171
171
  /**
172
172
  * Delete a Device
@@ -183,7 +183,7 @@ export interface Devices {
183
183
  productName: string,
184
184
  deviceGroupName: string,
185
185
  deviceName: string,
186
- options?: DevicesDeleteOptionalParams
186
+ options?: DevicesDeleteOptionalParams,
187
187
  ): Promise<void>;
188
188
  /**
189
189
  * Generates the capability image for the device. Use '.unassigned' or '.default' for the device group
@@ -204,7 +204,7 @@ export interface Devices {
204
204
  deviceGroupName: string,
205
205
  deviceName: string,
206
206
  generateDeviceCapabilityRequest: GenerateCapabilityImageRequest,
207
- options?: DevicesGenerateCapabilityImageOptionalParams
207
+ options?: DevicesGenerateCapabilityImageOptionalParams,
208
208
  ): Promise<
209
209
  SimplePollerLike<
210
210
  OperationState<DevicesGenerateCapabilityImageResponse>,
@@ -230,6 +230,6 @@ export interface Devices {
230
230
  deviceGroupName: string,
231
231
  deviceName: string,
232
232
  generateDeviceCapabilityRequest: GenerateCapabilityImageRequest,
233
- options?: DevicesGenerateCapabilityImageOptionalParams
233
+ options?: DevicesGenerateCapabilityImageOptionalParams,
234
234
  ): Promise<DevicesGenerateCapabilityImageResponse>;
235
235
  }
@@ -15,7 +15,7 @@ import {
15
15
  ImagesGetResponse,
16
16
  ImagesCreateOrUpdateOptionalParams,
17
17
  ImagesCreateOrUpdateResponse,
18
- ImagesDeleteOptionalParams
18
+ ImagesDeleteOptionalParams,
19
19
  } from "../models";
20
20
 
21
21
  /// <reference lib="esnext.asynciterable" />
@@ -30,26 +30,26 @@ export interface Images {
30
30
  listByCatalog(
31
31
  resourceGroupName: string,
32
32
  catalogName: string,
33
- options?: ImagesListByCatalogOptionalParams
33
+ options?: ImagesListByCatalogOptionalParams,
34
34
  ): PagedAsyncIterableIterator<Image>;
35
35
  /**
36
36
  * Get a Image
37
37
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
38
  * @param catalogName Name of catalog
39
- * @param imageName Image name. Use .default for image creation.
39
+ * @param imageName Image name. Use an image GUID for GA versions of the API.
40
40
  * @param options The options parameters.
41
41
  */
42
42
  get(
43
43
  resourceGroupName: string,
44
44
  catalogName: string,
45
45
  imageName: string,
46
- options?: ImagesGetOptionalParams
46
+ options?: ImagesGetOptionalParams,
47
47
  ): Promise<ImagesGetResponse>;
48
48
  /**
49
49
  * Create a Image
50
50
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
51
51
  * @param catalogName Name of catalog
52
- * @param imageName Image name. Use .default for image creation.
52
+ * @param imageName Image name. Use an image GUID for GA versions of the API.
53
53
  * @param resource Resource create parameters.
54
54
  * @param options The options parameters.
55
55
  */
@@ -58,7 +58,7 @@ export interface Images {
58
58
  catalogName: string,
59
59
  imageName: string,
60
60
  resource: Image,
61
- options?: ImagesCreateOrUpdateOptionalParams
61
+ options?: ImagesCreateOrUpdateOptionalParams,
62
62
  ): Promise<
63
63
  SimplePollerLike<
64
64
  OperationState<ImagesCreateOrUpdateResponse>,
@@ -69,7 +69,7 @@ export interface Images {
69
69
  * Create a Image
70
70
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
71
  * @param catalogName Name of catalog
72
- * @param imageName Image name. Use .default for image creation.
72
+ * @param imageName Image name. Use an image GUID for GA versions of the API.
73
73
  * @param resource Resource create parameters.
74
74
  * @param options The options parameters.
75
75
  */
@@ -78,32 +78,32 @@ export interface Images {
78
78
  catalogName: string,
79
79
  imageName: string,
80
80
  resource: Image,
81
- options?: ImagesCreateOrUpdateOptionalParams
81
+ options?: ImagesCreateOrUpdateOptionalParams,
82
82
  ): Promise<ImagesCreateOrUpdateResponse>;
83
83
  /**
84
84
  * Delete a Image
85
85
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
86
86
  * @param catalogName Name of catalog
87
- * @param imageName Image name. Use .default for image creation.
87
+ * @param imageName Image name. Use an image GUID for GA versions of the API.
88
88
  * @param options The options parameters.
89
89
  */
90
90
  beginDelete(
91
91
  resourceGroupName: string,
92
92
  catalogName: string,
93
93
  imageName: string,
94
- options?: ImagesDeleteOptionalParams
94
+ options?: ImagesDeleteOptionalParams,
95
95
  ): Promise<SimplePollerLike<OperationState<void>, void>>;
96
96
  /**
97
97
  * Delete a Image
98
98
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
99
99
  * @param catalogName Name of catalog
100
- * @param imageName Image name. Use .default for image creation.
100
+ * @param imageName Image name. Use an image GUID for GA versions of the API.
101
101
  * @param options The options parameters.
102
102
  */
103
103
  beginDeleteAndWait(
104
104
  resourceGroupName: string,
105
105
  catalogName: string,
106
106
  imageName: string,
107
- options?: ImagesDeleteOptionalParams
107
+ options?: ImagesDeleteOptionalParams,
108
108
  ): Promise<void>;
109
109
  }
@@ -17,6 +17,6 @@ export interface Operations {
17
17
  * @param options The options parameters.
18
18
  */
19
19
  list(
20
- options?: OperationsListOptionalParams
20
+ options?: OperationsListOptionalParams,
21
21
  ): PagedAsyncIterableIterator<Operation>;
22
22
  }
@@ -22,7 +22,7 @@ import {
22
22
  ProductsUpdateResponse,
23
23
  ProductsDeleteOptionalParams,
24
24
  ProductsCountDevicesOptionalParams,
25
- ProductsCountDevicesResponse
25
+ ProductsCountDevicesResponse,
26
26
  } from "../models";
27
27
 
28
28
  /// <reference lib="esnext.asynciterable" />
@@ -37,7 +37,7 @@ export interface Products {
37
37
  listByCatalog(
38
38
  resourceGroupName: string,
39
39
  catalogName: string,
40
- options?: ProductsListByCatalogOptionalParams
40
+ options?: ProductsListByCatalogOptionalParams,
41
41
  ): PagedAsyncIterableIterator<Product>;
42
42
  /**
43
43
  * Generates default device groups for the product. '.default' and '.unassigned' are system defined
@@ -51,7 +51,7 @@ export interface Products {
51
51
  resourceGroupName: string,
52
52
  catalogName: string,
53
53
  productName: string,
54
- options?: ProductsGenerateDefaultDeviceGroupsOptionalParams
54
+ options?: ProductsGenerateDefaultDeviceGroupsOptionalParams,
55
55
  ): PagedAsyncIterableIterator<DeviceGroup>;
56
56
  /**
57
57
  * Get a Product. '.default' and '.unassigned' are system defined values and cannot be used for product
@@ -65,7 +65,7 @@ export interface Products {
65
65
  resourceGroupName: string,
66
66
  catalogName: string,
67
67
  productName: string,
68
- options?: ProductsGetOptionalParams
68
+ options?: ProductsGetOptionalParams,
69
69
  ): Promise<ProductsGetResponse>;
70
70
  /**
71
71
  * Create a Product. '.default' and '.unassigned' are system defined values and cannot be used for
@@ -81,7 +81,7 @@ export interface Products {
81
81
  catalogName: string,
82
82
  productName: string,
83
83
  resource: Product,
84
- options?: ProductsCreateOrUpdateOptionalParams
84
+ options?: ProductsCreateOrUpdateOptionalParams,
85
85
  ): Promise<
86
86
  SimplePollerLike<
87
87
  OperationState<ProductsCreateOrUpdateResponse>,
@@ -102,7 +102,7 @@ export interface Products {
102
102
  catalogName: string,
103
103
  productName: string,
104
104
  resource: Product,
105
- options?: ProductsCreateOrUpdateOptionalParams
105
+ options?: ProductsCreateOrUpdateOptionalParams,
106
106
  ): Promise<ProductsCreateOrUpdateResponse>;
107
107
  /**
108
108
  * Update a Product. '.default' and '.unassigned' are system defined values and cannot be used for
@@ -118,7 +118,7 @@ export interface Products {
118
118
  catalogName: string,
119
119
  productName: string,
120
120
  properties: ProductUpdate,
121
- options?: ProductsUpdateOptionalParams
121
+ options?: ProductsUpdateOptionalParams,
122
122
  ): Promise<
123
123
  SimplePollerLike<
124
124
  OperationState<ProductsUpdateResponse>,
@@ -139,7 +139,7 @@ export interface Products {
139
139
  catalogName: string,
140
140
  productName: string,
141
141
  properties: ProductUpdate,
142
- options?: ProductsUpdateOptionalParams
142
+ options?: ProductsUpdateOptionalParams,
143
143
  ): Promise<ProductsUpdateResponse>;
144
144
  /**
145
145
  * Delete a Product. '.default' and '.unassigned' are system defined values and cannot be used for
@@ -153,7 +153,7 @@ export interface Products {
153
153
  resourceGroupName: string,
154
154
  catalogName: string,
155
155
  productName: string,
156
- options?: ProductsDeleteOptionalParams
156
+ options?: ProductsDeleteOptionalParams,
157
157
  ): Promise<SimplePollerLike<OperationState<void>, void>>;
158
158
  /**
159
159
  * Delete a Product. '.default' and '.unassigned' are system defined values and cannot be used for
@@ -167,7 +167,7 @@ export interface Products {
167
167
  resourceGroupName: string,
168
168
  catalogName: string,
169
169
  productName: string,
170
- options?: ProductsDeleteOptionalParams
170
+ options?: ProductsDeleteOptionalParams,
171
171
  ): Promise<void>;
172
172
  /**
173
173
  * Counts devices in product. '.default' and '.unassigned' are system defined values and cannot be used
@@ -181,6 +181,6 @@ export interface Products {
181
181
  resourceGroupName: string,
182
182
  catalogName: string,
183
183
  productName: string,
184
- options?: ProductsCountDevicesOptionalParams
184
+ options?: ProductsCountDevicesOptionalParams,
185
185
  ): Promise<ProductsCountDevicesResponse>;
186
186
  }
@@ -28,7 +28,7 @@ export function getContinuationToken(page: unknown): string | undefined {
28
28
 
29
29
  export function setContinuationToken(
30
30
  page: unknown,
31
- continuationToken: string | undefined
31
+ continuationToken: string | undefined,
32
32
  ): void {
33
33
  if (typeof page !== "object" || page === null || !continuationToken) {
34
34
  return;