@azure/arm-hybridcompute 5.0.0-beta.2 → 5.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 (249) hide show
  1. package/README.md +1 -1
  2. package/dist/browser/api/extensionMetadata/operations.js +3 -7
  3. package/dist/browser/api/extensionMetadata/operations.js.map +1 -1
  4. package/dist/browser/api/extensionMetadata/options.js.map +1 -1
  5. package/dist/browser/api/extensionMetadataV2/operations.js +3 -7
  6. package/dist/browser/api/extensionMetadataV2/operations.js.map +1 -1
  7. package/dist/browser/api/extensionMetadataV2/options.js.map +1 -1
  8. package/dist/browser/api/extensionPublisher/operations.js +2 -6
  9. package/dist/browser/api/extensionPublisher/operations.js.map +1 -1
  10. package/dist/browser/api/extensionType/operations.js +2 -6
  11. package/dist/browser/api/extensionType/operations.js.map +1 -1
  12. package/dist/browser/api/gateways/operations.js +10 -18
  13. package/dist/browser/api/gateways/operations.js.map +1 -1
  14. package/dist/browser/api/gateways/options.js.map +1 -1
  15. package/dist/browser/api/hybridComputeManagementContext.d.ts +2 -2
  16. package/dist/browser/api/hybridComputeManagementContext.js +4 -4
  17. package/dist/browser/api/hybridComputeManagementContext.js.map +1 -1
  18. package/dist/browser/api/licenseProfiles/operations.js +9 -13
  19. package/dist/browser/api/licenseProfiles/operations.js.map +1 -1
  20. package/dist/browser/api/licenseProfiles/options.js.map +1 -1
  21. package/dist/browser/api/licenses/operations.js +13 -21
  22. package/dist/browser/api/licenses/operations.js.map +1 -1
  23. package/dist/browser/api/licenses/options.js.map +1 -1
  24. package/dist/browser/api/machineExtensions/operations.js +9 -13
  25. package/dist/browser/api/machineExtensions/operations.js.map +1 -1
  26. package/dist/browser/api/machineExtensions/options.js.map +1 -1
  27. package/dist/browser/api/machineRunCommands/operations.js +7 -11
  28. package/dist/browser/api/machineRunCommands/operations.js.map +1 -1
  29. package/dist/browser/api/machineRunCommands/options.js.map +1 -1
  30. package/dist/browser/api/machines/operations.js +13 -21
  31. package/dist/browser/api/machines/operations.js.map +1 -1
  32. package/dist/browser/api/machines/options.js.map +1 -1
  33. package/dist/browser/api/networkProfileOperations/operations.js +1 -1
  34. package/dist/browser/api/networkProfileOperations/operations.js.map +1 -1
  35. package/dist/browser/api/networkSecurityPerimeterConfigurations/operations.js +5 -9
  36. package/dist/browser/api/networkSecurityPerimeterConfigurations/operations.js.map +1 -1
  37. package/dist/browser/api/networkSecurityPerimeterConfigurations/options.js.map +1 -1
  38. package/dist/browser/api/operations/operations.js +2 -6
  39. package/dist/browser/api/operations/operations.js.map +1 -1
  40. package/dist/browser/api/operations.js +4 -4
  41. package/dist/browser/api/operations.js.map +1 -1
  42. package/dist/browser/api/options.js.map +1 -1
  43. package/dist/browser/api/privateEndpointConnections/operations.js +7 -11
  44. package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -1
  45. package/dist/browser/api/privateEndpointConnections/options.js.map +1 -1
  46. package/dist/browser/api/privateLinkResources/operations.js +3 -7
  47. package/dist/browser/api/privateLinkResources/operations.js.map +1 -1
  48. package/dist/browser/api/privateLinkResources/options.js.map +1 -1
  49. package/dist/browser/api/privateLinkScopes/operations.js +11 -19
  50. package/dist/browser/api/privateLinkScopes/operations.js.map +1 -1
  51. package/dist/browser/api/privateLinkScopes/options.js.map +1 -1
  52. package/dist/browser/api/settings/operations.js +3 -3
  53. package/dist/browser/api/settings/operations.js.map +1 -1
  54. package/dist/browser/api/settings/options.js.map +1 -1
  55. package/dist/browser/classic/extensionMetadata/index.js.map +1 -1
  56. package/dist/browser/classic/extensionMetadataV2/index.js.map +1 -1
  57. package/dist/browser/classic/extensionPublisher/index.js.map +1 -1
  58. package/dist/browser/classic/extensionType/index.js.map +1 -1
  59. package/dist/browser/classic/gateways/index.js.map +1 -1
  60. package/dist/browser/classic/licenseProfiles/index.js.map +1 -1
  61. package/dist/browser/classic/licenses/index.js.map +1 -1
  62. package/dist/browser/classic/machineExtensions/index.js.map +1 -1
  63. package/dist/browser/classic/machineRunCommands/index.js.map +1 -1
  64. package/dist/browser/classic/machines/index.js.map +1 -1
  65. package/dist/browser/classic/networkProfileOperations/index.js.map +1 -1
  66. package/dist/browser/classic/networkSecurityPerimeterConfigurations/index.js.map +1 -1
  67. package/dist/browser/classic/operations/index.js.map +1 -1
  68. package/dist/browser/classic/privateEndpointConnections/index.js.map +1 -1
  69. package/dist/browser/classic/privateLinkResources/index.js.map +1 -1
  70. package/dist/browser/classic/privateLinkScopes/index.js.map +1 -1
  71. package/dist/browser/classic/settings/index.js.map +1 -1
  72. package/dist/browser/hybridComputeManagementClient.js +2 -9
  73. package/dist/browser/hybridComputeManagementClient.js.map +1 -1
  74. package/dist/browser/index.d.ts +2 -2
  75. package/dist/browser/index.js +1 -1
  76. package/dist/browser/index.js.map +1 -1
  77. package/dist/browser/models/index.d.ts +2 -2
  78. package/dist/browser/models/index.js +1 -1
  79. package/dist/browser/models/index.js.map +1 -1
  80. package/dist/browser/models/models.d.ts +78 -21
  81. package/dist/browser/models/models.js +89 -10
  82. package/dist/browser/models/models.js.map +1 -1
  83. package/dist/browser/restorePollerHelpers.js.map +1 -1
  84. package/dist/commonjs/api/extensionMetadata/operations.js +3 -7
  85. package/dist/commonjs/api/extensionMetadata/operations.js.map +2 -2
  86. package/dist/commonjs/api/extensionMetadata/options.js.map +1 -1
  87. package/dist/commonjs/api/extensionMetadataV2/operations.js +3 -7
  88. package/dist/commonjs/api/extensionMetadataV2/operations.js.map +2 -2
  89. package/dist/commonjs/api/extensionMetadataV2/options.js.map +1 -1
  90. package/dist/commonjs/api/extensionPublisher/operations.js +2 -6
  91. package/dist/commonjs/api/extensionPublisher/operations.js.map +2 -2
  92. package/dist/commonjs/api/extensionType/operations.js +2 -6
  93. package/dist/commonjs/api/extensionType/operations.js.map +2 -2
  94. package/dist/commonjs/api/gateways/operations.js +10 -18
  95. package/dist/commonjs/api/gateways/operations.js.map +2 -2
  96. package/dist/commonjs/api/gateways/options.js.map +1 -1
  97. package/dist/commonjs/api/hybridComputeManagementContext.d.ts +2 -2
  98. package/dist/commonjs/api/hybridComputeManagementContext.js +2 -2
  99. package/dist/commonjs/api/hybridComputeManagementContext.js.map +2 -2
  100. package/dist/commonjs/api/licenseProfiles/operations.js +9 -13
  101. package/dist/commonjs/api/licenseProfiles/operations.js.map +2 -2
  102. package/dist/commonjs/api/licenseProfiles/options.js.map +1 -1
  103. package/dist/commonjs/api/licenses/operations.js +13 -21
  104. package/dist/commonjs/api/licenses/operations.js.map +2 -2
  105. package/dist/commonjs/api/licenses/options.js.map +1 -1
  106. package/dist/commonjs/api/machineExtensions/operations.js +9 -13
  107. package/dist/commonjs/api/machineExtensions/operations.js.map +2 -2
  108. package/dist/commonjs/api/machineExtensions/options.js.map +1 -1
  109. package/dist/commonjs/api/machineRunCommands/operations.js +7 -11
  110. package/dist/commonjs/api/machineRunCommands/operations.js.map +2 -2
  111. package/dist/commonjs/api/machineRunCommands/options.js.map +1 -1
  112. package/dist/commonjs/api/machines/operations.js +13 -21
  113. package/dist/commonjs/api/machines/operations.js.map +2 -2
  114. package/dist/commonjs/api/machines/options.js.map +1 -1
  115. package/dist/commonjs/api/networkProfileOperations/operations.js +1 -1
  116. package/dist/commonjs/api/networkProfileOperations/operations.js.map +2 -2
  117. package/dist/commonjs/api/networkSecurityPerimeterConfigurations/operations.js +5 -9
  118. package/dist/commonjs/api/networkSecurityPerimeterConfigurations/operations.js.map +2 -2
  119. package/dist/commonjs/api/networkSecurityPerimeterConfigurations/options.js.map +1 -1
  120. package/dist/commonjs/api/operations/operations.js +2 -6
  121. package/dist/commonjs/api/operations/operations.js.map +2 -2
  122. package/dist/commonjs/api/operations.js +4 -4
  123. package/dist/commonjs/api/operations.js.map +2 -2
  124. package/dist/commonjs/api/options.js.map +1 -1
  125. package/dist/commonjs/api/privateEndpointConnections/operations.js +7 -11
  126. package/dist/commonjs/api/privateEndpointConnections/operations.js.map +2 -2
  127. package/dist/commonjs/api/privateEndpointConnections/options.js.map +1 -1
  128. package/dist/commonjs/api/privateLinkResources/operations.js +3 -7
  129. package/dist/commonjs/api/privateLinkResources/operations.js.map +2 -2
  130. package/dist/commonjs/api/privateLinkResources/options.js.map +1 -1
  131. package/dist/commonjs/api/privateLinkScopes/operations.js +11 -19
  132. package/dist/commonjs/api/privateLinkScopes/operations.js.map +2 -2
  133. package/dist/commonjs/api/privateLinkScopes/options.js.map +1 -1
  134. package/dist/commonjs/api/settings/operations.js +3 -3
  135. package/dist/commonjs/api/settings/operations.js.map +2 -2
  136. package/dist/commonjs/api/settings/options.js.map +1 -1
  137. package/dist/commonjs/classic/extensionMetadata/index.js.map +2 -2
  138. package/dist/commonjs/classic/extensionMetadataV2/index.js.map +2 -2
  139. package/dist/commonjs/classic/extensionPublisher/index.js.map +2 -2
  140. package/dist/commonjs/classic/extensionType/index.js.map +2 -2
  141. package/dist/commonjs/classic/gateways/index.js.map +2 -2
  142. package/dist/commonjs/classic/licenseProfiles/index.js.map +2 -2
  143. package/dist/commonjs/classic/licenses/index.js.map +2 -2
  144. package/dist/commonjs/classic/machineExtensions/index.js.map +2 -2
  145. package/dist/commonjs/classic/machineRunCommands/index.js.map +2 -2
  146. package/dist/commonjs/classic/machines/index.js.map +2 -2
  147. package/dist/commonjs/classic/networkProfileOperations/index.js.map +2 -2
  148. package/dist/commonjs/classic/networkSecurityPerimeterConfigurations/index.js.map +2 -2
  149. package/dist/commonjs/classic/operations/index.js.map +2 -2
  150. package/dist/commonjs/classic/privateEndpointConnections/index.js.map +2 -2
  151. package/dist/commonjs/classic/privateLinkResources/index.js.map +2 -2
  152. package/dist/commonjs/classic/privateLinkScopes/index.js.map +2 -2
  153. package/dist/commonjs/classic/settings/index.js.map +2 -2
  154. package/dist/commonjs/hybridComputeManagementClient.js +2 -7
  155. package/dist/commonjs/hybridComputeManagementClient.js.map +2 -2
  156. package/dist/commonjs/index.d.ts +2 -2
  157. package/dist/commonjs/index.js +4 -0
  158. package/dist/commonjs/index.js.map +2 -2
  159. package/dist/commonjs/models/index.d.ts +2 -2
  160. package/dist/commonjs/models/index.js +4 -0
  161. package/dist/commonjs/models/index.js.map +2 -2
  162. package/dist/commonjs/models/models.d.ts +78 -21
  163. package/dist/commonjs/models/models.js +69 -14
  164. package/dist/commonjs/models/models.js.map +3 -3
  165. package/dist/commonjs/restorePollerHelpers.js.map +2 -2
  166. package/dist/commonjs/tsdoc-metadata.json +1 -1
  167. package/dist/esm/api/extensionMetadata/operations.js +3 -7
  168. package/dist/esm/api/extensionMetadata/operations.js.map +1 -1
  169. package/dist/esm/api/extensionMetadata/options.js.map +1 -1
  170. package/dist/esm/api/extensionMetadataV2/operations.js +3 -7
  171. package/dist/esm/api/extensionMetadataV2/operations.js.map +1 -1
  172. package/dist/esm/api/extensionMetadataV2/options.js.map +1 -1
  173. package/dist/esm/api/extensionPublisher/operations.js +2 -6
  174. package/dist/esm/api/extensionPublisher/operations.js.map +1 -1
  175. package/dist/esm/api/extensionType/operations.js +2 -6
  176. package/dist/esm/api/extensionType/operations.js.map +1 -1
  177. package/dist/esm/api/gateways/operations.js +10 -18
  178. package/dist/esm/api/gateways/operations.js.map +1 -1
  179. package/dist/esm/api/gateways/options.js.map +1 -1
  180. package/dist/esm/api/hybridComputeManagementContext.d.ts +2 -2
  181. package/dist/esm/api/hybridComputeManagementContext.js +4 -4
  182. package/dist/esm/api/hybridComputeManagementContext.js.map +1 -1
  183. package/dist/esm/api/licenseProfiles/operations.js +9 -13
  184. package/dist/esm/api/licenseProfiles/operations.js.map +1 -1
  185. package/dist/esm/api/licenseProfiles/options.js.map +1 -1
  186. package/dist/esm/api/licenses/operations.js +13 -21
  187. package/dist/esm/api/licenses/operations.js.map +1 -1
  188. package/dist/esm/api/licenses/options.js.map +1 -1
  189. package/dist/esm/api/machineExtensions/operations.js +9 -13
  190. package/dist/esm/api/machineExtensions/operations.js.map +1 -1
  191. package/dist/esm/api/machineExtensions/options.js.map +1 -1
  192. package/dist/esm/api/machineRunCommands/operations.js +7 -11
  193. package/dist/esm/api/machineRunCommands/operations.js.map +1 -1
  194. package/dist/esm/api/machineRunCommands/options.js.map +1 -1
  195. package/dist/esm/api/machines/operations.js +13 -21
  196. package/dist/esm/api/machines/operations.js.map +1 -1
  197. package/dist/esm/api/machines/options.js.map +1 -1
  198. package/dist/esm/api/networkProfileOperations/operations.js +1 -1
  199. package/dist/esm/api/networkProfileOperations/operations.js.map +1 -1
  200. package/dist/esm/api/networkSecurityPerimeterConfigurations/operations.js +5 -9
  201. package/dist/esm/api/networkSecurityPerimeterConfigurations/operations.js.map +1 -1
  202. package/dist/esm/api/networkSecurityPerimeterConfigurations/options.js.map +1 -1
  203. package/dist/esm/api/operations/operations.js +2 -6
  204. package/dist/esm/api/operations/operations.js.map +1 -1
  205. package/dist/esm/api/operations.js +4 -4
  206. package/dist/esm/api/operations.js.map +1 -1
  207. package/dist/esm/api/options.js.map +1 -1
  208. package/dist/esm/api/privateEndpointConnections/operations.js +7 -11
  209. package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -1
  210. package/dist/esm/api/privateEndpointConnections/options.js.map +1 -1
  211. package/dist/esm/api/privateLinkResources/operations.js +3 -7
  212. package/dist/esm/api/privateLinkResources/operations.js.map +1 -1
  213. package/dist/esm/api/privateLinkResources/options.js.map +1 -1
  214. package/dist/esm/api/privateLinkScopes/operations.js +11 -19
  215. package/dist/esm/api/privateLinkScopes/operations.js.map +1 -1
  216. package/dist/esm/api/privateLinkScopes/options.js.map +1 -1
  217. package/dist/esm/api/settings/operations.js +3 -3
  218. package/dist/esm/api/settings/operations.js.map +1 -1
  219. package/dist/esm/api/settings/options.js.map +1 -1
  220. package/dist/esm/classic/extensionMetadata/index.js.map +1 -1
  221. package/dist/esm/classic/extensionMetadataV2/index.js.map +1 -1
  222. package/dist/esm/classic/extensionPublisher/index.js.map +1 -1
  223. package/dist/esm/classic/extensionType/index.js.map +1 -1
  224. package/dist/esm/classic/gateways/index.js.map +1 -1
  225. package/dist/esm/classic/licenseProfiles/index.js.map +1 -1
  226. package/dist/esm/classic/licenses/index.js.map +1 -1
  227. package/dist/esm/classic/machineExtensions/index.js.map +1 -1
  228. package/dist/esm/classic/machineRunCommands/index.js.map +1 -1
  229. package/dist/esm/classic/machines/index.js.map +1 -1
  230. package/dist/esm/classic/networkProfileOperations/index.js.map +1 -1
  231. package/dist/esm/classic/networkSecurityPerimeterConfigurations/index.js.map +1 -1
  232. package/dist/esm/classic/operations/index.js.map +1 -1
  233. package/dist/esm/classic/privateEndpointConnections/index.js.map +1 -1
  234. package/dist/esm/classic/privateLinkResources/index.js.map +1 -1
  235. package/dist/esm/classic/privateLinkScopes/index.js.map +1 -1
  236. package/dist/esm/classic/settings/index.js.map +1 -1
  237. package/dist/esm/hybridComputeManagementClient.js +2 -9
  238. package/dist/esm/hybridComputeManagementClient.js.map +1 -1
  239. package/dist/esm/index.d.ts +2 -2
  240. package/dist/esm/index.js +1 -1
  241. package/dist/esm/index.js.map +1 -1
  242. package/dist/esm/models/index.d.ts +2 -2
  243. package/dist/esm/models/index.js +1 -1
  244. package/dist/esm/models/index.js.map +1 -1
  245. package/dist/esm/models/models.d.ts +78 -21
  246. package/dist/esm/models/models.js +89 -10
  247. package/dist/esm/models/models.js.map +1 -1
  248. package/dist/esm/restorePollerHelpers.js.map +1 -1
  249. package/package.json +9 -9
@@ -1,7 +1,3 @@
1
- /**
2
- * This file contains only generated model types and their (de)serializers.
3
- * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.
4
- */
5
1
  /** Describes the Machine Extension Upgrade Properties. */
6
2
  export interface MachineExtensionUpgrade {
7
3
  /** Describes the Extension Target Properties. */
@@ -274,7 +270,9 @@ export declare enum KnownLicenseTarget {
274
270
  /** Windows Server 2012 */
275
271
  WindowsServer2012 = "Windows Server 2012",
276
272
  /** Windows Server 2012 R2 */
277
- WindowsServer2012R2 = "Windows Server 2012 R2"
273
+ WindowsServer2012R2 = "Windows Server 2012 R2",
274
+ /** Windows Server 2016 license target. */
275
+ WindowsServer2016 = "Windows Server 2016"
278
276
  }
279
277
  /**
280
278
  * Describes the license target server. \
@@ -282,7 +280,8 @@ export declare enum KnownLicenseTarget {
282
280
  * this enum contains the known values that the service supports.
283
281
  * ### Known values supported by the service
284
282
  * **Windows Server 2012**: Windows Server 2012 \
285
- * **Windows Server 2012 R2**: Windows Server 2012 R2
283
+ * **Windows Server 2012 R2**: Windows Server 2012 R2 \
284
+ * **Windows Server 2016**: Windows Server 2016 license target.
286
285
  */
287
286
  export type LicenseTarget = string;
288
287
  /** Describes the edition of the license. The values are either Standard or Datacenter. */
@@ -465,7 +464,7 @@ export interface Machine extends TrackedResource {
465
464
  /** The list of extensions affiliated to the machine */
466
465
  readonly resources?: MachineExtension[];
467
466
  /** Identity for the resource. */
468
- identity?: Identity;
467
+ identity?: ManagedServiceIdentity;
469
468
  /** Indicates which kind of Arc machine placement on-premises, such as HCI, SCVMM or VMware etc. */
470
469
  kind?: ArcKindEnum;
471
470
  /** Metadata pertaining to the geographic location of the resource. */
@@ -488,6 +487,8 @@ export interface Machine extends TrackedResource {
488
487
  osProfile?: OSProfile;
489
488
  /** Specifies the License related properties for a machine. */
490
489
  licenseProfile?: LicenseProfileMachineInstanceView;
490
+ /** Indicates whether the service has detected that this Arc machine is a clone of another onboarded machine. Service-computed; not settable by the user. */
491
+ readonly statusReason?: MachineStatusReason;
491
492
  /** The provisioning state, which only appears in the response. */
492
493
  readonly provisioningState?: string;
493
494
  /** The status of the hybrid machine agent. */
@@ -567,6 +568,8 @@ export interface MachineProperties {
567
568
  osProfile?: OSProfile;
568
569
  /** Specifies the License related properties for a machine. */
569
570
  licenseProfile?: LicenseProfileMachineInstanceView;
571
+ /** Indicates whether the service has detected that this Arc machine is a clone of another onboarded machine. Service-computed; not settable by the user. */
572
+ readonly statusReason?: MachineStatusReason;
570
573
  /** The provisioning state, which only appears in the response. */
571
574
  readonly provisioningState?: string;
572
575
  /** The status of the hybrid machine agent. */
@@ -1092,6 +1095,19 @@ export interface ProductFeature {
1092
1095
  }
1093
1096
  export declare function productFeatureSerializer(item: ProductFeature): any;
1094
1097
  export declare function productFeatureDeserializer(item: any): ProductFeature;
1098
+ /** The reason describing why the service set the machine status to a particular value. */
1099
+ export declare enum KnownMachineStatusReason {
1100
+ /** Indicates the service has detected that this Arc machine is a clone of another onboarded machine. */
1101
+ Cloned = "Cloned"
1102
+ }
1103
+ /**
1104
+ * The reason describing why the service set the machine status to a particular value. \
1105
+ * {@link KnownMachineStatusReason} can be used interchangeably with MachineStatusReason,
1106
+ * this enum contains the known values that the service supports.
1107
+ * ### Known values supported by the service
1108
+ * **Cloned**: Indicates the service has detected that this Arc machine is a clone of another onboarded machine.
1109
+ */
1110
+ export type MachineStatusReason = string;
1095
1111
  /** The status of the hybrid machine agent. */
1096
1112
  export declare enum KnownStatusTypes {
1097
1113
  /** Connected */
@@ -1177,19 +1193,50 @@ export interface MachineExtension extends TrackedResource {
1177
1193
  }
1178
1194
  export declare function machineExtensionSerializer(item: MachineExtension): any;
1179
1195
  export declare function machineExtensionDeserializer(item: any): MachineExtension;
1180
- /** Identity for the resource. */
1181
- export interface Identity {
1182
- /** The principal ID of resource identity. The value must be an UUID. */
1196
+ /** Managed service identity (system assigned and/or user assigned identities) */
1197
+ export interface ManagedServiceIdentity {
1198
+ /** The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. */
1183
1199
  readonly principalId?: string;
1184
- /** The tenant ID of resource. The value must be an UUID. */
1200
+ /** The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. */
1185
1201
  readonly tenantId?: string;
1186
- /** The identity type. */
1187
- type?: ResourceIdentityType;
1202
+ /** The type of managed identity assigned to this resource. */
1203
+ type: ManagedServiceIdentityType;
1204
+ /** The identities assigned to this resource by the user. */
1205
+ userAssignedIdentities?: Record<string, UserAssignedIdentity>;
1206
+ }
1207
+ export declare function managedServiceIdentitySerializer(item: ManagedServiceIdentity): any;
1208
+ export declare function managedServiceIdentityDeserializer(item: any): ManagedServiceIdentity;
1209
+ /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
1210
+ export declare enum KnownManagedServiceIdentityType {
1211
+ /** No managed identity. */
1212
+ None = "None",
1213
+ /** System assigned managed identity. */
1214
+ SystemAssigned = "SystemAssigned",
1215
+ /** User assigned managed identity. */
1216
+ UserAssigned = "UserAssigned",
1217
+ /** System and user assigned managed identity. */
1218
+ SystemAssignedUserAssigned = "SystemAssigned,UserAssigned"
1188
1219
  }
1189
- export declare function identitySerializer(item: Identity): any;
1190
- export declare function identityDeserializer(item: any): Identity;
1191
- /** Type of ResourceIdentityType */
1192
- export type ResourceIdentityType = "SystemAssigned";
1220
+ /**
1221
+ * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). \
1222
+ * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType,
1223
+ * this enum contains the known values that the service supports.
1224
+ * ### Known values supported by the service
1225
+ * **None**: No managed identity. \
1226
+ * **SystemAssigned**: System assigned managed identity. \
1227
+ * **UserAssigned**: User assigned managed identity. \
1228
+ * **SystemAssigned,UserAssigned**: System and user assigned managed identity.
1229
+ */
1230
+ export type ManagedServiceIdentityType = string;
1231
+ /** User assigned identity properties */
1232
+ export interface UserAssignedIdentity {
1233
+ /** The principal ID of the assigned identity. */
1234
+ readonly principalId?: string;
1235
+ /** The client ID of the assigned identity. */
1236
+ readonly clientId?: string;
1237
+ }
1238
+ export declare function userAssignedIdentitySerializer(_item: UserAssignedIdentity): any;
1239
+ export declare function userAssignedIdentityDeserializer(item: any): UserAssignedIdentity;
1193
1240
  /** Indicates which kind of Arc machine placement on-premises, such as HCI, SCVMM or VMware etc. */
1194
1241
  export declare enum KnownArcKindEnum {
1195
1242
  /** AVS */
@@ -1304,7 +1351,7 @@ export declare function esuKeyDeserializer(item: any): EsuKey;
1304
1351
  /** Describes a hybrid machine Update. */
1305
1352
  export interface MachineUpdate extends ResourceUpdate {
1306
1353
  /** Identity for the resource. */
1307
- identity?: Identity;
1354
+ identity?: ManagedServiceIdentity;
1308
1355
  /** Indicates which kind of Arc machine placement on-premises, such as HCI, SCVMM or VMware etc. */
1309
1356
  kind?: ArcKindEnum;
1310
1357
  /** Metadata pertaining to the geographic location of the resource. */
@@ -2015,6 +2062,8 @@ export interface Gateway extends TrackedResource {
2015
2062
  readonly gatewayEndpoint?: string;
2016
2063
  /** Specifies the list of features that are enabled for this Gateway. */
2017
2064
  allowedFeatures?: string[];
2065
+ /** Specifies the list of domain names that should bypass the gateway. Each entry must be a valid DNS hostname. */
2066
+ gatewayBypass?: string[];
2018
2067
  }
2019
2068
  export declare function gatewaySerializer(item: Gateway): any;
2020
2069
  export declare function gatewayDeserializer(item: any): Gateway;
@@ -2030,6 +2079,8 @@ export interface GatewayProperties {
2030
2079
  readonly gatewayEndpoint?: string;
2031
2080
  /** Specifies the list of features that are enabled for this Gateway. */
2032
2081
  allowedFeatures?: string[];
2082
+ /** Specifies the list of domain names that should bypass the gateway. Each entry must be a valid DNS hostname. */
2083
+ gatewayBypass?: string[];
2033
2084
  }
2034
2085
  export declare function gatewayPropertiesSerializer(item: GatewayProperties): any;
2035
2086
  export declare function gatewayPropertiesDeserializer(item: any): GatewayProperties;
@@ -2046,16 +2097,20 @@ export declare enum KnownGatewayType {
2046
2097
  * **Public**: Public
2047
2098
  */
2048
2099
  export type GatewayType = string;
2049
- /** Describes a License Update. */
2100
+ /** Describes a Gateway Update. */
2050
2101
  export interface GatewayUpdate extends ResourceUpdate {
2051
2102
  /** Specifies the list of features that are enabled for this Gateway. */
2052
2103
  allowedFeatures?: string[];
2104
+ /** Specifies the list of domain names that should bypass the gateway. Each entry must be a valid DNS hostname. */
2105
+ gatewayBypass?: string[];
2053
2106
  }
2054
2107
  export declare function gatewayUpdateSerializer(item: GatewayUpdate): any;
2055
2108
  /** Describes the Update properties of a Gateway Profile. */
2056
2109
  export interface GatewayUpdateProperties {
2057
2110
  /** Specifies the list of features that are enabled for this Gateway. */
2058
2111
  allowedFeatures?: string[];
2112
+ /** Specifies the list of domain names that should bypass the gateway. Each entry must be a valid DNS hostname. */
2113
+ gatewayBypass?: string[];
2059
2114
  }
2060
2115
  export declare function gatewayUpdatePropertiesSerializer(item: GatewayUpdateProperties): any;
2061
2116
  /** Paged collection of Gateway items */
@@ -2606,8 +2661,8 @@ export declare enum KnownInstanceViewTypes {
2606
2661
  export type InstanceViewTypes = string;
2607
2662
  /** The available API versions. */
2608
2663
  export declare enum KnownVersions {
2609
- /** The 2025-09-16-preview API version. */
2610
- V20250916Preview = "2025-09-16-preview"
2664
+ /** The 2026-07-15 API version. */
2665
+ V20260715 = "2026-07-15"
2611
2666
  }
2612
2667
  export declare function _licensePropertiesSerializer(item: License): any;
2613
2668
  export declare function _licensePropertiesDeserializer(item: any): {
@@ -2658,6 +2713,7 @@ export declare function _machinePropertiesDeserializer(item: any): {
2658
2713
  agentUpgrade: any;
2659
2714
  osProfile: any;
2660
2715
  licenseProfile: any;
2716
+ statusReason: any;
2661
2717
  provisioningState: any;
2662
2718
  status: any;
2663
2719
  lastStatusChange: any;
@@ -2746,6 +2802,7 @@ export declare function _gatewayPropertiesDeserializer(item: any): {
2746
2802
  gatewayType: any;
2747
2803
  gatewayEndpoint: any;
2748
2804
  allowedFeatures: any;
2805
+ gatewayBypass: any;
2749
2806
  };
2750
2807
  export declare function _gatewayUpdatePropertiesSerializer(item: GatewayUpdate): any;
2751
2808
  export declare function _accessRulePropertiesDeserializer(item: any): {
@@ -1,5 +1,11 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
+ /*
4
+ * This file contains only generated model types and their (de)serializers.
5
+ * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.
6
+ */
7
+ /* eslint-disable @typescript-eslint/naming-convention */
8
+ /* eslint-disable @typescript-eslint/explicit-module-boundary-types */
3
9
  import { areAllPropsUndefined } from "../static-helpers/serialization/check-prop-undefined.js";
4
10
  export function machineExtensionUpgradeSerializer(item) {
5
11
  return {
@@ -298,6 +304,8 @@ export var KnownLicenseTarget;
298
304
  KnownLicenseTarget["WindowsServer2012"] = "Windows Server 2012";
299
305
  /** Windows Server 2012 R2 */
300
306
  KnownLicenseTarget["WindowsServer2012R2"] = "Windows Server 2012 R2";
307
+ /** Windows Server 2016 license target. */
308
+ KnownLicenseTarget["WindowsServer2016"] = "Windows Server 2016";
301
309
  })(KnownLicenseTarget || (KnownLicenseTarget = {}));
302
310
  /** Describes the edition of the license. The values are either Standard or Datacenter. */
303
311
  export var KnownLicenseEdition;
@@ -466,7 +474,9 @@ export function machineSerializer(item) {
466
474
  ])
467
475
  ? undefined
468
476
  : _machinePropertiesSerializer(item),
469
- identity: !item["identity"] ? item["identity"] : identitySerializer(item["identity"]),
477
+ identity: !item["identity"]
478
+ ? item["identity"]
479
+ : managedServiceIdentitySerializer(item["identity"]),
470
480
  kind: item["kind"],
471
481
  };
472
482
  }
@@ -488,7 +498,9 @@ export function machineDeserializer(item) {
488
498
  resources: !item["resources"]
489
499
  ? item["resources"]
490
500
  : machineExtensionArrayDeserializer(item["resources"]),
491
- identity: !item["identity"] ? item["identity"] : identityDeserializer(item["identity"]),
501
+ identity: !item["identity"]
502
+ ? item["identity"]
503
+ : managedServiceIdentityDeserializer(item["identity"]),
492
504
  kind: item["kind"],
493
505
  };
494
506
  }
@@ -554,6 +566,7 @@ export function machinePropertiesDeserializer(item) {
554
566
  licenseProfile: !item["licenseProfile"]
555
567
  ? item["licenseProfile"]
556
568
  : licenseProfileMachineInstanceViewDeserializer(item["licenseProfile"]),
569
+ statusReason: item["statusReason"],
557
570
  provisioningState: item["provisioningState"],
558
571
  status: item["status"],
559
572
  lastStatusChange: !item["lastStatusChange"]
@@ -1029,6 +1042,12 @@ export function productFeatureDeserializer(item) {
1029
1042
  error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
1030
1043
  };
1031
1044
  }
1045
+ /** The reason describing why the service set the machine status to a particular value. */
1046
+ export var KnownMachineStatusReason;
1047
+ (function (KnownMachineStatusReason) {
1048
+ /** Indicates the service has detected that this Arc machine is a clone of another onboarded machine. */
1049
+ KnownMachineStatusReason["Cloned"] = "Cloned";
1050
+ })(KnownMachineStatusReason || (KnownMachineStatusReason = {}));
1032
1051
  /** The status of the hybrid machine agent. */
1033
1052
  export var KnownStatusTypes;
1034
1053
  (function (KnownStatusTypes) {
@@ -1134,14 +1153,41 @@ export function machineExtensionDeserializer(item) {
1134
1153
  : machineExtensionPropertiesDeserializer(item["properties"]),
1135
1154
  };
1136
1155
  }
1137
- export function identitySerializer(item) {
1138
- return { type: item["type"] };
1156
+ export function managedServiceIdentitySerializer(item) {
1157
+ return { type: item["type"], userAssignedIdentities: item["userAssignedIdentities"] };
1139
1158
  }
1140
- export function identityDeserializer(item) {
1159
+ export function managedServiceIdentityDeserializer(item) {
1141
1160
  return {
1142
1161
  principalId: item["principalId"],
1143
1162
  tenantId: item["tenantId"],
1144
1163
  type: item["type"],
1164
+ userAssignedIdentities: !item["userAssignedIdentities"]
1165
+ ? item["userAssignedIdentities"]
1166
+ : Object.fromEntries(Object.entries(item["userAssignedIdentities"]).map(([k, p]) => [
1167
+ k,
1168
+ !p ? p : userAssignedIdentityDeserializer(p),
1169
+ ])),
1170
+ };
1171
+ }
1172
+ /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
1173
+ export var KnownManagedServiceIdentityType;
1174
+ (function (KnownManagedServiceIdentityType) {
1175
+ /** No managed identity. */
1176
+ KnownManagedServiceIdentityType["None"] = "None";
1177
+ /** System assigned managed identity. */
1178
+ KnownManagedServiceIdentityType["SystemAssigned"] = "SystemAssigned";
1179
+ /** User assigned managed identity. */
1180
+ KnownManagedServiceIdentityType["UserAssigned"] = "UserAssigned";
1181
+ /** System and user assigned managed identity. */
1182
+ KnownManagedServiceIdentityType["SystemAssignedUserAssigned"] = "SystemAssigned,UserAssigned";
1183
+ })(KnownManagedServiceIdentityType || (KnownManagedServiceIdentityType = {}));
1184
+ export function userAssignedIdentitySerializer(_item) {
1185
+ return {};
1186
+ }
1187
+ export function userAssignedIdentityDeserializer(item) {
1188
+ return {
1189
+ principalId: item["principalId"],
1190
+ clientId: item["clientId"],
1145
1191
  };
1146
1192
  }
1147
1193
  /** Indicates which kind of Arc machine placement on-premises, such as HCI, SCVMM or VMware etc. */
@@ -1223,7 +1269,9 @@ export function esuKeyDeserializer(item) {
1223
1269
  export function machineUpdateSerializer(item) {
1224
1270
  return {
1225
1271
  tags: item["tags"],
1226
- identity: !item["identity"] ? item["identity"] : identitySerializer(item["identity"]),
1272
+ identity: !item["identity"]
1273
+ ? item["identity"]
1274
+ : managedServiceIdentitySerializer(item["identity"]),
1227
1275
  kind: item["kind"],
1228
1276
  properties: areAllPropsUndefined(item, [
1229
1277
  "locationData",
@@ -1886,7 +1934,7 @@ export function gatewaySerializer(item) {
1886
1934
  return {
1887
1935
  tags: item["tags"],
1888
1936
  location: item["location"],
1889
- properties: areAllPropsUndefined(item, ["gatewayType", "allowedFeatures"])
1937
+ properties: areAllPropsUndefined(item, ["gatewayType", "allowedFeatures", "gatewayBypass"])
1890
1938
  ? undefined
1891
1939
  : _gatewayPropertiesSerializer(item),
1892
1940
  };
@@ -1916,6 +1964,11 @@ export function gatewayPropertiesSerializer(item) {
1916
1964
  : item["allowedFeatures"].map((p) => {
1917
1965
  return p;
1918
1966
  }),
1967
+ gatewayBypass: !item["gatewayBypass"]
1968
+ ? item["gatewayBypass"]
1969
+ : item["gatewayBypass"].map((p) => {
1970
+ return p;
1971
+ }),
1919
1972
  };
1920
1973
  }
1921
1974
  export function gatewayPropertiesDeserializer(item) {
@@ -1929,6 +1982,11 @@ export function gatewayPropertiesDeserializer(item) {
1929
1982
  : item["allowedFeatures"].map((p) => {
1930
1983
  return p;
1931
1984
  }),
1985
+ gatewayBypass: !item["gatewayBypass"]
1986
+ ? item["gatewayBypass"]
1987
+ : item["gatewayBypass"].map((p) => {
1988
+ return p;
1989
+ }),
1932
1990
  };
1933
1991
  }
1934
1992
  /** The type of the Gateway resource. */
@@ -1940,7 +1998,7 @@ export var KnownGatewayType;
1940
1998
  export function gatewayUpdateSerializer(item) {
1941
1999
  return {
1942
2000
  tags: item["tags"],
1943
- properties: areAllPropsUndefined(item, ["allowedFeatures"])
2001
+ properties: areAllPropsUndefined(item, ["allowedFeatures", "gatewayBypass"])
1944
2002
  ? undefined
1945
2003
  : _gatewayUpdatePropertiesSerializer(item),
1946
2004
  };
@@ -1952,6 +2010,11 @@ export function gatewayUpdatePropertiesSerializer(item) {
1952
2010
  : item["allowedFeatures"].map((p) => {
1953
2011
  return p;
1954
2012
  }),
2013
+ gatewayBypass: !item["gatewayBypass"]
2014
+ ? item["gatewayBypass"]
2015
+ : item["gatewayBypass"].map((p) => {
2016
+ return p;
2017
+ }),
1955
2018
  };
1956
2019
  }
1957
2020
  export function _gatewaysListResultDeserializer(item) {
@@ -2579,8 +2642,8 @@ export var KnownInstanceViewTypes;
2579
2642
  /** The available API versions. */
2580
2643
  export var KnownVersions;
2581
2644
  (function (KnownVersions) {
2582
- /** The 2025-09-16-preview API version. */
2583
- KnownVersions["V20250916Preview"] = "2025-09-16-preview";
2645
+ /** The 2026-07-15 API version. */
2646
+ KnownVersions["V20260715"] = "2026-07-15";
2584
2647
  })(KnownVersions || (KnownVersions = {}));
2585
2648
  export function _licensePropertiesSerializer(item) {
2586
2649
  return {
@@ -2746,6 +2809,7 @@ export function _machinePropertiesDeserializer(item) {
2746
2809
  licenseProfile: !item["licenseProfile"]
2747
2810
  ? item["licenseProfile"]
2748
2811
  : licenseProfileMachineInstanceViewDeserializer(item["licenseProfile"]),
2812
+ statusReason: item["statusReason"],
2749
2813
  provisioningState: item["provisioningState"],
2750
2814
  status: item["status"],
2751
2815
  lastStatusChange: !item["lastStatusChange"]
@@ -2984,6 +3048,11 @@ export function _gatewayPropertiesSerializer(item) {
2984
3048
  : item["allowedFeatures"].map((p) => {
2985
3049
  return p;
2986
3050
  }),
3051
+ gatewayBypass: !item["gatewayBypass"]
3052
+ ? item["gatewayBypass"]
3053
+ : item["gatewayBypass"].map((p) => {
3054
+ return p;
3055
+ }),
2987
3056
  };
2988
3057
  }
2989
3058
  export function _gatewayPropertiesDeserializer(item) {
@@ -2997,6 +3066,11 @@ export function _gatewayPropertiesDeserializer(item) {
2997
3066
  : item["allowedFeatures"].map((p) => {
2998
3067
  return p;
2999
3068
  }),
3069
+ gatewayBypass: !item["gatewayBypass"]
3070
+ ? item["gatewayBypass"]
3071
+ : item["gatewayBypass"].map((p) => {
3072
+ return p;
3073
+ }),
3000
3074
  };
3001
3075
  }
3002
3076
  export function _gatewayUpdatePropertiesSerializer(item) {
@@ -3006,6 +3080,11 @@ export function _gatewayUpdatePropertiesSerializer(item) {
3006
3080
  : item["allowedFeatures"].map((p) => {
3007
3081
  return p;
3008
3082
  }),
3083
+ gatewayBypass: !item["gatewayBypass"]
3084
+ ? item["gatewayBypass"]
3085
+ : item["gatewayBypass"].map((p) => {
3086
+ return p;
3087
+ }),
3009
3088
  };
3010
3089
  }
3011
3090
  export function _accessRulePropertiesDeserializer(item) {