@azure/arm-hybridcompute 1.0.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +72 -79
  4. package/dist/index.js +3565 -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/approveOrRejectAPrivateEndpointConnectionWithAGivenName.d.ts +2 -0
  9. package/dist-esm/samples-dev/approveOrRejectAPrivateEndpointConnectionWithAGivenName.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/approveOrRejectAPrivateEndpointConnectionWithAGivenName.js +40 -0
  11. package/dist-esm/samples-dev/approveOrRejectAPrivateEndpointConnectionWithAGivenName.js.map +1 -0
  12. package/dist-esm/samples-dev/createOrUpdateAMachineExtension.d.ts +2 -0
  13. package/dist-esm/samples-dev/createOrUpdateAMachineExtension.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/createOrUpdateAMachineExtension.js +42 -0
  15. package/dist-esm/samples-dev/createOrUpdateAMachineExtension.js.map +1 -0
  16. package/dist-esm/samples-dev/deleteAMachine.d.ts +2 -0
  17. package/dist-esm/samples-dev/deleteAMachine.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/deleteAMachine.js +31 -0
  19. package/dist-esm/samples-dev/deleteAMachine.js.map +1 -0
  20. package/dist-esm/samples-dev/deleteAMachineExtension.d.ts +2 -0
  21. package/dist-esm/samples-dev/deleteAMachineExtension.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/deleteAMachineExtension.js +32 -0
  23. package/dist-esm/samples-dev/deleteAMachineExtension.js.map +1 -0
  24. package/dist-esm/samples-dev/deletesAPrivateEndpointConnectionWithAGivenName.d.ts +2 -0
  25. package/dist-esm/samples-dev/deletesAPrivateEndpointConnectionWithAGivenName.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/deletesAPrivateEndpointConnectionWithAGivenName.js +32 -0
  27. package/dist-esm/samples-dev/deletesAPrivateEndpointConnectionWithAGivenName.js.map +1 -0
  28. package/dist-esm/samples-dev/getAllMachineExtensions.d.ts +2 -0
  29. package/dist-esm/samples-dev/getAllMachineExtensions.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/getAllMachineExtensions.js +45 -0
  31. package/dist-esm/samples-dev/getAllMachineExtensions.js.map +1 -0
  32. package/dist-esm/samples-dev/getMachine.d.ts +2 -0
  33. package/dist-esm/samples-dev/getMachine.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/getMachine.js +31 -0
  35. package/dist-esm/samples-dev/getMachine.js.map +1 -0
  36. package/dist-esm/samples-dev/getMachineExtension.d.ts +2 -0
  37. package/dist-esm/samples-dev/getMachineExtension.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/getMachineExtension.js +32 -0
  39. package/dist-esm/samples-dev/getMachineExtension.js.map +1 -0
  40. package/dist-esm/samples-dev/getsListOfPrivateEndpointConnectionsOnAPrivateLinkScope.d.ts +2 -0
  41. package/dist-esm/samples-dev/getsListOfPrivateEndpointConnectionsOnAPrivateLinkScope.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/getsListOfPrivateEndpointConnectionsOnAPrivateLinkScope.js +45 -0
  43. package/dist-esm/samples-dev/getsListOfPrivateEndpointConnectionsOnAPrivateLinkScope.js.map +1 -0
  44. package/dist-esm/samples-dev/getsPrivateEndpointConnection.d.ts +2 -0
  45. package/dist-esm/samples-dev/getsPrivateEndpointConnection.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/getsPrivateEndpointConnection.js +32 -0
  47. package/dist-esm/samples-dev/getsPrivateEndpointConnection.js.map +1 -0
  48. package/dist-esm/samples-dev/listMachinesByResourceGroup.d.ts +2 -0
  49. package/dist-esm/samples-dev/listMachinesByResourceGroup.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/listMachinesByResourceGroup.js +43 -0
  51. package/dist-esm/samples-dev/listMachinesByResourceGroup.js.map +1 -0
  52. package/dist-esm/samples-dev/privateLinkScopeCreate.d.ts +2 -0
  53. package/dist-esm/samples-dev/privateLinkScopeCreate.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/privateLinkScopeCreate.js +32 -0
  55. package/dist-esm/samples-dev/privateLinkScopeCreate.js.map +1 -0
  56. package/dist-esm/samples-dev/privateLinkScopeGet.d.ts +2 -0
  57. package/dist-esm/samples-dev/privateLinkScopeGet.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/privateLinkScopeGet.js +31 -0
  59. package/dist-esm/samples-dev/privateLinkScopeGet.js.map +1 -0
  60. package/dist-esm/samples-dev/privateLinkScopeListByResourceGroup.d.ts +2 -0
  61. package/dist-esm/samples-dev/privateLinkScopeListByResourceGroup.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/privateLinkScopeListByResourceGroup.js +44 -0
  63. package/dist-esm/samples-dev/privateLinkScopeListByResourceGroup.js.map +1 -0
  64. package/dist-esm/samples-dev/privateLinkScopeUpdate.d.ts +2 -0
  65. package/dist-esm/samples-dev/privateLinkScopeUpdate.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/privateLinkScopeUpdate.js +35 -0
  67. package/dist-esm/samples-dev/privateLinkScopeUpdate.js.map +1 -0
  68. package/dist-esm/samples-dev/privateLinkScopeUpdateTagsOnly.d.ts +2 -0
  69. package/dist-esm/samples-dev/privateLinkScopeUpdateTagsOnly.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/privateLinkScopeUpdateTagsOnly.js +34 -0
  71. package/dist-esm/samples-dev/privateLinkScopeUpdateTagsOnly.js.map +1 -0
  72. package/dist-esm/samples-dev/privateLinkScopesDelete.d.ts +2 -0
  73. package/dist-esm/samples-dev/privateLinkScopesDelete.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/privateLinkScopesDelete.js +31 -0
  75. package/dist-esm/samples-dev/privateLinkScopesDelete.js.map +1 -0
  76. package/dist-esm/samples-dev/privateLinkScopesListJson.d.ts +2 -0
  77. package/dist-esm/samples-dev/privateLinkScopesListJson.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/privateLinkScopesListJson.js +43 -0
  79. package/dist-esm/samples-dev/privateLinkScopesListJson.js.map +1 -0
  80. package/dist-esm/samples-dev/upgradeMachineExtensions.d.ts +2 -0
  81. package/dist-esm/samples-dev/upgradeMachineExtensions.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/upgradeMachineExtensions.js +37 -0
  83. package/dist-esm/samples-dev/upgradeMachineExtensions.js.map +1 -0
  84. package/dist-esm/src/hybridComputeManagementClient.d.ts +40 -0
  85. package/dist-esm/src/hybridComputeManagementClient.d.ts.map +1 -0
  86. package/dist-esm/src/hybridComputeManagementClient.js +138 -0
  87. package/dist-esm/src/hybridComputeManagementClient.js.map +1 -0
  88. package/dist-esm/src/index.d.ts +5 -0
  89. package/dist-esm/src/index.d.ts.map +1 -0
  90. package/dist-esm/src/index.js +12 -0
  91. package/dist-esm/src/index.js.map +1 -0
  92. package/dist-esm/src/lroImpl.d.ts +16 -0
  93. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  94. package/dist-esm/src/lroImpl.js +29 -0
  95. package/dist-esm/src/lroImpl.js.map +1 -0
  96. package/dist-esm/src/models/index.d.ts +875 -0
  97. package/dist-esm/src/models/index.d.ts.map +1 -0
  98. package/dist-esm/src/models/index.js +43 -0
  99. package/dist-esm/src/models/index.js.map +1 -0
  100. package/dist-esm/src/models/mappers.d.ts +45 -0
  101. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  102. package/{esm → dist-esm/src}/models/mappers.js +753 -716
  103. package/dist-esm/src/models/mappers.js.map +1 -0
  104. package/dist-esm/src/models/parameters.d.ts +25 -0
  105. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  106. package/dist-esm/src/models/parameters.js +219 -0
  107. package/dist-esm/src/models/parameters.js.map +1 -0
  108. package/dist-esm/src/operations/index.d.ts +7 -0
  109. package/dist-esm/src/operations/index.d.ts.map +1 -0
  110. package/dist-esm/src/operations/index.js +14 -0
  111. package/dist-esm/src/operations/index.js.map +1 -0
  112. package/dist-esm/src/operations/machineExtensions.d.ts +99 -0
  113. package/dist-esm/src/operations/machineExtensions.d.ts.map +1 -0
  114. package/dist-esm/src/operations/machineExtensions.js +429 -0
  115. package/dist-esm/src/operations/machineExtensions.js.map +1 -0
  116. package/dist-esm/src/operations/machines.d.ts +71 -0
  117. package/dist-esm/src/operations/machines.d.ts.map +1 -0
  118. package/dist-esm/src/operations/machines.js +294 -0
  119. package/dist-esm/src/operations/machines.js.map +1 -0
  120. package/dist-esm/src/operations/operations.d.ts +26 -0
  121. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  122. package/dist-esm/src/operations/operations.js +90 -0
  123. package/dist-esm/src/operations/operations.js.map +1 -0
  124. package/dist-esm/src/operations/privateEndpointConnections.d.ts +81 -0
  125. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  126. package/dist-esm/src/operations/privateEndpointConnections.js +337 -0
  127. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  128. package/dist-esm/src/operations/privateLinkResources.d.ts +46 -0
  129. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  130. package/dist-esm/src/operations/privateLinkResources.js +169 -0
  131. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  132. package/dist-esm/src/operations/privateLinkScopes.d.ts +108 -0
  133. package/dist-esm/src/operations/privateLinkScopes.d.ts.map +1 -0
  134. package/dist-esm/src/operations/privateLinkScopes.js +466 -0
  135. package/dist-esm/src/operations/privateLinkScopes.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
  137. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/index.js +14 -0
  139. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/machineExtensions.d.ts +74 -0
  141. package/dist-esm/src/operationsInterfaces/machineExtensions.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/machineExtensions.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/machineExtensions.js.map +1 -0
  144. package/dist-esm/src/operationsInterfaces/machines.d.ts +33 -0
  145. package/dist-esm/src/operationsInterfaces/machines.d.ts.map +1 -0
  146. package/dist-esm/src/operationsInterfaces/machines.js +9 -0
  147. package/dist-esm/src/operationsInterfaces/machines.js.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  149. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  151. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
  153. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  154. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  155. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  156. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
  157. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  158. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  159. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  160. package/dist-esm/src/operationsInterfaces/privateLinkScopes.d.ts +72 -0
  161. package/dist-esm/src/operationsInterfaces/privateLinkScopes.d.ts.map +1 -0
  162. package/dist-esm/src/operationsInterfaces/privateLinkScopes.js +9 -0
  163. package/dist-esm/src/operationsInterfaces/privateLinkScopes.js.map +1 -0
  164. package/dist-esm/test/sampleTest.d.ts +2 -0
  165. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  166. package/dist-esm/test/sampleTest.js +40 -0
  167. package/dist-esm/test/sampleTest.js.map +1 -0
  168. package/package.json +80 -32
  169. package/review/arm-hybridcompute.api.md +708 -0
  170. package/rollup.config.js +181 -30
  171. package/src/hybridComputeManagementClient.ts +203 -29
  172. package/src/index.ts +12 -0
  173. package/src/lroImpl.ts +34 -0
  174. package/src/models/index.ts +744 -939
  175. package/src/models/mappers.ts +721 -708
  176. package/src/models/parameters.ts +187 -34
  177. package/src/operations/index.ts +6 -5
  178. package/src/operations/machineExtensions.ts +484 -275
  179. package/src/operations/machines.ts +240 -225
  180. package/src/operations/operations.ts +66 -42
  181. package/src/operations/privateEndpointConnections.ts +483 -0
  182. package/src/operations/privateLinkResources.ts +233 -0
  183. package/src/operations/privateLinkScopes.ts +599 -0
  184. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +7 -6
  185. package/src/operationsInterfaces/machineExtensions.ts +147 -0
  186. package/src/operationsInterfaces/machines.ts +62 -0
  187. package/src/operationsInterfaces/operations.ts +22 -0
  188. package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
  189. package/src/operationsInterfaces/privateLinkResources.ts +44 -0
  190. package/src/operationsInterfaces/privateLinkScopes.ts +132 -0
  191. package/tsconfig.json +5 -4
  192. package/types/arm-hybridcompute.d.ts +1280 -0
  193. package/types/tsdoc-metadata.json +11 -0
  194. package/dist/arm-hybridcompute.js +0 -2224
  195. package/dist/arm-hybridcompute.js.map +0 -1
  196. package/dist/arm-hybridcompute.min.js +0 -1
  197. package/dist/arm-hybridcompute.min.js.map +0 -1
  198. package/esm/hybridComputeManagementClient.d.ts +0 -20
  199. package/esm/hybridComputeManagementClient.d.ts.map +0 -1
  200. package/esm/hybridComputeManagementClient.js +0 -35
  201. package/esm/hybridComputeManagementClient.js.map +0 -1
  202. package/esm/hybridComputeManagementClientContext.d.ts +0 -16
  203. package/esm/hybridComputeManagementClientContext.d.ts.map +0 -1
  204. package/esm/hybridComputeManagementClientContext.js +0 -56
  205. package/esm/hybridComputeManagementClientContext.js.map +0 -1
  206. package/esm/models/index.d.ts +0 -1115
  207. package/esm/models/index.d.ts.map +0 -1
  208. package/esm/models/index.js +0 -8
  209. package/esm/models/index.js.map +0 -1
  210. package/esm/models/machineExtensionsMappers.d.ts +0 -2
  211. package/esm/models/machineExtensionsMappers.d.ts.map +0 -1
  212. package/esm/models/machineExtensionsMappers.js +0 -9
  213. package/esm/models/machineExtensionsMappers.js.map +0 -1
  214. package/esm/models/machinesMappers.d.ts +0 -2
  215. package/esm/models/machinesMappers.d.ts.map +0 -1
  216. package/esm/models/machinesMappers.js +0 -9
  217. package/esm/models/machinesMappers.js.map +0 -1
  218. package/esm/models/mappers.d.ts +0 -41
  219. package/esm/models/mappers.d.ts.map +0 -1
  220. package/esm/models/mappers.js.map +0 -1
  221. package/esm/models/operationsMappers.d.ts +0 -2
  222. package/esm/models/operationsMappers.d.ts.map +0 -1
  223. package/esm/models/operationsMappers.js +0 -9
  224. package/esm/models/operationsMappers.js.map +0 -1
  225. package/esm/models/parameters.d.ts +0 -10
  226. package/esm/models/parameters.d.ts.map +0 -1
  227. package/esm/models/parameters.js +0 -99
  228. package/esm/models/parameters.js.map +0 -1
  229. package/esm/operations/index.d.ts +0 -4
  230. package/esm/operations/index.d.ts.map +0 -1
  231. package/esm/operations/index.js.map +0 -1
  232. package/esm/operations/machineExtensions.d.ts +0 -135
  233. package/esm/operations/machineExtensions.d.ts.map +0 -1
  234. package/esm/operations/machineExtensions.js +0 -294
  235. package/esm/operations/machineExtensions.js.map +0 -1
  236. package/esm/operations/machines.d.ts +0 -128
  237. package/esm/operations/machines.d.ts.map +0 -1
  238. package/esm/operations/machines.js +0 -197
  239. package/esm/operations/machines.js.map +0 -1
  240. package/esm/operations/operations.d.ts +0 -28
  241. package/esm/operations/operations.d.ts.map +0 -1
  242. package/esm/operations/operations.js +0 -51
  243. package/esm/operations/operations.js.map +0 -1
  244. package/src/hybridComputeManagementClientContext.ts +0 -62
  245. package/src/models/machineExtensionsMappers.ts +0 -37
  246. package/src/models/machinesMappers.ts +0 -35
  247. package/src/models/operationsMappers.ts +0 -14
@@ -1,1188 +1,993 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { 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
- * Describes the properties of a Compute Operation value.
16
- */
17
- export interface OperationValue {
18
- /**
19
- * The origin of the compute operation.
20
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
21
- */
22
- readonly origin?: string;
23
- /**
24
- * The name of the compute operation.
25
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
26
- */
27
- readonly name?: string;
28
- /**
29
- * The display name of the compute operation.
30
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
31
- */
32
- readonly operation?: string;
33
- /**
34
- * The display name of the resource the operation applies to.
35
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
36
- */
37
- readonly resource?: string;
38
- /**
39
- * The description of the operation.
40
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
41
- */
42
- readonly description?: string;
43
- /**
44
- * The resource provider for the operation.
45
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
46
- */
47
- readonly provider?: string;
48
- }
49
-
50
- /**
51
- * Describes the properties of a Hybrid Compute Operation Value Display.
52
- */
53
- export interface OperationValueDisplayModel {
54
- /**
55
- * The display name of the compute operation.
56
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
57
- */
58
- readonly operation?: string;
59
- /**
60
- * The display name of the resource the operation applies to.
61
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
62
- */
63
- readonly resource?: string;
64
- /**
65
- * The description of the operation.
66
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
67
- */
68
- readonly description?: string;
69
- /**
70
- * The resource provider for the operation.
71
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
72
- */
73
- readonly provider?: string;
74
- }
75
-
76
- /**
77
- * Specifies the operating system settings for the hybrid machine.
78
- */
79
- export interface OSProfile {
80
- /**
81
- * Specifies the host OS name of the hybrid machine.
82
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
83
- */
84
- readonly computerName?: string;
85
- }
86
-
87
- /**
88
- * Metadata pertaining to the geographic location of the resource.
89
- */
90
- export interface LocationData {
91
- /**
92
- * A canonical name for the geographic or physical location.
93
- */
94
- name: string;
95
- /**
96
- * The city or locality where the resource is located.
97
- */
98
- city?: string;
99
- /**
100
- * The district, state, or province where the resource is located.
101
- */
102
- district?: string;
103
- /**
104
- * The country or region where the resource is located
105
- */
106
- countryOrRegion?: string;
107
- }
108
-
109
- /**
110
- * Specifies the operating system settings for the hybrid machine.
111
- */
112
- export interface MachinePropertiesOsProfile extends OSProfile {
11
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
12
+ export interface ErrorResponse {
13
+ /** The error object. */
14
+ error?: ErrorDetail;
113
15
  }
114
16
 
115
- /**
116
- * An interface representing ErrorDetail.
117
- * @summary Error details.
118
- */
17
+ /** The error detail. */
119
18
  export interface ErrorDetail {
120
19
  /**
121
- * The error's code.
122
- */
123
- code: string;
124
- /**
125
- * A human readable error message.
126
- */
127
- message: string;
128
- /**
129
- * Indicates which property in the request is responsible for the error.
130
- */
131
- target?: string;
132
- /**
133
- * Additional error details.
134
- */
135
- details?: ErrorDetail[];
136
- }
137
-
138
- /**
139
- * Instance view status.
140
- */
141
- export interface MachineExtensionInstanceViewStatus {
142
- /**
143
- * The status code.
20
+ * The error code.
21
+ * NOTE: This property will not be serialized. It can only be populated by the server.
144
22
  */
145
- code?: string;
23
+ readonly code?: string;
146
24
  /**
147
- * The level code. Possible values include: 'Info', 'Warning', 'Error'
25
+ * The error message.
26
+ * NOTE: This property will not be serialized. It can only be populated by the server.
148
27
  */
149
- level?: StatusLevelTypes;
28
+ readonly message?: string;
150
29
  /**
151
- * The short localizable label for the status.
30
+ * The error target.
31
+ * NOTE: This property will not be serialized. It can only be populated by the server.
152
32
  */
153
- displayStatus?: string;
33
+ readonly target?: string;
154
34
  /**
155
- * The detailed status message, including for alerts and error messages.
35
+ * The error details.
36
+ * NOTE: This property will not be serialized. It can only be populated by the server.
156
37
  */
157
- message?: string;
38
+ readonly details?: ErrorDetail[];
158
39
  /**
159
- * The time of the status.
40
+ * The error additional info.
41
+ * NOTE: This property will not be serialized. It can only be populated by the server.
160
42
  */
161
- time?: Date;
43
+ readonly additionalInfo?: ErrorAdditionalInfo[];
162
44
  }
163
45
 
164
- /**
165
- * Describes the Machine Extension Instance View.
166
- */
167
- export interface MachineExtensionInstanceView {
168
- /**
169
- * The machine extension name.
170
- */
171
- name?: string;
172
- /**
173
- * Specifies the type of the extension; an example is "CustomScriptExtension".
174
- */
175
- type?: string;
46
+ /** The resource management error additional info. */
47
+ export interface ErrorAdditionalInfo {
176
48
  /**
177
- * Specifies the version of the script handler.
49
+ * The additional info type.
50
+ * NOTE: This property will not be serialized. It can only be populated by the server.
178
51
  */
179
- typeHandlerVersion?: string;
52
+ readonly type?: string;
180
53
  /**
181
- * Instance view status.
54
+ * The additional info.
55
+ * NOTE: This property will not be serialized. It can only be populated by the server.
182
56
  */
183
- status?: MachineExtensionInstanceViewStatus;
57
+ readonly info?: Record<string, unknown>;
184
58
  }
185
59
 
186
- /**
187
- * Describes the properties of a hybrid machine.
188
- */
60
+ /** Describes the properties of a hybrid machine. */
189
61
  export interface MachineProperties {
62
+ /** Metadata pertaining to the geographic location of the resource. */
190
63
  locationData?: LocationData;
191
64
  /**
192
65
  * Specifies the operating system settings for the hybrid machine.
66
+ * NOTE: This property will not be serialized. It can only be populated by the server.
193
67
  */
194
- osProfile?: MachinePropertiesOsProfile;
68
+ readonly osProfile?: OSProfile;
195
69
  /**
196
70
  * The provisioning state, which only appears in the response.
197
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
71
+ * NOTE: This property will not be serialized. It can only be populated by the server.
198
72
  */
199
73
  readonly provisioningState?: string;
200
74
  /**
201
- * The status of the hybrid machine agent. Possible values include: 'Connected', 'Disconnected',
202
- * 'Error'
203
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
75
+ * The status of the hybrid machine agent.
76
+ * NOTE: This property will not be serialized. It can only be populated by the server.
204
77
  */
205
78
  readonly status?: StatusTypes;
206
79
  /**
207
80
  * The time of the last status change.
208
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
81
+ * NOTE: This property will not be serialized. It can only be populated by the server.
209
82
  */
210
83
  readonly lastStatusChange?: Date;
211
84
  /**
212
85
  * Details about the error state.
213
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
86
+ * NOTE: This property will not be serialized. It can only be populated by the server.
214
87
  */
215
88
  readonly errorDetails?: ErrorDetail[];
216
89
  /**
217
90
  * The hybrid machine agent full version.
218
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
91
+ * NOTE: This property will not be serialized. It can only be populated by the server.
219
92
  */
220
93
  readonly agentVersion?: string;
221
- /**
222
- * Specifies the hybrid machine unique ID.
223
- */
94
+ /** Specifies the hybrid machine unique ID. */
224
95
  vmId?: string;
225
96
  /**
226
97
  * Specifies the hybrid machine display name.
227
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
98
+ * NOTE: This property will not be serialized. It can only be populated by the server.
228
99
  */
229
100
  readonly displayName?: string;
230
101
  /**
231
102
  * Specifies the hybrid machine FQDN.
232
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
103
+ * NOTE: This property will not be serialized. It can only be populated by the server.
233
104
  */
234
105
  readonly machineFqdn?: string;
235
- /**
236
- * Public Key that the client provides to be used during initial resource onboarding
237
- */
106
+ /** Public Key that the client provides to be used during initial resource onboarding */
238
107
  clientPublicKey?: string;
239
108
  /**
240
109
  * The Operating System running on the hybrid machine.
241
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
110
+ * NOTE: This property will not be serialized. It can only be populated by the server.
242
111
  */
243
112
  readonly osName?: string;
244
113
  /**
245
114
  * The version of Operating System running on the hybrid machine.
246
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
115
+ * NOTE: This property will not be serialized. It can only be populated by the server.
247
116
  */
248
117
  readonly osVersion?: string;
249
118
  /**
250
- * Machine Extensions information
119
+ * Specifies the Arc Machine's unique SMBIOS ID
120
+ * NOTE: This property will not be serialized. It can only be populated by the server.
251
121
  */
122
+ readonly vmUuid?: string;
123
+ /** Machine Extensions information */
252
124
  extensions?: MachineExtensionInstanceView[];
253
- }
254
-
255
- /**
256
- * Describes the properties required to reconnect a hybrid machine.
257
- */
258
- export interface MachineReconnectProperties {
259
125
  /**
260
- * Specifies the hybrid machine unique ID.
126
+ * Specifies the Operating System product SKU.
127
+ * NOTE: This property will not be serialized. It can only be populated by the server.
261
128
  */
262
- vmId?: string;
129
+ readonly osSku?: string;
263
130
  /**
264
- * Public Key that the client provides to be used during initial resource onboarding.
131
+ * Specifies the Windows domain name.
132
+ * NOTE: This property will not be serialized. It can only be populated by the server.
265
133
  */
266
- clientPublicKey?: string;
134
+ readonly domainName?: string;
135
+ /**
136
+ * Specifies the AD fully qualified display name.
137
+ * NOTE: This property will not be serialized. It can only be populated by the server.
138
+ */
139
+ readonly adFqdn?: string;
140
+ /**
141
+ * Specifies the DNS fully qualified display name.
142
+ * NOTE: This property will not be serialized. It can only be populated by the server.
143
+ */
144
+ readonly dnsFqdn?: string;
145
+ /** The resource id of the private link scope this machine is assigned to, if any. */
146
+ privateLinkScopeResourceId?: string;
147
+ /** The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any. */
148
+ parentClusterResourceId?: string;
149
+ /**
150
+ * Detected properties from the machine.
151
+ * NOTE: This property will not be serialized. It can only be populated by the server.
152
+ */
153
+ readonly detectedProperties?: { [propertyName: string]: string };
267
154
  }
268
155
 
269
- /**
270
- * Describes the ARM updatable properties of a hybrid machine.
271
- */
272
- export interface MachineUpdateProperties {
273
- locationData?: LocationData;
156
+ /** Metadata pertaining to the geographic location of the resource. */
157
+ export interface LocationData {
158
+ /** A canonical name for the geographic or physical location. */
159
+ name: string;
160
+ /** The city or locality where the resource is located. */
161
+ city?: string;
162
+ /** The district, state, or province where the resource is located. */
163
+ district?: string;
164
+ /** The country or region where the resource is located */
165
+ countryOrRegion?: string;
274
166
  }
275
167
 
276
- /**
277
- * Identity for the resource.
278
- */
168
+ /** Specifies the operating system settings for the hybrid machine. */
169
+ export interface OSProfile {
170
+ /**
171
+ * Specifies the host OS name of the hybrid machine.
172
+ * NOTE: This property will not be serialized. It can only be populated by the server.
173
+ */
174
+ readonly computerName?: string;
175
+ }
176
+
177
+ /** Describes the Machine Extension Instance View. */
178
+ export interface MachineExtensionInstanceView {
179
+ /** The machine extension name. */
180
+ name?: string;
181
+ /** Specifies the type of the extension; an example is "CustomScriptExtension". */
182
+ type?: string;
183
+ /** Specifies the version of the script handler. */
184
+ typeHandlerVersion?: string;
185
+ /** Instance view status. */
186
+ status?: MachineExtensionInstanceViewStatus;
187
+ }
188
+
189
+ /** Instance view status. */
190
+ export interface MachineExtensionInstanceViewStatus {
191
+ /** The status code. */
192
+ code?: string;
193
+ /** The level code. */
194
+ level?: StatusLevelTypes;
195
+ /** The short localizable label for the status. */
196
+ displayStatus?: string;
197
+ /** The detailed status message, including for alerts and error messages. */
198
+ message?: string;
199
+ /** The time of the status. */
200
+ time?: Date;
201
+ }
202
+
203
+ /** Identity for the resource. */
279
204
  export interface Identity {
280
205
  /**
281
206
  * The principal ID of resource identity.
282
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
207
+ * NOTE: This property will not be serialized. It can only be populated by the server.
283
208
  */
284
209
  readonly principalId?: string;
285
210
  /**
286
211
  * The tenant ID of resource.
287
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
212
+ * NOTE: This property will not be serialized. It can only be populated by the server.
288
213
  */
289
214
  readonly tenantId?: string;
290
- /**
291
- * The identity type. Possible values include: 'SystemAssigned'
292
- */
293
- type?: ResourceIdentityType;
215
+ /** The identity type. */
216
+ type?: "SystemAssigned";
294
217
  }
295
218
 
296
- /**
297
- * An interface representing MachineIdentity.
298
- */
299
- export interface MachineIdentity extends Identity {
219
+ /** Metadata pertaining to creation and last modification of the resource. */
220
+ export interface SystemData {
221
+ /** The identity that created the resource. */
222
+ createdBy?: string;
223
+ /** The type of identity that created the resource. */
224
+ createdByType?: CreatedByType;
225
+ /** The timestamp of resource creation (UTC). */
226
+ createdAt?: Date;
227
+ /** The identity that last modified the resource. */
228
+ lastModifiedBy?: string;
229
+ /** The type of identity that last modified the resource. */
230
+ lastModifiedByType?: CreatedByType;
231
+ /** The timestamp of resource last modification (UTC) */
232
+ lastModifiedAt?: Date;
300
233
  }
301
234
 
302
- /**
303
- * An interface representing Resource.
304
- */
305
- export interface Resource extends BaseResource {
235
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
236
+ export interface Resource {
306
237
  /**
307
- * Fully qualified resource Id for the resource. Ex -
308
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
309
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
238
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
239
+ * NOTE: This property will not be serialized. It can only be populated by the server.
310
240
  */
311
241
  readonly id?: string;
312
242
  /**
313
243
  * The name of the resource
314
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
244
+ * NOTE: This property will not be serialized. It can only be populated by the server.
315
245
  */
316
246
  readonly name?: string;
317
247
  /**
318
- * The type of the resource. Ex- Microsoft.Compute/virtualMachines or
319
- * Microsoft.Storage/storageAccounts.
320
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
248
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
249
+ * NOTE: This property will not be serialized. It can only be populated by the server.
321
250
  */
322
251
  readonly type?: string;
323
252
  }
324
253
 
325
- /**
326
- * The resource model definition for a ARM tracked top level resource
327
- */
328
- export interface TrackedResource extends Resource {
254
+ /** The List hybrid machine operation response. */
255
+ export interface MachineListResult {
256
+ /** The list of hybrid machines. */
257
+ value: Machine[];
258
+ /** The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next page of hybrid machines. */
259
+ nextLink?: string;
260
+ }
261
+
262
+ /** Describes the properties of a Machine Extension. */
263
+ export interface MachineExtensionProperties {
264
+ /** How the extension handler should be forced to update even if the extension configuration has not changed. */
265
+ forceUpdateTag?: string;
266
+ /** The name of the extension handler publisher. */
267
+ publisher?: string;
268
+ /** Specifies the type of the extension; an example is "CustomScriptExtension". */
269
+ type?: string;
270
+ /** Specifies the version of the script handler. */
271
+ typeHandlerVersion?: string;
272
+ /** Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. */
273
+ autoUpgradeMinorVersion?: boolean;
274
+ /** Json formatted public settings for the extension. */
275
+ settings?: Record<string, unknown>;
276
+ /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */
277
+ protectedSettings?: Record<string, unknown>;
329
278
  /**
330
- * Resource tags.
279
+ * The provisioning state, which only appears in the response.
280
+ * NOTE: This property will not be serialized. It can only be populated by the server.
331
281
  */
282
+ readonly provisioningState?: string;
283
+ /** The machine extension instance view. */
284
+ instanceView?: MachineExtensionInstanceView;
285
+ }
286
+
287
+ /** Describes the properties of a Machine Extension. */
288
+ export interface MachineExtensionUpdateProperties {
289
+ /** How the extension handler should be forced to update even if the extension configuration has not changed. */
290
+ forceUpdateTag?: string;
291
+ /** The name of the extension handler publisher. */
292
+ publisher?: string;
293
+ /** Specifies the type of the extension; an example is "CustomScriptExtension". */
294
+ type?: string;
295
+ /** Specifies the version of the script handler. */
296
+ typeHandlerVersion?: string;
297
+ /** Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. */
298
+ autoUpgradeMinorVersion?: boolean;
299
+ /** Json formatted public settings for the extension. */
300
+ settings?: Record<string, unknown>;
301
+ /** The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. */
302
+ protectedSettings?: Record<string, unknown>;
303
+ }
304
+
305
+ /** The Update Resource model definition. */
306
+ export interface ResourceUpdate {
307
+ /** Resource tags */
332
308
  tags?: { [propertyName: string]: string };
309
+ }
310
+
311
+ /** Describes the Machine Extensions List Result. */
312
+ export interface MachineExtensionsListResult {
313
+ /** The list of extensions */
314
+ value?: MachineExtension[];
315
+ /** The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the next page of extensions. */
316
+ nextLink?: string;
317
+ }
318
+
319
+ /** Describes the Machine Extension Upgrade Properties */
320
+ export interface MachineExtensionUpgrade {
321
+ /** Describes the Extension Target Properties. */
322
+ extensionTargets?: { [propertyName: string]: ExtensionTargetProperties };
323
+ }
324
+
325
+ /** Describes the Machine Extension Target Version Properties */
326
+ export interface ExtensionTargetProperties {
327
+ /** Properties for the specified Extension to Upgrade. */
328
+ targetVersion?: string;
329
+ }
330
+
331
+ /** The List Compute Operation operation response. */
332
+ export interface OperationListResult {
333
333
  /**
334
- * The geo-location where the resource lives
334
+ * The list of compute operations
335
+ * NOTE: This property will not be serialized. It can only be populated by the server.
335
336
  */
336
- location: string;
337
+ readonly value?: OperationValue[];
337
338
  }
338
339
 
339
- /**
340
- * Describes a hybrid machine.
341
- */
342
- export interface Machine extends TrackedResource {
343
- locationData?: LocationData;
340
+ /** Describes the properties of a Compute Operation value. */
341
+ export interface OperationValue {
344
342
  /**
345
- * Specifies the operating system settings for the hybrid machine.
343
+ * The origin of the compute operation.
344
+ * NOTE: This property will not be serialized. It can only be populated by the server.
346
345
  */
347
- osProfile?: MachinePropertiesOsProfile;
346
+ readonly origin?: string;
348
347
  /**
349
- * The provisioning state, which only appears in the response.
350
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
348
+ * The name of the compute operation.
349
+ * NOTE: This property will not be serialized. It can only be populated by the server.
351
350
  */
352
- readonly provisioningState?: string;
351
+ readonly name?: string;
352
+ /** Display properties */
353
+ display?: OperationValueDisplay;
354
+ }
355
+
356
+ /** Describes the properties of a Hybrid Compute Operation Value Display. */
357
+ export interface OperationValueDisplay {
353
358
  /**
354
- * The status of the hybrid machine agent. Possible values include: 'Connected', 'Disconnected',
355
- * 'Error'
356
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
359
+ * The display name of the compute operation.
360
+ * NOTE: This property will not be serialized. It can only be populated by the server.
357
361
  */
358
- readonly status?: StatusTypes;
362
+ readonly operation?: string;
359
363
  /**
360
- * The time of the last status change.
361
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
364
+ * The display name of the resource the operation applies to.
365
+ * NOTE: This property will not be serialized. It can only be populated by the server.
362
366
  */
363
- readonly lastStatusChange?: Date;
367
+ readonly resource?: string;
364
368
  /**
365
- * Details about the error state.
366
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
369
+ * The description of the operation.
370
+ * NOTE: This property will not be serialized. It can only be populated by the server.
367
371
  */
368
- readonly errorDetails?: ErrorDetail[];
372
+ readonly description?: string;
369
373
  /**
370
- * The hybrid machine agent full version.
371
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
374
+ * The resource provider for the operation.
375
+ * NOTE: This property will not be serialized. It can only be populated by the server.
372
376
  */
373
- readonly agentVersion?: string;
377
+ readonly provider?: string;
378
+ }
379
+
380
+ /** Describes the list of Azure Arc PrivateLinkScope resources. */
381
+ export interface HybridComputePrivateLinkScopeListResult {
382
+ /** List of Azure Arc PrivateLinkScope definitions. */
383
+ value: HybridComputePrivateLinkScope[];
384
+ /** The URI to get the next set of Azure Arc PrivateLinkScope definitions if too many PrivateLinkScopes where returned in the result set. */
385
+ nextLink?: string;
386
+ }
387
+
388
+ /** Properties that define a Azure Arc PrivateLinkScope resource. */
389
+ export interface HybridComputePrivateLinkScopeProperties {
390
+ /** Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints. */
391
+ publicNetworkAccess?: PublicNetworkAccessType;
374
392
  /**
375
- * Specifies the hybrid machine unique ID.
393
+ * Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.
394
+ * NOTE: This property will not be serialized. It can only be populated by the server.
376
395
  */
377
- vmId?: string;
396
+ readonly provisioningState?: string;
378
397
  /**
379
- * Specifies the hybrid machine display name.
380
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
398
+ * The Guid id of the private link scope.
399
+ * NOTE: This property will not be serialized. It can only be populated by the server.
381
400
  */
382
- readonly displayName?: string;
401
+ readonly privateLinkScopeId?: string;
402
+ }
403
+
404
+ /** An azure resource object */
405
+ export interface PrivateLinkScopesResource {
383
406
  /**
384
- * Specifies the hybrid machine FQDN.
385
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
407
+ * Azure resource Id
408
+ * NOTE: This property will not be serialized. It can only be populated by the server.
386
409
  */
387
- readonly machineFqdn?: string;
410
+ readonly id?: string;
388
411
  /**
389
- * Public Key that the client provides to be used during initial resource onboarding
412
+ * Azure resource name
413
+ * NOTE: This property will not be serialized. It can only be populated by the server.
390
414
  */
391
- clientPublicKey?: string;
415
+ readonly name?: string;
392
416
  /**
393
- * The Operating System running on the hybrid machine.
394
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
395
- */
396
- readonly osName?: string;
397
- /**
398
- * The version of Operating System running on the hybrid machine.
399
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
400
- */
401
- readonly osVersion?: string;
402
- /**
403
- * Machine Extensions information
404
- */
405
- extensions?: MachineExtensionInstanceView[];
406
- identity?: MachineIdentity;
407
- }
408
-
409
- /**
410
- * The Update Resource model definition.
411
- */
412
- export interface UpdateResource {
413
- /**
414
- * Resource tags
417
+ * Azure resource type
418
+ * NOTE: This property will not be serialized. It can only be populated by the server.
415
419
  */
420
+ readonly type?: string;
421
+ /** Resource location */
422
+ location: string;
423
+ /** Resource tags */
416
424
  tags?: { [propertyName: string]: string };
417
425
  }
418
426
 
419
- /**
420
- * Describes a hybrid machine Update.
421
- */
422
- export interface MachineUpdate extends UpdateResource {
423
- /**
424
- * The principal ID of resource identity.
425
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
426
- */
427
- readonly principalId?: string;
428
- /**
429
- * The tenant ID of resource.
430
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
431
- */
432
- readonly tenantId?: string;
433
- /**
434
- * The identity type. Possible values include: 'SystemAssigned'
435
- */
436
- type?: ResourceIdentityType;
437
- locationData?: LocationData;
427
+ /** A container holding only the Tags for a resource, allowing the user to update the tags on a PrivateLinkScope instance. */
428
+ export interface TagsResource {
429
+ /** Resource tags */
430
+ tags?: { [propertyName: string]: string };
438
431
  }
439
432
 
440
- /**
441
- * Describes a hybrid machine reconnect.
442
- */
443
- export interface MachineReconnect {
433
+ /** A list of private link resources */
434
+ export interface PrivateLinkResourceListResult {
444
435
  /**
445
- * Specifies the hybrid machine unique ID.
436
+ * Array of results.
437
+ * NOTE: This property will not be serialized. It can only be populated by the server.
446
438
  */
447
- vmId?: string;
439
+ readonly value?: PrivateLinkResource[];
448
440
  /**
449
- * Public Key that the client provides to be used during initial resource onboarding.
441
+ * Link to retrieve next page of results.
442
+ * NOTE: This property will not be serialized. It can only be populated by the server.
450
443
  */
451
- clientPublicKey?: string;
444
+ readonly nextLink?: string;
452
445
  }
453
446
 
454
- /**
455
- * Describes a Machine Extension.
456
- */
457
- export interface MachineExtension extends TrackedResource {
458
- /**
459
- * How the extension handler should be forced to update even if the extension configuration has
460
- * not changed.
461
- */
462
- forceUpdateTag?: string;
463
- /**
464
- * The name of the extension handler publisher.
465
- */
466
- publisher?: string;
467
- /**
468
- * Specifies the type of the extension; an example is "CustomScriptExtension".
469
- */
470
- machineExtensionType?: string;
447
+ /** Properties of a private link resource. */
448
+ export interface PrivateLinkResourceProperties {
471
449
  /**
472
- * Specifies the version of the script handler.
450
+ * The private link resource group id.
451
+ * NOTE: This property will not be serialized. It can only be populated by the server.
473
452
  */
474
- typeHandlerVersion?: string;
475
- /**
476
- * Indicates whether the extension should use a newer minor version if one is available at
477
- * deployment time. Once deployed, however, the extension will not upgrade minor versions unless
478
- * redeployed, even with this property set to true.
479
- */
480
- autoUpgradeMinorVersion?: boolean;
453
+ readonly groupId?: string;
481
454
  /**
482
- * Json formatted public settings for the extension.
455
+ * The private link resource required member names.
456
+ * NOTE: This property will not be serialized. It can only be populated by the server.
483
457
  */
484
- settings?: any;
458
+ readonly requiredMembers?: string[];
485
459
  /**
486
- * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no
487
- * protected settings at all.
460
+ * Required DNS zone names of the the private link resource.
461
+ * NOTE: This property will not be serialized. It can only be populated by the server.
488
462
  */
489
- protectedSettings?: any;
490
- /**
491
- * The provisioning state, which only appears in the response.
492
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
493
- */
494
- readonly provisioningState?: string;
495
- /**
496
- * The machine extension instance view.
497
- */
498
- instanceView?: MachineExtensionPropertiesInstanceView;
463
+ readonly requiredZoneNames?: string[];
499
464
  }
500
465
 
501
- /**
502
- * Describes a Machine Extension Update.
503
- */
504
- export interface MachineExtensionUpdate extends UpdateResource {
505
- /**
506
- * How the extension handler should be forced to update even if the extension configuration has
507
- * not changed.
508
- */
509
- forceUpdateTag?: string;
510
- /**
511
- * The name of the extension handler publisher.
512
- */
513
- publisher?: string;
514
- /**
515
- * Specifies the type of the extension; an example is "CustomScriptExtension".
516
- */
517
- type?: string;
518
- /**
519
- * Specifies the version of the script handler.
520
- */
521
- typeHandlerVersion?: string;
522
- /**
523
- * Indicates whether the extension should use a newer minor version if one is available at
524
- * deployment time. Once deployed, however, the extension will not upgrade minor versions unless
525
- * redeployed, even with this property set to true.
526
- */
527
- autoUpgradeMinorVersion?: boolean;
466
+ /** Properties of a private endpoint connection. */
467
+ export interface PrivateEndpointConnectionProperties {
468
+ /** Private endpoint which the connection belongs to. */
469
+ privateEndpoint?: PrivateEndpointProperty;
470
+ /** Connection state of the private endpoint connection. */
471
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty;
528
472
  /**
529
- * Json formatted public settings for the extension.
473
+ * State of the private endpoint connection.
474
+ * NOTE: This property will not be serialized. It can only be populated by the server.
530
475
  */
531
- settings?: any;
532
- /**
533
- * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no
534
- * protected settings at all.
535
- */
536
- protectedSettings?: any;
476
+ readonly provisioningState?: string;
537
477
  }
538
478
 
539
- /**
540
- * The machine extension instance view.
541
- */
542
- export interface MachineExtensionPropertiesInstanceView extends MachineExtensionInstanceView {
479
+ /** Private endpoint which the connection belongs to. */
480
+ export interface PrivateEndpointProperty {
481
+ /** Resource id of the private endpoint. */
482
+ id?: string;
543
483
  }
544
484
 
545
- /**
546
- * Describes the properties of a Machine Extension.
547
- */
548
- export interface MachineExtensionPropertiesModel {
549
- /**
550
- * How the extension handler should be forced to update even if the extension configuration has
551
- * not changed.
552
- */
553
- forceUpdateTag?: string;
485
+ /** State of the private endpoint connection. */
486
+ export interface PrivateLinkServiceConnectionStateProperty {
487
+ /** The private link service connection status. */
488
+ status: string;
489
+ /** The private link service connection description. */
490
+ description: string;
554
491
  /**
555
- * The name of the extension handler publisher.
492
+ * The actions required for private link service connection.
493
+ * NOTE: This property will not be serialized. It can only be populated by the server.
556
494
  */
557
- publisher?: string;
558
- /**
559
- * Specifies the type of the extension; an example is "CustomScriptExtension".
560
- */
561
- type?: string;
562
- /**
563
- * Specifies the version of the script handler.
564
- */
565
- typeHandlerVersion?: string;
566
- /**
567
- * Indicates whether the extension should use a newer minor version if one is available at
568
- * deployment time. Once deployed, however, the extension will not upgrade minor versions unless
569
- * redeployed, even with this property set to true.
570
- */
571
- autoUpgradeMinorVersion?: boolean;
572
- /**
573
- * Json formatted public settings for the extension.
574
- */
575
- settings?: any;
576
- /**
577
- * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no
578
- * protected settings at all.
579
- */
580
- protectedSettings?: any;
495
+ readonly actionsRequired?: string;
496
+ }
497
+
498
+ /** A list of private endpoint connections. */
499
+ export interface PrivateEndpointConnectionListResult {
581
500
  /**
582
- * The provisioning state, which only appears in the response.
583
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
501
+ * Array of results.
502
+ * NOTE: This property will not be serialized. It can only be populated by the server.
584
503
  */
585
- readonly provisioningState?: string;
504
+ readonly value?: PrivateEndpointConnection[];
586
505
  /**
587
- * The machine extension instance view.
506
+ * Link to retrieve next page of results.
507
+ * NOTE: This property will not be serialized. It can only be populated by the server.
588
508
  */
589
- instanceView?: MachineExtensionPropertiesInstanceView;
509
+ readonly nextLink?: string;
590
510
  }
591
511
 
592
- /**
593
- * Describes the properties of a Machine Extension.
594
- */
595
- export interface MachineExtensionUpdatePropertiesModel {
596
- /**
597
- * How the extension handler should be forced to update even if the extension configuration has
598
- * not changed.
599
- */
600
- forceUpdateTag?: string;
512
+ export interface PrivateLinkScopeValidationDetails {
601
513
  /**
602
- * The name of the extension handler publisher.
514
+ * Azure resource Id
515
+ * NOTE: This property will not be serialized. It can only be populated by the server.
603
516
  */
604
- publisher?: string;
517
+ readonly id?: string;
518
+ /** Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints. */
519
+ publicNetworkAccess?: PublicNetworkAccessType;
520
+ /** List of Private Endpoint Connection details. */
521
+ connectionDetails?: ConnectionDetail[];
522
+ }
523
+
524
+ export interface ConnectionDetail {
605
525
  /**
606
- * Specifies the type of the extension; an example is "CustomScriptExtension".
526
+ * Azure resource Id
527
+ * NOTE: This property will not be serialized. It can only be populated by the server.
607
528
  */
608
- type?: string;
529
+ readonly id?: string;
609
530
  /**
610
- * Specifies the version of the script handler.
531
+ * The private endpoint connection private ip address
532
+ * NOTE: This property will not be serialized. It can only be populated by the server.
611
533
  */
612
- typeHandlerVersion?: string;
534
+ readonly privateIpAddress?: string;
613
535
  /**
614
- * Indicates whether the extension should use a newer minor version if one is available at
615
- * deployment time. Once deployed, however, the extension will not upgrade minor versions unless
616
- * redeployed, even with this property set to true.
536
+ * The private endpoint connection link identifier
537
+ * NOTE: This property will not be serialized. It can only be populated by the server.
617
538
  */
618
- autoUpgradeMinorVersion?: boolean;
539
+ readonly linkIdentifier?: string;
619
540
  /**
620
- * Json formatted public settings for the extension.
541
+ * The private endpoint connection group id
542
+ * NOTE: This property will not be serialized. It can only be populated by the server.
621
543
  */
622
- settings?: any;
544
+ readonly groupId?: string;
623
545
  /**
624
- * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no
625
- * protected settings at all.
546
+ * The private endpoint connection member name
547
+ * NOTE: This property will not be serialized. It can only be populated by the server.
626
548
  */
627
- protectedSettings?: any;
549
+ readonly memberName?: string;
628
550
  }
629
551
 
630
- /**
631
- * The resource model definition for a ARM proxy resource. It will have everything other than
632
- * required location and tags
633
- */
634
- export interface ProxyResource extends Resource {
552
+ /** Describes the ARM updatable properties of a hybrid machine. */
553
+ export interface MachineUpdateProperties {
554
+ /** Metadata pertaining to the geographic location of the resource. */
555
+ locationData?: LocationData;
556
+ /** The resource id of the parent cluster (Azure HCI) this machine is assigned to, if any. */
557
+ parentClusterResourceId?: string;
558
+ /** The resource id of the private link scope this machine is assigned to, if any. */
559
+ privateLinkScopeResourceId?: string;
635
560
  }
636
561
 
637
- /**
638
- * The resource model definition for a Azure Resource Manager resource with an etag.
639
- */
640
- export interface AzureEntityResource extends Resource {
641
- /**
642
- * Resource Etag.
643
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
644
- */
645
- readonly etag?: string;
646
- }
562
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
563
+ export type TrackedResource = Resource & {
564
+ /** Resource tags. */
565
+ tags?: { [propertyName: string]: string };
566
+ /** The geo-location where the resource lives */
567
+ location: string;
568
+ };
647
569
 
648
- /**
649
- * An interface representing ResourceModelWithAllowedPropertySetIdentity.
650
- */
651
- export interface ResourceModelWithAllowedPropertySetIdentity extends Identity {
652
- }
570
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
571
+ export type ProxyResource = Resource & {};
653
572
 
654
- /**
655
- * The resource model definition representing SKU
656
- */
657
- export interface Sku {
573
+ /** Describes a Machine Extension Update. */
574
+ export type MachineExtensionUpdate = ResourceUpdate & {
575
+ /** Describes Machine Extension Update Properties. */
576
+ properties?: MachineExtensionUpdateProperties;
577
+ };
578
+
579
+ /** Describes a hybrid machine Update. */
580
+ export type MachineUpdate = ResourceUpdate & {
581
+ /** Identity for the resource. */
582
+ identity?: Identity;
583
+ /** Hybrid Compute Machine properties */
584
+ properties?: MachineUpdateProperties;
585
+ };
586
+
587
+ /** An Azure Arc PrivateLinkScope definition. */
588
+ export type HybridComputePrivateLinkScope = PrivateLinkScopesResource & {
589
+ /** Properties that define a Azure Arc PrivateLinkScope resource. */
590
+ properties?: HybridComputePrivateLinkScopeProperties;
658
591
  /**
659
- * The name of the SKU. Ex - P3. It is typically a letter+number code
592
+ * The system meta data relating to this resource.
593
+ * NOTE: This property will not be serialized. It can only be populated by the server.
660
594
  */
661
- name: string;
595
+ readonly systemData?: SystemData;
596
+ };
597
+
598
+ /** Describes a hybrid machine. */
599
+ export type Machine = TrackedResource & {
600
+ /** Hybrid Compute Machine properties */
601
+ properties?: MachineProperties;
602
+ /** Identity for the resource. */
603
+ identity?: Identity;
662
604
  /**
663
- * This field is required to be implemented by the Resource Provider if the service has more than
664
- * one tier, but is not required on a PUT. Possible values include: 'Free', 'Basic', 'Standard',
665
- * 'Premium'
605
+ * The system meta data relating to this resource.
606
+ * NOTE: This property will not be serialized. It can only be populated by the server.
666
607
  */
667
- tier?: SkuTier;
608
+ readonly systemData?: SystemData;
609
+ };
610
+
611
+ /** Describes a Machine Extension. */
612
+ export type MachineExtension = TrackedResource & {
613
+ /** Describes Machine Extension Properties. */
614
+ properties?: MachineExtensionProperties;
668
615
  /**
669
- * The SKU size. When the name field is the combination of tier and some other value, this would
670
- * be the standalone code.
616
+ * The system meta data relating to this resource.
617
+ * NOTE: This property will not be serialized. It can only be populated by the server.
671
618
  */
672
- size?: string;
619
+ readonly systemData?: SystemData;
620
+ };
621
+
622
+ /** A private link resource */
623
+ export type PrivateLinkResource = ProxyResource & {
624
+ /** Resource properties. */
625
+ properties?: PrivateLinkResourceProperties;
673
626
  /**
674
- * If the service has different generations of hardware, for the same SKU, then that can be
675
- * captured here.
627
+ * The system meta data relating to this resource.
628
+ * NOTE: This property will not be serialized. It can only be populated by the server.
676
629
  */
677
- family?: string;
630
+ readonly systemData?: SystemData;
631
+ };
632
+
633
+ /** A private endpoint connection */
634
+ export type PrivateEndpointConnection = ProxyResource & {
635
+ /** Resource properties. */
636
+ properties?: PrivateEndpointConnectionProperties;
678
637
  /**
679
- * If the SKU supports scale out/in then the capacity integer should be included. If scale out/in
680
- * is not possible for the resource this may be omitted.
638
+ * The system meta data relating to this resource.
639
+ * NOTE: This property will not be serialized. It can only be populated by the server.
681
640
  */
682
- capacity?: number;
641
+ readonly systemData?: SystemData;
642
+ };
643
+
644
+ /** Known values of {@link InstanceViewTypes} that the service accepts. */
645
+ export enum KnownInstanceViewTypes {
646
+ InstanceView = "instanceView"
683
647
  }
684
648
 
685
649
  /**
686
- * An interface representing ResourceModelWithAllowedPropertySetSku.
650
+ * Defines values for InstanceViewTypes. \
651
+ * {@link KnownInstanceViewTypes} can be used interchangeably with InstanceViewTypes,
652
+ * this enum contains the known values that the service supports.
653
+ * ### Known values supported by the service
654
+ * **instanceView**
687
655
  */
688
- export interface ResourceModelWithAllowedPropertySetSku extends Sku {
656
+ export type InstanceViewTypes = string;
657
+
658
+ /** Known values of {@link StatusTypes} that the service accepts. */
659
+ export enum KnownStatusTypes {
660
+ Connected = "Connected",
661
+ Disconnected = "Disconnected",
662
+ Error = "Error"
689
663
  }
690
664
 
691
665
  /**
692
- * Plan for the resource.
666
+ * Defines values for StatusTypes. \
667
+ * {@link KnownStatusTypes} can be used interchangeably with StatusTypes,
668
+ * this enum contains the known values that the service supports.
669
+ * ### Known values supported by the service
670
+ * **Connected** \
671
+ * **Disconnected** \
672
+ * **Error**
693
673
  */
694
- export interface Plan {
695
- /**
696
- * A user defined name of the 3rd Party Artifact that is being procured.
697
- */
698
- name: string;
699
- /**
700
- * The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
701
- */
702
- publisher: string;
703
- /**
704
- * The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID
705
- * specified for the artifact at the time of Data Market onboarding.
706
- */
707
- product: string;
708
- /**
709
- * A publisher provided promotion code as provisioned in Data Market for the said
710
- * product/artifact.
711
- */
712
- promotionCode?: string;
713
- /**
714
- * The version of the desired product/artifact.
715
- */
716
- version?: string;
674
+ export type StatusTypes = string;
675
+
676
+ /** Known values of {@link StatusLevelTypes} that the service accepts. */
677
+ export enum KnownStatusLevelTypes {
678
+ Info = "Info",
679
+ Warning = "Warning",
680
+ Error = "Error"
717
681
  }
718
682
 
719
683
  /**
720
- * An interface representing ResourceModelWithAllowedPropertySetPlan.
684
+ * Defines values for StatusLevelTypes. \
685
+ * {@link KnownStatusLevelTypes} can be used interchangeably with StatusLevelTypes,
686
+ * this enum contains the known values that the service supports.
687
+ * ### Known values supported by the service
688
+ * **Info** \
689
+ * **Warning** \
690
+ * **Error**
721
691
  */
722
- export interface ResourceModelWithAllowedPropertySetPlan extends Plan {
692
+ export type StatusLevelTypes = string;
693
+
694
+ /** Known values of {@link CreatedByType} that the service accepts. */
695
+ export enum KnownCreatedByType {
696
+ User = "User",
697
+ Application = "Application",
698
+ ManagedIdentity = "ManagedIdentity",
699
+ Key = "Key"
723
700
  }
724
701
 
725
702
  /**
726
- * The resource model definition containing the full set of allowed properties for a resource.
727
- * Except properties bag, there cannot be a top level property outside of this set.
703
+ * Defines values for CreatedByType. \
704
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
705
+ * this enum contains the known values that the service supports.
706
+ * ### Known values supported by the service
707
+ * **User** \
708
+ * **Application** \
709
+ * **ManagedIdentity** \
710
+ * **Key**
728
711
  */
729
- export interface ResourceModelWithAllowedPropertySet extends BaseResource {
730
- /**
731
- * Fully qualified resource Id for the resource. Ex -
732
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
733
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
734
- */
735
- readonly id?: string;
736
- /**
737
- * The name of the resource
738
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
739
- */
740
- readonly name?: string;
741
- /**
742
- * The type of the resource. Ex- Microsoft.Compute/virtualMachines or
743
- * Microsoft.Storage/storageAccounts..
744
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
745
- */
746
- readonly type?: string;
747
- /**
748
- * The geo-location where the resource lives
749
- */
750
- location?: string;
751
- /**
752
- * The fully qualified resource ID of the resource that manages this resource. Indicates if this
753
- * resource is managed by another azure resource. If this is present, complete mode deployment
754
- * will not delete the resource if it is removed from the template since it is managed by another
755
- * resource.
756
- */
757
- managedBy?: string;
758
- /**
759
- * Metadata used by portal/tooling/etc to render different UX experiences for resources of the
760
- * same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource
761
- * provider must validate and persist this value.
762
- */
763
- kind?: string;
764
- /**
765
- * The etag field is *not* required. If it is provided in the response body, it must also be
766
- * provided as a header per the normal etag convention. Entity tags are used for comparing two
767
- * or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag
768
- * (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
769
- * (section 14.27) header fields.
770
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
771
- */
772
- readonly etag?: string;
773
- /**
774
- * Resource tags.
775
- */
776
- tags?: { [propertyName: string]: string };
777
- identity?: ResourceModelWithAllowedPropertySetIdentity;
778
- sku?: ResourceModelWithAllowedPropertySetSku;
779
- plan?: ResourceModelWithAllowedPropertySetPlan;
712
+ export type CreatedByType = string;
713
+
714
+ /** Known values of {@link PublicNetworkAccessType} that the service accepts. */
715
+ export enum KnownPublicNetworkAccessType {
716
+ /** Allows Azure Arc agents to communicate with Azure Arc services over both public (internet) and private endpoints. */
717
+ Enabled = "Enabled",
718
+ /** Does not allow Azure Arc agents to communicate with Azure Arc services over public (internet) endpoints. The agents must use the private link. */
719
+ Disabled = "Disabled"
780
720
  }
781
721
 
782
722
  /**
783
- * The resource management error additional info.
723
+ * Defines values for PublicNetworkAccessType. \
724
+ * {@link KnownPublicNetworkAccessType} can be used interchangeably with PublicNetworkAccessType,
725
+ * this enum contains the known values that the service supports.
726
+ * ### Known values supported by the service
727
+ * **Enabled**: Allows Azure Arc agents to communicate with Azure Arc services over both public (internet) and private endpoints. \
728
+ * **Disabled**: Does not allow Azure Arc agents to communicate with Azure Arc services over public (internet) endpoints. The agents must use the private link.
784
729
  */
785
- export interface ErrorAdditionalInfo {
786
- /**
787
- * The additional info type.
788
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
789
- */
790
- readonly type?: string;
791
- /**
792
- * The additional info.
793
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
794
- */
795
- readonly info?: any;
730
+ export type PublicNetworkAccessType = string;
731
+
732
+ /** Optional parameters. */
733
+ export interface MachinesDeleteOptionalParams
734
+ extends coreClient.OperationOptions {}
735
+
736
+ /** Optional parameters. */
737
+ export interface MachinesGetOptionalParams extends coreClient.OperationOptions {
738
+ /** The expand expression to apply on the operation. */
739
+ expand?: InstanceViewTypes;
796
740
  }
797
741
 
798
- /**
799
- * The resource management error response.
800
- */
801
- export interface ErrorResponse {
802
- /**
803
- * The error code.
804
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
805
- */
806
- readonly code?: string;
807
- /**
808
- * The error message.
809
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
810
- */
811
- readonly message?: string;
812
- /**
813
- * The error target.
814
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
815
- */
816
- readonly target?: string;
817
- /**
818
- * The error details.
819
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
820
- */
821
- readonly details?: ErrorResponse[];
822
- /**
823
- * The error additional info.
824
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
825
- */
826
- readonly additionalInfo?: ErrorAdditionalInfo[];
742
+ /** Contains response data for the get operation. */
743
+ export type MachinesGetResponse = Machine;
744
+
745
+ /** Optional parameters. */
746
+ export interface MachinesListByResourceGroupOptionalParams
747
+ extends coreClient.OperationOptions {}
748
+
749
+ /** Contains response data for the listByResourceGroup operation. */
750
+ export type MachinesListByResourceGroupResponse = MachineListResult;
751
+
752
+ /** Optional parameters. */
753
+ export interface MachinesListBySubscriptionOptionalParams
754
+ extends coreClient.OperationOptions {}
755
+
756
+ /** Contains response data for the listBySubscription operation. */
757
+ export type MachinesListBySubscriptionResponse = MachineListResult;
758
+
759
+ /** Optional parameters. */
760
+ export interface MachinesListByResourceGroupNextOptionalParams
761
+ extends coreClient.OperationOptions {}
762
+
763
+ /** Contains response data for the listByResourceGroupNext operation. */
764
+ export type MachinesListByResourceGroupNextResponse = MachineListResult;
765
+
766
+ /** Optional parameters. */
767
+ export interface MachinesListBySubscriptionNextOptionalParams
768
+ extends coreClient.OperationOptions {}
769
+
770
+ /** Contains response data for the listBySubscriptionNext operation. */
771
+ export type MachinesListBySubscriptionNextResponse = MachineListResult;
772
+
773
+ /** Optional parameters. */
774
+ export interface MachineExtensionsCreateOrUpdateOptionalParams
775
+ extends coreClient.OperationOptions {
776
+ /** Delay to wait until next poll, in milliseconds. */
777
+ updateIntervalInMs?: number;
778
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
779
+ resumeFrom?: string;
827
780
  }
828
781
 
829
- /**
830
- * Optional Parameters.
831
- */
832
- export interface MachinesGetOptionalParams extends msRest.RequestOptionsBase {
833
- /**
834
- * The expand expression to apply on the operation. Possible values include: 'instanceView'
835
- */
836
- expand?: InstanceViewTypes;
782
+ /** Contains response data for the createOrUpdate operation. */
783
+ export type MachineExtensionsCreateOrUpdateResponse = MachineExtension;
784
+
785
+ /** Optional parameters. */
786
+ export interface MachineExtensionsUpdateOptionalParams
787
+ extends coreClient.OperationOptions {
788
+ /** Delay to wait until next poll, in milliseconds. */
789
+ updateIntervalInMs?: number;
790
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
791
+ resumeFrom?: string;
837
792
  }
838
793
 
839
- /**
840
- * Optional Parameters.
841
- */
842
- export interface MachineExtensionsListOptionalParams extends msRest.RequestOptionsBase {
843
- /**
844
- * The expand expression to apply on the operation.
845
- */
846
- expand?: string;
794
+ /** Contains response data for the update operation. */
795
+ export type MachineExtensionsUpdateResponse = MachineExtension;
796
+
797
+ /** Optional parameters. */
798
+ export interface MachineExtensionsDeleteOptionalParams
799
+ extends coreClient.OperationOptions {
800
+ /** Delay to wait until next poll, in milliseconds. */
801
+ updateIntervalInMs?: number;
802
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
803
+ resumeFrom?: string;
847
804
  }
848
805
 
849
- /**
850
- * An interface representing HybridComputeManagementClientOptions.
851
- */
852
- export interface HybridComputeManagementClientOptions extends AzureServiceClientOptions {
853
- baseUri?: string;
806
+ /** Optional parameters. */
807
+ export interface MachineExtensionsGetOptionalParams
808
+ extends coreClient.OperationOptions {}
809
+
810
+ /** Contains response data for the get operation. */
811
+ export type MachineExtensionsGetResponse = MachineExtension;
812
+
813
+ /** Optional parameters. */
814
+ export interface MachineExtensionsListOptionalParams
815
+ extends coreClient.OperationOptions {
816
+ /** The expand expression to apply on the operation. */
817
+ expand?: string;
854
818
  }
855
819
 
856
- /**
857
- * @interface
858
- * The List hybrid machine operation response.
859
- * @extends Array<Machine>
860
- */
861
- export interface MachineListResult extends Array<Machine> {
862
- /**
863
- * The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next
864
- * page of hybrid machines.
865
- */
866
- nextLink?: string;
820
+ /** Contains response data for the list operation. */
821
+ export type MachineExtensionsListResponse = MachineExtensionsListResult;
822
+
823
+ /** Optional parameters. */
824
+ export interface MachineExtensionsListNextOptionalParams
825
+ extends coreClient.OperationOptions {
826
+ /** The expand expression to apply on the operation. */
827
+ expand?: string;
867
828
  }
868
829
 
869
- /**
870
- * @interface
871
- * Describes the Machine Extensions List Result.
872
- * @extends Array<MachineExtension>
873
- */
874
- export interface MachineExtensionsListResult extends Array<MachineExtension> {
875
- /**
876
- * The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the
877
- * next page of extensions.
878
- */
879
- nextLink?: string;
830
+ /** Contains response data for the listNext operation. */
831
+ export type MachineExtensionsListNextResponse = MachineExtensionsListResult;
832
+
833
+ /** Optional parameters. */
834
+ export interface UpgradeExtensionsOptionalParams
835
+ extends coreClient.OperationOptions {
836
+ /** Delay to wait until next poll, in milliseconds. */
837
+ updateIntervalInMs?: number;
838
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
839
+ resumeFrom?: string;
880
840
  }
881
841
 
882
- /**
883
- * @interface
884
- * The List Compute Operation operation response.
885
- * @extends Array<OperationValue>
886
- */
887
- export interface OperationListResult extends Array<OperationValue> {
842
+ /** Optional parameters. */
843
+ export interface OperationsListOptionalParams
844
+ extends coreClient.OperationOptions {}
845
+
846
+ /** Contains response data for the list operation. */
847
+ export type OperationsListResponse = OperationListResult;
848
+
849
+ /** Optional parameters. */
850
+ export interface PrivateLinkScopesListOptionalParams
851
+ extends coreClient.OperationOptions {}
852
+
853
+ /** Contains response data for the list operation. */
854
+ export type PrivateLinkScopesListResponse = HybridComputePrivateLinkScopeListResult;
855
+
856
+ /** Optional parameters. */
857
+ export interface PrivateLinkScopesListByResourceGroupOptionalParams
858
+ extends coreClient.OperationOptions {}
859
+
860
+ /** Contains response data for the listByResourceGroup operation. */
861
+ export type PrivateLinkScopesListByResourceGroupResponse = HybridComputePrivateLinkScopeListResult;
862
+
863
+ /** Optional parameters. */
864
+ export interface PrivateLinkScopesDeleteOptionalParams
865
+ extends coreClient.OperationOptions {
866
+ /** Delay to wait until next poll, in milliseconds. */
867
+ updateIntervalInMs?: number;
868
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
869
+ resumeFrom?: string;
888
870
  }
889
871
 
890
- /**
891
- * Defines values for StatusTypes.
892
- * Possible values include: 'Connected', 'Disconnected', 'Error'
893
- * @readonly
894
- * @enum {string}
895
- */
896
- export type StatusTypes = 'Connected' | 'Disconnected' | 'Error';
872
+ /** Optional parameters. */
873
+ export interface PrivateLinkScopesGetOptionalParams
874
+ extends coreClient.OperationOptions {}
897
875
 
898
- /**
899
- * Defines values for StatusLevelTypes.
900
- * Possible values include: 'Info', 'Warning', 'Error'
901
- * @readonly
902
- * @enum {string}
903
- */
904
- export type StatusLevelTypes = 'Info' | 'Warning' | 'Error';
876
+ /** Contains response data for the get operation. */
877
+ export type PrivateLinkScopesGetResponse = HybridComputePrivateLinkScope;
905
878
 
906
- /**
907
- * Defines values for SkuTier.
908
- * Possible values include: 'Free', 'Basic', 'Standard', 'Premium'
909
- * @readonly
910
- * @enum {string}
911
- */
912
- export type SkuTier = 'Free' | 'Basic' | 'Standard' | 'Premium';
879
+ /** Optional parameters. */
880
+ export interface PrivateLinkScopesCreateOrUpdateOptionalParams
881
+ extends coreClient.OperationOptions {}
913
882
 
914
- /**
915
- * Defines values for ResourceIdentityType.
916
- * Possible values include: 'SystemAssigned'
917
- * @readonly
918
- * @enum {string}
919
- */
920
- export type ResourceIdentityType = 'SystemAssigned';
883
+ /** Contains response data for the createOrUpdate operation. */
884
+ export type PrivateLinkScopesCreateOrUpdateResponse = HybridComputePrivateLinkScope;
921
885
 
922
- /**
923
- * Defines values for InstanceViewTypes.
924
- * Possible values include: 'instanceView'
925
- * @readonly
926
- * @enum {string}
927
- */
928
- export type InstanceViewTypes = 'instanceView';
886
+ /** Optional parameters. */
887
+ export interface PrivateLinkScopesUpdateTagsOptionalParams
888
+ extends coreClient.OperationOptions {}
929
889
 
930
- /**
931
- * Contains response data for the get operation.
932
- */
933
- export type MachinesGetResponse = Machine & {
934
- /**
935
- * The underlying HTTP response.
936
- */
937
- _response: msRest.HttpResponse & {
938
- /**
939
- * The response body as text (string format)
940
- */
941
- bodyAsText: string;
942
-
943
- /**
944
- * The response body as parsed JSON or XML
945
- */
946
- parsedBody: Machine;
947
- };
948
- };
890
+ /** Contains response data for the updateTags operation. */
891
+ export type PrivateLinkScopesUpdateTagsResponse = HybridComputePrivateLinkScope;
949
892
 
950
- /**
951
- * Contains response data for the listByResourceGroup operation.
952
- */
953
- export type MachinesListByResourceGroupResponse = MachineListResult & {
954
- /**
955
- * The underlying HTTP response.
956
- */
957
- _response: msRest.HttpResponse & {
958
- /**
959
- * The response body as text (string format)
960
- */
961
- bodyAsText: string;
962
-
963
- /**
964
- * The response body as parsed JSON or XML
965
- */
966
- parsedBody: MachineListResult;
967
- };
968
- };
893
+ /** Optional parameters. */
894
+ export interface PrivateLinkScopesGetValidationDetailsOptionalParams
895
+ extends coreClient.OperationOptions {}
969
896
 
970
- /**
971
- * Contains response data for the listBySubscription operation.
972
- */
973
- export type MachinesListBySubscriptionResponse = MachineListResult & {
974
- /**
975
- * The underlying HTTP response.
976
- */
977
- _response: msRest.HttpResponse & {
978
- /**
979
- * The response body as text (string format)
980
- */
981
- bodyAsText: string;
982
-
983
- /**
984
- * The response body as parsed JSON or XML
985
- */
986
- parsedBody: MachineListResult;
987
- };
988
- };
897
+ /** Contains response data for the getValidationDetails operation. */
898
+ export type PrivateLinkScopesGetValidationDetailsResponse = PrivateLinkScopeValidationDetails;
989
899
 
990
- /**
991
- * Contains response data for the listByResourceGroupNext operation.
992
- */
993
- export type MachinesListByResourceGroupNextResponse = MachineListResult & {
994
- /**
995
- * The underlying HTTP response.
996
- */
997
- _response: msRest.HttpResponse & {
998
- /**
999
- * The response body as text (string format)
1000
- */
1001
- bodyAsText: string;
1002
-
1003
- /**
1004
- * The response body as parsed JSON or XML
1005
- */
1006
- parsedBody: MachineListResult;
1007
- };
1008
- };
900
+ /** Optional parameters. */
901
+ export interface PrivateLinkScopesGetValidationDetailsForMachineOptionalParams
902
+ extends coreClient.OperationOptions {}
1009
903
 
1010
- /**
1011
- * Contains response data for the listBySubscriptionNext operation.
1012
- */
1013
- export type MachinesListBySubscriptionNextResponse = MachineListResult & {
1014
- /**
1015
- * The underlying HTTP response.
1016
- */
1017
- _response: msRest.HttpResponse & {
1018
- /**
1019
- * The response body as text (string format)
1020
- */
1021
- bodyAsText: string;
1022
-
1023
- /**
1024
- * The response body as parsed JSON or XML
1025
- */
1026
- parsedBody: MachineListResult;
1027
- };
1028
- };
904
+ /** Contains response data for the getValidationDetailsForMachine operation. */
905
+ export type PrivateLinkScopesGetValidationDetailsForMachineResponse = PrivateLinkScopeValidationDetails;
1029
906
 
1030
- /**
1031
- * Contains response data for the createOrUpdate operation.
1032
- */
1033
- export type MachineExtensionsCreateOrUpdateResponse = MachineExtension & {
1034
- /**
1035
- * The underlying HTTP response.
1036
- */
1037
- _response: msRest.HttpResponse & {
1038
- /**
1039
- * The response body as text (string format)
1040
- */
1041
- bodyAsText: string;
1042
-
1043
- /**
1044
- * The response body as parsed JSON or XML
1045
- */
1046
- parsedBody: MachineExtension;
1047
- };
1048
- };
907
+ /** Optional parameters. */
908
+ export interface PrivateLinkScopesListNextOptionalParams
909
+ extends coreClient.OperationOptions {}
1049
910
 
1050
- /**
1051
- * Contains response data for the update operation.
1052
- */
1053
- export type MachineExtensionsUpdateResponse = MachineExtension & {
1054
- /**
1055
- * The underlying HTTP response.
1056
- */
1057
- _response: msRest.HttpResponse & {
1058
- /**
1059
- * The response body as text (string format)
1060
- */
1061
- bodyAsText: string;
1062
-
1063
- /**
1064
- * The response body as parsed JSON or XML
1065
- */
1066
- parsedBody: MachineExtension;
1067
- };
1068
- };
911
+ /** Contains response data for the listNext operation. */
912
+ export type PrivateLinkScopesListNextResponse = HybridComputePrivateLinkScopeListResult;
1069
913
 
1070
- /**
1071
- * Contains response data for the get operation.
1072
- */
1073
- export type MachineExtensionsGetResponse = MachineExtension & {
1074
- /**
1075
- * The underlying HTTP response.
1076
- */
1077
- _response: msRest.HttpResponse & {
1078
- /**
1079
- * The response body as text (string format)
1080
- */
1081
- bodyAsText: string;
1082
-
1083
- /**
1084
- * The response body as parsed JSON or XML
1085
- */
1086
- parsedBody: MachineExtension;
1087
- };
1088
- };
914
+ /** Optional parameters. */
915
+ export interface PrivateLinkScopesListByResourceGroupNextOptionalParams
916
+ extends coreClient.OperationOptions {}
1089
917
 
1090
- /**
1091
- * Contains response data for the list operation.
1092
- */
1093
- export type MachineExtensionsListResponse = MachineExtensionsListResult & {
1094
- /**
1095
- * The underlying HTTP response.
1096
- */
1097
- _response: msRest.HttpResponse & {
1098
- /**
1099
- * The response body as text (string format)
1100
- */
1101
- bodyAsText: string;
1102
-
1103
- /**
1104
- * The response body as parsed JSON or XML
1105
- */
1106
- parsedBody: MachineExtensionsListResult;
1107
- };
1108
- };
918
+ /** Contains response data for the listByResourceGroupNext operation. */
919
+ export type PrivateLinkScopesListByResourceGroupNextResponse = HybridComputePrivateLinkScopeListResult;
1109
920
 
1110
- /**
1111
- * Contains response data for the beginCreateOrUpdate operation.
1112
- */
1113
- export type MachineExtensionsBeginCreateOrUpdateResponse = MachineExtension & {
1114
- /**
1115
- * The underlying HTTP response.
1116
- */
1117
- _response: msRest.HttpResponse & {
1118
- /**
1119
- * The response body as text (string format)
1120
- */
1121
- bodyAsText: string;
1122
-
1123
- /**
1124
- * The response body as parsed JSON or XML
1125
- */
1126
- parsedBody: MachineExtension;
1127
- };
1128
- };
921
+ /** Optional parameters. */
922
+ export interface PrivateLinkResourcesListByPrivateLinkScopeOptionalParams
923
+ extends coreClient.OperationOptions {}
1129
924
 
1130
- /**
1131
- * Contains response data for the beginUpdate operation.
1132
- */
1133
- export type MachineExtensionsBeginUpdateResponse = MachineExtension & {
1134
- /**
1135
- * The underlying HTTP response.
1136
- */
1137
- _response: msRest.HttpResponse & {
1138
- /**
1139
- * The response body as text (string format)
1140
- */
1141
- bodyAsText: string;
1142
-
1143
- /**
1144
- * The response body as parsed JSON or XML
1145
- */
1146
- parsedBody: MachineExtension;
1147
- };
1148
- };
925
+ /** Contains response data for the listByPrivateLinkScope operation. */
926
+ export type PrivateLinkResourcesListByPrivateLinkScopeResponse = PrivateLinkResourceListResult;
1149
927
 
1150
- /**
1151
- * Contains response data for the listNext operation.
1152
- */
1153
- export type MachineExtensionsListNextResponse = MachineExtensionsListResult & {
1154
- /**
1155
- * The underlying HTTP response.
1156
- */
1157
- _response: msRest.HttpResponse & {
1158
- /**
1159
- * The response body as text (string format)
1160
- */
1161
- bodyAsText: string;
1162
-
1163
- /**
1164
- * The response body as parsed JSON or XML
1165
- */
1166
- parsedBody: MachineExtensionsListResult;
1167
- };
1168
- };
928
+ /** Optional parameters. */
929
+ export interface PrivateLinkResourcesGetOptionalParams
930
+ extends coreClient.OperationOptions {}
1169
931
 
1170
- /**
1171
- * Contains response data for the list operation.
1172
- */
1173
- export type OperationsListResponse = OperationListResult & {
1174
- /**
1175
- * The underlying HTTP response.
1176
- */
1177
- _response: msRest.HttpResponse & {
1178
- /**
1179
- * The response body as text (string format)
1180
- */
1181
- bodyAsText: string;
1182
-
1183
- /**
1184
- * The response body as parsed JSON or XML
1185
- */
1186
- parsedBody: OperationListResult;
1187
- };
1188
- };
932
+ /** Contains response data for the get operation. */
933
+ export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
934
+
935
+ /** Optional parameters. */
936
+ export interface PrivateLinkResourcesListByPrivateLinkScopeNextOptionalParams
937
+ extends coreClient.OperationOptions {}
938
+
939
+ /** Contains response data for the listByPrivateLinkScopeNext operation. */
940
+ export type PrivateLinkResourcesListByPrivateLinkScopeNextResponse = PrivateLinkResourceListResult;
941
+
942
+ /** Optional parameters. */
943
+ export interface PrivateEndpointConnectionsGetOptionalParams
944
+ extends coreClient.OperationOptions {}
945
+
946
+ /** Contains response data for the get operation. */
947
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
948
+
949
+ /** Optional parameters. */
950
+ export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams
951
+ extends coreClient.OperationOptions {
952
+ /** Delay to wait until next poll, in milliseconds. */
953
+ updateIntervalInMs?: number;
954
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
955
+ resumeFrom?: string;
956
+ }
957
+
958
+ /** Contains response data for the createOrUpdate operation. */
959
+ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
960
+
961
+ /** Optional parameters. */
962
+ export interface PrivateEndpointConnectionsDeleteOptionalParams
963
+ extends coreClient.OperationOptions {
964
+ /** Delay to wait until next poll, in milliseconds. */
965
+ updateIntervalInMs?: number;
966
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
967
+ resumeFrom?: string;
968
+ }
969
+
970
+ /** Optional parameters. */
971
+ export interface PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams
972
+ extends coreClient.OperationOptions {}
973
+
974
+ /** Contains response data for the listByPrivateLinkScope operation. */
975
+ export type PrivateEndpointConnectionsListByPrivateLinkScopeResponse = PrivateEndpointConnectionListResult;
976
+
977
+ /** Optional parameters. */
978
+ export interface PrivateEndpointConnectionsListByPrivateLinkScopeNextOptionalParams
979
+ extends coreClient.OperationOptions {}
980
+
981
+ /** Contains response data for the listByPrivateLinkScopeNext operation. */
982
+ export type PrivateEndpointConnectionsListByPrivateLinkScopeNextResponse = PrivateEndpointConnectionListResult;
983
+
984
+ /** Optional parameters. */
985
+ export interface HybridComputeManagementClientOptionalParams
986
+ extends coreClient.ServiceClientOptions {
987
+ /** server parameter */
988
+ $host?: string;
989
+ /** Api Version */
990
+ apiVersion?: string;
991
+ /** Overrides client endpoint. */
992
+ endpoint?: string;
993
+ }