@azure/arm-mixedreality 2.0.0 → 4.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 (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
@@ -0,0 +1,674 @@
1
+ import * as coreAuth from '@azure/core-auth';
2
+ import * as coreClient from '@azure/core-client';
3
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
+
5
+ /** Request for account key regeneration */
6
+ export declare interface AccountKeyRegenerateRequest {
7
+ /** serial of key to be regenerated */
8
+ serial?: Serial;
9
+ }
10
+
11
+ /** Developer Keys of account */
12
+ export declare interface AccountKeys {
13
+ /**
14
+ * value of primary key.
15
+ * NOTE: This property will not be serialized. It can only be populated by the server.
16
+ */
17
+ readonly primaryKey?: string;
18
+ /**
19
+ * value of secondary key.
20
+ * NOTE: This property will not be serialized. It can only be populated by the server.
21
+ */
22
+ readonly secondaryKey?: string;
23
+ }
24
+
25
+ /** Optional parameters. */
26
+ export declare interface CheckNameAvailabilityLocalOptionalParams extends coreClient.OperationOptions {
27
+ }
28
+
29
+ /** Contains response data for the checkNameAvailabilityLocal operation. */
30
+ export declare type CheckNameAvailabilityLocalResponse = CheckNameAvailabilityResponse;
31
+
32
+ /** Check Name Availability Request */
33
+ export declare interface CheckNameAvailabilityRequest {
34
+ /** Resource Name To Verify */
35
+ name: string;
36
+ /** Fully qualified resource type which includes provider namespace */
37
+ type: string;
38
+ }
39
+
40
+ /** Check Name Availability Response */
41
+ export declare interface CheckNameAvailabilityResponse {
42
+ /** if name Available */
43
+ nameAvailable: boolean;
44
+ /** Resource Name To Verify */
45
+ reason?: NameUnavailableReason;
46
+ /** detail message */
47
+ message?: string;
48
+ }
49
+
50
+ /** An Error response. */
51
+ export declare interface CloudError {
52
+ /** An Error response. */
53
+ error?: CloudErrorBody;
54
+ }
55
+
56
+ /** An error response from Azure. */
57
+ export declare interface CloudErrorBody {
58
+ /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
59
+ code?: string;
60
+ /** A message describing the error, intended to be suitable for displaying in a user interface. */
61
+ message?: string;
62
+ /** The target of the particular error. For example, the name of the property in error. */
63
+ target?: string;
64
+ /** A list of additional details about the error. */
65
+ details?: CloudErrorBody[];
66
+ }
67
+
68
+ /**
69
+ * Defines values for CreatedByType. \
70
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
71
+ * this enum contains the known values that the service supports.
72
+ * ### Known values supported by the service
73
+ * **User** \
74
+ * **Application** \
75
+ * **ManagedIdentity** \
76
+ * **Key**
77
+ */
78
+ export declare type CreatedByType = string;
79
+
80
+ /** Identity for the resource. */
81
+ export declare interface Identity {
82
+ /**
83
+ * The principal ID of resource identity.
84
+ * NOTE: This property will not be serialized. It can only be populated by the server.
85
+ */
86
+ readonly principalId?: string;
87
+ /**
88
+ * The tenant ID of resource.
89
+ * NOTE: This property will not be serialized. It can only be populated by the server.
90
+ */
91
+ readonly tenantId?: string;
92
+ /** The identity type. */
93
+ type?: "SystemAssigned";
94
+ }
95
+
96
+ /** Known values of {@link CreatedByType} that the service accepts. */
97
+ export declare enum KnownCreatedByType {
98
+ User = "User",
99
+ Application = "Application",
100
+ ManagedIdentity = "ManagedIdentity",
101
+ Key = "Key"
102
+ }
103
+
104
+ /** Known values of {@link NameUnavailableReason} that the service accepts. */
105
+ export declare enum KnownNameUnavailableReason {
106
+ Invalid = "Invalid",
107
+ AlreadyExists = "AlreadyExists"
108
+ }
109
+
110
+ /** Specifications of the Log for Azure Monitoring */
111
+ export declare interface LogSpecification {
112
+ /** Name of the log */
113
+ name?: string;
114
+ /** Localized friendly display name of the log */
115
+ displayName?: string;
116
+ /** Blob duration of the log */
117
+ blobDuration?: string;
118
+ }
119
+
120
+ /** Specifications of the Dimension of metrics */
121
+ export declare interface MetricDimension {
122
+ /** Name of the dimension */
123
+ name?: string;
124
+ /** Localized friendly display name of the dimension */
125
+ displayName?: string;
126
+ /** Internal name of the dimension. */
127
+ internalName?: string;
128
+ }
129
+
130
+ /** Specifications of the Metrics for Azure Monitoring */
131
+ export declare interface MetricSpecification {
132
+ /** Name of the metric */
133
+ name?: string;
134
+ /** Localized friendly display name of the metric */
135
+ displayName?: string;
136
+ /** Localized friendly description of the metric */
137
+ displayDescription?: string;
138
+ /** Unit that makes sense for the metric */
139
+ unit?: string;
140
+ /** Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count. */
141
+ aggregationType?: string;
142
+ /** Supported aggregation types. Valid values: Average, Minimum, Maximum, Total, Count. */
143
+ supportedAggregationTypes?: string[];
144
+ /** Supported time grains. Valid values: PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D */
145
+ supportedTimeGrainTypes?: string[];
146
+ /** Flag to indicate use of regional Mdm accounts */
147
+ enableRegionalMdmAccount?: boolean;
148
+ /** Source mdm account */
149
+ sourceMdmAccount?: string;
150
+ /** Source mdm namespace */
151
+ sourceMdmNamespace?: string;
152
+ /** Metric filter regex pattern */
153
+ metricFilterPattern?: string;
154
+ /** Flag to determine is Zero is returned for time duration where no metric is emitted */
155
+ fillGapWithZero?: boolean;
156
+ /** Metric category */
157
+ category?: string;
158
+ /** Internal metric name. */
159
+ internalMetricName?: string;
160
+ /** Dimensions of the metric */
161
+ dimensions?: MetricDimension[];
162
+ /** Locked aggregation type of the metric */
163
+ lockedAggregationType?: string;
164
+ }
165
+
166
+ export declare class MixedRealityClient extends coreClient.ServiceClient {
167
+ $host: string;
168
+ apiVersion: string;
169
+ subscriptionId: string;
170
+ /**
171
+ * Initializes a new instance of the MixedRealityClient class.
172
+ * @param credentials Subscription credentials which uniquely identify client subscription.
173
+ * @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.
174
+ * 00000000-0000-0000-0000-000000000000)
175
+ * @param options The parameter options
176
+ */
177
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MixedRealityClientOptionalParams);
178
+ /**
179
+ * Check Name Availability for local uniqueness
180
+ * @param location The location in which uniqueness will be verified.
181
+ * @param checkNameAvailability Check Name Availability Request.
182
+ * @param options The options parameters.
183
+ */
184
+ checkNameAvailabilityLocal(location: string, checkNameAvailability: CheckNameAvailabilityRequest, options?: CheckNameAvailabilityLocalOptionalParams): Promise<CheckNameAvailabilityLocalResponse>;
185
+ operations: Operations;
186
+ spatialAnchorsAccounts: SpatialAnchorsAccounts;
187
+ remoteRenderingAccounts: RemoteRenderingAccounts;
188
+ }
189
+
190
+ /** Optional parameters. */
191
+ export declare interface MixedRealityClientOptionalParams extends coreClient.ServiceClientOptions {
192
+ /** server parameter */
193
+ $host?: string;
194
+ /** Api Version */
195
+ apiVersion?: string;
196
+ /** Overrides client endpoint. */
197
+ endpoint?: string;
198
+ }
199
+
200
+ /**
201
+ * Defines values for NameUnavailableReason. \
202
+ * {@link KnownNameUnavailableReason} can be used interchangeably with NameUnavailableReason,
203
+ * this enum contains the known values that the service supports.
204
+ * ### Known values supported by the service
205
+ * **Invalid** \
206
+ * **AlreadyExists**
207
+ */
208
+ export declare type NameUnavailableReason = string;
209
+
210
+ /** REST API operation */
211
+ export declare interface Operation {
212
+ /** Operation name: {provider}/{resource}/{operation} */
213
+ name?: string;
214
+ /** The object that represents the operation. */
215
+ display?: OperationDisplay;
216
+ /** Whether or not this is a data plane operation */
217
+ isDataAction?: boolean;
218
+ /** The origin */
219
+ origin?: string;
220
+ /** Properties of the operation */
221
+ properties?: OperationProperties;
222
+ }
223
+
224
+ /** The object that represents the operation. */
225
+ export declare interface OperationDisplay {
226
+ /** Service provider: Microsoft.ResourceProvider */
227
+ provider: string;
228
+ /** Resource on which the operation is performed: Profile, endpoint, etc. */
229
+ resource: string;
230
+ /** Operation type: Read, write, delete, etc. */
231
+ operation: string;
232
+ /** Description of operation */
233
+ description: string;
234
+ }
235
+
236
+ /** Result of the request to list Resource Provider operations. It contains a list of operations and a URL link to get the next set of results. */
237
+ export declare interface OperationPage {
238
+ /** List of operations supported by the Resource Provider. */
239
+ value?: Operation[];
240
+ /** URL to get the next set of operation list results if there are any. */
241
+ nextLink?: string;
242
+ }
243
+
244
+ /** Operation properties. */
245
+ export declare interface OperationProperties {
246
+ /** Service specification. */
247
+ serviceSpecification?: ServiceSpecification;
248
+ }
249
+
250
+ /** Interface representing a Operations. */
251
+ export declare interface Operations {
252
+ /**
253
+ * Exposing Available Operations
254
+ * @param options The options parameters.
255
+ */
256
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
257
+ }
258
+
259
+ /** Optional parameters. */
260
+ export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
261
+ }
262
+
263
+ /** Contains response data for the listNext operation. */
264
+ export declare type OperationsListNextResponse = OperationPage;
265
+
266
+ /** Optional parameters. */
267
+ export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
268
+ }
269
+
270
+ /** Contains response data for the list operation. */
271
+ export declare type OperationsListResponse = OperationPage;
272
+
273
+ /** RemoteRenderingAccount Response. */
274
+ export declare type RemoteRenderingAccount = TrackedResource & {
275
+ /** The identity associated with this account */
276
+ identity?: Identity;
277
+ /** The plan associated with this account */
278
+ plan?: Identity;
279
+ /** The sku associated with this account */
280
+ sku?: Sku;
281
+ /** The kind of account, if supported */
282
+ kind?: Sku;
283
+ /**
284
+ * System metadata for this account
285
+ * NOTE: This property will not be serialized. It can only be populated by the server.
286
+ */
287
+ readonly systemData?: SystemData;
288
+ /** The name of the storage account associated with this accountId */
289
+ storageAccountName?: string;
290
+ /**
291
+ * unique id of certain account.
292
+ * NOTE: This property will not be serialized. It can only be populated by the server.
293
+ */
294
+ readonly accountId?: string;
295
+ /**
296
+ * Correspond domain name of certain Spatial Anchors Account
297
+ * NOTE: This property will not be serialized. It can only be populated by the server.
298
+ */
299
+ readonly accountDomain?: string;
300
+ };
301
+
302
+ /** Result of the request to get resource collection. It contains a list of resources and a URL link to get the next set of results. */
303
+ export declare interface RemoteRenderingAccountPage {
304
+ /** List of resources supported by the Resource Provider. */
305
+ value?: RemoteRenderingAccount[];
306
+ /** URL to get the next set of resource list results if there are any. */
307
+ nextLink?: string;
308
+ }
309
+
310
+ /** Interface representing a RemoteRenderingAccounts. */
311
+ export declare interface RemoteRenderingAccounts {
312
+ /**
313
+ * List Remote Rendering Accounts by Subscription
314
+ * @param options The options parameters.
315
+ */
316
+ listBySubscription(options?: RemoteRenderingAccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<RemoteRenderingAccount>;
317
+ /**
318
+ * List Resources by Resource Group
319
+ * @param resourceGroupName Name of an Azure resource group.
320
+ * @param options The options parameters.
321
+ */
322
+ listByResourceGroup(resourceGroupName: string, options?: RemoteRenderingAccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<RemoteRenderingAccount>;
323
+ /**
324
+ * Delete a Remote Rendering Account.
325
+ * @param resourceGroupName Name of an Azure resource group.
326
+ * @param accountName Name of an Mixed Reality Account.
327
+ * @param options The options parameters.
328
+ */
329
+ delete(resourceGroupName: string, accountName: string, options?: RemoteRenderingAccountsDeleteOptionalParams): Promise<void>;
330
+ /**
331
+ * Retrieve a Remote Rendering Account.
332
+ * @param resourceGroupName Name of an Azure resource group.
333
+ * @param accountName Name of an Mixed Reality Account.
334
+ * @param options The options parameters.
335
+ */
336
+ get(resourceGroupName: string, accountName: string, options?: RemoteRenderingAccountsGetOptionalParams): Promise<RemoteRenderingAccountsGetResponse>;
337
+ /**
338
+ * Updating a Remote Rendering Account
339
+ * @param resourceGroupName Name of an Azure resource group.
340
+ * @param accountName Name of an Mixed Reality Account.
341
+ * @param remoteRenderingAccount Remote Rendering Account parameter.
342
+ * @param options The options parameters.
343
+ */
344
+ update(resourceGroupName: string, accountName: string, remoteRenderingAccount: RemoteRenderingAccount, options?: RemoteRenderingAccountsUpdateOptionalParams): Promise<RemoteRenderingAccountsUpdateResponse>;
345
+ /**
346
+ * Creating or Updating a Remote Rendering Account.
347
+ * @param resourceGroupName Name of an Azure resource group.
348
+ * @param accountName Name of an Mixed Reality Account.
349
+ * @param remoteRenderingAccount Remote Rendering Account parameter.
350
+ * @param options The options parameters.
351
+ */
352
+ create(resourceGroupName: string, accountName: string, remoteRenderingAccount: RemoteRenderingAccount, options?: RemoteRenderingAccountsCreateOptionalParams): Promise<RemoteRenderingAccountsCreateResponse>;
353
+ /**
354
+ * List Both of the 2 Keys of a Remote Rendering Account
355
+ * @param resourceGroupName Name of an Azure resource group.
356
+ * @param accountName Name of an Mixed Reality Account.
357
+ * @param options The options parameters.
358
+ */
359
+ listKeys(resourceGroupName: string, accountName: string, options?: RemoteRenderingAccountsListKeysOptionalParams): Promise<RemoteRenderingAccountsListKeysResponse>;
360
+ /**
361
+ * Regenerate specified Key of a Remote Rendering Account
362
+ * @param resourceGroupName Name of an Azure resource group.
363
+ * @param accountName Name of an Mixed Reality Account.
364
+ * @param regenerate Required information for key regeneration.
365
+ * @param options The options parameters.
366
+ */
367
+ regenerateKeys(resourceGroupName: string, accountName: string, regenerate: AccountKeyRegenerateRequest, options?: RemoteRenderingAccountsRegenerateKeysOptionalParams): Promise<RemoteRenderingAccountsRegenerateKeysResponse>;
368
+ }
369
+
370
+ /** Optional parameters. */
371
+ export declare interface RemoteRenderingAccountsCreateOptionalParams extends coreClient.OperationOptions {
372
+ }
373
+
374
+ /** Contains response data for the create operation. */
375
+ export declare type RemoteRenderingAccountsCreateResponse = RemoteRenderingAccount;
376
+
377
+ /** Optional parameters. */
378
+ export declare interface RemoteRenderingAccountsDeleteOptionalParams extends coreClient.OperationOptions {
379
+ }
380
+
381
+ /** Optional parameters. */
382
+ export declare interface RemoteRenderingAccountsGetOptionalParams extends coreClient.OperationOptions {
383
+ }
384
+
385
+ /** Contains response data for the get operation. */
386
+ export declare type RemoteRenderingAccountsGetResponse = RemoteRenderingAccount;
387
+
388
+ /** Optional parameters. */
389
+ export declare interface RemoteRenderingAccountsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
390
+ }
391
+
392
+ /** Contains response data for the listByResourceGroupNext operation. */
393
+ export declare type RemoteRenderingAccountsListByResourceGroupNextResponse = RemoteRenderingAccountPage;
394
+
395
+ /** Optional parameters. */
396
+ export declare interface RemoteRenderingAccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
397
+ }
398
+
399
+ /** Contains response data for the listByResourceGroup operation. */
400
+ export declare type RemoteRenderingAccountsListByResourceGroupResponse = RemoteRenderingAccountPage;
401
+
402
+ /** Optional parameters. */
403
+ export declare interface RemoteRenderingAccountsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
404
+ }
405
+
406
+ /** Contains response data for the listBySubscriptionNext operation. */
407
+ export declare type RemoteRenderingAccountsListBySubscriptionNextResponse = RemoteRenderingAccountPage;
408
+
409
+ /** Optional parameters. */
410
+ export declare interface RemoteRenderingAccountsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
411
+ }
412
+
413
+ /** Contains response data for the listBySubscription operation. */
414
+ export declare type RemoteRenderingAccountsListBySubscriptionResponse = RemoteRenderingAccountPage;
415
+
416
+ /** Optional parameters. */
417
+ export declare interface RemoteRenderingAccountsListKeysOptionalParams extends coreClient.OperationOptions {
418
+ }
419
+
420
+ /** Contains response data for the listKeys operation. */
421
+ export declare type RemoteRenderingAccountsListKeysResponse = AccountKeys;
422
+
423
+ /** Optional parameters. */
424
+ export declare interface RemoteRenderingAccountsRegenerateKeysOptionalParams extends coreClient.OperationOptions {
425
+ }
426
+
427
+ /** Contains response data for the regenerateKeys operation. */
428
+ export declare type RemoteRenderingAccountsRegenerateKeysResponse = AccountKeys;
429
+
430
+ /** Optional parameters. */
431
+ export declare interface RemoteRenderingAccountsUpdateOptionalParams extends coreClient.OperationOptions {
432
+ }
433
+
434
+ /** Contains response data for the update operation. */
435
+ export declare type RemoteRenderingAccountsUpdateResponse = RemoteRenderingAccount;
436
+
437
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
438
+ export declare interface Resource {
439
+ /**
440
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
441
+ * NOTE: This property will not be serialized. It can only be populated by the server.
442
+ */
443
+ readonly id?: string;
444
+ /**
445
+ * The name of the resource
446
+ * NOTE: This property will not be serialized. It can only be populated by the server.
447
+ */
448
+ readonly name?: string;
449
+ /**
450
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
451
+ * NOTE: This property will not be serialized. It can only be populated by the server.
452
+ */
453
+ readonly type?: string;
454
+ }
455
+
456
+ /** Defines values for Serial. */
457
+ export declare type Serial = 1 | 2;
458
+
459
+ /** Service specification payload */
460
+ export declare interface ServiceSpecification {
461
+ /** Specifications of the Log for Azure Monitoring */
462
+ logSpecifications?: LogSpecification[];
463
+ /** Specifications of the Metrics for Azure Monitoring */
464
+ metricSpecifications?: MetricSpecification[];
465
+ }
466
+
467
+ /** The resource model definition representing SKU */
468
+ export declare interface Sku {
469
+ /** The name of the SKU. Ex - P3. It is typically a letter+number code */
470
+ name: string;
471
+ /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */
472
+ tier?: SkuTier;
473
+ /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */
474
+ size?: string;
475
+ /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */
476
+ family?: string;
477
+ /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */
478
+ capacity?: number;
479
+ }
480
+
481
+ /** Defines values for SkuTier. */
482
+ export declare type SkuTier = "Free" | "Basic" | "Standard" | "Premium";
483
+
484
+ /** SpatialAnchorsAccount Response. */
485
+ export declare type SpatialAnchorsAccount = TrackedResource & {
486
+ /** The identity associated with this account */
487
+ identity?: Identity;
488
+ /** The plan associated with this account */
489
+ plan?: Identity;
490
+ /** The sku associated with this account */
491
+ sku?: Sku;
492
+ /** The kind of account, if supported */
493
+ kind?: Sku;
494
+ /**
495
+ * System metadata for this account
496
+ * NOTE: This property will not be serialized. It can only be populated by the server.
497
+ */
498
+ readonly systemData?: SystemData;
499
+ /** The name of the storage account associated with this accountId */
500
+ storageAccountName?: string;
501
+ /**
502
+ * unique id of certain account.
503
+ * NOTE: This property will not be serialized. It can only be populated by the server.
504
+ */
505
+ readonly accountId?: string;
506
+ /**
507
+ * Correspond domain name of certain Spatial Anchors Account
508
+ * NOTE: This property will not be serialized. It can only be populated by the server.
509
+ */
510
+ readonly accountDomain?: string;
511
+ };
512
+
513
+ /** Result of the request to get resource collection. It contains a list of resources and a URL link to get the next set of results. */
514
+ export declare interface SpatialAnchorsAccountPage {
515
+ /** List of resources supported by the Resource Provider. */
516
+ value?: SpatialAnchorsAccount[];
517
+ /** URL to get the next set of resource list results if there are any. */
518
+ nextLink?: string;
519
+ }
520
+
521
+ /** Interface representing a SpatialAnchorsAccounts. */
522
+ export declare interface SpatialAnchorsAccounts {
523
+ /**
524
+ * List Spatial Anchors Accounts by Subscription
525
+ * @param options The options parameters.
526
+ */
527
+ listBySubscription(options?: SpatialAnchorsAccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SpatialAnchorsAccount>;
528
+ /**
529
+ * List Resources by Resource Group
530
+ * @param resourceGroupName Name of an Azure resource group.
531
+ * @param options The options parameters.
532
+ */
533
+ listByResourceGroup(resourceGroupName: string, options?: SpatialAnchorsAccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SpatialAnchorsAccount>;
534
+ /**
535
+ * Delete a Spatial Anchors Account.
536
+ * @param resourceGroupName Name of an Azure resource group.
537
+ * @param accountName Name of an Mixed Reality Account.
538
+ * @param options The options parameters.
539
+ */
540
+ delete(resourceGroupName: string, accountName: string, options?: SpatialAnchorsAccountsDeleteOptionalParams): Promise<void>;
541
+ /**
542
+ * Retrieve a Spatial Anchors Account.
543
+ * @param resourceGroupName Name of an Azure resource group.
544
+ * @param accountName Name of an Mixed Reality Account.
545
+ * @param options The options parameters.
546
+ */
547
+ get(resourceGroupName: string, accountName: string, options?: SpatialAnchorsAccountsGetOptionalParams): Promise<SpatialAnchorsAccountsGetResponse>;
548
+ /**
549
+ * Updating a Spatial Anchors Account
550
+ * @param resourceGroupName Name of an Azure resource group.
551
+ * @param accountName Name of an Mixed Reality Account.
552
+ * @param spatialAnchorsAccount Spatial Anchors Account parameter.
553
+ * @param options The options parameters.
554
+ */
555
+ update(resourceGroupName: string, accountName: string, spatialAnchorsAccount: SpatialAnchorsAccount, options?: SpatialAnchorsAccountsUpdateOptionalParams): Promise<SpatialAnchorsAccountsUpdateResponse>;
556
+ /**
557
+ * Creating or Updating a Spatial Anchors Account.
558
+ * @param resourceGroupName Name of an Azure resource group.
559
+ * @param accountName Name of an Mixed Reality Account.
560
+ * @param spatialAnchorsAccount Spatial Anchors Account parameter.
561
+ * @param options The options parameters.
562
+ */
563
+ create(resourceGroupName: string, accountName: string, spatialAnchorsAccount: SpatialAnchorsAccount, options?: SpatialAnchorsAccountsCreateOptionalParams): Promise<SpatialAnchorsAccountsCreateResponse>;
564
+ /**
565
+ * List Both of the 2 Keys of a Spatial Anchors Account
566
+ * @param resourceGroupName Name of an Azure resource group.
567
+ * @param accountName Name of an Mixed Reality Account.
568
+ * @param options The options parameters.
569
+ */
570
+ listKeys(resourceGroupName: string, accountName: string, options?: SpatialAnchorsAccountsListKeysOptionalParams): Promise<SpatialAnchorsAccountsListKeysResponse>;
571
+ /**
572
+ * Regenerate specified Key of a Spatial Anchors Account
573
+ * @param resourceGroupName Name of an Azure resource group.
574
+ * @param accountName Name of an Mixed Reality Account.
575
+ * @param regenerate Required information for key regeneration.
576
+ * @param options The options parameters.
577
+ */
578
+ regenerateKeys(resourceGroupName: string, accountName: string, regenerate: AccountKeyRegenerateRequest, options?: SpatialAnchorsAccountsRegenerateKeysOptionalParams): Promise<SpatialAnchorsAccountsRegenerateKeysResponse>;
579
+ }
580
+
581
+ /** Optional parameters. */
582
+ export declare interface SpatialAnchorsAccountsCreateOptionalParams extends coreClient.OperationOptions {
583
+ }
584
+
585
+ /** Contains response data for the create operation. */
586
+ export declare type SpatialAnchorsAccountsCreateResponse = SpatialAnchorsAccount;
587
+
588
+ /** Optional parameters. */
589
+ export declare interface SpatialAnchorsAccountsDeleteOptionalParams extends coreClient.OperationOptions {
590
+ }
591
+
592
+ /** Optional parameters. */
593
+ export declare interface SpatialAnchorsAccountsGetOptionalParams extends coreClient.OperationOptions {
594
+ }
595
+
596
+ /** Contains response data for the get operation. */
597
+ export declare type SpatialAnchorsAccountsGetResponse = SpatialAnchorsAccount;
598
+
599
+ /** Optional parameters. */
600
+ export declare interface SpatialAnchorsAccountsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
601
+ }
602
+
603
+ /** Contains response data for the listByResourceGroupNext operation. */
604
+ export declare type SpatialAnchorsAccountsListByResourceGroupNextResponse = SpatialAnchorsAccountPage;
605
+
606
+ /** Optional parameters. */
607
+ export declare interface SpatialAnchorsAccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
608
+ }
609
+
610
+ /** Contains response data for the listByResourceGroup operation. */
611
+ export declare type SpatialAnchorsAccountsListByResourceGroupResponse = SpatialAnchorsAccountPage;
612
+
613
+ /** Optional parameters. */
614
+ export declare interface SpatialAnchorsAccountsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
615
+ }
616
+
617
+ /** Contains response data for the listBySubscriptionNext operation. */
618
+ export declare type SpatialAnchorsAccountsListBySubscriptionNextResponse = SpatialAnchorsAccountPage;
619
+
620
+ /** Optional parameters. */
621
+ export declare interface SpatialAnchorsAccountsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
622
+ }
623
+
624
+ /** Contains response data for the listBySubscription operation. */
625
+ export declare type SpatialAnchorsAccountsListBySubscriptionResponse = SpatialAnchorsAccountPage;
626
+
627
+ /** Optional parameters. */
628
+ export declare interface SpatialAnchorsAccountsListKeysOptionalParams extends coreClient.OperationOptions {
629
+ }
630
+
631
+ /** Contains response data for the listKeys operation. */
632
+ export declare type SpatialAnchorsAccountsListKeysResponse = AccountKeys;
633
+
634
+ /** Optional parameters. */
635
+ export declare interface SpatialAnchorsAccountsRegenerateKeysOptionalParams extends coreClient.OperationOptions {
636
+ }
637
+
638
+ /** Contains response data for the regenerateKeys operation. */
639
+ export declare type SpatialAnchorsAccountsRegenerateKeysResponse = AccountKeys;
640
+
641
+ /** Optional parameters. */
642
+ export declare interface SpatialAnchorsAccountsUpdateOptionalParams extends coreClient.OperationOptions {
643
+ }
644
+
645
+ /** Contains response data for the update operation. */
646
+ export declare type SpatialAnchorsAccountsUpdateResponse = SpatialAnchorsAccount;
647
+
648
+ /** Metadata pertaining to creation and last modification of the resource. */
649
+ export declare interface SystemData {
650
+ /** The identity that created the resource. */
651
+ createdBy?: string;
652
+ /** The type of identity that created the resource. */
653
+ createdByType?: CreatedByType;
654
+ /** The timestamp of resource creation (UTC). */
655
+ createdAt?: Date;
656
+ /** The identity that last modified the resource. */
657
+ lastModifiedBy?: string;
658
+ /** The type of identity that last modified the resource. */
659
+ lastModifiedByType?: CreatedByType;
660
+ /** The timestamp of resource last modification (UTC) */
661
+ lastModifiedAt?: Date;
662
+ }
663
+
664
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
665
+ export declare type TrackedResource = Resource & {
666
+ /** Resource tags. */
667
+ tags?: {
668
+ [propertyName: string]: string;
669
+ };
670
+ /** The geo-location where the resource lives */
671
+ location: string;
672
+ };
673
+
674
+ export { }
@@ -0,0 +1,11 @@
1
+ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
+ // It should be published with your NPM package. It should not be tracked by Git.
3
+ {
4
+ "tsdocVersion": "0.12",
5
+ "toolPackages": [
6
+ {
7
+ "packageName": "@microsoft/api-extractor",
8
+ "packageVersion": "7.19.4"
9
+ }
10
+ ]
11
+ }