@azure/arm-mixedreality 3.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/LICENSE +21 -0
  3. package/README.md +70 -70
  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 +75 -32
  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 -74
  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 -2042
  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 -42
  160. package/esm/mixedRealityClient.d.ts.map +0 -1
  161. package/esm/mixedRealityClient.js +0 -72
  162. package/esm/mixedRealityClient.js.map +0 -1
  163. package/esm/mixedRealityClientContext.d.ts +0 -17
  164. package/esm/mixedRealityClientContext.d.ts.map +0 -1
  165. package/esm/mixedRealityClientContext.js +0 -56
  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 -62
  204. package/src/models/remoteRenderingAccountsMappers.ts +0 -29
  205. package/src/models/spatialAnchorsAccountsMappers.ts +0 -29
@@ -6,1031 +6,517 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { BaseResource, CloudError, AzureServiceClientOptions } 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 { BaseResource, CloudError };
13
-
14
- /**
15
- * Check Name Availability Request
16
- */
17
- export interface CheckNameAvailabilityRequest {
18
- /**
19
- * Resource Name To Verify
20
- */
21
- name: string;
22
- /**
23
- * Fully qualified resource type which includes provider namespace
24
- */
25
- type: string;
11
+ /** 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. */
12
+ export interface OperationPage {
13
+ /** List of operations supported by the Resource Provider. */
14
+ value?: Operation[];
15
+ /** URL to get the next set of operation list results if there are any. */
16
+ nextLink?: string;
26
17
  }
27
18
 
28
- /**
29
- * Check Name Availability Response
30
- */
31
- export interface CheckNameAvailabilityResponse {
32
- /**
33
- * if name Available
34
- */
35
- nameAvailable: boolean;
36
- /**
37
- * Resource Name To Verify. Possible values include: 'Invalid', 'AlreadyExists'
38
- */
39
- reason?: NameUnavailableReason;
40
- /**
41
- * detail message
42
- */
43
- message?: string;
19
+ /** REST API operation */
20
+ export interface Operation {
21
+ /** Operation name: {provider}/{resource}/{operation} */
22
+ name?: string;
23
+ /** The object that represents the operation. */
24
+ display?: OperationDisplay;
25
+ /** Whether or not this is a data plane operation */
26
+ isDataAction?: boolean;
27
+ /** The origin */
28
+ origin?: string;
29
+ /** Properties of the operation */
30
+ properties?: OperationProperties;
44
31
  }
45
32
 
46
- /**
47
- * The object that represents the operation.
48
- */
33
+ /** The object that represents the operation. */
49
34
  export interface OperationDisplay {
50
- /**
51
- * Service provider: Microsoft.ResourceProvider
52
- */
35
+ /** Service provider: Microsoft.ResourceProvider */
53
36
  provider: string;
54
- /**
55
- * Resource on which the operation is performed: Profile, endpoint, etc.
56
- */
37
+ /** Resource on which the operation is performed: Profile, endpoint, etc. */
57
38
  resource: string;
58
- /**
59
- * Operation type: Read, write, delete, etc.
60
- */
39
+ /** Operation type: Read, write, delete, etc. */
61
40
  operation: string;
62
- /**
63
- * Description of operation
64
- */
41
+ /** Description of operation */
65
42
  description: string;
66
43
  }
67
44
 
68
- /**
69
- * Specifications of the Log for Azure Monitoring
70
- */
71
- export interface LogSpecification {
72
- /**
73
- * Name of the log
74
- */
75
- name?: string;
76
- /**
77
- * Localized friendly display name of the log
78
- */
79
- displayName?: string;
80
- /**
81
- * Blob duration of the log
82
- */
83
- blobDuration?: string;
45
+ /** Operation properties. */
46
+ export interface OperationProperties {
47
+ /** Service specification. */
48
+ serviceSpecification?: ServiceSpecification;
84
49
  }
85
50
 
86
- /**
87
- * Specifications of the Dimension of metrics
88
- */
89
- export interface MetricDimension {
90
- /**
91
- * Name of the dimension
92
- */
51
+ /** Service specification payload */
52
+ export interface ServiceSpecification {
53
+ /** Specifications of the Log for Azure Monitoring */
54
+ logSpecifications?: LogSpecification[];
55
+ /** Specifications of the Metrics for Azure Monitoring */
56
+ metricSpecifications?: MetricSpecification[];
57
+ }
58
+
59
+ /** Specifications of the Log for Azure Monitoring */
60
+ export interface LogSpecification {
61
+ /** Name of the log */
93
62
  name?: string;
94
- /**
95
- * Localized friendly display name of the dimension
96
- */
63
+ /** Localized friendly display name of the log */
97
64
  displayName?: string;
98
- /**
99
- * Internal name of the dimension.
100
- */
101
- internalName?: string;
65
+ /** Blob duration of the log */
66
+ blobDuration?: string;
102
67
  }
103
68
 
104
- /**
105
- * Specifications of the Metrics for Azure Monitoring
106
- */
69
+ /** Specifications of the Metrics for Azure Monitoring */
107
70
  export interface MetricSpecification {
108
- /**
109
- * Name of the metric
110
- */
71
+ /** Name of the metric */
111
72
  name?: string;
112
- /**
113
- * Localized friendly display name of the metric
114
- */
73
+ /** Localized friendly display name of the metric */
115
74
  displayName?: string;
116
- /**
117
- * Localized friendly description of the metric
118
- */
75
+ /** Localized friendly description of the metric */
119
76
  displayDescription?: string;
120
- /**
121
- * Unit that makes sense for the metric
122
- */
77
+ /** Unit that makes sense for the metric */
123
78
  unit?: string;
124
- /**
125
- * Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.
126
- */
79
+ /** Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count. */
127
80
  aggregationType?: string;
128
- /**
129
- * Internal metric name.
130
- */
81
+ /** Supported aggregation types. Valid values: Average, Minimum, Maximum, Total, Count. */
82
+ supportedAggregationTypes?: string[];
83
+ /** Supported time grains. Valid values: PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D */
84
+ supportedTimeGrainTypes?: string[];
85
+ /** Flag to indicate use of regional Mdm accounts */
86
+ enableRegionalMdmAccount?: boolean;
87
+ /** Source mdm account */
88
+ sourceMdmAccount?: string;
89
+ /** Source mdm namespace */
90
+ sourceMdmNamespace?: string;
91
+ /** Metric filter regex pattern */
92
+ metricFilterPattern?: string;
93
+ /** Flag to determine is Zero is returned for time duration where no metric is emitted */
94
+ fillGapWithZero?: boolean;
95
+ /** Metric category */
96
+ category?: string;
97
+ /** Internal metric name. */
131
98
  internalMetricName?: string;
132
- /**
133
- * Dimensions of the metric
134
- */
99
+ /** Dimensions of the metric */
135
100
  dimensions?: MetricDimension[];
101
+ /** Locked aggregation type of the metric */
102
+ lockedAggregationType?: string;
136
103
  }
137
104
 
138
- /**
139
- * Service specification payload
140
- */
141
- export interface ServiceSpecification {
142
- /**
143
- * Specifications of the Log for Azure Monitoring
144
- */
145
- logSpecifications?: LogSpecification[];
146
- /**
147
- * Specifications of the Metrics for Azure Monitoring
148
- */
149
- metricSpecifications?: MetricSpecification[];
105
+ /** Specifications of the Dimension of metrics */
106
+ export interface MetricDimension {
107
+ /** Name of the dimension */
108
+ name?: string;
109
+ /** Localized friendly display name of the dimension */
110
+ displayName?: string;
111
+ /** Internal name of the dimension. */
112
+ internalName?: string;
150
113
  }
151
114
 
152
- /**
153
- * Operation properties.
154
- */
155
- export interface OperationProperties {
156
- /**
157
- * Service specification.
158
- */
159
- serviceSpecification?: ServiceSpecification;
115
+ /** An Error response. */
116
+ export interface CloudError {
117
+ /** An Error response. */
118
+ error?: CloudErrorBody;
160
119
  }
161
120
 
162
- /**
163
- * REST API operation
164
- */
165
- export interface Operation {
166
- /**
167
- * Operation name: {provider}/{resource}/{operation}
168
- */
169
- name?: string;
170
- /**
171
- * The object that represents the operation.
172
- */
173
- display?: OperationDisplay;
174
- /**
175
- * Whether or not this is a data plane operation
176
- */
177
- isDataAction?: boolean;
178
- /**
179
- * The origin
180
- */
181
- origin?: string;
182
- /**
183
- * Properties of the operation
184
- */
185
- properties?: OperationProperties;
121
+ /** An error response from Azure. */
122
+ export interface CloudErrorBody {
123
+ /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
124
+ code?: string;
125
+ /** A message describing the error, intended to be suitable for displaying in a user interface. */
126
+ message?: string;
127
+ /** The target of the particular error. For example, the name of the property in error. */
128
+ target?: string;
129
+ /** A list of additional details about the error. */
130
+ details?: CloudErrorBody[];
186
131
  }
187
132
 
188
- /**
189
- * Identity for the resource.
190
- */
133
+ /** Check Name Availability Request */
134
+ export interface CheckNameAvailabilityRequest {
135
+ /** Resource Name To Verify */
136
+ name: string;
137
+ /** Fully qualified resource type which includes provider namespace */
138
+ type: string;
139
+ }
140
+
141
+ /** Check Name Availability Response */
142
+ export interface CheckNameAvailabilityResponse {
143
+ /** if name Available */
144
+ nameAvailable: boolean;
145
+ /** Resource Name To Verify */
146
+ reason?: NameUnavailableReason;
147
+ /** detail message */
148
+ message?: string;
149
+ }
150
+
151
+ /** 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. */
152
+ export interface SpatialAnchorsAccountPage {
153
+ /** List of resources supported by the Resource Provider. */
154
+ value?: SpatialAnchorsAccount[];
155
+ /** URL to get the next set of resource list results if there are any. */
156
+ nextLink?: string;
157
+ }
158
+
159
+ /** Identity for the resource. */
191
160
  export interface Identity {
192
161
  /**
193
162
  * The principal ID of resource identity.
194
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
163
+ * NOTE: This property will not be serialized. It can only be populated by the server.
195
164
  */
196
165
  readonly principalId?: string;
197
166
  /**
198
167
  * The tenant ID of resource.
199
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
168
+ * NOTE: This property will not be serialized. It can only be populated by the server.
200
169
  */
201
170
  readonly tenantId?: string;
202
- /**
203
- * The identity type. Possible values include: 'SystemAssigned'
204
- */
205
- type?: ResourceIdentityType;
171
+ /** The identity type. */
172
+ type?: "SystemAssigned";
206
173
  }
207
174
 
208
- /**
209
- * The resource model definition representing SKU
210
- */
175
+ /** The resource model definition representing SKU */
211
176
  export interface Sku {
212
- /**
213
- * The name of the SKU. Ex - P3. It is typically a letter+number code
214
- */
177
+ /** The name of the SKU. Ex - P3. It is typically a letter+number code */
215
178
  name: string;
216
- /**
217
- * This field is required to be implemented by the Resource Provider if the service has more than
218
- * one tier, but is not required on a PUT. Possible values include: 'Free', 'Basic', 'Standard',
219
- * 'Premium'
220
- */
179
+ /** 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. */
221
180
  tier?: SkuTier;
222
- /**
223
- * The SKU size. When the name field is the combination of tier and some other value, this would
224
- * be the standalone code.
225
- */
181
+ /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */
226
182
  size?: string;
227
- /**
228
- * If the service has different generations of hardware, for the same SKU, then that can be
229
- * captured here.
230
- */
183
+ /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */
231
184
  family?: string;
232
- /**
233
- * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in
234
- * is not possible for the resource this may be omitted.
235
- */
185
+ /** 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. */
236
186
  capacity?: number;
237
187
  }
238
188
 
239
- /**
240
- * Metadata pertaining to creation and last modification of the resource.
241
- */
189
+ /** Metadata pertaining to creation and last modification of the resource. */
242
190
  export interface SystemData {
243
- /**
244
- * The identity that created the resource.
245
- */
191
+ /** The identity that created the resource. */
246
192
  createdBy?: string;
247
- /**
248
- * The type of identity that created the resource. Possible values include: 'User',
249
- * 'Application', 'ManagedIdentity', 'Key'
250
- */
193
+ /** The type of identity that created the resource. */
251
194
  createdByType?: CreatedByType;
252
- /**
253
- * The timestamp of resource creation (UTC).
254
- */
195
+ /** The timestamp of resource creation (UTC). */
255
196
  createdAt?: Date;
256
- /**
257
- * The identity that last modified the resource.
258
- */
197
+ /** The identity that last modified the resource. */
259
198
  lastModifiedBy?: string;
260
- /**
261
- * The type of identity that last modified the resource. Possible values include: 'User',
262
- * 'Application', 'ManagedIdentity', 'Key'
263
- */
199
+ /** The type of identity that last modified the resource. */
264
200
  lastModifiedByType?: CreatedByType;
265
- /**
266
- * The type of identity that last modified the resource.
267
- */
201
+ /** The timestamp of resource last modification (UTC) */
268
202
  lastModifiedAt?: Date;
269
203
  }
270
204
 
271
- /**
272
- * Common fields that are returned in the response for all Azure Resource Manager resources
273
- * @summary Resource
274
- */
275
- export interface Resource extends BaseResource {
205
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
206
+ export interface Resource {
276
207
  /**
277
- * Fully qualified resource ID for the resource. Ex -
278
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
279
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
208
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
209
+ * NOTE: This property will not be serialized. It can only be populated by the server.
280
210
  */
281
211
  readonly id?: string;
282
212
  /**
283
213
  * The name of the resource
284
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
214
+ * NOTE: This property will not be serialized. It can only be populated by the server.
285
215
  */
286
216
  readonly name?: string;
287
217
  /**
288
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
289
- * "Microsoft.Storage/storageAccounts"
290
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
218
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
219
+ * NOTE: This property will not be serialized. It can only be populated by the server.
291
220
  */
292
221
  readonly type?: string;
293
222
  }
294
223
 
295
- /**
296
- * The resource model definition for an Azure Resource Manager tracked top level resource which has
297
- * 'tags' and a 'location'
298
- * @summary Tracked Resource
299
- */
300
- export interface TrackedResource extends Resource {
224
+ /** Developer Keys of account */
225
+ export interface AccountKeys {
301
226
  /**
302
- * Resource tags.
227
+ * value of primary key.
228
+ * NOTE: This property will not be serialized. It can only be populated by the server.
303
229
  */
304
- tags?: { [propertyName: string]: string };
230
+ readonly primaryKey?: string;
305
231
  /**
306
- * The geo-location where the resource lives
232
+ * value of secondary key.
233
+ * NOTE: This property will not be serialized. It can only be populated by the server.
307
234
  */
308
- location: string;
235
+ readonly secondaryKey?: string;
309
236
  }
310
237
 
311
- /**
312
- * SpatialAnchorsAccount Response.
313
- */
314
- export interface SpatialAnchorsAccount extends TrackedResource {
238
+ /** Request for account key regeneration */
239
+ export interface AccountKeyRegenerateRequest {
240
+ /** serial of key to be regenerated */
241
+ serial?: Serial;
242
+ }
243
+
244
+ /** 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. */
245
+ export interface RemoteRenderingAccountPage {
246
+ /** List of resources supported by the Resource Provider. */
247
+ value?: RemoteRenderingAccount[];
248
+ /** URL to get the next set of resource list results if there are any. */
249
+ nextLink?: string;
250
+ }
251
+
252
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
253
+ export type TrackedResource = Resource & {
254
+ /** Resource tags. */
255
+ tags?: { [propertyName: string]: string };
256
+ /** The geo-location where the resource lives */
257
+ location: string;
258
+ };
259
+
260
+ /** SpatialAnchorsAccount Response. */
261
+ export type SpatialAnchorsAccount = TrackedResource & {
262
+ /** The identity associated with this account */
263
+ identity?: Identity;
264
+ /** The plan associated with this account */
265
+ plan?: Identity;
266
+ /** The sku associated with this account */
267
+ sku?: Sku;
268
+ /** The kind of account, if supported */
269
+ kind?: Sku;
315
270
  /**
316
- * The name of the storage account associated with this accountId
271
+ * System metadata for this account
272
+ * NOTE: This property will not be serialized. It can only be populated by the server.
317
273
  */
274
+ readonly systemData?: SystemData;
275
+ /** The name of the storage account associated with this accountId */
318
276
  storageAccountName?: string;
319
277
  /**
320
278
  * unique id of certain account.
321
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
279
+ * NOTE: This property will not be serialized. It can only be populated by the server.
322
280
  */
323
281
  readonly accountId?: string;
324
282
  /**
325
283
  * Correspond domain name of certain Spatial Anchors Account
326
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
284
+ * NOTE: This property will not be serialized. It can only be populated by the server.
327
285
  */
328
286
  readonly accountDomain?: string;
329
- /**
330
- * The identity associated with this account
331
- */
287
+ };
288
+
289
+ /** RemoteRenderingAccount Response. */
290
+ export type RemoteRenderingAccount = TrackedResource & {
291
+ /** The identity associated with this account */
332
292
  identity?: Identity;
333
- /**
334
- * The plan associated with this account
335
- */
293
+ /** The plan associated with this account */
336
294
  plan?: Identity;
337
- /**
338
- * The sku associated with this account
339
- */
295
+ /** The sku associated with this account */
340
296
  sku?: Sku;
341
- /**
342
- * The kind of account, if supported
343
- */
297
+ /** The kind of account, if supported */
344
298
  kind?: Sku;
345
299
  /**
346
300
  * System metadata for this account
301
+ * NOTE: This property will not be serialized. It can only be populated by the server.
347
302
  */
348
- systemData?: SystemData;
349
- }
350
-
351
- /**
352
- * An interface representing ResourceModelWithAllowedPropertySetIdentity.
353
- */
354
- export interface ResourceModelWithAllowedPropertySetIdentity extends Identity {
355
- }
356
-
357
- /**
358
- * An interface representing ResourceModelWithAllowedPropertySetSku.
359
- */
360
- export interface ResourceModelWithAllowedPropertySetSku extends Sku {
361
- }
362
-
363
- /**
364
- * Plan for the resource.
365
- */
366
- export interface Plan {
367
- /**
368
- * A user defined name of the 3rd Party Artifact that is being procured.
369
- */
370
- name: string;
371
- /**
372
- * The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
373
- */
374
- publisher: string;
375
- /**
376
- * The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID
377
- * specified for the artifact at the time of Data Market onboarding.
378
- */
379
- product: string;
303
+ readonly systemData?: SystemData;
304
+ /** The name of the storage account associated with this accountId */
305
+ storageAccountName?: string;
380
306
  /**
381
- * A publisher provided promotion code as provisioned in Data Market for the said
382
- * product/artifact.
307
+ * unique id of certain account.
308
+ * NOTE: This property will not be serialized. It can only be populated by the server.
383
309
  */
384
- promotionCode?: string;
310
+ readonly accountId?: string;
385
311
  /**
386
- * The version of the desired product/artifact.
312
+ * Correspond domain name of certain Spatial Anchors Account
313
+ * NOTE: This property will not be serialized. It can only be populated by the server.
387
314
  */
388
- version?: string;
389
- }
315
+ readonly accountDomain?: string;
316
+ };
390
317
 
391
- /**
392
- * An interface representing ResourceModelWithAllowedPropertySetPlan.
393
- */
394
- export interface ResourceModelWithAllowedPropertySetPlan extends Plan {
318
+ /** Known values of {@link NameUnavailableReason} that the service accepts. */
319
+ export enum KnownNameUnavailableReason {
320
+ Invalid = "Invalid",
321
+ AlreadyExists = "AlreadyExists"
395
322
  }
396
323
 
397
324
  /**
398
- * The resource model definition containing the full set of allowed properties for a resource.
399
- * Except properties bag, there cannot be a top level property outside of this set.
325
+ * Defines values for NameUnavailableReason. \
326
+ * {@link KnownNameUnavailableReason} can be used interchangeably with NameUnavailableReason,
327
+ * this enum contains the known values that the service supports.
328
+ * ### Known values supported by the service
329
+ * **Invalid** \
330
+ * **AlreadyExists**
400
331
  */
401
- export interface ResourceModelWithAllowedPropertySet extends BaseResource {
402
- /**
403
- * Fully qualified resource ID for the resource. Ex -
404
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
405
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
406
- */
407
- readonly id?: string;
408
- /**
409
- * The name of the resource
410
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
411
- */
412
- readonly name?: string;
413
- /**
414
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
415
- * "Microsoft.Storage/storageAccounts"
416
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
417
- */
418
- readonly type?: string;
419
- /**
420
- * The geo-location where the resource lives
421
- */
422
- location?: string;
423
- /**
424
- * The fully qualified resource ID of the resource that manages this resource. Indicates if this
425
- * resource is managed by another Azure resource. If this is present, complete mode deployment
426
- * will not delete the resource if it is removed from the template since it is managed by another
427
- * resource.
428
- */
429
- managedBy?: string;
430
- /**
431
- * Metadata used by portal/tooling/etc to render different UX experiences for resources of the
432
- * same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource
433
- * provider must validate and persist this value.
434
- */
435
- kind?: string;
436
- /**
437
- * The etag field is *not* required. If it is provided in the response body, it must also be
438
- * provided as a header per the normal etag convention. Entity tags are used for comparing two
439
- * or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag
440
- * (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
441
- * (section 14.27) header fields.
442
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
443
- */
444
- readonly etag?: string;
445
- /**
446
- * Resource tags.
447
- */
448
- tags?: { [propertyName: string]: string };
449
- identity?: ResourceModelWithAllowedPropertySetIdentity;
450
- sku?: ResourceModelWithAllowedPropertySetSku;
451
- plan?: ResourceModelWithAllowedPropertySetPlan;
452
- }
332
+ export type NameUnavailableReason = string;
453
333
 
454
- /**
455
- * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags
456
- * and a location
457
- * @summary Proxy Resource
458
- */
459
- export interface ProxyResource extends Resource {
334
+ /** Known values of {@link CreatedByType} that the service accepts. */
335
+ export enum KnownCreatedByType {
336
+ User = "User",
337
+ Application = "Application",
338
+ ManagedIdentity = "ManagedIdentity",
339
+ Key = "Key"
460
340
  }
461
341
 
462
342
  /**
463
- * The resource model definition for an Azure Resource Manager resource with an etag.
464
- * @summary Entity Resource
343
+ * Defines values for CreatedByType. \
344
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
345
+ * this enum contains the known values that the service supports.
346
+ * ### Known values supported by the service
347
+ * **User** \
348
+ * **Application** \
349
+ * **ManagedIdentity** \
350
+ * **Key**
465
351
  */
466
- export interface AzureEntityResource extends Resource {
467
- /**
468
- * Resource Etag.
469
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
470
- */
471
- readonly etag?: string;
472
- }
352
+ export type CreatedByType = string;
353
+ /** Defines values for SkuTier. */
354
+ export type SkuTier = "Free" | "Basic" | "Standard" | "Premium";
355
+ /** Defines values for Serial. */
356
+ export type Serial = 1 | 2;
473
357
 
474
- /**
475
- * Developer Keys of account
476
- */
477
- export interface AccountKeys {
478
- /**
479
- * value of primary key.
480
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
481
- */
482
- readonly primaryKey?: string;
483
- /**
484
- * value of secondary key.
485
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
486
- */
487
- readonly secondaryKey?: string;
488
- }
358
+ /** Optional parameters. */
359
+ export interface OperationsListOptionalParams
360
+ extends coreClient.OperationOptions {}
489
361
 
490
- /**
491
- * Request for account key regeneration
492
- */
493
- export interface AccountKeyRegenerateRequest {
494
- /**
495
- * serial of key to be regenerated. Default value: 1.
496
- */
497
- serial?: number;
498
- }
362
+ /** Contains response data for the list operation. */
363
+ export type OperationsListResponse = OperationPage;
499
364
 
500
- /**
501
- * RemoteRenderingAccount Response.
502
- */
503
- export interface RemoteRenderingAccount extends TrackedResource {
504
- /**
505
- * The name of the storage account associated with this accountId
506
- */
507
- storageAccountName?: string;
508
- /**
509
- * unique id of certain account.
510
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
511
- */
512
- readonly accountId?: string;
513
- /**
514
- * Correspond domain name of certain Spatial Anchors Account
515
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
516
- */
517
- readonly accountDomain?: string;
518
- /**
519
- * The identity associated with this account
520
- */
521
- identity?: Identity;
522
- /**
523
- * The plan associated with this account
524
- */
525
- plan?: Identity;
526
- /**
527
- * The sku associated with this account
528
- */
529
- sku?: Sku;
530
- /**
531
- * The kind of account, if supported
532
- */
533
- kind?: Sku;
534
- /**
535
- * System metadata for this account
536
- */
537
- systemData?: SystemData;
538
- }
365
+ /** Optional parameters. */
366
+ export interface OperationsListNextOptionalParams
367
+ extends coreClient.OperationOptions {}
539
368
 
540
- /**
541
- * An interface representing MixedRealityClientOptions.
542
- */
543
- export interface MixedRealityClientOptions extends AzureServiceClientOptions {
544
- baseUri?: string;
545
- }
369
+ /** Contains response data for the listNext operation. */
370
+ export type OperationsListNextResponse = OperationPage;
546
371
 
547
- /**
548
- * @interface
549
- * Result of the request to list Resource Provider operations. It contains a list of operations and
550
- * a URL link to get the next set of results.
551
- * @extends Array<Operation>
552
- */
553
- export interface OperationPage extends Array<Operation> {
554
- /**
555
- * URL to get the next set of operation list results if there are any.
556
- */
557
- nextLink?: string;
558
- }
372
+ /** Optional parameters. */
373
+ export interface CheckNameAvailabilityLocalOptionalParams
374
+ extends coreClient.OperationOptions {}
559
375
 
560
- /**
561
- * @interface
562
- * Result of the request to get resource collection. It contains a list of resources and a URL link
563
- * to get the next set of results.
564
- * @extends Array<SpatialAnchorsAccount>
565
- */
566
- export interface SpatialAnchorsAccountPage extends Array<SpatialAnchorsAccount> {
567
- /**
568
- * URL to get the next set of resource list results if there are any.
569
- */
570
- nextLink?: string;
571
- }
376
+ /** Contains response data for the checkNameAvailabilityLocal operation. */
377
+ export type CheckNameAvailabilityLocalResponse = CheckNameAvailabilityResponse;
572
378
 
573
- /**
574
- * @interface
575
- * Result of the request to get resource collection. It contains a list of resources and a URL link
576
- * to get the next set of results.
577
- * @extends Array<RemoteRenderingAccount>
578
- */
579
- export interface RemoteRenderingAccountPage extends Array<RemoteRenderingAccount> {
580
- /**
581
- * URL to get the next set of resource list results if there are any.
582
- */
583
- nextLink?: string;
584
- }
379
+ /** Optional parameters. */
380
+ export interface SpatialAnchorsAccountsListBySubscriptionOptionalParams
381
+ extends coreClient.OperationOptions {}
585
382
 
586
- /**
587
- * Defines values for NameUnavailableReason.
588
- * Possible values include: 'Invalid', 'AlreadyExists'
589
- * @readonly
590
- * @enum {string}
591
- */
592
- export type NameUnavailableReason = 'Invalid' | 'AlreadyExists';
383
+ /** Contains response data for the listBySubscription operation. */
384
+ export type SpatialAnchorsAccountsListBySubscriptionResponse = SpatialAnchorsAccountPage;
593
385
 
594
- /**
595
- * Defines values for ResourceIdentityType.
596
- * Possible values include: 'SystemAssigned'
597
- * @readonly
598
- * @enum {string}
599
- */
600
- export type ResourceIdentityType = 'SystemAssigned';
386
+ /** Optional parameters. */
387
+ export interface SpatialAnchorsAccountsListByResourceGroupOptionalParams
388
+ extends coreClient.OperationOptions {}
601
389
 
602
- /**
603
- * Defines values for SkuTier.
604
- * Possible values include: 'Free', 'Basic', 'Standard', 'Premium'
605
- * @readonly
606
- * @enum {string}
607
- */
608
- export type SkuTier = 'Free' | 'Basic' | 'Standard' | 'Premium';
390
+ /** Contains response data for the listByResourceGroup operation. */
391
+ export type SpatialAnchorsAccountsListByResourceGroupResponse = SpatialAnchorsAccountPage;
609
392
 
610
- /**
611
- * Defines values for CreatedByType.
612
- * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
613
- * @readonly
614
- * @enum {string}
615
- */
616
- export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key';
393
+ /** Optional parameters. */
394
+ export interface SpatialAnchorsAccountsDeleteOptionalParams
395
+ extends coreClient.OperationOptions {}
617
396
 
618
- /**
619
- * Contains response data for the list operation.
620
- */
621
- export type OperationsListResponse = OperationPage & {
622
- /**
623
- * The underlying HTTP response.
624
- */
625
- _response: msRest.HttpResponse & {
626
- /**
627
- * The response body as text (string format)
628
- */
629
- bodyAsText: string;
630
-
631
- /**
632
- * The response body as parsed JSON or XML
633
- */
634
- parsedBody: OperationPage;
635
- };
636
- };
397
+ /** Optional parameters. */
398
+ export interface SpatialAnchorsAccountsGetOptionalParams
399
+ extends coreClient.OperationOptions {}
637
400
 
638
- /**
639
- * Contains response data for the listNext operation.
640
- */
641
- export type OperationsListNextResponse = OperationPage & {
642
- /**
643
- * The underlying HTTP response.
644
- */
645
- _response: msRest.HttpResponse & {
646
- /**
647
- * The response body as text (string format)
648
- */
649
- bodyAsText: string;
650
-
651
- /**
652
- * The response body as parsed JSON or XML
653
- */
654
- parsedBody: OperationPage;
655
- };
656
- };
401
+ /** Contains response data for the get operation. */
402
+ export type SpatialAnchorsAccountsGetResponse = SpatialAnchorsAccount;
657
403
 
658
- /**
659
- * Contains response data for the checkNameAvailabilityLocal operation.
660
- */
661
- export type CheckNameAvailabilityLocalResponse = CheckNameAvailabilityResponse & {
662
- /**
663
- * The underlying HTTP response.
664
- */
665
- _response: msRest.HttpResponse & {
666
- /**
667
- * The response body as text (string format)
668
- */
669
- bodyAsText: string;
670
-
671
- /**
672
- * The response body as parsed JSON or XML
673
- */
674
- parsedBody: CheckNameAvailabilityResponse;
675
- };
676
- };
404
+ /** Optional parameters. */
405
+ export interface SpatialAnchorsAccountsUpdateOptionalParams
406
+ extends coreClient.OperationOptions {}
677
407
 
678
- /**
679
- * Contains response data for the listBySubscription operation.
680
- */
681
- export type SpatialAnchorsAccountsListBySubscriptionResponse = SpatialAnchorsAccountPage & {
682
- /**
683
- * The underlying HTTP response.
684
- */
685
- _response: msRest.HttpResponse & {
686
- /**
687
- * The response body as text (string format)
688
- */
689
- bodyAsText: string;
690
-
691
- /**
692
- * The response body as parsed JSON or XML
693
- */
694
- parsedBody: SpatialAnchorsAccountPage;
695
- };
696
- };
408
+ /** Contains response data for the update operation. */
409
+ export type SpatialAnchorsAccountsUpdateResponse = SpatialAnchorsAccount;
697
410
 
698
- /**
699
- * Contains response data for the listByResourceGroup operation.
700
- */
701
- export type SpatialAnchorsAccountsListByResourceGroupResponse = SpatialAnchorsAccountPage & {
702
- /**
703
- * The underlying HTTP response.
704
- */
705
- _response: msRest.HttpResponse & {
706
- /**
707
- * The response body as text (string format)
708
- */
709
- bodyAsText: string;
710
-
711
- /**
712
- * The response body as parsed JSON or XML
713
- */
714
- parsedBody: SpatialAnchorsAccountPage;
715
- };
716
- };
411
+ /** Optional parameters. */
412
+ export interface SpatialAnchorsAccountsCreateOptionalParams
413
+ extends coreClient.OperationOptions {}
717
414
 
718
- /**
719
- * Contains response data for the get operation.
720
- */
721
- export type SpatialAnchorsAccountsGetResponse = SpatialAnchorsAccount & {
722
- /**
723
- * The underlying HTTP response.
724
- */
725
- _response: msRest.HttpResponse & {
726
- /**
727
- * The response body as text (string format)
728
- */
729
- bodyAsText: string;
730
-
731
- /**
732
- * The response body as parsed JSON or XML
733
- */
734
- parsedBody: SpatialAnchorsAccount;
735
- };
736
- };
415
+ /** Contains response data for the create operation. */
416
+ export type SpatialAnchorsAccountsCreateResponse = SpatialAnchorsAccount;
737
417
 
738
- /**
739
- * Contains response data for the update operation.
740
- */
741
- export type SpatialAnchorsAccountsUpdateResponse = SpatialAnchorsAccount & {
742
- /**
743
- * The underlying HTTP response.
744
- */
745
- _response: msRest.HttpResponse & {
746
- /**
747
- * The response body as text (string format)
748
- */
749
- bodyAsText: string;
750
-
751
- /**
752
- * The response body as parsed JSON or XML
753
- */
754
- parsedBody: SpatialAnchorsAccount;
755
- };
756
- };
418
+ /** Optional parameters. */
419
+ export interface SpatialAnchorsAccountsListKeysOptionalParams
420
+ extends coreClient.OperationOptions {}
757
421
 
758
- /**
759
- * Contains response data for the create operation.
760
- */
761
- export type SpatialAnchorsAccountsCreateResponse = SpatialAnchorsAccount & {
762
- /**
763
- * The underlying HTTP response.
764
- */
765
- _response: msRest.HttpResponse & {
766
- /**
767
- * The response body as text (string format)
768
- */
769
- bodyAsText: string;
770
-
771
- /**
772
- * The response body as parsed JSON or XML
773
- */
774
- parsedBody: SpatialAnchorsAccount;
775
- };
776
- };
422
+ /** Contains response data for the listKeys operation. */
423
+ export type SpatialAnchorsAccountsListKeysResponse = AccountKeys;
777
424
 
778
- /**
779
- * Contains response data for the listKeys operation.
780
- */
781
- export type SpatialAnchorsAccountsListKeysResponse = AccountKeys & {
782
- /**
783
- * The underlying HTTP response.
784
- */
785
- _response: msRest.HttpResponse & {
786
- /**
787
- * The response body as text (string format)
788
- */
789
- bodyAsText: string;
790
-
791
- /**
792
- * The response body as parsed JSON or XML
793
- */
794
- parsedBody: AccountKeys;
795
- };
796
- };
425
+ /** Optional parameters. */
426
+ export interface SpatialAnchorsAccountsRegenerateKeysOptionalParams
427
+ extends coreClient.OperationOptions {}
797
428
 
798
- /**
799
- * Contains response data for the regenerateKeys operation.
800
- */
801
- export type SpatialAnchorsAccountsRegenerateKeysResponse = AccountKeys & {
802
- /**
803
- * The underlying HTTP response.
804
- */
805
- _response: msRest.HttpResponse & {
806
- /**
807
- * The response body as text (string format)
808
- */
809
- bodyAsText: string;
810
-
811
- /**
812
- * The response body as parsed JSON or XML
813
- */
814
- parsedBody: AccountKeys;
815
- };
816
- };
429
+ /** Contains response data for the regenerateKeys operation. */
430
+ export type SpatialAnchorsAccountsRegenerateKeysResponse = AccountKeys;
817
431
 
818
- /**
819
- * Contains response data for the listBySubscriptionNext operation.
820
- */
821
- export type SpatialAnchorsAccountsListBySubscriptionNextResponse = SpatialAnchorsAccountPage & {
822
- /**
823
- * The underlying HTTP response.
824
- */
825
- _response: msRest.HttpResponse & {
826
- /**
827
- * The response body as text (string format)
828
- */
829
- bodyAsText: string;
830
-
831
- /**
832
- * The response body as parsed JSON or XML
833
- */
834
- parsedBody: SpatialAnchorsAccountPage;
835
- };
836
- };
432
+ /** Optional parameters. */
433
+ export interface SpatialAnchorsAccountsListBySubscriptionNextOptionalParams
434
+ extends coreClient.OperationOptions {}
837
435
 
838
- /**
839
- * Contains response data for the listByResourceGroupNext operation.
840
- */
841
- export type SpatialAnchorsAccountsListByResourceGroupNextResponse = SpatialAnchorsAccountPage & {
842
- /**
843
- * The underlying HTTP response.
844
- */
845
- _response: msRest.HttpResponse & {
846
- /**
847
- * The response body as text (string format)
848
- */
849
- bodyAsText: string;
850
-
851
- /**
852
- * The response body as parsed JSON or XML
853
- */
854
- parsedBody: SpatialAnchorsAccountPage;
855
- };
856
- };
436
+ /** Contains response data for the listBySubscriptionNext operation. */
437
+ export type SpatialAnchorsAccountsListBySubscriptionNextResponse = SpatialAnchorsAccountPage;
857
438
 
858
- /**
859
- * Contains response data for the listBySubscription operation.
860
- */
861
- export type RemoteRenderingAccountsListBySubscriptionResponse = RemoteRenderingAccountPage & {
862
- /**
863
- * The underlying HTTP response.
864
- */
865
- _response: msRest.HttpResponse & {
866
- /**
867
- * The response body as text (string format)
868
- */
869
- bodyAsText: string;
870
-
871
- /**
872
- * The response body as parsed JSON or XML
873
- */
874
- parsedBody: RemoteRenderingAccountPage;
875
- };
876
- };
439
+ /** Optional parameters. */
440
+ export interface SpatialAnchorsAccountsListByResourceGroupNextOptionalParams
441
+ extends coreClient.OperationOptions {}
877
442
 
878
- /**
879
- * Contains response data for the listByResourceGroup operation.
880
- */
881
- export type RemoteRenderingAccountsListByResourceGroupResponse = RemoteRenderingAccountPage & {
882
- /**
883
- * The underlying HTTP response.
884
- */
885
- _response: msRest.HttpResponse & {
886
- /**
887
- * The response body as text (string format)
888
- */
889
- bodyAsText: string;
890
-
891
- /**
892
- * The response body as parsed JSON or XML
893
- */
894
- parsedBody: RemoteRenderingAccountPage;
895
- };
896
- };
443
+ /** Contains response data for the listByResourceGroupNext operation. */
444
+ export type SpatialAnchorsAccountsListByResourceGroupNextResponse = SpatialAnchorsAccountPage;
897
445
 
898
- /**
899
- * Contains response data for the get operation.
900
- */
901
- export type RemoteRenderingAccountsGetResponse = RemoteRenderingAccount & {
902
- /**
903
- * The underlying HTTP response.
904
- */
905
- _response: msRest.HttpResponse & {
906
- /**
907
- * The response body as text (string format)
908
- */
909
- bodyAsText: string;
910
-
911
- /**
912
- * The response body as parsed JSON or XML
913
- */
914
- parsedBody: RemoteRenderingAccount;
915
- };
916
- };
446
+ /** Optional parameters. */
447
+ export interface RemoteRenderingAccountsListBySubscriptionOptionalParams
448
+ extends coreClient.OperationOptions {}
917
449
 
918
- /**
919
- * Contains response data for the update operation.
920
- */
921
- export type RemoteRenderingAccountsUpdateResponse = RemoteRenderingAccount & {
922
- /**
923
- * The underlying HTTP response.
924
- */
925
- _response: msRest.HttpResponse & {
926
- /**
927
- * The response body as text (string format)
928
- */
929
- bodyAsText: string;
930
-
931
- /**
932
- * The response body as parsed JSON or XML
933
- */
934
- parsedBody: RemoteRenderingAccount;
935
- };
936
- };
450
+ /** Contains response data for the listBySubscription operation. */
451
+ export type RemoteRenderingAccountsListBySubscriptionResponse = RemoteRenderingAccountPage;
937
452
 
938
- /**
939
- * Contains response data for the create operation.
940
- */
941
- export type RemoteRenderingAccountsCreateResponse = RemoteRenderingAccount & {
942
- /**
943
- * The underlying HTTP response.
944
- */
945
- _response: msRest.HttpResponse & {
946
- /**
947
- * The response body as text (string format)
948
- */
949
- bodyAsText: string;
950
-
951
- /**
952
- * The response body as parsed JSON or XML
953
- */
954
- parsedBody: RemoteRenderingAccount;
955
- };
956
- };
453
+ /** Optional parameters. */
454
+ export interface RemoteRenderingAccountsListByResourceGroupOptionalParams
455
+ extends coreClient.OperationOptions {}
957
456
 
958
- /**
959
- * Contains response data for the listKeys operation.
960
- */
961
- export type RemoteRenderingAccountsListKeysResponse = AccountKeys & {
962
- /**
963
- * The underlying HTTP response.
964
- */
965
- _response: msRest.HttpResponse & {
966
- /**
967
- * The response body as text (string format)
968
- */
969
- bodyAsText: string;
970
-
971
- /**
972
- * The response body as parsed JSON or XML
973
- */
974
- parsedBody: AccountKeys;
975
- };
976
- };
457
+ /** Contains response data for the listByResourceGroup operation. */
458
+ export type RemoteRenderingAccountsListByResourceGroupResponse = RemoteRenderingAccountPage;
977
459
 
978
- /**
979
- * Contains response data for the regenerateKeys operation.
980
- */
981
- export type RemoteRenderingAccountsRegenerateKeysResponse = AccountKeys & {
982
- /**
983
- * The underlying HTTP response.
984
- */
985
- _response: msRest.HttpResponse & {
986
- /**
987
- * The response body as text (string format)
988
- */
989
- bodyAsText: string;
990
-
991
- /**
992
- * The response body as parsed JSON or XML
993
- */
994
- parsedBody: AccountKeys;
995
- };
996
- };
460
+ /** Optional parameters. */
461
+ export interface RemoteRenderingAccountsDeleteOptionalParams
462
+ extends coreClient.OperationOptions {}
997
463
 
998
- /**
999
- * Contains response data for the listBySubscriptionNext operation.
1000
- */
1001
- export type RemoteRenderingAccountsListBySubscriptionNextResponse = RemoteRenderingAccountPage & {
1002
- /**
1003
- * The underlying HTTP response.
1004
- */
1005
- _response: msRest.HttpResponse & {
1006
- /**
1007
- * The response body as text (string format)
1008
- */
1009
- bodyAsText: string;
1010
-
1011
- /**
1012
- * The response body as parsed JSON or XML
1013
- */
1014
- parsedBody: RemoteRenderingAccountPage;
1015
- };
1016
- };
464
+ /** Optional parameters. */
465
+ export interface RemoteRenderingAccountsGetOptionalParams
466
+ extends coreClient.OperationOptions {}
1017
467
 
1018
- /**
1019
- * Contains response data for the listByResourceGroupNext operation.
1020
- */
1021
- export type RemoteRenderingAccountsListByResourceGroupNextResponse = RemoteRenderingAccountPage & {
1022
- /**
1023
- * The underlying HTTP response.
1024
- */
1025
- _response: msRest.HttpResponse & {
1026
- /**
1027
- * The response body as text (string format)
1028
- */
1029
- bodyAsText: string;
1030
-
1031
- /**
1032
- * The response body as parsed JSON or XML
1033
- */
1034
- parsedBody: RemoteRenderingAccountPage;
1035
- };
1036
- };
468
+ /** Contains response data for the get operation. */
469
+ export type RemoteRenderingAccountsGetResponse = RemoteRenderingAccount;
470
+
471
+ /** Optional parameters. */
472
+ export interface RemoteRenderingAccountsUpdateOptionalParams
473
+ extends coreClient.OperationOptions {}
474
+
475
+ /** Contains response data for the update operation. */
476
+ export type RemoteRenderingAccountsUpdateResponse = RemoteRenderingAccount;
477
+
478
+ /** Optional parameters. */
479
+ export interface RemoteRenderingAccountsCreateOptionalParams
480
+ extends coreClient.OperationOptions {}
481
+
482
+ /** Contains response data for the create operation. */
483
+ export type RemoteRenderingAccountsCreateResponse = RemoteRenderingAccount;
484
+
485
+ /** Optional parameters. */
486
+ export interface RemoteRenderingAccountsListKeysOptionalParams
487
+ extends coreClient.OperationOptions {}
488
+
489
+ /** Contains response data for the listKeys operation. */
490
+ export type RemoteRenderingAccountsListKeysResponse = AccountKeys;
491
+
492
+ /** Optional parameters. */
493
+ export interface RemoteRenderingAccountsRegenerateKeysOptionalParams
494
+ extends coreClient.OperationOptions {}
495
+
496
+ /** Contains response data for the regenerateKeys operation. */
497
+ export type RemoteRenderingAccountsRegenerateKeysResponse = AccountKeys;
498
+
499
+ /** Optional parameters. */
500
+ export interface RemoteRenderingAccountsListBySubscriptionNextOptionalParams
501
+ extends coreClient.OperationOptions {}
502
+
503
+ /** Contains response data for the listBySubscriptionNext operation. */
504
+ export type RemoteRenderingAccountsListBySubscriptionNextResponse = RemoteRenderingAccountPage;
505
+
506
+ /** Optional parameters. */
507
+ export interface RemoteRenderingAccountsListByResourceGroupNextOptionalParams
508
+ extends coreClient.OperationOptions {}
509
+
510
+ /** Contains response data for the listByResourceGroupNext operation. */
511
+ export type RemoteRenderingAccountsListByResourceGroupNextResponse = RemoteRenderingAccountPage;
512
+
513
+ /** Optional parameters. */
514
+ export interface MixedRealityClientOptionalParams
515
+ extends coreClient.ServiceClientOptions {
516
+ /** server parameter */
517
+ $host?: string;
518
+ /** Api Version */
519
+ apiVersion?: string;
520
+ /** Overrides client endpoint. */
521
+ endpoint?: string;
522
+ }