@azure/arm-mixedreality 3.1.1 → 4.0.1-alpha.20220201.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (205) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -80
  4. package/dist/index.js +2016 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts +2 -0
  9. package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/checkLocalNameAvailability.js +34 -0
  11. package/dist-esm/samples-dev/checkLocalNameAvailability.js.map +1 -0
  12. package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts +2 -0
  13. package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/createRemoteRenderingAccount.js +35 -0
  15. package/dist-esm/samples-dev/createRemoteRenderingAccount.js.map +1 -0
  16. package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts +2 -0
  17. package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/createSpatialAnchorAccount.js +34 -0
  19. package/dist-esm/samples-dev/createSpatialAnchorAccount.js.map +1 -0
  20. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts +2 -0
  21. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js +31 -0
  23. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js.map +1 -0
  24. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts +2 -0
  25. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js +31 -0
  27. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js.map +1 -0
  28. package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts +2 -0
  29. package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/getRemoteRenderingAccount.js +31 -0
  31. package/dist-esm/samples-dev/getRemoteRenderingAccount.js.map +1 -0
  32. package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts +2 -0
  33. package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/getSpatialAnchorsAccount.js +31 -0
  35. package/dist-esm/samples-dev/getSpatialAnchorsAccount.js.map +1 -0
  36. package/dist-esm/samples-dev/listAvailableOperations.d.ts +2 -0
  37. package/dist-esm/samples-dev/listAvailableOperations.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/listAvailableOperations.js +43 -0
  39. package/dist-esm/samples-dev/listAvailableOperations.js.map +1 -0
  40. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts +2 -0
  41. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js +31 -0
  43. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js.map +1 -0
  44. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts +2 -0
  45. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js +44 -0
  47. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js.map +1 -0
  48. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts +2 -0
  49. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js +43 -0
  51. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js.map +1 -0
  52. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts +2 -0
  53. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js +31 -0
  55. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js.map +1 -0
  56. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts +2 -0
  57. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js +44 -0
  59. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js.map +1 -0
  60. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts +2 -0
  61. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js +43 -0
  63. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js.map +1 -0
  64. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts +2 -0
  65. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js +32 -0
  67. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js.map +1 -0
  68. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts +2 -0
  69. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js +32 -0
  71. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js.map +1 -0
  72. package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts +2 -0
  73. package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/updateRemoteRenderingAccount.js +36 -0
  75. package/dist-esm/samples-dev/updateRemoteRenderingAccount.js.map +1 -0
  76. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts +2 -0
  77. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js +35 -0
  79. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js.map +1 -0
  80. package/dist-esm/src/index.d.ts +5 -0
  81. package/dist-esm/src/index.d.ts.map +1 -0
  82. package/dist-esm/src/index.js +12 -0
  83. package/dist-esm/src/index.js.map +1 -0
  84. package/dist-esm/src/mixedRealityClient.d.ts +28 -0
  85. package/dist-esm/src/mixedRealityClient.d.ts.map +1 -0
  86. package/dist-esm/src/mixedRealityClient.js +89 -0
  87. package/dist-esm/src/mixedRealityClient.js.map +1 -0
  88. package/dist-esm/src/models/index.d.ts +444 -0
  89. package/dist-esm/src/models/index.d.ts.map +1 -0
  90. package/dist-esm/src/models/index.js +22 -0
  91. package/dist-esm/src/models/index.js.map +1 -0
  92. package/dist-esm/src/models/mappers.d.ts +25 -0
  93. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  94. package/{esm → dist-esm/src}/models/mappers.js +362 -457
  95. package/dist-esm/src/models/mappers.js.map +1 -0
  96. package/dist-esm/src/models/parameters.d.ts +15 -0
  97. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  98. package/dist-esm/src/models/parameters.js +135 -0
  99. package/dist-esm/src/models/parameters.js.map +1 -0
  100. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  101. package/dist-esm/src/operations/index.d.ts.map +1 -0
  102. package/{esm → dist-esm/src}/operations/index.js +1 -2
  103. package/dist-esm/src/operations/index.js.map +1 -0
  104. package/dist-esm/src/operations/operations.d.ts +32 -0
  105. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  106. package/dist-esm/src/operations/operations.js +120 -0
  107. package/dist-esm/src/operations/operations.js.map +1 -0
  108. package/dist-esm/src/operations/remoteRenderingAccounts.d.ts +98 -0
  109. package/dist-esm/src/operations/remoteRenderingAccounts.d.ts.map +1 -0
  110. package/dist-esm/src/operations/remoteRenderingAccounts.js +422 -0
  111. package/dist-esm/src/operations/remoteRenderingAccounts.js.map +1 -0
  112. package/dist-esm/src/operations/spatialAnchorsAccounts.d.ts +98 -0
  113. package/dist-esm/src/operations/spatialAnchorsAccounts.d.ts.map +1 -0
  114. package/dist-esm/src/operations/spatialAnchorsAccounts.js +422 -0
  115. package/dist-esm/src/operations/spatialAnchorsAccounts.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  117. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  119. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  121. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  122. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/operations.js} +2 -1
  123. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.d.ts +62 -0
  125. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.d.ts +62 -0
  129. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.js.map +1 -0
  132. package/dist-esm/test/sampleTest.d.ts +2 -0
  133. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  134. package/dist-esm/test/sampleTest.js +40 -0
  135. package/dist-esm/test/sampleTest.js.map +1 -0
  136. package/package.json +80 -23
  137. package/review/arm-mixedreality.api.md +436 -0
  138. package/rollup.config.js +181 -30
  139. package/src/{models/operationsMappers.ts → index.ts} +4 -11
  140. package/src/mixedRealityClient.ts +102 -80
  141. package/src/models/index.ts +370 -884
  142. package/src/models/mappers.ts +367 -478
  143. package/src/models/parameters.ts +100 -39
  144. package/src/operations/index.ts +1 -2
  145. package/src/operations/operations.ts +85 -73
  146. package/src/operations/remoteRenderingAccounts.ts +319 -392
  147. package/src/operations/spatialAnchorsAccounts.ts +319 -392
  148. package/src/operationsInterfaces/index.ts +11 -0
  149. package/src/operationsInterfaces/operations.ts +22 -0
  150. package/src/operationsInterfaces/remoteRenderingAccounts.ts +119 -0
  151. package/src/operationsInterfaces/spatialAnchorsAccounts.ts +119 -0
  152. package/tsconfig.json +5 -4
  153. package/types/arm-mixedreality.d.ts +674 -0
  154. package/types/tsdoc-metadata.json +11 -0
  155. package/dist/arm-mixedreality.js +0 -2052
  156. package/dist/arm-mixedreality.js.map +0 -1
  157. package/dist/arm-mixedreality.min.js +0 -1
  158. package/dist/arm-mixedreality.min.js.map +0 -1
  159. package/esm/mixedRealityClient.d.ts +0 -48
  160. package/esm/mixedRealityClient.d.ts.map +0 -1
  161. package/esm/mixedRealityClient.js +0 -77
  162. package/esm/mixedRealityClient.js.map +0 -1
  163. package/esm/mixedRealityClientContext.d.ts +0 -23
  164. package/esm/mixedRealityClientContext.d.ts.map +0 -1
  165. package/esm/mixedRealityClientContext.js +0 -61
  166. package/esm/mixedRealityClientContext.js.map +0 -1
  167. package/esm/models/index.d.ts +0 -957
  168. package/esm/models/index.d.ts.map +0 -1
  169. package/esm/models/index.js.map +0 -1
  170. package/esm/models/mappers.d.ts +0 -32
  171. package/esm/models/mappers.d.ts.map +0 -1
  172. package/esm/models/mappers.js.map +0 -1
  173. package/esm/models/operationsMappers.d.ts +0 -2
  174. package/esm/models/operationsMappers.d.ts.map +0 -1
  175. package/esm/models/operationsMappers.js +0 -9
  176. package/esm/models/operationsMappers.js.map +0 -1
  177. package/esm/models/parameters.d.ts +0 -9
  178. package/esm/models/parameters.d.ts.map +0 -1
  179. package/esm/models/parameters.js +0 -95
  180. package/esm/models/parameters.js.map +0 -1
  181. package/esm/models/remoteRenderingAccountsMappers.d.ts +0 -2
  182. package/esm/models/remoteRenderingAccountsMappers.d.ts.map +0 -1
  183. package/esm/models/remoteRenderingAccountsMappers.js +0 -9
  184. package/esm/models/remoteRenderingAccountsMappers.js.map +0 -1
  185. package/esm/models/spatialAnchorsAccountsMappers.d.ts +0 -2
  186. package/esm/models/spatialAnchorsAccountsMappers.d.ts.map +0 -1
  187. package/esm/models/spatialAnchorsAccountsMappers.js +0 -9
  188. package/esm/models/spatialAnchorsAccountsMappers.js.map +0 -1
  189. package/esm/operations/index.d.ts.map +0 -1
  190. package/esm/operations/index.js.map +0 -1
  191. package/esm/operations/operations.d.ts +0 -46
  192. package/esm/operations/operations.d.ts.map +0 -1
  193. package/esm/operations/operations.js +0 -79
  194. package/esm/operations/operations.js.map +0 -1
  195. package/esm/operations/remoteRenderingAccounts.d.ts +0 -217
  196. package/esm/operations/remoteRenderingAccounts.d.ts.map +0 -1
  197. package/esm/operations/remoteRenderingAccounts.js +0 -344
  198. package/esm/operations/remoteRenderingAccounts.js.map +0 -1
  199. package/esm/operations/spatialAnchorsAccounts.d.ts +0 -217
  200. package/esm/operations/spatialAnchorsAccounts.d.ts.map +0 -1
  201. package/esm/operations/spatialAnchorsAccounts.js +0 -344
  202. package/esm/operations/spatialAnchorsAccounts.js.map +0 -1
  203. package/src/mixedRealityClientContext.ts +0 -68
  204. package/src/models/remoteRenderingAccountsMappers.ts +0 -29
  205. package/src/models/spatialAnchorsAccountsMappers.ts +0 -29
@@ -1,217 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { MixedRealityClientContext } from "../mixedRealityClientContext";
4
- /** Class representing a SpatialAnchorsAccounts. */
5
- export declare class SpatialAnchorsAccounts {
6
- private readonly client;
7
- /**
8
- * Create a SpatialAnchorsAccounts.
9
- * @param {MixedRealityClientContext} client Reference to the service client.
10
- */
11
- constructor(client: MixedRealityClientContext);
12
- /**
13
- * List Spatial Anchors Accounts by Subscription
14
- * @param [options] The optional parameters
15
- * @returns Promise<Models.SpatialAnchorsAccountsListBySubscriptionResponse>
16
- */
17
- listBySubscription(options?: msRest.RequestOptionsBase): Promise<Models.SpatialAnchorsAccountsListBySubscriptionResponse>;
18
- /**
19
- * @param callback The callback
20
- */
21
- listBySubscription(callback: msRest.ServiceCallback<Models.SpatialAnchorsAccountPage>): void;
22
- /**
23
- * @param options The optional parameters
24
- * @param callback The callback
25
- */
26
- listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SpatialAnchorsAccountPage>): void;
27
- /**
28
- * List Resources by Resource Group
29
- * @param resourceGroupName Name of an Azure resource group.
30
- * @param [options] The optional parameters
31
- * @returns Promise<Models.SpatialAnchorsAccountsListByResourceGroupResponse>
32
- */
33
- listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.SpatialAnchorsAccountsListByResourceGroupResponse>;
34
- /**
35
- * @param resourceGroupName Name of an Azure resource group.
36
- * @param callback The callback
37
- */
38
- listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.SpatialAnchorsAccountPage>): void;
39
- /**
40
- * @param resourceGroupName Name of an Azure resource group.
41
- * @param options The optional parameters
42
- * @param callback The callback
43
- */
44
- listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SpatialAnchorsAccountPage>): void;
45
- /**
46
- * Delete a Spatial Anchors Account.
47
- * @param resourceGroupName Name of an Azure resource group.
48
- * @param accountName Name of an Mixed Reality Account.
49
- * @param [options] The optional parameters
50
- * @returns Promise<msRest.RestResponse>
51
- */
52
- deleteMethod(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
53
- /**
54
- * @param resourceGroupName Name of an Azure resource group.
55
- * @param accountName Name of an Mixed Reality Account.
56
- * @param callback The callback
57
- */
58
- deleteMethod(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<void>): void;
59
- /**
60
- * @param resourceGroupName Name of an Azure resource group.
61
- * @param accountName Name of an Mixed Reality Account.
62
- * @param options The optional parameters
63
- * @param callback The callback
64
- */
65
- deleteMethod(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
66
- /**
67
- * Retrieve a Spatial Anchors Account.
68
- * @param resourceGroupName Name of an Azure resource group.
69
- * @param accountName Name of an Mixed Reality Account.
70
- * @param [options] The optional parameters
71
- * @returns Promise<Models.SpatialAnchorsAccountsGetResponse>
72
- */
73
- get(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.SpatialAnchorsAccountsGetResponse>;
74
- /**
75
- * @param resourceGroupName Name of an Azure resource group.
76
- * @param accountName Name of an Mixed Reality Account.
77
- * @param callback The callback
78
- */
79
- get(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.SpatialAnchorsAccount>): void;
80
- /**
81
- * @param resourceGroupName Name of an Azure resource group.
82
- * @param accountName Name of an Mixed Reality Account.
83
- * @param options The optional parameters
84
- * @param callback The callback
85
- */
86
- get(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SpatialAnchorsAccount>): void;
87
- /**
88
- * Updating a Spatial Anchors Account
89
- * @param resourceGroupName Name of an Azure resource group.
90
- * @param accountName Name of an Mixed Reality Account.
91
- * @param spatialAnchorsAccount Spatial Anchors Account parameter.
92
- * @param [options] The optional parameters
93
- * @returns Promise<Models.SpatialAnchorsAccountsUpdateResponse>
94
- */
95
- update(resourceGroupName: string, accountName: string, spatialAnchorsAccount: Models.SpatialAnchorsAccount, options?: msRest.RequestOptionsBase): Promise<Models.SpatialAnchorsAccountsUpdateResponse>;
96
- /**
97
- * @param resourceGroupName Name of an Azure resource group.
98
- * @param accountName Name of an Mixed Reality Account.
99
- * @param spatialAnchorsAccount Spatial Anchors Account parameter.
100
- * @param callback The callback
101
- */
102
- update(resourceGroupName: string, accountName: string, spatialAnchorsAccount: Models.SpatialAnchorsAccount, callback: msRest.ServiceCallback<Models.SpatialAnchorsAccount>): void;
103
- /**
104
- * @param resourceGroupName Name of an Azure resource group.
105
- * @param accountName Name of an Mixed Reality Account.
106
- * @param spatialAnchorsAccount Spatial Anchors Account parameter.
107
- * @param options The optional parameters
108
- * @param callback The callback
109
- */
110
- update(resourceGroupName: string, accountName: string, spatialAnchorsAccount: Models.SpatialAnchorsAccount, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SpatialAnchorsAccount>): void;
111
- /**
112
- * Creating or Updating a Spatial Anchors Account.
113
- * @param resourceGroupName Name of an Azure resource group.
114
- * @param accountName Name of an Mixed Reality Account.
115
- * @param spatialAnchorsAccount Spatial Anchors Account parameter.
116
- * @param [options] The optional parameters
117
- * @returns Promise<Models.SpatialAnchorsAccountsCreateResponse>
118
- */
119
- create(resourceGroupName: string, accountName: string, spatialAnchorsAccount: Models.SpatialAnchorsAccount, options?: msRest.RequestOptionsBase): Promise<Models.SpatialAnchorsAccountsCreateResponse>;
120
- /**
121
- * @param resourceGroupName Name of an Azure resource group.
122
- * @param accountName Name of an Mixed Reality Account.
123
- * @param spatialAnchorsAccount Spatial Anchors Account parameter.
124
- * @param callback The callback
125
- */
126
- create(resourceGroupName: string, accountName: string, spatialAnchorsAccount: Models.SpatialAnchorsAccount, callback: msRest.ServiceCallback<Models.SpatialAnchorsAccount>): void;
127
- /**
128
- * @param resourceGroupName Name of an Azure resource group.
129
- * @param accountName Name of an Mixed Reality Account.
130
- * @param spatialAnchorsAccount Spatial Anchors Account parameter.
131
- * @param options The optional parameters
132
- * @param callback The callback
133
- */
134
- create(resourceGroupName: string, accountName: string, spatialAnchorsAccount: Models.SpatialAnchorsAccount, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SpatialAnchorsAccount>): void;
135
- /**
136
- * List Both of the 2 Keys of a Spatial Anchors Account
137
- * @param resourceGroupName Name of an Azure resource group.
138
- * @param accountName Name of an Mixed Reality Account.
139
- * @param [options] The optional parameters
140
- * @returns Promise<Models.SpatialAnchorsAccountsListKeysResponse>
141
- */
142
- listKeys(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.SpatialAnchorsAccountsListKeysResponse>;
143
- /**
144
- * @param resourceGroupName Name of an Azure resource group.
145
- * @param accountName Name of an Mixed Reality Account.
146
- * @param callback The callback
147
- */
148
- listKeys(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.AccountKeys>): void;
149
- /**
150
- * @param resourceGroupName Name of an Azure resource group.
151
- * @param accountName Name of an Mixed Reality Account.
152
- * @param options The optional parameters
153
- * @param callback The callback
154
- */
155
- listKeys(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AccountKeys>): void;
156
- /**
157
- * Regenerate specified Key of a Spatial Anchors Account
158
- * @param resourceGroupName Name of an Azure resource group.
159
- * @param accountName Name of an Mixed Reality Account.
160
- * @param regenerate Required information for key regeneration.
161
- * @param [options] The optional parameters
162
- * @returns Promise<Models.SpatialAnchorsAccountsRegenerateKeysResponse>
163
- */
164
- regenerateKeys(resourceGroupName: string, accountName: string, regenerate: Models.AccountKeyRegenerateRequest, options?: msRest.RequestOptionsBase): Promise<Models.SpatialAnchorsAccountsRegenerateKeysResponse>;
165
- /**
166
- * @param resourceGroupName Name of an Azure resource group.
167
- * @param accountName Name of an Mixed Reality Account.
168
- * @param regenerate Required information for key regeneration.
169
- * @param callback The callback
170
- */
171
- regenerateKeys(resourceGroupName: string, accountName: string, regenerate: Models.AccountKeyRegenerateRequest, callback: msRest.ServiceCallback<Models.AccountKeys>): void;
172
- /**
173
- * @param resourceGroupName Name of an Azure resource group.
174
- * @param accountName Name of an Mixed Reality Account.
175
- * @param regenerate Required information for key regeneration.
176
- * @param options The optional parameters
177
- * @param callback The callback
178
- */
179
- regenerateKeys(resourceGroupName: string, accountName: string, regenerate: Models.AccountKeyRegenerateRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AccountKeys>): void;
180
- /**
181
- * List Spatial Anchors Accounts by Subscription
182
- * @param nextPageLink The NextLink from the previous successful call to List operation.
183
- * @param [options] The optional parameters
184
- * @returns Promise<Models.SpatialAnchorsAccountsListBySubscriptionNextResponse>
185
- */
186
- listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.SpatialAnchorsAccountsListBySubscriptionNextResponse>;
187
- /**
188
- * @param nextPageLink The NextLink from the previous successful call to List operation.
189
- * @param callback The callback
190
- */
191
- listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.SpatialAnchorsAccountPage>): void;
192
- /**
193
- * @param nextPageLink The NextLink from the previous successful call to List operation.
194
- * @param options The optional parameters
195
- * @param callback The callback
196
- */
197
- listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SpatialAnchorsAccountPage>): void;
198
- /**
199
- * List Resources by Resource Group
200
- * @param nextPageLink The NextLink from the previous successful call to List operation.
201
- * @param [options] The optional parameters
202
- * @returns Promise<Models.SpatialAnchorsAccountsListByResourceGroupNextResponse>
203
- */
204
- listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.SpatialAnchorsAccountsListByResourceGroupNextResponse>;
205
- /**
206
- * @param nextPageLink The NextLink from the previous successful call to List operation.
207
- * @param callback The callback
208
- */
209
- listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.SpatialAnchorsAccountPage>): void;
210
- /**
211
- * @param nextPageLink The NextLink from the previous successful call to List operation.
212
- * @param options The optional parameters
213
- * @param callback The callback
214
- */
215
- listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SpatialAnchorsAccountPage>): void;
216
- }
217
- //# sourceMappingURL=spatialAnch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EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,yBAAyB,CAAC,GAAG,IAAI;IACtH;;;;OAIG;IACH,sBAAsB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,yBAAyB,CAAC,GAAG,IAAI;IAW1J;;;;;OAKG;IACH,uBAAuB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,qDAAqD,CAAC;IACzJ;;;OAGG;IACH,uBAAuB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,yBAAyB,CAAC,GAAG,IAAI;IACvH;;;;OAIG;IACH,uBAAuB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,yBAAyB,CAAC,GAAG,IAAI;CAU5J"}
@@ -1,344 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
8
- */
9
- import { __assign } from "tslib";
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/spatialAnchorsAccountsMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a SpatialAnchorsAccounts. */
14
- var SpatialAnchorsAccounts = /** @class */ (function () {
15
- /**
16
- * Create a SpatialAnchorsAccounts.
17
- * @param {MixedRealityClientContext} client Reference to the service client.
18
- */
19
- function SpatialAnchorsAccounts(client) {
20
- this.client = client;
21
- }
22
- SpatialAnchorsAccounts.prototype.listBySubscription = function (options, callback) {
23
- return this.client.sendOperationRequest({
24
- options: options
25
- }, listBySubscriptionOperationSpec, callback);
26
- };
27
- SpatialAnchorsAccounts.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
28
- return this.client.sendOperationRequest({
29
- resourceGroupName: resourceGroupName,
30
- options: options
31
- }, listByResourceGroupOperationSpec, callback);
32
- };
33
- SpatialAnchorsAccounts.prototype.deleteMethod = function (resourceGroupName, accountName, options, callback) {
34
- return this.client.sendOperationRequest({
35
- resourceGroupName: resourceGroupName,
36
- accountName: accountName,
37
- options: options
38
- }, deleteMethodOperationSpec, callback);
39
- };
40
- SpatialAnchorsAccounts.prototype.get = function (resourceGroupName, accountName, options, callback) {
41
- return this.client.sendOperationRequest({
42
- resourceGroupName: resourceGroupName,
43
- accountName: accountName,
44
- options: options
45
- }, getOperationSpec, callback);
46
- };
47
- SpatialAnchorsAccounts.prototype.update = function (resourceGroupName, accountName, spatialAnchorsAccount, options, callback) {
48
- return this.client.sendOperationRequest({
49
- resourceGroupName: resourceGroupName,
50
- accountName: accountName,
51
- spatialAnchorsAccount: spatialAnchorsAccount,
52
- options: options
53
- }, updateOperationSpec, callback);
54
- };
55
- SpatialAnchorsAccounts.prototype.create = function (resourceGroupName, accountName, spatialAnchorsAccount, options, callback) {
56
- return this.client.sendOperationRequest({
57
- resourceGroupName: resourceGroupName,
58
- accountName: accountName,
59
- spatialAnchorsAccount: spatialAnchorsAccount,
60
- options: options
61
- }, createOperationSpec, callback);
62
- };
63
- SpatialAnchorsAccounts.prototype.listKeys = function (resourceGroupName, accountName, options, callback) {
64
- return this.client.sendOperationRequest({
65
- resourceGroupName: resourceGroupName,
66
- accountName: accountName,
67
- options: options
68
- }, listKeysOperationSpec, callback);
69
- };
70
- SpatialAnchorsAccounts.prototype.regenerateKeys = function (resourceGroupName, accountName, regenerate, options, callback) {
71
- return this.client.sendOperationRequest({
72
- resourceGroupName: resourceGroupName,
73
- accountName: accountName,
74
- regenerate: regenerate,
75
- options: options
76
- }, regenerateKeysOperationSpec, callback);
77
- };
78
- SpatialAnchorsAccounts.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
79
- return this.client.sendOperationRequest({
80
- nextPageLink: nextPageLink,
81
- options: options
82
- }, listBySubscriptionNextOperationSpec, callback);
83
- };
84
- SpatialAnchorsAccounts.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
85
- return this.client.sendOperationRequest({
86
- nextPageLink: nextPageLink,
87
- options: options
88
- }, listByResourceGroupNextOperationSpec, callback);
89
- };
90
- return SpatialAnchorsAccounts;
91
- }());
92
- export { SpatialAnchorsAccounts };
93
- // Operation Specifications
94
- var serializer = new msRest.Serializer(Mappers);
95
- var listBySubscriptionOperationSpec = {
96
- httpMethod: "GET",
97
- path: "subscriptions/{subscriptionId}/providers/Microsoft.MixedReality/spatialAnchorsAccounts",
98
- urlParameters: [
99
- Parameters.subscriptionId
100
- ],
101
- queryParameters: [
102
- Parameters.apiVersion
103
- ],
104
- headerParameters: [
105
- Parameters.acceptLanguage
106
- ],
107
- responses: {
108
- 200: {
109
- bodyMapper: Mappers.SpatialAnchorsAccountPage
110
- },
111
- default: {
112
- bodyMapper: Mappers.CloudError
113
- }
114
- },
115
- serializer: serializer
116
- };
117
- var listByResourceGroupOperationSpec = {
118
- httpMethod: "GET",
119
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts",
120
- urlParameters: [
121
- Parameters.subscriptionId,
122
- Parameters.resourceGroupName
123
- ],
124
- queryParameters: [
125
- Parameters.apiVersion
126
- ],
127
- headerParameters: [
128
- Parameters.acceptLanguage
129
- ],
130
- responses: {
131
- 200: {
132
- bodyMapper: Mappers.SpatialAnchorsAccountPage
133
- },
134
- default: {
135
- bodyMapper: Mappers.CloudError
136
- }
137
- },
138
- serializer: serializer
139
- };
140
- var deleteMethodOperationSpec = {
141
- httpMethod: "DELETE",
142
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}",
143
- urlParameters: [
144
- Parameters.subscriptionId,
145
- Parameters.resourceGroupName,
146
- Parameters.accountName
147
- ],
148
- queryParameters: [
149
- Parameters.apiVersion
150
- ],
151
- headerParameters: [
152
- Parameters.acceptLanguage
153
- ],
154
- responses: {
155
- 200: {},
156
- 204: {},
157
- default: {
158
- bodyMapper: Mappers.CloudError
159
- }
160
- },
161
- serializer: serializer
162
- };
163
- var getOperationSpec = {
164
- httpMethod: "GET",
165
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}",
166
- urlParameters: [
167
- Parameters.subscriptionId,
168
- Parameters.resourceGroupName,
169
- Parameters.accountName
170
- ],
171
- queryParameters: [
172
- Parameters.apiVersion
173
- ],
174
- headerParameters: [
175
- Parameters.acceptLanguage
176
- ],
177
- responses: {
178
- 200: {
179
- bodyMapper: Mappers.SpatialAnchorsAccount
180
- },
181
- default: {
182
- bodyMapper: Mappers.CloudError
183
- }
184
- },
185
- serializer: serializer
186
- };
187
- var updateOperationSpec = {
188
- httpMethod: "PATCH",
189
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}",
190
- urlParameters: [
191
- Parameters.subscriptionId,
192
- Parameters.resourceGroupName,
193
- Parameters.accountName
194
- ],
195
- queryParameters: [
196
- Parameters.apiVersion
197
- ],
198
- headerParameters: [
199
- Parameters.acceptLanguage
200
- ],
201
- requestBody: {
202
- parameterPath: "spatialAnchorsAccount",
203
- mapper: __assign(__assign({}, Mappers.SpatialAnchorsAccount), { required: true })
204
- },
205
- responses: {
206
- 200: {
207
- bodyMapper: Mappers.SpatialAnchorsAccount
208
- },
209
- default: {
210
- bodyMapper: Mappers.CloudError
211
- }
212
- },
213
- serializer: serializer
214
- };
215
- var createOperationSpec = {
216
- httpMethod: "PUT",
217
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}",
218
- urlParameters: [
219
- Parameters.subscriptionId,
220
- Parameters.resourceGroupName,
221
- Parameters.accountName
222
- ],
223
- queryParameters: [
224
- Parameters.apiVersion
225
- ],
226
- headerParameters: [
227
- Parameters.acceptLanguage
228
- ],
229
- requestBody: {
230
- parameterPath: "spatialAnchorsAccount",
231
- mapper: __assign(__assign({}, Mappers.SpatialAnchorsAccount), { required: true })
232
- },
233
- responses: {
234
- 200: {
235
- bodyMapper: Mappers.SpatialAnchorsAccount
236
- },
237
- 201: {
238
- bodyMapper: Mappers.SpatialAnchorsAccount
239
- },
240
- default: {
241
- bodyMapper: Mappers.CloudError
242
- }
243
- },
244
- serializer: serializer
245
- };
246
- var listKeysOperationSpec = {
247
- httpMethod: "POST",
248
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}/listKeys",
249
- urlParameters: [
250
- Parameters.subscriptionId,
251
- Parameters.resourceGroupName,
252
- Parameters.accountName
253
- ],
254
- queryParameters: [
255
- Parameters.apiVersion
256
- ],
257
- headerParameters: [
258
- Parameters.acceptLanguage
259
- ],
260
- responses: {
261
- 200: {
262
- bodyMapper: Mappers.AccountKeys
263
- },
264
- default: {
265
- bodyMapper: Mappers.CloudError
266
- }
267
- },
268
- serializer: serializer
269
- };
270
- var regenerateKeysOperationSpec = {
271
- httpMethod: "POST",
272
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}/regenerateKeys",
273
- urlParameters: [
274
- Parameters.subscriptionId,
275
- Parameters.resourceGroupName,
276
- Parameters.accountName
277
- ],
278
- queryParameters: [
279
- Parameters.apiVersion
280
- ],
281
- headerParameters: [
282
- Parameters.acceptLanguage
283
- ],
284
- requestBody: {
285
- parameterPath: "regenerate",
286
- mapper: __assign(__assign({}, Mappers.AccountKeyRegenerateRequest), { required: true })
287
- },
288
- responses: {
289
- 200: {
290
- bodyMapper: Mappers.AccountKeys
291
- },
292
- default: {
293
- bodyMapper: Mappers.CloudError
294
- }
295
- },
296
- serializer: serializer
297
- };
298
- var listBySubscriptionNextOperationSpec = {
299
- httpMethod: "GET",
300
- baseUrl: "https://management.azure.com",
301
- path: "{nextLink}",
302
- urlParameters: [
303
- Parameters.nextPageLink
304
- ],
305
- queryParameters: [
306
- Parameters.apiVersion
307
- ],
308
- headerParameters: [
309
- Parameters.acceptLanguage
310
- ],
311
- responses: {
312
- 200: {
313
- bodyMapper: Mappers.SpatialAnchorsAccountPage
314
- },
315
- default: {
316
- bodyMapper: Mappers.CloudError
317
- }
318
- },
319
- serializer: serializer
320
- };
321
- var listByResourceGroupNextOperationSpec = {
322
- httpMethod: "GET",
323
- baseUrl: "https://management.azure.com",
324
- path: "{nextLink}",
325
- urlParameters: [
326
- Parameters.nextPageLink
327
- ],
328
- queryParameters: [
329
- Parameters.apiVersion
330
- ],
331
- headerParameters: [
332
- Parameters.acceptLanguage
333
- ],
334
- responses: {
335
- 200: {
336
- bodyMapper: Mappers.SpatialAnchorsAccountPage
337
- },
338
- default: {
339
- bodyMapper: Mappers.CloudError
340
- }
341
- },
342
- serializer: serializer
343
- };
344
- //# sourceMappingURL=spatialAnchorsAccounts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spatialAnchorsAccounts.js","sourceRoot":"","sources":["../../src/operations/spatialAnchorsAccounts.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,yCAAyC,CAAC;AACnE,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,mDAAmD;AACnD;IAGE;;;OAGG;IACH,gCAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,mDAAkB,GAAlB,UAAmB,OAA8F,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UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,mCAAmC,GAAyB;IAChE,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,oCAAoC,GAAyB;IACjE,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,68 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
8
- */
9
-
10
- import * as Models from "./models";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import { TokenCredential } from "@azure/core-auth";
13
- import * as msRestAzure from "@azure/ms-rest-azure-js";
14
-
15
- const packageName = "@azure/arm-mixedreality";
16
- const packageVersion = "3.1.1";
17
-
18
- export class MixedRealityClientContext extends msRestAzure.AzureServiceClient {
19
- credentials: msRest.ServiceClientCredentials | TokenCredential;
20
- apiVersion?: string;
21
- subscriptionId: string;
22
-
23
- /**
24
- * Initializes a new instance of the MixedRealityClient class.
25
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
26
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
27
- * more information about these credentials, see
28
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
29
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
30
- * @azure/ms-rest-browserauth are also supported.
31
- * @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.
32
- * 00000000-0000-0000-0000-000000000000)
33
- * @param [options] The parameter options
34
- */
35
- constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MixedRealityClientOptions) {
36
- if (credentials == undefined) {
37
- throw new Error('\'credentials\' cannot be null.');
38
- }
39
- if (subscriptionId == undefined) {
40
- throw new Error('\'subscriptionId\' cannot be null.');
41
- }
42
-
43
- if (!options) {
44
- options = {};
45
- }
46
- if (!options.userAgent) {
47
- const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
48
- options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
49
- }
50
-
51
- super(credentials, options);
52
-
53
- this.apiVersion = '2021-01-01';
54
- this.acceptLanguage = 'en-US';
55
- this.longRunningOperationRetryTimeout = 30;
56
- this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
57
- this.requestContentType = "application/json; charset=utf-8";
58
- this.credentials = credentials;
59
- this.subscriptionId = subscriptionId;
60
-
61
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
62
- this.acceptLanguage = options.acceptLanguage;
63
- }
64
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
65
- this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
66
- }
67
- }
68
- }