@azure/arm-mixedreality 2.0.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (208) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +1 -1
  4. package/README.md +72 -73
  5. package/dist/index.js +2016 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts +2 -0
  10. package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts.map +1 -0
  11. package/dist-esm/samples-dev/checkLocalNameAvailability.js +34 -0
  12. package/dist-esm/samples-dev/checkLocalNameAvailability.js.map +1 -0
  13. package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts +2 -0
  14. package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts.map +1 -0
  15. package/dist-esm/samples-dev/createRemoteRenderingAccount.js +35 -0
  16. package/dist-esm/samples-dev/createRemoteRenderingAccount.js.map +1 -0
  17. package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts +2 -0
  18. package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts.map +1 -0
  19. package/dist-esm/samples-dev/createSpatialAnchorAccount.js +34 -0
  20. package/dist-esm/samples-dev/createSpatialAnchorAccount.js.map +1 -0
  21. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts +2 -0
  22. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts.map +1 -0
  23. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js +31 -0
  24. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js.map +1 -0
  25. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts +2 -0
  26. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts.map +1 -0
  27. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js +31 -0
  28. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js.map +1 -0
  29. package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts +2 -0
  30. package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts.map +1 -0
  31. package/dist-esm/samples-dev/getRemoteRenderingAccount.js +31 -0
  32. package/dist-esm/samples-dev/getRemoteRenderingAccount.js.map +1 -0
  33. package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts +2 -0
  34. package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts.map +1 -0
  35. package/dist-esm/samples-dev/getSpatialAnchorsAccount.js +31 -0
  36. package/dist-esm/samples-dev/getSpatialAnchorsAccount.js.map +1 -0
  37. package/dist-esm/samples-dev/listAvailableOperations.d.ts +2 -0
  38. package/dist-esm/samples-dev/listAvailableOperations.d.ts.map +1 -0
  39. package/dist-esm/samples-dev/listAvailableOperations.js +43 -0
  40. package/dist-esm/samples-dev/listAvailableOperations.js.map +1 -0
  41. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts +2 -0
  42. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts.map +1 -0
  43. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js +31 -0
  44. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js.map +1 -0
  45. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts +2 -0
  46. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts.map +1 -0
  47. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js +44 -0
  48. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js.map +1 -0
  49. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts +2 -0
  50. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts.map +1 -0
  51. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js +43 -0
  52. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js.map +1 -0
  53. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts +2 -0
  54. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts.map +1 -0
  55. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js +31 -0
  56. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js.map +1 -0
  57. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts +2 -0
  58. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts.map +1 -0
  59. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js +44 -0
  60. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js.map +1 -0
  61. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts +2 -0
  62. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts.map +1 -0
  63. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js +43 -0
  64. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js.map +1 -0
  65. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts +2 -0
  66. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts.map +1 -0
  67. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js +32 -0
  68. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js.map +1 -0
  69. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts +2 -0
  70. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts.map +1 -0
  71. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js +32 -0
  72. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js.map +1 -0
  73. package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts +2 -0
  74. package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts.map +1 -0
  75. package/dist-esm/samples-dev/updateRemoteRenderingAccount.js +36 -0
  76. package/dist-esm/samples-dev/updateRemoteRenderingAccount.js.map +1 -0
  77. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts +2 -0
  78. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts.map +1 -0
  79. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js +35 -0
  80. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js.map +1 -0
  81. package/dist-esm/src/index.d.ts +5 -0
  82. package/dist-esm/src/index.d.ts.map +1 -0
  83. package/dist-esm/src/index.js +12 -0
  84. package/dist-esm/src/index.js.map +1 -0
  85. package/dist-esm/src/mixedRealityClient.d.ts +28 -0
  86. package/dist-esm/src/mixedRealityClient.d.ts.map +1 -0
  87. package/dist-esm/src/mixedRealityClient.js +89 -0
  88. package/dist-esm/src/mixedRealityClient.js.map +1 -0
  89. package/dist-esm/src/models/index.d.ts +444 -0
  90. package/dist-esm/src/models/index.d.ts.map +1 -0
  91. package/dist-esm/src/models/index.js +22 -0
  92. package/dist-esm/src/models/index.js.map +1 -0
  93. package/dist-esm/src/models/mappers.d.ts +25 -0
  94. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  95. package/{esm → dist-esm/src}/models/mappers.js +473 -288
  96. package/dist-esm/src/models/mappers.js.map +1 -0
  97. package/dist-esm/src/models/parameters.d.ts +15 -0
  98. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  99. package/dist-esm/src/models/parameters.js +135 -0
  100. package/dist-esm/src/models/parameters.js.map +1 -0
  101. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  102. package/dist-esm/src/operations/index.d.ts.map +1 -0
  103. package/{esm → dist-esm/src}/operations/index.js +3 -5
  104. package/dist-esm/src/operations/index.js.map +1 -0
  105. package/dist-esm/src/operations/operations.d.ts +32 -0
  106. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  107. package/dist-esm/src/operations/operations.js +120 -0
  108. package/dist-esm/src/operations/operations.js.map +1 -0
  109. package/dist-esm/src/operations/remoteRenderingAccounts.d.ts +98 -0
  110. package/dist-esm/src/operations/remoteRenderingAccounts.d.ts.map +1 -0
  111. package/dist-esm/src/operations/remoteRenderingAccounts.js +422 -0
  112. package/dist-esm/src/operations/remoteRenderingAccounts.js.map +1 -0
  113. package/dist-esm/src/operations/spatialAnchorsAccounts.d.ts +98 -0
  114. package/dist-esm/src/operations/spatialAnchorsAccounts.d.ts.map +1 -0
  115. package/dist-esm/src/operations/spatialAnchorsAccounts.js +422 -0
  116. package/dist-esm/src/operations/spatialAnchorsAccounts.js.map +1 -0
  117. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  118. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  119. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  120. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  121. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  122. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  123. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  124. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  125. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.d.ts +62 -0
  126. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.d.ts.map +1 -0
  127. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.js +9 -0
  128. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.js.map +1 -0
  129. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.d.ts +62 -0
  130. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.d.ts.map +1 -0
  131. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.js +9 -0
  132. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.js.map +1 -0
  133. package/dist-esm/test/sampleTest.d.ts +2 -0
  134. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  135. package/dist-esm/test/sampleTest.js +40 -0
  136. package/dist-esm/test/sampleTest.js.map +1 -0
  137. package/package.json +75 -32
  138. package/review/arm-mixedreality.api.md +436 -0
  139. package/rollup.config.js +181 -30
  140. package/src/index.ts +12 -0
  141. package/src/mixedRealityClient.ts +104 -77
  142. package/src/models/index.ts +405 -735
  143. package/src/models/mappers.ts +478 -295
  144. package/src/models/parameters.ts +93 -47
  145. package/src/operations/index.ts +3 -5
  146. package/src/operations/operations.ts +87 -73
  147. package/src/operations/remoteRenderingAccounts.ts +321 -389
  148. package/src/operations/spatialAnchorsAccounts.ts +321 -389
  149. package/src/operationsInterfaces/index.ts +11 -0
  150. package/src/operationsInterfaces/operations.ts +22 -0
  151. package/src/operationsInterfaces/remoteRenderingAccounts.ts +119 -0
  152. package/src/operationsInterfaces/spatialAnchorsAccounts.ts +119 -0
  153. package/tsconfig.json +5 -4
  154. package/types/arm-mixedreality.d.ts +674 -0
  155. package/types/tsdoc-metadata.json +11 -0
  156. package/dist/arm-mixedreality.js +0 -1756
  157. package/dist/arm-mixedreality.js.map +0 -1
  158. package/dist/arm-mixedreality.min.js +0 -1
  159. package/dist/arm-mixedreality.min.js.map +0 -1
  160. package/esm/mixedRealityClient.d.ts +0 -42
  161. package/esm/mixedRealityClient.d.ts.map +0 -1
  162. package/esm/mixedRealityClient.js +0 -73
  163. package/esm/mixedRealityClient.js.map +0 -1
  164. package/esm/mixedRealityClientContext.d.ts +0 -16
  165. package/esm/mixedRealityClientContext.d.ts.map +0 -1
  166. package/esm/mixedRealityClientContext.js +0 -56
  167. package/esm/mixedRealityClientContext.js.map +0 -1
  168. package/esm/models/index.d.ts +0 -778
  169. package/esm/models/index.d.ts.map +0 -1
  170. package/esm/models/index.js +0 -8
  171. package/esm/models/index.js.map +0 -1
  172. package/esm/models/mappers.d.ts +0 -27
  173. package/esm/models/mappers.d.ts.map +0 -1
  174. package/esm/models/mappers.js.map +0 -1
  175. package/esm/models/operationsMappers.d.ts +0 -2
  176. package/esm/models/operationsMappers.d.ts.map +0 -1
  177. package/esm/models/operationsMappers.js +0 -9
  178. package/esm/models/operationsMappers.js.map +0 -1
  179. package/esm/models/parameters.d.ts +0 -10
  180. package/esm/models/parameters.d.ts.map +0 -1
  181. package/esm/models/parameters.js +0 -110
  182. package/esm/models/parameters.js.map +0 -1
  183. package/esm/models/remoteRenderingAccountsMappers.d.ts +0 -2
  184. package/esm/models/remoteRenderingAccountsMappers.d.ts.map +0 -1
  185. package/esm/models/remoteRenderingAccountsMappers.js +0 -9
  186. package/esm/models/remoteRenderingAccountsMappers.js.map +0 -1
  187. package/esm/models/spatialAnchorsAccountsMappers.d.ts +0 -2
  188. package/esm/models/spatialAnchorsAccountsMappers.d.ts.map +0 -1
  189. package/esm/models/spatialAnchorsAccountsMappers.js +0 -9
  190. package/esm/models/spatialAnchorsAccountsMappers.js.map +0 -1
  191. package/esm/operations/index.d.ts.map +0 -1
  192. package/esm/operations/index.js.map +0 -1
  193. package/esm/operations/operations.d.ts +0 -46
  194. package/esm/operations/operations.d.ts.map +0 -1
  195. package/esm/operations/operations.js +0 -77
  196. package/esm/operations/operations.js.map +0 -1
  197. package/esm/operations/remoteRenderingAccounts.d.ts +0 -217
  198. package/esm/operations/remoteRenderingAccounts.d.ts.map +0 -1
  199. package/esm/operations/remoteRenderingAccounts.js +0 -339
  200. package/esm/operations/remoteRenderingAccounts.js.map +0 -1
  201. package/esm/operations/spatialAnchorsAccounts.d.ts +0 -217
  202. package/esm/operations/spatialAnchorsAccounts.d.ts.map +0 -1
  203. package/esm/operations/spatialAnchorsAccounts.js +0 -339
  204. package/esm/operations/spatialAnchorsAccounts.js.map +0 -1
  205. package/src/mixedRealityClientContext.ts +0 -61
  206. package/src/models/operationsMappers.ts +0 -14
  207. package/src/models/remoteRenderingAccountsMappers.ts +0 -29
  208. package/src/models/spatialAnchorsAccountsMappers.ts +0 -29
@@ -1,33 +1,32 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export const CloudError = CloudErrorMapper;
13
- export const BaseResource = BaseResourceMapper;
14
-
15
- export const CheckNameAvailabilityRequest: msRest.CompositeMapper = {
16
- serializedName: "CheckNameAvailabilityRequest",
11
+ export const OperationPage: coreClient.CompositeMapper = {
17
12
  type: {
18
13
  name: "Composite",
19
- className: "CheckNameAvailabilityRequest",
14
+ className: "OperationPage",
20
15
  modelProperties: {
21
- name: {
22
- required: true,
23
- serializedName: "name",
16
+ value: {
17
+ serializedName: "value",
24
18
  type: {
25
- name: "String"
19
+ name: "Sequence",
20
+ element: {
21
+ type: {
22
+ name: "Composite",
23
+ className: "Operation"
24
+ }
25
+ }
26
26
  }
27
27
  },
28
- type: {
29
- required: true,
30
- serializedName: "type",
28
+ nextLink: {
29
+ serializedName: "nextLink",
31
30
  type: {
32
31
  name: "String"
33
32
  }
@@ -36,65 +35,76 @@ export const CheckNameAvailabilityRequest: msRest.CompositeMapper = {
36
35
  }
37
36
  };
38
37
 
39
- export const CheckNameAvailabilityResponse: msRest.CompositeMapper = {
40
- serializedName: "CheckNameAvailabilityResponse",
38
+ export const Operation: coreClient.CompositeMapper = {
41
39
  type: {
42
40
  name: "Composite",
43
- className: "CheckNameAvailabilityResponse",
41
+ className: "Operation",
44
42
  modelProperties: {
45
- nameAvailable: {
46
- required: true,
47
- serializedName: "nameAvailable",
43
+ name: {
44
+ serializedName: "name",
48
45
  type: {
49
46
  name: "String"
50
47
  }
51
48
  },
52
- reason: {
53
- serializedName: "reason",
49
+ display: {
50
+ serializedName: "display",
54
51
  type: {
55
- name: "String"
52
+ name: "Composite",
53
+ className: "OperationDisplay"
56
54
  }
57
55
  },
58
- message: {
59
- serializedName: "message",
56
+ isDataAction: {
57
+ serializedName: "isDataAction",
58
+ type: {
59
+ name: "Boolean"
60
+ }
61
+ },
62
+ origin: {
63
+ serializedName: "origin",
60
64
  type: {
61
65
  name: "String"
62
66
  }
67
+ },
68
+ properties: {
69
+ serializedName: "properties",
70
+ type: {
71
+ name: "Composite",
72
+ className: "OperationProperties"
73
+ }
63
74
  }
64
75
  }
65
76
  }
66
77
  };
67
78
 
68
- export const OperationDisplay: msRest.CompositeMapper = {
69
- serializedName: "OperationDisplay",
79
+ export const OperationDisplay: coreClient.CompositeMapper = {
70
80
  type: {
71
81
  name: "Composite",
72
82
  className: "OperationDisplay",
73
83
  modelProperties: {
74
84
  provider: {
75
- required: true,
76
85
  serializedName: "provider",
86
+ required: true,
77
87
  type: {
78
88
  name: "String"
79
89
  }
80
90
  },
81
91
  resource: {
82
- required: true,
83
92
  serializedName: "resource",
93
+ required: true,
84
94
  type: {
85
95
  name: "String"
86
96
  }
87
97
  },
88
98
  operation: {
89
- required: true,
90
99
  serializedName: "operation",
100
+ required: true,
91
101
  type: {
92
102
  name: "String"
93
103
  }
94
104
  },
95
105
  description: {
96
- required: true,
97
106
  serializedName: "description",
107
+ required: true,
98
108
  type: {
99
109
  name: "String"
100
110
  }
@@ -103,52 +113,74 @@ export const OperationDisplay: msRest.CompositeMapper = {
103
113
  }
104
114
  };
105
115
 
106
- export const Operation: msRest.CompositeMapper = {
107
- serializedName: "Operation",
116
+ export const OperationProperties: coreClient.CompositeMapper = {
108
117
  type: {
109
118
  name: "Composite",
110
- className: "Operation",
119
+ className: "OperationProperties",
111
120
  modelProperties: {
112
- name: {
113
- serializedName: "name",
121
+ serviceSpecification: {
122
+ serializedName: "serviceSpecification",
114
123
  type: {
115
- name: "String"
124
+ name: "Composite",
125
+ className: "ServiceSpecification"
126
+ }
127
+ }
128
+ }
129
+ }
130
+ };
131
+
132
+ export const ServiceSpecification: coreClient.CompositeMapper = {
133
+ type: {
134
+ name: "Composite",
135
+ className: "ServiceSpecification",
136
+ modelProperties: {
137
+ logSpecifications: {
138
+ serializedName: "logSpecifications",
139
+ type: {
140
+ name: "Sequence",
141
+ element: {
142
+ type: {
143
+ name: "Composite",
144
+ className: "LogSpecification"
145
+ }
146
+ }
116
147
  }
117
148
  },
118
- display: {
119
- serializedName: "display",
149
+ metricSpecifications: {
150
+ serializedName: "metricSpecifications",
120
151
  type: {
121
- name: "Composite",
122
- className: "OperationDisplay"
152
+ name: "Sequence",
153
+ element: {
154
+ type: {
155
+ name: "Composite",
156
+ className: "MetricSpecification"
157
+ }
158
+ }
123
159
  }
124
160
  }
125
161
  }
126
162
  }
127
163
  };
128
164
 
129
- export const Resource: msRest.CompositeMapper = {
130
- serializedName: "Resource",
165
+ export const LogSpecification: coreClient.CompositeMapper = {
131
166
  type: {
132
167
  name: "Composite",
133
- className: "Resource",
168
+ className: "LogSpecification",
134
169
  modelProperties: {
135
- id: {
136
- readOnly: true,
137
- serializedName: "id",
170
+ name: {
171
+ serializedName: "name",
138
172
  type: {
139
173
  name: "String"
140
174
  }
141
175
  },
142
- name: {
143
- readOnly: true,
144
- serializedName: "name",
176
+ displayName: {
177
+ serializedName: "displayName",
145
178
  type: {
146
179
  name: "String"
147
180
  }
148
181
  },
149
- type: {
150
- readOnly: true,
151
- serializedName: "type",
182
+ blobDuration: {
183
+ serializedName: "blobDuration",
152
184
  type: {
153
185
  name: "String"
154
186
  }
@@ -157,27 +189,119 @@ export const Resource: msRest.CompositeMapper = {
157
189
  }
158
190
  };
159
191
 
160
- export const TrackedResource: msRest.CompositeMapper = {
161
- serializedName: "TrackedResource",
192
+ export const MetricSpecification: coreClient.CompositeMapper = {
162
193
  type: {
163
194
  name: "Composite",
164
- className: "TrackedResource",
195
+ className: "MetricSpecification",
165
196
  modelProperties: {
166
- ...Resource.type.modelProperties,
167
- tags: {
168
- serializedName: "tags",
197
+ name: {
198
+ serializedName: "name",
169
199
  type: {
170
- name: "Dictionary",
171
- value: {
200
+ name: "String"
201
+ }
202
+ },
203
+ displayName: {
204
+ serializedName: "displayName",
205
+ type: {
206
+ name: "String"
207
+ }
208
+ },
209
+ displayDescription: {
210
+ serializedName: "displayDescription",
211
+ type: {
212
+ name: "String"
213
+ }
214
+ },
215
+ unit: {
216
+ serializedName: "unit",
217
+ type: {
218
+ name: "String"
219
+ }
220
+ },
221
+ aggregationType: {
222
+ serializedName: "aggregationType",
223
+ type: {
224
+ name: "String"
225
+ }
226
+ },
227
+ supportedAggregationTypes: {
228
+ serializedName: "supportedAggregationTypes",
229
+ type: {
230
+ name: "Sequence",
231
+ element: {
172
232
  type: {
173
233
  name: "String"
174
234
  }
175
235
  }
176
236
  }
177
237
  },
178
- location: {
179
- required: true,
180
- serializedName: "location",
238
+ supportedTimeGrainTypes: {
239
+ serializedName: "supportedTimeGrainTypes",
240
+ type: {
241
+ name: "Sequence",
242
+ element: {
243
+ type: {
244
+ name: "String"
245
+ }
246
+ }
247
+ }
248
+ },
249
+ enableRegionalMdmAccount: {
250
+ serializedName: "enableRegionalMdmAccount",
251
+ type: {
252
+ name: "Boolean"
253
+ }
254
+ },
255
+ sourceMdmAccount: {
256
+ serializedName: "sourceMdmAccount",
257
+ type: {
258
+ name: "String"
259
+ }
260
+ },
261
+ sourceMdmNamespace: {
262
+ serializedName: "sourceMdmNamespace",
263
+ type: {
264
+ name: "String"
265
+ }
266
+ },
267
+ metricFilterPattern: {
268
+ serializedName: "metricFilterPattern",
269
+ type: {
270
+ name: "String"
271
+ }
272
+ },
273
+ fillGapWithZero: {
274
+ serializedName: "fillGapWithZero",
275
+ type: {
276
+ name: "Boolean"
277
+ }
278
+ },
279
+ category: {
280
+ serializedName: "category",
281
+ type: {
282
+ name: "String"
283
+ }
284
+ },
285
+ internalMetricName: {
286
+ serializedName: "internalMetricName",
287
+ type: {
288
+ name: "String"
289
+ }
290
+ },
291
+ dimensions: {
292
+ serializedName: "dimensions",
293
+ type: {
294
+ name: "Sequence",
295
+ element: {
296
+ type: {
297
+ name: "Composite",
298
+ className: "MetricDimension"
299
+ }
300
+ }
301
+ }
302
+ },
303
+ lockedAggregationType: {
304
+ serializedName: "lockedAggregationType",
181
305
  type: {
182
306
  name: "String"
183
307
  }
@@ -186,23 +310,25 @@ export const TrackedResource: msRest.CompositeMapper = {
186
310
  }
187
311
  };
188
312
 
189
- export const SpatialAnchorsAccount: msRest.CompositeMapper = {
190
- serializedName: "SpatialAnchorsAccount",
313
+ export const MetricDimension: coreClient.CompositeMapper = {
191
314
  type: {
192
315
  name: "Composite",
193
- className: "SpatialAnchorsAccount",
316
+ className: "MetricDimension",
194
317
  modelProperties: {
195
- ...TrackedResource.type.modelProperties,
196
- accountId: {
197
- readOnly: true,
198
- serializedName: "properties.accountId",
318
+ name: {
319
+ serializedName: "name",
199
320
  type: {
200
321
  name: "String"
201
322
  }
202
323
  },
203
- accountDomain: {
204
- readOnly: true,
205
- serializedName: "properties.accountDomain",
324
+ displayName: {
325
+ serializedName: "displayName",
326
+ type: {
327
+ name: "String"
328
+ }
329
+ },
330
+ internalName: {
331
+ serializedName: "internalName",
206
332
  type: {
207
333
  name: "String"
208
334
  }
@@ -211,144 +337,162 @@ export const SpatialAnchorsAccount: msRest.CompositeMapper = {
211
337
  }
212
338
  };
213
339
 
214
- export const ProxyResource: msRest.CompositeMapper = {
215
- serializedName: "ProxyResource",
340
+ export const CloudError: coreClient.CompositeMapper = {
216
341
  type: {
217
342
  name: "Composite",
218
- className: "ProxyResource",
343
+ className: "CloudError",
219
344
  modelProperties: {
220
- ...Resource.type.modelProperties
221
- }
222
- }
223
- };
224
-
225
- export const AzureEntityResource: msRest.CompositeMapper = {
226
- serializedName: "AzureEntityResource",
227
- type: {
228
- name: "Composite",
229
- className: "AzureEntityResource",
230
- modelProperties: {
231
- ...Resource.type.modelProperties,
232
- etag: {
233
- readOnly: true,
234
- serializedName: "etag",
345
+ error: {
346
+ serializedName: "error",
235
347
  type: {
236
- name: "String"
348
+ name: "Composite",
349
+ className: "CloudErrorBody"
237
350
  }
238
351
  }
239
352
  }
240
353
  }
241
354
  };
242
355
 
243
- export const AccountKeys: msRest.CompositeMapper = {
244
- serializedName: "AccountKeys",
356
+ export const CloudErrorBody: coreClient.CompositeMapper = {
245
357
  type: {
246
358
  name: "Composite",
247
- className: "AccountKeys",
359
+ className: "CloudErrorBody",
248
360
  modelProperties: {
249
- primaryKey: {
250
- readOnly: true,
251
- serializedName: "primaryKey",
361
+ code: {
362
+ serializedName: "code",
252
363
  type: {
253
364
  name: "String"
254
365
  }
255
366
  },
256
- secondaryKey: {
257
- readOnly: true,
258
- serializedName: "secondaryKey",
367
+ message: {
368
+ serializedName: "message",
369
+ type: {
370
+ name: "String"
371
+ }
372
+ },
373
+ target: {
374
+ serializedName: "target",
259
375
  type: {
260
376
  name: "String"
261
377
  }
378
+ },
379
+ details: {
380
+ serializedName: "details",
381
+ type: {
382
+ name: "Sequence",
383
+ element: {
384
+ type: {
385
+ name: "Composite",
386
+ className: "CloudErrorBody"
387
+ }
388
+ }
389
+ }
262
390
  }
263
391
  }
264
392
  }
265
393
  };
266
394
 
267
- export const AccountKeyRegenerateRequest: msRest.CompositeMapper = {
268
- serializedName: "AccountKeyRegenerateRequest",
395
+ export const CheckNameAvailabilityRequest: coreClient.CompositeMapper = {
269
396
  type: {
270
397
  name: "Composite",
271
- className: "AccountKeyRegenerateRequest",
398
+ className: "CheckNameAvailabilityRequest",
272
399
  modelProperties: {
273
- serial: {
274
- serializedName: "serial",
275
- defaultValue: 1,
400
+ name: {
401
+ serializedName: "name",
402
+ required: true,
276
403
  type: {
277
- name: "Number"
404
+ name: "String"
405
+ }
406
+ },
407
+ type: {
408
+ serializedName: "type",
409
+ required: true,
410
+ type: {
411
+ name: "String"
278
412
  }
279
413
  }
280
414
  }
281
415
  }
282
416
  };
283
417
 
284
- export const Identity: msRest.CompositeMapper = {
285
- serializedName: "Identity",
418
+ export const CheckNameAvailabilityResponse: coreClient.CompositeMapper = {
286
419
  type: {
287
420
  name: "Composite",
288
- className: "Identity",
421
+ className: "CheckNameAvailabilityResponse",
289
422
  modelProperties: {
290
- principalId: {
291
- readOnly: true,
292
- serializedName: "principalId",
423
+ nameAvailable: {
424
+ serializedName: "nameAvailable",
425
+ required: true,
293
426
  type: {
294
- name: "String"
427
+ name: "Boolean"
295
428
  }
296
429
  },
297
- tenantId: {
298
- readOnly: true,
299
- serializedName: "tenantId",
430
+ reason: {
431
+ serializedName: "reason",
300
432
  type: {
301
433
  name: "String"
302
434
  }
303
435
  },
304
- type: {
305
- serializedName: "type",
436
+ message: {
437
+ serializedName: "message",
306
438
  type: {
307
- name: "Enum",
308
- allowedValues: [
309
- "SystemAssigned"
310
- ]
439
+ name: "String"
311
440
  }
312
441
  }
313
442
  }
314
443
  }
315
444
  };
316
445
 
317
- export const RemoteRenderingAccountIdentity: msRest.CompositeMapper = {
318
- serializedName: "RemoteRenderingAccount_identity",
446
+ export const SpatialAnchorsAccountPage: coreClient.CompositeMapper = {
319
447
  type: {
320
448
  name: "Composite",
321
- className: "RemoteRenderingAccountIdentity",
449
+ className: "SpatialAnchorsAccountPage",
322
450
  modelProperties: {
323
- ...Identity.type.modelProperties
324
- }
325
- }
451
+ value: {
452
+ serializedName: "value",
453
+ type: {
454
+ name: "Sequence",
455
+ element: {
456
+ type: {
457
+ name: "Composite",
458
+ className: "SpatialAnchorsAccount"
459
+ }
460
+ }
461
+ }
462
+ },
463
+ nextLink: {
464
+ serializedName: "nextLink",
465
+ type: {
466
+ name: "String"
467
+ }
468
+ }
469
+ }
470
+ }
326
471
  };
327
472
 
328
- export const RemoteRenderingAccount: msRest.CompositeMapper = {
329
- serializedName: "RemoteRenderingAccount",
473
+ export const Identity: coreClient.CompositeMapper = {
330
474
  type: {
331
475
  name: "Composite",
332
- className: "RemoteRenderingAccount",
476
+ className: "Identity",
333
477
  modelProperties: {
334
- ...TrackedResource.type.modelProperties,
335
- identity: {
336
- serializedName: "identity",
478
+ principalId: {
479
+ serializedName: "principalId",
480
+ readOnly: true,
337
481
  type: {
338
- name: "Composite",
339
- className: "RemoteRenderingAccountIdentity"
482
+ name: "String"
340
483
  }
341
484
  },
342
- accountId: {
485
+ tenantId: {
486
+ serializedName: "tenantId",
343
487
  readOnly: true,
344
- serializedName: "properties.accountId",
345
488
  type: {
346
489
  name: "String"
347
490
  }
348
491
  },
349
- accountDomain: {
350
- readOnly: true,
351
- serializedName: "properties.accountDomain",
492
+ type: {
493
+ defaultValue: "SystemAssigned",
494
+ isConstant: true,
495
+ serializedName: "type",
352
496
  type: {
353
497
  name: "String"
354
498
  }
@@ -357,26 +501,14 @@ export const RemoteRenderingAccount: msRest.CompositeMapper = {
357
501
  }
358
502
  };
359
503
 
360
- export const ResourceModelWithAllowedPropertySetIdentity: msRest.CompositeMapper = {
361
- serializedName: "ResourceModelWithAllowedPropertySet_identity",
362
- type: {
363
- name: "Composite",
364
- className: "ResourceModelWithAllowedPropertySetIdentity",
365
- modelProperties: {
366
- ...Identity.type.modelProperties
367
- }
368
- }
369
- };
370
-
371
- export const Sku: msRest.CompositeMapper = {
372
- serializedName: "Sku",
504
+ export const Sku: coreClient.CompositeMapper = {
373
505
  type: {
374
506
  name: "Composite",
375
507
  className: "Sku",
376
508
  modelProperties: {
377
509
  name: {
378
- required: true,
379
510
  serializedName: "name",
511
+ required: true,
380
512
  type: {
381
513
  name: "String"
382
514
  }
@@ -385,12 +517,7 @@ export const Sku: msRest.CompositeMapper = {
385
517
  serializedName: "tier",
386
518
  type: {
387
519
  name: "Enum",
388
- allowedValues: [
389
- "Free",
390
- "Basic",
391
- "Standard",
392
- "Premium"
393
- ]
520
+ allowedValues: ["Free", "Basic", "Standard", "Premium"]
394
521
  }
395
522
  },
396
523
  size: {
@@ -415,176 +542,134 @@ export const Sku: msRest.CompositeMapper = {
415
542
  }
416
543
  };
417
544
 
418
- export const ResourceModelWithAllowedPropertySetSku: msRest.CompositeMapper = {
419
- serializedName: "ResourceModelWithAllowedPropertySet_sku",
420
- type: {
421
- name: "Composite",
422
- className: "ResourceModelWithAllowedPropertySetSku",
423
- modelProperties: {
424
- ...Sku.type.modelProperties
425
- }
426
- }
427
- };
428
-
429
- export const Plan: msRest.CompositeMapper = {
430
- serializedName: "Plan",
545
+ export const SystemData: coreClient.CompositeMapper = {
431
546
  type: {
432
547
  name: "Composite",
433
- className: "Plan",
548
+ className: "SystemData",
434
549
  modelProperties: {
435
- name: {
436
- required: true,
437
- serializedName: "name",
550
+ createdBy: {
551
+ serializedName: "createdBy",
438
552
  type: {
439
553
  name: "String"
440
554
  }
441
555
  },
442
- publisher: {
443
- required: true,
444
- serializedName: "publisher",
556
+ createdByType: {
557
+ serializedName: "createdByType",
445
558
  type: {
446
559
  name: "String"
447
560
  }
448
561
  },
449
- product: {
450
- required: true,
451
- serializedName: "product",
562
+ createdAt: {
563
+ serializedName: "createdAt",
452
564
  type: {
453
- name: "String"
565
+ name: "DateTime"
454
566
  }
455
567
  },
456
- promotionCode: {
457
- serializedName: "promotionCode",
568
+ lastModifiedBy: {
569
+ serializedName: "lastModifiedBy",
458
570
  type: {
459
571
  name: "String"
460
572
  }
461
573
  },
462
- version: {
463
- serializedName: "version",
574
+ lastModifiedByType: {
575
+ serializedName: "lastModifiedByType",
464
576
  type: {
465
577
  name: "String"
466
578
  }
579
+ },
580
+ lastModifiedAt: {
581
+ serializedName: "lastModifiedAt",
582
+ type: {
583
+ name: "DateTime"
584
+ }
467
585
  }
468
586
  }
469
587
  }
470
588
  };
471
589
 
472
- export const ResourceModelWithAllowedPropertySetPlan: msRest.CompositeMapper = {
473
- serializedName: "ResourceModelWithAllowedPropertySet_plan",
474
- type: {
475
- name: "Composite",
476
- className: "ResourceModelWithAllowedPropertySetPlan",
477
- modelProperties: {
478
- ...Plan.type.modelProperties
479
- }
480
- }
481
- };
482
-
483
- export const ResourceModelWithAllowedPropertySet: msRest.CompositeMapper = {
484
- serializedName: "ResourceModelWithAllowedPropertySet",
590
+ export const Resource: coreClient.CompositeMapper = {
485
591
  type: {
486
592
  name: "Composite",
487
- className: "ResourceModelWithAllowedPropertySet",
593
+ className: "Resource",
488
594
  modelProperties: {
489
595
  id: {
490
- readOnly: true,
491
596
  serializedName: "id",
597
+ readOnly: true,
492
598
  type: {
493
599
  name: "String"
494
600
  }
495
601
  },
496
602
  name: {
497
- readOnly: true,
498
603
  serializedName: "name",
604
+ readOnly: true,
499
605
  type: {
500
606
  name: "String"
501
607
  }
502
608
  },
503
609
  type: {
504
- readOnly: true,
505
610
  serializedName: "type",
611
+ readOnly: true,
506
612
  type: {
507
613
  name: "String"
508
614
  }
509
- },
510
- location: {
511
- serializedName: "location",
512
- type: {
513
- name: "String"
514
- }
515
- },
516
- managedBy: {
517
- serializedName: "managedBy",
518
- type: {
519
- name: "String"
520
- }
521
- },
522
- kind: {
523
- serializedName: "kind",
524
- constraints: {
525
- Pattern: /^[-\w\._,\(\)]+$/
526
- },
615
+ }
616
+ }
617
+ }
618
+ };
619
+
620
+ export const AccountKeys: coreClient.CompositeMapper = {
621
+ type: {
622
+ name: "Composite",
623
+ className: "AccountKeys",
624
+ modelProperties: {
625
+ primaryKey: {
626
+ serializedName: "primaryKey",
627
+ readOnly: true,
527
628
  type: {
528
629
  name: "String"
529
630
  }
530
631
  },
531
- etag: {
632
+ secondaryKey: {
633
+ serializedName: "secondaryKey",
532
634
  readOnly: true,
533
- serializedName: "etag",
534
635
  type: {
535
636
  name: "String"
536
637
  }
537
- },
538
- tags: {
539
- serializedName: "tags",
540
- type: {
541
- name: "Dictionary",
542
- value: {
543
- type: {
544
- name: "String"
545
- }
546
- }
547
- }
548
- },
549
- identity: {
550
- serializedName: "identity",
551
- type: {
552
- name: "Composite",
553
- className: "ResourceModelWithAllowedPropertySetIdentity"
554
- }
555
- },
556
- sku: {
557
- serializedName: "sku",
558
- type: {
559
- name: "Composite",
560
- className: "ResourceModelWithAllowedPropertySetSku"
561
- }
562
- },
563
- plan: {
564
- serializedName: "plan",
638
+ }
639
+ }
640
+ }
641
+ };
642
+
643
+ export const AccountKeyRegenerateRequest: coreClient.CompositeMapper = {
644
+ type: {
645
+ name: "Composite",
646
+ className: "AccountKeyRegenerateRequest",
647
+ modelProperties: {
648
+ serial: {
649
+ defaultValue: "1",
650
+ serializedName: "serial",
565
651
  type: {
566
- name: "Composite",
567
- className: "ResourceModelWithAllowedPropertySetPlan"
652
+ name: "Enum",
653
+ allowedValues: [1, 2]
568
654
  }
569
655
  }
570
656
  }
571
657
  }
572
658
  };
573
659
 
574
- export const OperationPage: msRest.CompositeMapper = {
575
- serializedName: "OperationPage",
660
+ export const RemoteRenderingAccountPage: coreClient.CompositeMapper = {
576
661
  type: {
577
662
  name: "Composite",
578
- className: "OperationPage",
663
+ className: "RemoteRenderingAccountPage",
579
664
  modelProperties: {
580
665
  value: {
581
- serializedName: "",
666
+ serializedName: "value",
582
667
  type: {
583
668
  name: "Sequence",
584
669
  element: {
585
670
  type: {
586
671
  name: "Composite",
587
- className: "Operation"
672
+ className: "RemoteRenderingAccount"
588
673
  }
589
674
  }
590
675
  }
@@ -599,26 +684,22 @@ export const OperationPage: msRest.CompositeMapper = {
599
684
  }
600
685
  };
601
686
 
602
- export const SpatialAnchorsAccountPage: msRest.CompositeMapper = {
603
- serializedName: "SpatialAnchorsAccountPage",
687
+ export const TrackedResource: coreClient.CompositeMapper = {
604
688
  type: {
605
689
  name: "Composite",
606
- className: "SpatialAnchorsAccountPage",
690
+ className: "TrackedResource",
607
691
  modelProperties: {
608
- value: {
609
- serializedName: "",
692
+ ...Resource.type.modelProperties,
693
+ tags: {
694
+ serializedName: "tags",
610
695
  type: {
611
- name: "Sequence",
612
- element: {
613
- type: {
614
- name: "Composite",
615
- className: "SpatialAnchorsAccount"
616
- }
617
- }
696
+ name: "Dictionary",
697
+ value: { type: { name: "String" } }
618
698
  }
619
699
  },
620
- nextLink: {
621
- serializedName: "nextLink",
700
+ location: {
701
+ serializedName: "location",
702
+ required: true,
622
703
  type: {
623
704
  name: "String"
624
705
  }
@@ -627,26 +708,128 @@ export const SpatialAnchorsAccountPage: msRest.CompositeMapper = {
627
708
  }
628
709
  };
629
710
 
630
- export const RemoteRenderingAccountPage: msRest.CompositeMapper = {
631
- serializedName: "RemoteRenderingAccountPage",
711
+ export const SpatialAnchorsAccount: coreClient.CompositeMapper = {
632
712
  type: {
633
713
  name: "Composite",
634
- className: "RemoteRenderingAccountPage",
714
+ className: "SpatialAnchorsAccount",
635
715
  modelProperties: {
636
- value: {
637
- serializedName: "",
716
+ ...TrackedResource.type.modelProperties,
717
+ identity: {
718
+ serializedName: "identity",
638
719
  type: {
639
- name: "Sequence",
640
- element: {
641
- type: {
642
- name: "Composite",
643
- className: "RemoteRenderingAccount"
644
- }
645
- }
720
+ name: "Composite",
721
+ className: "Identity"
646
722
  }
647
723
  },
648
- nextLink: {
649
- serializedName: "nextLink",
724
+ plan: {
725
+ serializedName: "plan",
726
+ type: {
727
+ name: "Composite",
728
+ className: "Identity"
729
+ }
730
+ },
731
+ sku: {
732
+ serializedName: "sku",
733
+ type: {
734
+ name: "Composite",
735
+ className: "Sku"
736
+ }
737
+ },
738
+ kind: {
739
+ serializedName: "kind",
740
+ type: {
741
+ name: "Composite",
742
+ className: "Sku"
743
+ }
744
+ },
745
+ systemData: {
746
+ serializedName: "systemData",
747
+ type: {
748
+ name: "Composite",
749
+ className: "SystemData"
750
+ }
751
+ },
752
+ storageAccountName: {
753
+ serializedName: "properties.storageAccountName",
754
+ type: {
755
+ name: "String"
756
+ }
757
+ },
758
+ accountId: {
759
+ serializedName: "properties.accountId",
760
+ readOnly: true,
761
+ type: {
762
+ name: "String"
763
+ }
764
+ },
765
+ accountDomain: {
766
+ serializedName: "properties.accountDomain",
767
+ readOnly: true,
768
+ type: {
769
+ name: "String"
770
+ }
771
+ }
772
+ }
773
+ }
774
+ };
775
+
776
+ export const RemoteRenderingAccount: coreClient.CompositeMapper = {
777
+ type: {
778
+ name: "Composite",
779
+ className: "RemoteRenderingAccount",
780
+ modelProperties: {
781
+ ...TrackedResource.type.modelProperties,
782
+ identity: {
783
+ serializedName: "identity",
784
+ type: {
785
+ name: "Composite",
786
+ className: "Identity"
787
+ }
788
+ },
789
+ plan: {
790
+ serializedName: "plan",
791
+ type: {
792
+ name: "Composite",
793
+ className: "Identity"
794
+ }
795
+ },
796
+ sku: {
797
+ serializedName: "sku",
798
+ type: {
799
+ name: "Composite",
800
+ className: "Sku"
801
+ }
802
+ },
803
+ kind: {
804
+ serializedName: "kind",
805
+ type: {
806
+ name: "Composite",
807
+ className: "Sku"
808
+ }
809
+ },
810
+ systemData: {
811
+ serializedName: "systemData",
812
+ type: {
813
+ name: "Composite",
814
+ className: "SystemData"
815
+ }
816
+ },
817
+ storageAccountName: {
818
+ serializedName: "properties.storageAccountName",
819
+ type: {
820
+ name: "String"
821
+ }
822
+ },
823
+ accountId: {
824
+ serializedName: "properties.accountId",
825
+ readOnly: true,
826
+ type: {
827
+ name: "String"
828
+ }
829
+ },
830
+ accountDomain: {
831
+ serializedName: "properties.accountDomain",
832
+ readOnly: true,
650
833
  type: {
651
834
  name: "String"
652
835
  }