@azure/arm-hybridcompute 2.1.1 → 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 +69 -85
  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 +829 -555
  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 -33
  169. package/review/arm-hybridcompute.api.md +708 -0
  170. package/rollup.config.js +181 -30
  171. package/src/hybridComputeManagementClient.ts +204 -37
  172. package/src/index.ts +12 -0
  173. package/src/lroImpl.ts +34 -0
  174. package/src/models/index.ts +744 -786
  175. package/src/models/mappers.ts +836 -576
  176. package/src/models/parameters.ts +192 -33
  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 -1971
  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 -27
  199. package/esm/hybridComputeManagementClient.d.ts.map +0 -1
  200. package/esm/hybridComputeManagementClient.js +0 -41
  201. package/esm/hybridComputeManagementClient.js.map +0 -1
  202. package/esm/hybridComputeManagementClientContext.d.ts +0 -23
  203. package/esm/hybridComputeManagementClientContext.d.ts.map +0 -1
  204. package/esm/hybridComputeManagementClientContext.js +0 -62
  205. package/esm/hybridComputeManagementClientContext.js.map +0 -1
  206. package/esm/models/index.d.ts +0 -971
  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 -32
  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 -93
  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 -69
  245. package/src/models/machineExtensionsMappers.ts +0 -31
  246. package/src/models/machinesMappers.ts +0 -28
  247. package/src/models/operationsMappers.ts +0 -14
@@ -1,1035 +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.
144
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
20
+ * The error code.
21
+ * NOTE: This property will not be serialized. It can only be populated by the server.
145
22
  */
146
23
  readonly code?: string;
147
24
  /**
148
- * The level code. Possible values include: 'Info', 'Warning', 'Error'
149
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
25
+ * The error message.
26
+ * NOTE: This property will not be serialized. It can only be populated by the server.
150
27
  */
151
- readonly level?: StatusLevelTypes;
28
+ readonly message?: string;
152
29
  /**
153
- * The short localizable label for the status.
154
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
30
+ * The error target.
31
+ * NOTE: This property will not be serialized. It can only be populated by the server.
155
32
  */
156
- readonly displayStatus?: string;
33
+ readonly target?: string;
157
34
  /**
158
- * The detailed status message, including for alerts and error messages.
159
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
35
+ * The error details.
36
+ * NOTE: This property will not be serialized. It can only be populated by the server.
160
37
  */
161
- readonly message?: string;
38
+ readonly details?: ErrorDetail[];
162
39
  /**
163
- * The time of the status.
164
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
40
+ * The error additional info.
41
+ * NOTE: This property will not be serialized. It can only be populated by the server.
165
42
  */
166
- readonly time?: Date;
43
+ readonly additionalInfo?: ErrorAdditionalInfo[];
167
44
  }
168
45
 
169
- /**
170
- * Describes the Machine Extension Instance View.
171
- */
172
- export interface MachineExtensionInstanceView {
46
+ /** The resource management error additional info. */
47
+ export interface ErrorAdditionalInfo {
173
48
  /**
174
- * The machine extension name.
175
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
176
- */
177
- readonly name?: string;
178
- /**
179
- * Specifies the type of the extension; an example is "CustomScriptExtension".
180
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
49
+ * The additional info type.
50
+ * NOTE: This property will not be serialized. It can only be populated by the server.
181
51
  */
182
52
  readonly type?: string;
183
53
  /**
184
- * Specifies the version of the script handler.
185
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
186
- */
187
- readonly typeHandlerVersion?: string;
188
- /**
189
- * Instance view status.
54
+ * The additional info.
55
+ * NOTE: This property will not be serialized. It can only be populated by the server.
190
56
  */
191
- status?: MachineExtensionInstanceViewStatus;
57
+ readonly info?: Record<string, unknown>;
192
58
  }
193
59
 
194
- /**
195
- * Describes the properties of a hybrid machine.
196
- */
60
+ /** Describes the properties of a hybrid machine. */
197
61
  export interface MachineProperties {
62
+ /** Metadata pertaining to the geographic location of the resource. */
198
63
  locationData?: LocationData;
199
64
  /**
200
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.
201
67
  */
202
- osProfile?: MachinePropertiesOsProfile;
68
+ readonly osProfile?: OSProfile;
203
69
  /**
204
70
  * The provisioning state, which only appears in the response.
205
- * **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.
206
72
  */
207
73
  readonly provisioningState?: string;
208
74
  /**
209
- * The status of the hybrid machine agent. Possible values include: 'Connected', 'Disconnected',
210
- * 'Error'
211
- * **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.
212
77
  */
213
78
  readonly status?: StatusTypes;
214
79
  /**
215
80
  * The time of the last status change.
216
- * **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.
217
82
  */
218
83
  readonly lastStatusChange?: Date;
219
84
  /**
220
85
  * Details about the error state.
221
- * **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.
222
87
  */
223
88
  readonly errorDetails?: ErrorDetail[];
224
89
  /**
225
90
  * The hybrid machine agent full version.
226
- * **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.
227
92
  */
228
93
  readonly agentVersion?: string;
229
- /**
230
- * Specifies the hybrid machine unique ID.
231
- */
94
+ /** Specifies the hybrid machine unique ID. */
232
95
  vmId?: string;
233
96
  /**
234
97
  * Specifies the hybrid machine display name.
235
- * **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.
236
99
  */
237
100
  readonly displayName?: string;
238
101
  /**
239
102
  * Specifies the hybrid machine FQDN.
240
- * **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.
241
104
  */
242
105
  readonly machineFqdn?: string;
243
- /**
244
- * Public Key that the client provides to be used during initial resource onboarding
245
- */
106
+ /** Public Key that the client provides to be used during initial resource onboarding */
246
107
  clientPublicKey?: string;
247
108
  /**
248
109
  * The Operating System running on the hybrid machine.
249
- * **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.
250
111
  */
251
112
  readonly osName?: string;
252
113
  /**
253
114
  * The version of Operating System running on the hybrid machine.
254
- * **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.
255
116
  */
256
117
  readonly osVersion?: string;
257
118
  /**
258
119
  * Specifies the Arc Machine's unique SMBIOS ID
259
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
120
+ * NOTE: This property will not be serialized. It can only be populated by the server.
260
121
  */
261
122
  readonly vmUuid?: string;
262
- /**
263
- * Machine Extensions information
264
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
265
- */
266
- readonly extensions?: MachineExtensionInstanceView[];
123
+ /** Machine Extensions information */
124
+ extensions?: MachineExtensionInstanceView[];
267
125
  /**
268
126
  * Specifies the Operating System product SKU.
269
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
127
+ * NOTE: This property will not be serialized. It can only be populated by the server.
270
128
  */
271
129
  readonly osSku?: string;
272
130
  /**
273
131
  * Specifies the Windows domain name.
274
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
132
+ * NOTE: This property will not be serialized. It can only be populated by the server.
275
133
  */
276
134
  readonly domainName?: string;
277
135
  /**
278
136
  * Specifies the AD fully qualified display name.
279
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
137
+ * NOTE: This property will not be serialized. It can only be populated by the server.
280
138
  */
281
139
  readonly adFqdn?: string;
282
140
  /**
283
141
  * Specifies the DNS fully qualified display name.
284
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
142
+ * NOTE: This property will not be serialized. It can only be populated by the server.
285
143
  */
286
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 };
287
154
  }
288
155
 
289
- /**
290
- * Describes the ARM updatable properties of a hybrid machine.
291
- */
292
- export interface MachineUpdateProperties {
293
- 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;
294
166
  }
295
167
 
296
- /**
297
- * An interface representing Identity.
298
- * @summary Managed Identity.
299
- */
300
- export interface Identity {
168
+ /** Specifies the operating system settings for the hybrid machine. */
169
+ export interface OSProfile {
301
170
  /**
302
- * The identity type.
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.
303
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". */
304
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. */
204
+ export interface Identity {
305
205
  /**
306
- * The identity's principal id.
307
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
206
+ * The principal ID of resource identity.
207
+ * NOTE: This property will not be serialized. It can only be populated by the server.
308
208
  */
309
209
  readonly principalId?: string;
310
210
  /**
311
- * The identity's tenant id.
312
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
211
+ * The tenant ID of resource.
212
+ * NOTE: This property will not be serialized. It can only be populated by the server.
313
213
  */
314
214
  readonly tenantId?: string;
215
+ /** The identity type. */
216
+ type?: "SystemAssigned";
315
217
  }
316
218
 
317
- /**
318
- * An interface representing MachineIdentity.
319
- */
320
- 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;
321
233
  }
322
234
 
323
- /**
324
- * An interface representing Resource.
325
- */
326
- export interface Resource extends BaseResource {
235
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
236
+ export interface Resource {
327
237
  /**
328
- * Fully qualified resource Id for the resource. Ex -
329
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
330
- * **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.
331
240
  */
332
241
  readonly id?: string;
333
242
  /**
334
243
  * The name of the resource
335
- * **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.
336
245
  */
337
246
  readonly name?: string;
338
247
  /**
339
- * The type of the resource. Ex- Microsoft.Compute/virtualMachines or
340
- * Microsoft.Storage/storageAccounts.
341
- * **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.
342
250
  */
343
251
  readonly type?: string;
344
252
  }
345
253
 
346
- /**
347
- * The resource model definition for a ARM tracked top level resource
348
- */
349
- export interface TrackedResource extends Resource {
350
- /**
351
- * Resource tags.
352
- */
353
- tags?: { [propertyName: string]: string };
354
- /**
355
- * The geo-location where the resource lives
356
- */
357
- location: string;
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;
358
260
  }
359
261
 
360
- /**
361
- * Describes a hybrid machine.
362
- */
363
- export interface Machine extends TrackedResource {
364
- locationData?: LocationData;
365
- /**
366
- * Specifies the operating system settings for the hybrid machine.
367
- */
368
- osProfile?: MachinePropertiesOsProfile;
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>;
369
278
  /**
370
279
  * The provisioning state, which only appears in the response.
371
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
280
+ * NOTE: This property will not be serialized. It can only be populated by the server.
372
281
  */
373
282
  readonly provisioningState?: string;
374
- /**
375
- * The status of the hybrid machine agent. Possible values include: 'Connected', 'Disconnected',
376
- * 'Error'
377
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
378
- */
379
- readonly status?: StatusTypes;
380
- /**
381
- * The time of the last status change.
382
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
383
- */
384
- readonly lastStatusChange?: Date;
385
- /**
386
- * Details about the error state.
387
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
388
- */
389
- readonly errorDetails?: ErrorDetail[];
390
- /**
391
- * The hybrid machine agent full version.
392
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
393
- */
394
- readonly agentVersion?: string;
395
- /**
396
- * Specifies the hybrid machine unique ID.
397
- */
398
- vmId?: string;
399
- /**
400
- * Specifies the hybrid machine display name.
401
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
402
- */
403
- readonly displayName?: string;
404
- /**
405
- * Specifies the hybrid machine FQDN.
406
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
407
- */
408
- readonly machineFqdn?: string;
409
- /**
410
- * Public Key that the client provides to be used during initial resource onboarding
411
- */
412
- clientPublicKey?: string;
413
- /**
414
- * The Operating System running on the hybrid machine.
415
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
416
- */
417
- readonly osName?: string;
418
- /**
419
- * The version of Operating System running on the hybrid machine.
420
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
421
- */
422
- readonly osVersion?: string;
423
- /**
424
- * Specifies the Arc Machine's unique SMBIOS ID
425
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
426
- */
427
- readonly vmUuid?: string;
428
- /**
429
- * Machine Extensions information
430
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
431
- */
432
- readonly extensions?: MachineExtensionInstanceView[];
433
- /**
434
- * Specifies the Operating System product SKU.
435
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
436
- */
437
- readonly osSku?: string;
438
- /**
439
- * Specifies the Windows domain name.
440
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
441
- */
442
- readonly domainName?: string;
443
- /**
444
- * Specifies the AD fully qualified display name.
445
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
446
- */
447
- readonly adFqdn?: string;
448
- /**
449
- * Specifies the DNS fully qualified display name.
450
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
451
- */
452
- readonly dnsFqdn?: string;
453
- identity?: MachineIdentity;
283
+ /** The machine extension instance view. */
284
+ instanceView?: MachineExtensionInstanceView;
454
285
  }
455
286
 
456
- /**
457
- * The Update Resource model definition.
458
- */
459
- export interface UpdateResource {
460
- /**
461
- * Resource tags
462
- */
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 */
463
308
  tags?: { [propertyName: string]: string };
464
309
  }
465
310
 
466
- /**
467
- * Describes a hybrid machine Update.
468
- */
469
- export interface MachineUpdate extends UpdateResource {
470
- /**
471
- * The identity type.
472
- */
473
- type?: string;
474
- /**
475
- * The identity's principal id.
476
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
477
- */
478
- readonly principalId?: string;
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 {
479
333
  /**
480
- * The identity's tenant id.
481
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
334
+ * The list of compute operations
335
+ * NOTE: This property will not be serialized. It can only be populated by the server.
482
336
  */
483
- readonly tenantId?: string;
484
- locationData?: LocationData;
337
+ readonly value?: OperationValue[];
485
338
  }
486
339
 
487
- /**
488
- * Contains details when the response code indicates an error.
489
- * @summary Error response.
490
- */
491
- export interface ErrorResponse {
340
+ /** Describes the properties of a Compute Operation value. */
341
+ export interface OperationValue {
492
342
  /**
493
- * The error details.
343
+ * The origin of the compute operation.
344
+ * NOTE: This property will not be serialized. It can only be populated by the server.
345
+ */
346
+ readonly origin?: string;
347
+ /**
348
+ * The name of the compute operation.
349
+ * NOTE: This property will not be serialized. It can only be populated by the server.
494
350
  */
495
- error: ErrorDetail;
351
+ readonly name?: string;
352
+ /** Display properties */
353
+ display?: OperationValueDisplay;
496
354
  }
497
355
 
498
- /**
499
- * Describes a Machine Extension.
500
- */
501
- export interface MachineExtension extends TrackedResource {
356
+ /** Describes the properties of a Hybrid Compute Operation Value Display. */
357
+ export interface OperationValueDisplay {
502
358
  /**
503
- * How the extension handler should be forced to update even if the extension configuration has
504
- * not changed.
359
+ * The display name of the compute operation.
360
+ * NOTE: This property will not be serialized. It can only be populated by the server.
505
361
  */
506
- forceUpdateTag?: string;
362
+ readonly operation?: string;
507
363
  /**
508
- * The name of the extension handler publisher.
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.
509
366
  */
510
- publisher?: string;
367
+ readonly resource?: string;
511
368
  /**
512
- * Specifies the type of the extension; an example is "CustomScriptExtension".
369
+ * The description of the operation.
370
+ * NOTE: This property will not be serialized. It can only be populated by the server.
513
371
  */
514
- machineExtensionType?: string;
372
+ readonly description?: string;
515
373
  /**
516
- * Specifies the version of the script handler.
374
+ * The resource provider for the operation.
375
+ * NOTE: This property will not be serialized. It can only be populated by the server.
517
376
  */
518
- typeHandlerVersion?: 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;
519
392
  /**
520
- * Indicates whether the extension should use a newer minor version if one is available at
521
- * deployment time. Once deployed, however, the extension will not upgrade minor versions unless
522
- * redeployed, even with this property set to true.
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.
523
395
  */
524
- autoUpgradeMinorVersion?: boolean;
396
+ readonly provisioningState?: string;
525
397
  /**
526
- * Json formatted public settings for the extension.
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.
527
400
  */
528
- settings?: any;
401
+ readonly privateLinkScopeId?: string;
402
+ }
403
+
404
+ /** An azure resource object */
405
+ export interface PrivateLinkScopesResource {
529
406
  /**
530
- * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no
531
- * protected settings at all.
407
+ * Azure resource Id
408
+ * NOTE: This property will not be serialized. It can only be populated by the server.
532
409
  */
533
- protectedSettings?: any;
410
+ readonly id?: string;
534
411
  /**
535
- * The provisioning state, which only appears in the response.
536
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
412
+ * Azure resource name
413
+ * NOTE: This property will not be serialized. It can only be populated by the server.
537
414
  */
538
- readonly provisioningState?: string;
415
+ readonly name?: string;
539
416
  /**
540
- * The machine extension instance view.
417
+ * Azure resource type
418
+ * NOTE: This property will not be serialized. It can only be populated by the server.
541
419
  */
542
- instanceView?: MachineExtensionPropertiesInstanceView;
420
+ readonly type?: string;
421
+ /** Resource location */
422
+ location: string;
423
+ /** Resource tags */
424
+ tags?: { [propertyName: string]: string };
543
425
  }
544
426
 
545
- /**
546
- * Describes a Machine Extension Update.
547
- */
548
- export interface MachineExtensionUpdate extends UpdateResource {
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 };
431
+ }
432
+
433
+ /** A list of private link resources */
434
+ export interface PrivateLinkResourceListResult {
549
435
  /**
550
- * How the extension handler should be forced to update even if the extension configuration has
551
- * not changed.
436
+ * Array of results.
437
+ * NOTE: This property will not be serialized. It can only be populated by the server.
552
438
  */
553
- forceUpdateTag?: string;
439
+ readonly value?: PrivateLinkResource[];
554
440
  /**
555
- * The name of the extension handler publisher.
441
+ * Link to retrieve next page of results.
442
+ * NOTE: This property will not be serialized. It can only be populated by the server.
556
443
  */
557
- publisher?: string;
558
- /**
559
- * Specifies the type of the extension; an example is "CustomScriptExtension".
560
- */
561
- type?: string;
444
+ readonly nextLink?: string;
445
+ }
446
+
447
+ /** Properties of a private link resource. */
448
+ export interface PrivateLinkResourceProperties {
562
449
  /**
563
- * 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.
564
452
  */
565
- typeHandlerVersion?: string;
453
+ readonly groupId?: string;
566
454
  /**
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.
455
+ * The private link resource required member names.
456
+ * NOTE: This property will not be serialized. It can only be populated by the server.
570
457
  */
571
- autoUpgradeMinorVersion?: boolean;
458
+ readonly requiredMembers?: string[];
572
459
  /**
573
- * Json formatted public settings for the extension.
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.
574
462
  */
575
- settings?: any;
463
+ readonly requiredZoneNames?: string[];
464
+ }
465
+
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;
576
472
  /**
577
- * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no
578
- * protected settings at all.
473
+ * State of the private endpoint connection.
474
+ * NOTE: This property will not be serialized. It can only be populated by the server.
579
475
  */
580
- protectedSettings?: any;
476
+ readonly provisioningState?: string;
581
477
  }
582
478
 
583
- /**
584
- * The machine extension instance view.
585
- */
586
- 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;
587
483
  }
588
484
 
589
- /**
590
- * Describes the properties of a Machine Extension.
591
- */
592
- export interface MachineExtensionPropertiesModel {
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;
593
491
  /**
594
- * How the extension handler should be forced to update even if the extension configuration has
595
- * not changed.
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.
596
494
  */
597
- forceUpdateTag?: string;
495
+ readonly actionsRequired?: string;
496
+ }
497
+
498
+ /** A list of private endpoint connections. */
499
+ export interface PrivateEndpointConnectionListResult {
598
500
  /**
599
- * The name of the extension handler publisher.
501
+ * Array of results.
502
+ * NOTE: This property will not be serialized. It can only be populated by the server.
600
503
  */
601
- publisher?: string;
504
+ readonly value?: PrivateEndpointConnection[];
602
505
  /**
603
- * Specifies the type of the extension; an example is "CustomScriptExtension".
506
+ * Link to retrieve next page of results.
507
+ * NOTE: This property will not be serialized. It can only be populated by the server.
604
508
  */
605
- type?: string;
509
+ readonly nextLink?: string;
510
+ }
511
+
512
+ export interface PrivateLinkScopeValidationDetails {
606
513
  /**
607
- * Specifies the version of the script handler.
514
+ * Azure resource Id
515
+ * NOTE: This property will not be serialized. It can only be populated by the server.
608
516
  */
609
- typeHandlerVersion?: 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 {
610
525
  /**
611
- * Indicates whether the extension should use a newer minor version if one is available at
612
- * deployment time. Once deployed, however, the extension will not upgrade minor versions unless
613
- * redeployed, even with this property set to true.
526
+ * Azure resource Id
527
+ * NOTE: This property will not be serialized. It can only be populated by the server.
614
528
  */
615
- autoUpgradeMinorVersion?: boolean;
529
+ readonly id?: string;
616
530
  /**
617
- * Json formatted public settings for the extension.
531
+ * The private endpoint connection private ip address
532
+ * NOTE: This property will not be serialized. It can only be populated by the server.
618
533
  */
619
- settings?: any;
534
+ readonly privateIpAddress?: string;
620
535
  /**
621
- * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no
622
- * protected settings at all.
536
+ * The private endpoint connection link identifier
537
+ * NOTE: This property will not be serialized. It can only be populated by the server.
623
538
  */
624
- protectedSettings?: any;
539
+ readonly linkIdentifier?: string;
625
540
  /**
626
- * The provisioning state, which only appears in the response.
627
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
541
+ * The private endpoint connection group id
542
+ * NOTE: This property will not be serialized. It can only be populated by the server.
628
543
  */
629
- readonly provisioningState?: string;
544
+ readonly groupId?: string;
630
545
  /**
631
- * The machine extension instance view.
546
+ * The private endpoint connection member name
547
+ * NOTE: This property will not be serialized. It can only be populated by the server.
632
548
  */
633
- instanceView?: MachineExtensionPropertiesInstanceView;
549
+ readonly memberName?: string;
634
550
  }
635
551
 
636
- /**
637
- * Describes the properties of a Machine Extension.
638
- */
639
- export interface MachineExtensionUpdatePropertiesModel {
640
- /**
641
- * How the extension handler should be forced to update even if the extension configuration has
642
- * not changed.
643
- */
644
- forceUpdateTag?: string;
645
- /**
646
- * The name of the extension handler publisher.
647
- */
648
- publisher?: string;
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;
560
+ }
561
+
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
+ };
569
+
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 & {};
572
+
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;
649
591
  /**
650
- * Specifies the type of the extension; an example is "CustomScriptExtension".
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.
651
594
  */
652
- type?: 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;
653
604
  /**
654
- * Specifies the version of the script handler.
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.
655
607
  */
656
- typeHandlerVersion?: string;
608
+ readonly systemData?: SystemData;
609
+ };
610
+
611
+ /** Describes a Machine Extension. */
612
+ export type MachineExtension = TrackedResource & {
613
+ /** Describes Machine Extension Properties. */
614
+ properties?: MachineExtensionProperties;
657
615
  /**
658
- * Indicates whether the extension should use a newer minor version if one is available at
659
- * deployment time. Once deployed, however, the extension will not upgrade minor versions unless
660
- * redeployed, even with this property set to true.
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.
661
618
  */
662
- autoUpgradeMinorVersion?: boolean;
619
+ readonly systemData?: SystemData;
620
+ };
621
+
622
+ /** A private link resource */
623
+ export type PrivateLinkResource = ProxyResource & {
624
+ /** Resource properties. */
625
+ properties?: PrivateLinkResourceProperties;
663
626
  /**
664
- * Json formatted public settings for the extension.
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.
665
629
  */
666
- settings?: any;
630
+ readonly systemData?: SystemData;
631
+ };
632
+
633
+ /** A private endpoint connection */
634
+ export type PrivateEndpointConnection = ProxyResource & {
635
+ /** Resource properties. */
636
+ properties?: PrivateEndpointConnectionProperties;
667
637
  /**
668
- * The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no
669
- * protected settings at all.
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.
670
640
  */
671
- protectedSettings?: any;
641
+ readonly systemData?: SystemData;
642
+ };
643
+
644
+ /** Known values of {@link InstanceViewTypes} that the service accepts. */
645
+ export enum KnownInstanceViewTypes {
646
+ InstanceView = "instanceView"
672
647
  }
673
648
 
674
649
  /**
675
- * The resource model definition for a ARM proxy resource. It will have everything other than
676
- * required location and tags
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**
677
655
  */
678
- export interface ProxyResource extends Resource {
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"
679
663
  }
680
664
 
681
665
  /**
682
- * The resource model definition for a Azure Resource Manager resource with an etag.
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**
683
673
  */
684
- export interface AzureEntityResource extends Resource {
685
- /**
686
- * Resource Etag.
687
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
688
- */
689
- readonly etag?: 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"
690
681
  }
691
682
 
692
683
  /**
693
- * Optional Parameters.
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**
694
691
  */
695
- export interface MachinesGetOptionalParams extends msRest.RequestOptionsBase {
696
- /**
697
- * The expand expression to apply on the operation. Possible values include: 'instanceView'
698
- */
699
- expand?: InstanceViewTypes;
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"
700
700
  }
701
701
 
702
702
  /**
703
- * Optional Parameters.
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**
704
711
  */
705
- export interface MachineExtensionsListOptionalParams extends msRest.RequestOptionsBase {
706
- /**
707
- * The expand expression to apply on the operation.
708
- */
709
- expand?: string;
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"
710
720
  }
711
721
 
712
722
  /**
713
- * An interface representing HybridComputeManagementClientOptions.
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.
714
729
  */
715
- export interface HybridComputeManagementClientOptions extends AzureServiceClientOptions {
716
- baseUri?: string;
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;
717
740
  }
718
741
 
719
- /**
720
- * @interface
721
- * The List hybrid machine operation response.
722
- * @extends Array<Machine>
723
- */
724
- export interface MachineListResult extends Array<Machine> {
725
- /**
726
- * The URI to fetch the next page of Machines. Call ListNext() with this URI to fetch the next
727
- * page of hybrid machines.
728
- */
729
- nextLink?: string;
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;
730
780
  }
731
781
 
732
- /**
733
- * @interface
734
- * Describes the Machine Extensions List Result.
735
- * @extends Array<MachineExtension>
736
- */
737
- export interface MachineExtensionsListResult extends Array<MachineExtension> {
738
- /**
739
- * The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the
740
- * next page of extensions.
741
- */
742
- nextLink?: string;
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;
743
792
  }
744
793
 
745
- /**
746
- * @interface
747
- * The List Compute Operation operation response.
748
- * @extends Array<OperationValue>
749
- */
750
- export interface OperationListResult extends Array<OperationValue> {
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;
751
804
  }
752
805
 
753
- /**
754
- * Defines values for StatusTypes.
755
- * Possible values include: 'Connected', 'Disconnected', 'Error'
756
- * @readonly
757
- * @enum {string}
758
- */
759
- export type StatusTypes = 'Connected' | 'Disconnected' | 'Error';
806
+ /** Optional parameters. */
807
+ export interface MachineExtensionsGetOptionalParams
808
+ extends coreClient.OperationOptions {}
760
809
 
761
- /**
762
- * Defines values for StatusLevelTypes.
763
- * Possible values include: 'Info', 'Warning', 'Error'
764
- * @readonly
765
- * @enum {string}
766
- */
767
- export type StatusLevelTypes = 'Info' | 'Warning' | 'Error';
810
+ /** Contains response data for the get operation. */
811
+ export type MachineExtensionsGetResponse = MachineExtension;
768
812
 
769
- /**
770
- * Defines values for InstanceViewTypes.
771
- * Possible values include: 'instanceView'
772
- * @readonly
773
- * @enum {string}
774
- */
775
- export type InstanceViewTypes = 'instanceView';
813
+ /** Optional parameters. */
814
+ export interface MachineExtensionsListOptionalParams
815
+ extends coreClient.OperationOptions {
816
+ /** The expand expression to apply on the operation. */
817
+ expand?: string;
818
+ }
776
819
 
777
- /**
778
- * Contains response data for the get operation.
779
- */
780
- export type MachinesGetResponse = Machine & {
781
- /**
782
- * The underlying HTTP response.
783
- */
784
- _response: msRest.HttpResponse & {
785
- /**
786
- * The response body as text (string format)
787
- */
788
- bodyAsText: string;
789
-
790
- /**
791
- * The response body as parsed JSON or XML
792
- */
793
- parsedBody: Machine;
794
- };
795
- };
820
+ /** Contains response data for the list operation. */
821
+ export type MachineExtensionsListResponse = MachineExtensionsListResult;
796
822
 
797
- /**
798
- * Contains response data for the listByResourceGroup operation.
799
- */
800
- export type MachinesListByResourceGroupResponse = MachineListResult & {
801
- /**
802
- * The underlying HTTP response.
803
- */
804
- _response: msRest.HttpResponse & {
805
- /**
806
- * The response body as text (string format)
807
- */
808
- bodyAsText: string;
809
-
810
- /**
811
- * The response body as parsed JSON or XML
812
- */
813
- parsedBody: MachineListResult;
814
- };
815
- };
823
+ /** Optional parameters. */
824
+ export interface MachineExtensionsListNextOptionalParams
825
+ extends coreClient.OperationOptions {
826
+ /** The expand expression to apply on the operation. */
827
+ expand?: string;
828
+ }
816
829
 
817
- /**
818
- * Contains response data for the listBySubscription operation.
819
- */
820
- export type MachinesListBySubscriptionResponse = MachineListResult & {
821
- /**
822
- * The underlying HTTP response.
823
- */
824
- _response: msRest.HttpResponse & {
825
- /**
826
- * The response body as text (string format)
827
- */
828
- bodyAsText: string;
829
-
830
- /**
831
- * The response body as parsed JSON or XML
832
- */
833
- parsedBody: MachineListResult;
834
- };
835
- };
830
+ /** Contains response data for the listNext operation. */
831
+ export type MachineExtensionsListNextResponse = MachineExtensionsListResult;
836
832
 
837
- /**
838
- * Contains response data for the listByResourceGroupNext operation.
839
- */
840
- export type MachinesListByResourceGroupNextResponse = MachineListResult & {
841
- /**
842
- * The underlying HTTP response.
843
- */
844
- _response: msRest.HttpResponse & {
845
- /**
846
- * The response body as text (string format)
847
- */
848
- bodyAsText: string;
849
-
850
- /**
851
- * The response body as parsed JSON or XML
852
- */
853
- parsedBody: MachineListResult;
854
- };
855
- };
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;
840
+ }
856
841
 
857
- /**
858
- * Contains response data for the listBySubscriptionNext operation.
859
- */
860
- export type MachinesListBySubscriptionNextResponse = MachineListResult & {
861
- /**
862
- * The underlying HTTP response.
863
- */
864
- _response: msRest.HttpResponse & {
865
- /**
866
- * The response body as text (string format)
867
- */
868
- bodyAsText: string;
869
-
870
- /**
871
- * The response body as parsed JSON or XML
872
- */
873
- parsedBody: MachineListResult;
874
- };
875
- };
842
+ /** Optional parameters. */
843
+ export interface OperationsListOptionalParams
844
+ extends coreClient.OperationOptions {}
876
845
 
877
- /**
878
- * Contains response data for the createOrUpdate operation.
879
- */
880
- export type MachineExtensionsCreateOrUpdateResponse = MachineExtension & {
881
- /**
882
- * The underlying HTTP response.
883
- */
884
- _response: msRest.HttpResponse & {
885
- /**
886
- * The response body as text (string format)
887
- */
888
- bodyAsText: string;
889
-
890
- /**
891
- * The response body as parsed JSON or XML
892
- */
893
- parsedBody: MachineExtension;
894
- };
895
- };
846
+ /** Contains response data for the list operation. */
847
+ export type OperationsListResponse = OperationListResult;
896
848
 
897
- /**
898
- * Contains response data for the update operation.
899
- */
900
- export type MachineExtensionsUpdateResponse = MachineExtension & {
901
- /**
902
- * The underlying HTTP response.
903
- */
904
- _response: msRest.HttpResponse & {
905
- /**
906
- * The response body as text (string format)
907
- */
908
- bodyAsText: string;
909
-
910
- /**
911
- * The response body as parsed JSON or XML
912
- */
913
- parsedBody: MachineExtension;
914
- };
915
- };
849
+ /** Optional parameters. */
850
+ export interface PrivateLinkScopesListOptionalParams
851
+ extends coreClient.OperationOptions {}
916
852
 
917
- /**
918
- * Contains response data for the get operation.
919
- */
920
- export type MachineExtensionsGetResponse = MachineExtension & {
921
- /**
922
- * The underlying HTTP response.
923
- */
924
- _response: msRest.HttpResponse & {
925
- /**
926
- * The response body as text (string format)
927
- */
928
- bodyAsText: string;
929
-
930
- /**
931
- * The response body as parsed JSON or XML
932
- */
933
- parsedBody: MachineExtension;
934
- };
935
- };
853
+ /** Contains response data for the list operation. */
854
+ export type PrivateLinkScopesListResponse = HybridComputePrivateLinkScopeListResult;
936
855
 
937
- /**
938
- * Contains response data for the list operation.
939
- */
940
- export type MachineExtensionsListResponse = MachineExtensionsListResult & {
941
- /**
942
- * The underlying HTTP response.
943
- */
944
- _response: msRest.HttpResponse & {
945
- /**
946
- * The response body as text (string format)
947
- */
948
- bodyAsText: string;
949
-
950
- /**
951
- * The response body as parsed JSON or XML
952
- */
953
- parsedBody: MachineExtensionsListResult;
954
- };
955
- };
856
+ /** Optional parameters. */
857
+ export interface PrivateLinkScopesListByResourceGroupOptionalParams
858
+ extends coreClient.OperationOptions {}
956
859
 
957
- /**
958
- * Contains response data for the beginCreateOrUpdate operation.
959
- */
960
- export type MachineExtensionsBeginCreateOrUpdateResponse = MachineExtension & {
961
- /**
962
- * The underlying HTTP response.
963
- */
964
- _response: msRest.HttpResponse & {
965
- /**
966
- * The response body as text (string format)
967
- */
968
- bodyAsText: string;
969
-
970
- /**
971
- * The response body as parsed JSON or XML
972
- */
973
- parsedBody: MachineExtension;
974
- };
975
- };
860
+ /** Contains response data for the listByResourceGroup operation. */
861
+ export type PrivateLinkScopesListByResourceGroupResponse = HybridComputePrivateLinkScopeListResult;
976
862
 
977
- /**
978
- * Contains response data for the beginUpdate operation.
979
- */
980
- export type MachineExtensionsBeginUpdateResponse = MachineExtension & {
981
- /**
982
- * The underlying HTTP response.
983
- */
984
- _response: msRest.HttpResponse & {
985
- /**
986
- * The response body as text (string format)
987
- */
988
- bodyAsText: string;
989
-
990
- /**
991
- * The response body as parsed JSON or XML
992
- */
993
- parsedBody: MachineExtension;
994
- };
995
- };
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;
870
+ }
996
871
 
997
- /**
998
- * Contains response data for the listNext operation.
999
- */
1000
- export type MachineExtensionsListNextResponse = MachineExtensionsListResult & {
1001
- /**
1002
- * The underlying HTTP response.
1003
- */
1004
- _response: msRest.HttpResponse & {
1005
- /**
1006
- * The response body as text (string format)
1007
- */
1008
- bodyAsText: string;
1009
-
1010
- /**
1011
- * The response body as parsed JSON or XML
1012
- */
1013
- parsedBody: MachineExtensionsListResult;
1014
- };
1015
- };
872
+ /** Optional parameters. */
873
+ export interface PrivateLinkScopesGetOptionalParams
874
+ extends coreClient.OperationOptions {}
1016
875
 
1017
- /**
1018
- * Contains response data for the list operation.
1019
- */
1020
- export type OperationsListResponse = OperationListResult & {
1021
- /**
1022
- * The underlying HTTP response.
1023
- */
1024
- _response: msRest.HttpResponse & {
1025
- /**
1026
- * The response body as text (string format)
1027
- */
1028
- bodyAsText: string;
1029
-
1030
- /**
1031
- * The response body as parsed JSON or XML
1032
- */
1033
- parsedBody: OperationListResult;
1034
- };
1035
- };
876
+ /** Contains response data for the get operation. */
877
+ export type PrivateLinkScopesGetResponse = HybridComputePrivateLinkScope;
878
+
879
+ /** Optional parameters. */
880
+ export interface PrivateLinkScopesCreateOrUpdateOptionalParams
881
+ extends coreClient.OperationOptions {}
882
+
883
+ /** Contains response data for the createOrUpdate operation. */
884
+ export type PrivateLinkScopesCreateOrUpdateResponse = HybridComputePrivateLinkScope;
885
+
886
+ /** Optional parameters. */
887
+ export interface PrivateLinkScopesUpdateTagsOptionalParams
888
+ extends coreClient.OperationOptions {}
889
+
890
+ /** Contains response data for the updateTags operation. */
891
+ export type PrivateLinkScopesUpdateTagsResponse = HybridComputePrivateLinkScope;
892
+
893
+ /** Optional parameters. */
894
+ export interface PrivateLinkScopesGetValidationDetailsOptionalParams
895
+ extends coreClient.OperationOptions {}
896
+
897
+ /** Contains response data for the getValidationDetails operation. */
898
+ export type PrivateLinkScopesGetValidationDetailsResponse = PrivateLinkScopeValidationDetails;
899
+
900
+ /** Optional parameters. */
901
+ export interface PrivateLinkScopesGetValidationDetailsForMachineOptionalParams
902
+ extends coreClient.OperationOptions {}
903
+
904
+ /** Contains response data for the getValidationDetailsForMachine operation. */
905
+ export type PrivateLinkScopesGetValidationDetailsForMachineResponse = PrivateLinkScopeValidationDetails;
906
+
907
+ /** Optional parameters. */
908
+ export interface PrivateLinkScopesListNextOptionalParams
909
+ extends coreClient.OperationOptions {}
910
+
911
+ /** Contains response data for the listNext operation. */
912
+ export type PrivateLinkScopesListNextResponse = HybridComputePrivateLinkScopeListResult;
913
+
914
+ /** Optional parameters. */
915
+ export interface PrivateLinkScopesListByResourceGroupNextOptionalParams
916
+ extends coreClient.OperationOptions {}
917
+
918
+ /** Contains response data for the listByResourceGroupNext operation. */
919
+ export type PrivateLinkScopesListByResourceGroupNextResponse = HybridComputePrivateLinkScopeListResult;
920
+
921
+ /** Optional parameters. */
922
+ export interface PrivateLinkResourcesListByPrivateLinkScopeOptionalParams
923
+ extends coreClient.OperationOptions {}
924
+
925
+ /** Contains response data for the listByPrivateLinkScope operation. */
926
+ export type PrivateLinkResourcesListByPrivateLinkScopeResponse = PrivateLinkResourceListResult;
927
+
928
+ /** Optional parameters. */
929
+ export interface PrivateLinkResourcesGetOptionalParams
930
+ extends coreClient.OperationOptions {}
931
+
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
+ }