@azure/arm-mixedreality 3.1.0 → 4.0.1-alpha.20220131.2

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