@azure/arm-resourcemover 1.1.1 → 2.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 (230) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -83
  4. package/dist/index.js +3878 -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/moveCollectionsBulkRemove.d.ts +2 -0
  9. package/dist-esm/samples-dev/moveCollectionsBulkRemove.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/moveCollectionsBulkRemove.js +38 -0
  11. package/dist-esm/samples-dev/moveCollectionsBulkRemove.js.map +1 -0
  12. package/dist-esm/samples-dev/moveCollectionsCommit.d.ts +2 -0
  13. package/dist-esm/samples-dev/moveCollectionsCommit.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/moveCollectionsCommit.js +38 -0
  15. package/dist-esm/samples-dev/moveCollectionsCommit.js.map +1 -0
  16. package/dist-esm/samples-dev/moveCollectionsCreate.d.ts +2 -0
  17. package/dist-esm/samples-dev/moveCollectionsCreate.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/moveCollectionsCreate.js +37 -0
  19. package/dist-esm/samples-dev/moveCollectionsCreate.js.map +1 -0
  20. package/dist-esm/samples-dev/moveCollectionsDelete.d.ts +2 -0
  21. package/dist-esm/samples-dev/moveCollectionsDelete.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/moveCollectionsDelete.js +31 -0
  23. package/dist-esm/samples-dev/moveCollectionsDelete.js.map +1 -0
  24. package/dist-esm/samples-dev/moveCollectionsDiscard.d.ts +2 -0
  25. package/dist-esm/samples-dev/moveCollectionsDiscard.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/moveCollectionsDiscard.js +38 -0
  27. package/dist-esm/samples-dev/moveCollectionsDiscard.js.map +1 -0
  28. package/dist-esm/samples-dev/moveCollectionsGet.d.ts +2 -0
  29. package/dist-esm/samples-dev/moveCollectionsGet.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/moveCollectionsGet.js +31 -0
  31. package/dist-esm/samples-dev/moveCollectionsGet.js.map +1 -0
  32. package/dist-esm/samples-dev/moveCollectionsInitiateMove.d.ts +2 -0
  33. package/dist-esm/samples-dev/moveCollectionsInitiateMove.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/moveCollectionsInitiateMove.js +38 -0
  35. package/dist-esm/samples-dev/moveCollectionsInitiateMove.js.map +1 -0
  36. package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroup.d.ts +2 -0
  37. package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroup.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroup.js +44 -0
  39. package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroup.js.map +1 -0
  40. package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscription.d.ts +2 -0
  41. package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscription.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscription.js +43 -0
  43. package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscription.js.map +1 -0
  44. package/dist-esm/samples-dev/moveCollectionsPrepare.d.ts +2 -0
  45. package/dist-esm/samples-dev/moveCollectionsPrepare.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/moveCollectionsPrepare.js +38 -0
  47. package/dist-esm/samples-dev/moveCollectionsPrepare.js.map +1 -0
  48. package/dist-esm/samples-dev/moveCollectionsResolveDependencies.d.ts +2 -0
  49. package/dist-esm/samples-dev/moveCollectionsResolveDependencies.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/moveCollectionsResolveDependencies.js +31 -0
  51. package/dist-esm/samples-dev/moveCollectionsResolveDependencies.js.map +1 -0
  52. package/dist-esm/samples-dev/moveCollectionsUpdate.d.ts +2 -0
  53. package/dist-esm/samples-dev/moveCollectionsUpdate.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/moveCollectionsUpdate.js +36 -0
  55. package/dist-esm/samples-dev/moveCollectionsUpdate.js.map +1 -0
  56. package/dist-esm/samples-dev/moveResourcesCreate.d.ts +2 -0
  57. package/dist-esm/samples-dev/moveResourcesCreate.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/moveResourcesCreate.js +54 -0
  59. package/dist-esm/samples-dev/moveResourcesCreate.js.map +1 -0
  60. package/dist-esm/samples-dev/moveResourcesDelete.d.ts +2 -0
  61. package/dist-esm/samples-dev/moveResourcesDelete.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/moveResourcesDelete.js +32 -0
  63. package/dist-esm/samples-dev/moveResourcesDelete.js.map +1 -0
  64. package/dist-esm/samples-dev/moveResourcesGet.d.ts +2 -0
  65. package/dist-esm/samples-dev/moveResourcesGet.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/moveResourcesGet.js +32 -0
  67. package/dist-esm/samples-dev/moveResourcesGet.js.map +1 -0
  68. package/dist-esm/samples-dev/moveResourcesList.d.ts +2 -0
  69. package/dist-esm/samples-dev/moveResourcesList.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/moveResourcesList.js +45 -0
  71. package/dist-esm/samples-dev/moveResourcesList.js.map +1 -0
  72. package/dist-esm/samples-dev/operationsDiscoveryGet.d.ts +2 -0
  73. package/dist-esm/samples-dev/operationsDiscoveryGet.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/operationsDiscoveryGet.js +29 -0
  75. package/dist-esm/samples-dev/operationsDiscoveryGet.js.map +1 -0
  76. package/dist-esm/samples-dev/requiredForGet.d.ts +2 -0
  77. package/dist-esm/samples-dev/requiredForGet.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/requiredForGet.js +32 -0
  79. package/dist-esm/samples-dev/requiredForGet.js.map +1 -0
  80. package/dist-esm/samples-dev/unresolvedDependenciesGet.d.ts +2 -0
  81. package/dist-esm/samples-dev/unresolvedDependenciesGet.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/unresolvedDependenciesGet.js +45 -0
  83. package/dist-esm/samples-dev/unresolvedDependenciesGet.js.map +1 -0
  84. package/dist-esm/src/index.d.ts +5 -0
  85. package/dist-esm/src/index.d.ts.map +1 -0
  86. package/{esm/models/unresolvedDependenciesMappers.js → dist-esm/src/index.js} +5 -2
  87. package/dist-esm/src/index.js.map +1 -0
  88. package/dist-esm/src/lroImpl.d.ts +16 -0
  89. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  90. package/dist-esm/src/lroImpl.js +29 -0
  91. package/dist-esm/src/lroImpl.js.map +1 -0
  92. package/dist-esm/src/models/index.d.ts +1273 -0
  93. package/dist-esm/src/models/index.d.ts.map +1 -0
  94. package/dist-esm/src/models/index.js +93 -0
  95. package/dist-esm/src/models/index.js.map +1 -0
  96. package/dist-esm/src/models/mappers.d.ts +88 -0
  97. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  98. package/{esm → dist-esm/src}/models/mappers.js +1091 -983
  99. package/dist-esm/src/models/mappers.js.map +1 -0
  100. package/dist-esm/src/models/parameters.d.ts +23 -0
  101. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  102. package/dist-esm/src/models/parameters.js +173 -0
  103. package/dist-esm/src/models/parameters.js.map +1 -0
  104. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  105. package/dist-esm/src/operations/index.d.ts.map +1 -0
  106. package/{esm → dist-esm/src}/operations/index.js +1 -2
  107. package/dist-esm/src/operations/index.js.map +1 -0
  108. package/dist-esm/src/operations/moveCollections.d.ts +211 -0
  109. package/dist-esm/src/operations/moveCollections.d.ts.map +1 -0
  110. package/dist-esm/src/operations/moveCollections.js +961 -0
  111. package/dist-esm/src/operations/moveCollections.js.map +1 -0
  112. package/dist-esm/src/operations/moveResources.d.ts +79 -0
  113. package/dist-esm/src/operations/moveResources.d.ts.map +1 -0
  114. package/dist-esm/src/operations/moveResources.js +339 -0
  115. package/dist-esm/src/operations/moveResources.js.map +1 -0
  116. package/dist-esm/src/operations/operationsDiscoveryOperations.d.ts +15 -0
  117. package/dist-esm/src/operations/operationsDiscoveryOperations.d.ts.map +1 -0
  118. package/dist-esm/src/operations/operationsDiscoveryOperations.js +43 -0
  119. package/dist-esm/src/operations/operationsDiscoveryOperations.js.map +1 -0
  120. package/dist-esm/src/operations/unresolvedDependencies.d.ts +38 -0
  121. package/dist-esm/src/operations/unresolvedDependencies.d.ts.map +1 -0
  122. package/dist-esm/src/operations/unresolvedDependencies.js +147 -0
  123. package/dist-esm/src/operations/unresolvedDependencies.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
  125. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/index.js +12 -0
  127. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/moveCollections.d.ts +173 -0
  129. package/dist-esm/src/operationsInterfaces/moveCollections.d.ts.map +1 -0
  130. package/{src/models/operationsDiscoveryOperationsMappers.ts → dist-esm/src/operationsInterfaces/moveCollections.js} +2 -8
  131. package/dist-esm/src/operationsInterfaces/moveCollections.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/moveResources.d.ts +54 -0
  133. package/dist-esm/src/operationsInterfaces/moveResources.d.ts.map +1 -0
  134. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/moveResources.js} +2 -1
  135. package/dist-esm/src/operationsInterfaces/moveResources.js.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/operationsDiscoveryOperations.d.ts +7 -0
  137. package/dist-esm/src/operationsInterfaces/operationsDiscoveryOperations.d.ts.map +1 -0
  138. package/{esm/models/operationsDiscoveryOperationsMappers.js → dist-esm/src/operationsInterfaces/operationsDiscoveryOperations.js} +2 -2
  139. package/dist-esm/src/operationsInterfaces/operationsDiscoveryOperations.js.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/unresolvedDependencies.d.ts +13 -0
  141. package/dist-esm/src/operationsInterfaces/unresolvedDependencies.d.ts.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/unresolvedDependencies.js +9 -0
  143. package/dist-esm/src/operationsInterfaces/unresolvedDependencies.js.map +1 -0
  144. package/dist-esm/src/resourceMoverServiceAPI.d.ts +21 -0
  145. package/dist-esm/src/resourceMoverServiceAPI.d.ts.map +1 -0
  146. package/dist-esm/src/resourceMoverServiceAPI.js +54 -0
  147. package/dist-esm/src/resourceMoverServiceAPI.js.map +1 -0
  148. package/dist-esm/test/sampleTest.d.ts +2 -0
  149. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  150. package/dist-esm/test/sampleTest.js +40 -0
  151. package/dist-esm/test/sampleTest.js.map +1 -0
  152. package/package.json +77 -33
  153. package/review/arm-resourcemover.api.md +946 -0
  154. package/rollup.config.js +181 -30
  155. package/src/index.ts +12 -0
  156. package/src/lroImpl.ts +34 -0
  157. package/src/models/index.ts +1043 -1764
  158. package/src/models/mappers.ts +1096 -976
  159. package/src/models/parameters.ts +128 -48
  160. package/src/operations/index.ts +1 -2
  161. package/src/operations/moveCollections.ts +1014 -621
  162. package/src/operations/moveResources.ts +357 -203
  163. package/src/operations/operationsDiscoveryOperations.ts +28 -43
  164. package/src/operations/unresolvedDependencies.ts +142 -87
  165. package/src/{models/unresolvedDependenciesMappers.ts → operationsInterfaces/index.ts} +4 -8
  166. package/src/operationsInterfaces/moveCollections.ts +321 -0
  167. package/src/operationsInterfaces/moveResources.ts +111 -0
  168. package/src/operationsInterfaces/operationsDiscoveryOperations.ts +20 -0
  169. package/src/operationsInterfaces/unresolvedDependencies.ts +29 -0
  170. package/src/resourceMoverServiceAPI.ts +78 -38
  171. package/tsconfig.json +5 -4
  172. package/types/arm-resourcemover.d.ts +1673 -0
  173. package/types/tsdoc-metadata.json +11 -0
  174. package/dist/arm-resourcemover.js +0 -3490
  175. package/dist/arm-resourcemover.js.map +0 -1
  176. package/dist/arm-resourcemover.min.js +0 -1
  177. package/dist/arm-resourcemover.min.js.map +0 -1
  178. package/esm/models/index.d.ts +0 -1997
  179. package/esm/models/index.d.ts.map +0 -1
  180. package/esm/models/index.js.map +0 -1
  181. package/esm/models/mappers.d.ts +0 -87
  182. package/esm/models/mappers.d.ts.map +0 -1
  183. package/esm/models/mappers.js.map +0 -1
  184. package/esm/models/moveCollectionsMappers.d.ts +0 -2
  185. package/esm/models/moveCollectionsMappers.d.ts.map +0 -1
  186. package/esm/models/moveCollectionsMappers.js +0 -9
  187. package/esm/models/moveCollectionsMappers.js.map +0 -1
  188. package/esm/models/moveResourcesMappers.d.ts +0 -2
  189. package/esm/models/moveResourcesMappers.d.ts.map +0 -1
  190. package/esm/models/moveResourcesMappers.js +0 -9
  191. package/esm/models/moveResourcesMappers.js.map +0 -1
  192. package/esm/models/operationsDiscoveryOperationsMappers.d.ts +0 -2
  193. package/esm/models/operationsDiscoveryOperationsMappers.d.ts.map +0 -1
  194. package/esm/models/operationsDiscoveryOperationsMappers.js.map +0 -1
  195. package/esm/models/parameters.d.ts +0 -13
  196. package/esm/models/parameters.d.ts.map +0 -1
  197. package/esm/models/parameters.js +0 -126
  198. package/esm/models/parameters.js.map +0 -1
  199. package/esm/models/unresolvedDependenciesMappers.d.ts +0 -2
  200. package/esm/models/unresolvedDependenciesMappers.d.ts.map +0 -1
  201. package/esm/models/unresolvedDependenciesMappers.js.map +0 -1
  202. package/esm/operations/index.d.ts.map +0 -1
  203. package/esm/operations/index.js.map +0 -1
  204. package/esm/operations/moveCollections.d.ts +0 -316
  205. package/esm/operations/moveCollections.d.ts.map +0 -1
  206. package/esm/operations/moveCollections.js +0 -699
  207. package/esm/operations/moveCollections.js.map +0 -1
  208. package/esm/operations/moveResources.d.ts +0 -113
  209. package/esm/operations/moveResources.d.ts.map +0 -1
  210. package/esm/operations/moveResources.js +0 -239
  211. package/esm/operations/moveResources.js.map +0 -1
  212. package/esm/operations/operationsDiscoveryOperations.d.ts +0 -27
  213. package/esm/operations/operationsDiscoveryOperations.d.ts.map +0 -1
  214. package/esm/operations/operationsDiscoveryOperations.js +0 -50
  215. package/esm/operations/operationsDiscoveryOperations.js.map +0 -1
  216. package/esm/operations/unresolvedDependencies.d.ts +0 -52
  217. package/esm/operations/unresolvedDependencies.d.ts.map +0 -1
  218. package/esm/operations/unresolvedDependencies.js +0 -92
  219. package/esm/operations/unresolvedDependencies.js.map +0 -1
  220. package/esm/resourceMoverServiceAPI.d.ts +0 -27
  221. package/esm/resourceMoverServiceAPI.d.ts.map +0 -1
  222. package/esm/resourceMoverServiceAPI.js +0 -40
  223. package/esm/resourceMoverServiceAPI.js.map +0 -1
  224. package/esm/resourceMoverServiceAPIContext.d.ts +0 -22
  225. package/esm/resourceMoverServiceAPIContext.d.ts.map +0 -1
  226. package/esm/resourceMoverServiceAPIContext.js +0 -60
  227. package/esm/resourceMoverServiceAPIContext.js.map +0 -1
  228. package/src/models/moveCollectionsMappers.ts +0 -68
  229. package/src/models/moveResourcesMappers.ts +0 -63
  230. package/src/resourceMoverServiceAPIContext.ts +0 -67
@@ -6,525 +6,592 @@
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";
11
-
12
- export { BaseResource, CloudError };
13
-
14
- /**
15
- * Defines the MSI properties of the Move Collection.
16
- */
17
- export interface Identity {
9
+ import * as coreClient from "@azure/core-client";
10
+
11
+ export type ResourceSettingsUnion =
12
+ | ResourceSettings
13
+ | VirtualMachineResourceSettings
14
+ | AvailabilitySetResourceSettings
15
+ | VirtualNetworkResourceSettings
16
+ | NetworkInterfaceResourceSettings
17
+ | NetworkSecurityGroupResourceSettings
18
+ | LoadBalancerResourceSettings
19
+ | SqlServerResourceSettings
20
+ | SqlElasticPoolResourceSettings
21
+ | SqlDatabaseResourceSettings
22
+ | ResourceGroupResourceSettings
23
+ | PublicIPAddressResourceSettings
24
+ | KeyVaultResourceSettings
25
+ | DiskEncryptionSetResourceSettings;
26
+
27
+ /** Define the move collection. */
28
+ export interface MoveCollection {
18
29
  /**
19
- * Possible values include: 'None', 'SystemAssigned', 'UserAssigned'
30
+ * Fully qualified resource Id for the resource.
31
+ * NOTE: This property will not be serialized. It can only be populated by the server.
20
32
  */
21
- type?: ResourceIdentityType;
33
+ readonly id?: string;
22
34
  /**
23
- * Gets or sets the principal id.
35
+ * The name of the resource
36
+ * NOTE: This property will not be serialized. It can only be populated by the server.
24
37
  */
25
- principalId?: string;
38
+ readonly name?: string;
39
+ /**
40
+ * The type of the resource.
41
+ * NOTE: This property will not be serialized. It can only be populated by the server.
42
+ */
43
+ readonly type?: string;
44
+ /**
45
+ * The etag of the resource.
46
+ * NOTE: This property will not be serialized. It can only be populated by the server.
47
+ */
48
+ readonly etag?: string;
49
+ /** Resource tags. */
50
+ tags?: { [propertyName: string]: string };
51
+ /** The geo-location where the resource lives. */
52
+ location?: string;
53
+ /** Defines the MSI properties of the Move Collection. */
54
+ identity?: Identity;
55
+ /** Defines the move collection properties. */
56
+ properties?: MoveCollectionProperties;
26
57
  /**
27
- * Gets or sets the tenant id.
58
+ * Metadata pertaining to creation and last modification of the resource.
59
+ * NOTE: This property will not be serialized. It can only be populated by the server.
28
60
  */
61
+ readonly systemData?: SystemData;
62
+ }
63
+
64
+ /** Defines the MSI properties of the Move Collection. */
65
+ export interface Identity {
66
+ /** The type of identity used for the resource mover service. */
67
+ type?: ResourceIdentityType;
68
+ /** Gets or sets the principal id. */
69
+ principalId?: string;
70
+ /** Gets or sets the tenant id. */
29
71
  tenantId?: string;
30
72
  }
31
73
 
32
- /**
33
- * Defines the job status.
34
- */
35
- export interface JobStatus {
74
+ /** Defines the move collection properties. */
75
+ export interface MoveCollectionProperties {
76
+ /** Gets or sets the source region. */
77
+ sourceRegion: string;
78
+ /** Gets or sets the target region. */
79
+ targetRegion: string;
36
80
  /**
37
- * Possible values include: 'InitialSync'
81
+ * Defines the provisioning states.
82
+ * NOTE: This property will not be serialized. It can only be populated by the server.
38
83
  */
39
- jobName?: JobName;
84
+ readonly provisioningState?: ProvisioningState;
40
85
  /**
41
- * Gets or sets the monitoring job percentage.
42
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
86
+ * Defines the move collection errors.
87
+ * NOTE: This property will not be serialized. It can only be populated by the server.
43
88
  */
44
- readonly jobProgress?: string;
89
+ readonly errors?: MoveCollectionPropertiesErrors;
45
90
  }
46
91
 
47
- /**
48
- * An error response from the Azure Migrate service.
49
- */
92
+ /** An error response from the azure resource mover service. */
93
+ export interface MoveResourceError {
94
+ /** The move resource error body. */
95
+ properties?: MoveResourceErrorBody;
96
+ }
97
+
98
+ /** An error response from the Azure Migrate service. */
50
99
  export interface MoveResourceErrorBody {
51
100
  /**
52
- * An identifier for the error. Codes are invariant and are intended to be consumed
53
- * programmatically.
54
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
101
+ * An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
102
+ * NOTE: This property will not be serialized. It can only be populated by the server.
55
103
  */
56
104
  readonly code?: string;
57
105
  /**
58
106
  * A message describing the error, intended to be suitable for display in a user interface.
59
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
107
+ * NOTE: This property will not be serialized. It can only be populated by the server.
60
108
  */
61
109
  readonly message?: string;
62
110
  /**
63
111
  * The target of the particular error. For example, the name of the property in error.
64
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
112
+ * NOTE: This property will not be serialized. It can only be populated by the server.
65
113
  */
66
114
  readonly target?: string;
67
115
  /**
68
116
  * A list of additional details about the error.
69
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
117
+ * NOTE: This property will not be serialized. It can only be populated by the server.
70
118
  */
71
119
  readonly details?: MoveResourceErrorBody[];
72
120
  }
73
121
 
74
- /**
75
- * An error response from the azure resource mover service.
76
- */
77
- export interface MoveResourceError {
78
- /**
79
- * The move resource error body.
80
- */
81
- properties?: MoveResourceErrorBody;
122
+ /** Metadata pertaining to creation and last modification of the resource. */
123
+ export interface SystemData {
124
+ /** The identity that created the resource. */
125
+ createdBy?: string;
126
+ /** The type of identity that created the resource. */
127
+ createdByType?: CreatedByType;
128
+ /** The timestamp of resource creation (UTC). */
129
+ createdAt?: Date;
130
+ /** The identity that last modified the resource. */
131
+ lastModifiedBy?: string;
132
+ /** The type of identity that last modified the resource. */
133
+ lastModifiedByType?: CreatedByType;
134
+ /** The timestamp of resource last modification (UTC) */
135
+ lastModifiedAt?: Date;
136
+ }
137
+
138
+ /** An error response from the service. */
139
+ export interface CloudError {
140
+ /** Cloud error body. */
141
+ error?: CloudErrorBody;
142
+ }
143
+
144
+ /** An error response from the service. */
145
+ export interface CloudErrorBody {
146
+ /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
147
+ code?: string;
148
+ /** A message describing the error, intended to be suitable for display in a user interface. */
149
+ message?: string;
150
+ /** The target of the particular error. For example, the name of the property in error. */
151
+ target?: string;
152
+ /** A list of additional details about the error. */
153
+ details?: CloudErrorBody[];
154
+ }
155
+
156
+ /** Defines the request body for updating move collection. */
157
+ export interface UpdateMoveCollectionRequest {
158
+ /** Gets or sets the Resource tags. */
159
+ tags?: { [propertyName: string]: string };
160
+ /** Defines the MSI properties of the Move Collection. */
161
+ identity?: Identity;
82
162
  }
83
163
 
84
- /**
85
- * Defines the move resource status.
86
- */
87
- export interface MoveResourceStatus {
164
+ /** Operation status REST resource. */
165
+ export interface OperationStatus {
88
166
  /**
89
- * Possible values include: 'AssignmentPending', 'PreparePending', 'PrepareInProgress',
90
- * 'PrepareFailed', 'MovePending', 'MoveInProgress', 'MoveFailed', 'DiscardInProgress',
91
- * 'DiscardFailed', 'CommitPending', 'CommitInProgress', 'CommitFailed', 'Committed',
92
- * 'DeleteSourcePending', 'ResourceMoveCompleted'
167
+ * Resource Id.
168
+ * NOTE: This property will not be serialized. It can only be populated by the server.
93
169
  */
94
- moveState?: MoveState;
95
- jobStatus?: JobStatus;
96
- errors?: MoveResourceError;
97
- }
98
-
99
- /**
100
- * Defines the properties for manual resolution.
101
- */
102
- export interface ManualResolutionProperties {
170
+ readonly id?: string;
103
171
  /**
104
- * Gets or sets the target resource ARM ID of the dependent resource if the resource type is
105
- * Manual.
172
+ * Operation name.
173
+ * NOTE: This property will not be serialized. It can only be populated by the server.
106
174
  */
107
- targetId?: string;
108
- }
109
-
110
- /**
111
- * Defines the properties for automatic resolution.
112
- */
113
- export interface AutomaticResolutionProperties {
175
+ readonly name?: string;
114
176
  /**
115
- * Gets the MoveResource ARM ID of
116
- * the dependent resource if the resolution type is Automatic.
177
+ * Status of the operation. ARM expects the terminal status to be one of Succeeded/ Failed/ Canceled. All other values imply that the operation is still running.
178
+ * NOTE: This property will not be serialized. It can only be populated by the server.
117
179
  */
118
- moveResourceId?: string;
119
- }
120
-
121
- /**
122
- * Defines the dependency of the move resource.
123
- */
124
- export interface MoveResourceDependency {
180
+ readonly status?: string;
125
181
  /**
126
- * Gets the source ARM ID of the dependent resource.
182
+ * Start time.
183
+ * NOTE: This property will not be serialized. It can only be populated by the server.
127
184
  */
128
- id?: string;
185
+ readonly startTime?: string;
129
186
  /**
130
- * Gets the dependency resolution status.
187
+ * End time.
188
+ * NOTE: This property will not be serialized. It can only be populated by the server.
131
189
  */
132
- resolutionStatus?: string;
190
+ readonly endTime?: string;
133
191
  /**
134
- * Possible values include: 'Manual', 'Automatic'
192
+ * Error stating all error details for the operation.
193
+ * NOTE: This property will not be serialized. It can only be populated by the server.
135
194
  */
136
- resolutionType?: ResolutionType;
195
+ readonly error?: OperationStatusError;
137
196
  /**
138
- * Possible values include: 'RequiredForPrepare', 'RequiredForMove'
197
+ * Custom data.
198
+ * NOTE: This property will not be serialized. It can only be populated by the server.
139
199
  */
140
- dependencyType?: DependencyType;
141
- manualResolution?: ManualResolutionProperties;
142
- automaticResolution?: AutomaticResolutionProperties;
200
+ readonly properties?: Record<string, unknown>;
201
+ }
202
+
203
+ /** Class for operation status errors. */
204
+ export interface OperationStatusError {
143
205
  /**
144
- * Gets or sets a value indicating whether the dependency is optional.
206
+ * The error code.
207
+ * NOTE: This property will not be serialized. It can only be populated by the server.
145
208
  */
146
- isOptional?: string;
209
+ readonly code?: string;
210
+ /**
211
+ * The error message.
212
+ * NOTE: This property will not be serialized. It can only be populated by the server.
213
+ */
214
+ readonly message?: string;
215
+ /**
216
+ * The error details.
217
+ * NOTE: This property will not be serialized. It can only be populated by the server.
218
+ */
219
+ readonly details?: OperationStatusError[];
220
+ /**
221
+ * The additional info.
222
+ * NOTE: This property will not be serialized. It can only be populated by the server.
223
+ */
224
+ readonly additionalInfo?: OperationErrorAdditionalInfo[];
147
225
  }
148
226
 
149
- /**
150
- * Defines the dependency override of the move resource.
151
- */
152
- export interface MoveResourceDependencyOverride {
227
+ /** The operation error info. */
228
+ export interface OperationErrorAdditionalInfo {
153
229
  /**
154
- * Gets or sets the ARM ID of the dependent resource.
230
+ * The error type.
231
+ * NOTE: This property will not be serialized. It can only be populated by the server.
155
232
  */
156
- id?: string;
233
+ readonly type?: string;
157
234
  /**
158
- * Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of
159
- * the dependent resource.
235
+ * The operation error info.
236
+ * NOTE: This property will not be serialized. It can only be populated by the server.
160
237
  */
161
- targetId?: string;
238
+ readonly info?: MoveErrorInfo;
162
239
  }
163
240
 
164
- /**
165
- * Contains the possible cases for ResourceSettings.
166
- */
167
- export type ResourceSettingsUnion = ResourceSettings | VirtualMachineResourceSettings | AvailabilitySetResourceSettings | VirtualNetworkResourceSettings | NetworkInterfaceResourceSettings | NetworkSecurityGroupResourceSettings | LoadBalancerResourceSettings | SqlServerResourceSettings | SqlElasticPoolResourceSettings | SqlDatabaseResourceSettings | ResourceGroupResourceSettings | PublicIPAddressResourceSettings | KeyVaultResourceSettings | DiskEncryptionSetResourceSettings;
241
+ /** The move custom error info. */
242
+ export interface MoveErrorInfo {
243
+ /**
244
+ * The affected move resources.
245
+ * NOTE: This property will not be serialized. It can only be populated by the server.
246
+ */
247
+ readonly moveResources?: AffectedMoveResource[];
248
+ }
168
249
 
169
- /**
170
- * Gets or sets the resource settings.
171
- */
172
- export interface ResourceSettings {
250
+ /** The RP custom operation error info. */
251
+ export interface AffectedMoveResource {
173
252
  /**
174
- * Polymorphic Discriminator
253
+ * The affected move resource id.
254
+ * NOTE: This property will not be serialized. It can only be populated by the server.
175
255
  */
176
- resourceType: "ResourceSettings";
256
+ readonly id?: string;
177
257
  /**
178
- * Gets or sets the target Resource name.
258
+ * The affected move resource source id.
259
+ * NOTE: This property will not be serialized. It can only be populated by the server.
179
260
  */
180
- targetResourceName: string;
261
+ readonly sourceId?: string;
262
+ /**
263
+ * The affected move resources.
264
+ * NOTE: This property will not be serialized. It can only be populated by the server.
265
+ */
266
+ readonly moveResources?: AffectedMoveResource[];
181
267
  }
182
268
 
183
- /**
184
- * Defines the move resource status.
185
- */
186
- export interface MoveResourcePropertiesMoveStatus extends MoveResourceStatus {
269
+ /** Defines the request body for initiate prepare operation. */
270
+ export interface PrepareRequest {
271
+ /** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
272
+ validateOnly?: boolean;
273
+ /** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
274
+ moveResources: string[];
275
+ /** Defines the move resource input type. */
276
+ moveResourceInputType?: MoveResourceInputType;
187
277
  }
188
278
 
189
- /**
190
- * Defines the move resource errors.
191
- */
192
- export interface MoveResourcePropertiesErrors extends MoveResourceError {
279
+ /** Defines the request body for resource move operation. */
280
+ export interface ResourceMoveRequest {
281
+ /** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
282
+ validateOnly?: boolean;
283
+ /** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
284
+ moveResources: string[];
285
+ /** Defines the move resource input type. */
286
+ moveResourceInputType?: MoveResourceInputType;
193
287
  }
194
288
 
195
- /**
196
- * Defines the move resource properties.
197
- */
198
- export interface MoveResourceProperties {
289
+ /** Defines the request body for commit operation. */
290
+ export interface CommitRequest {
291
+ /** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
292
+ validateOnly?: boolean;
293
+ /** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
294
+ moveResources: string[];
295
+ /** Defines the move resource input type. */
296
+ moveResourceInputType?: MoveResourceInputType;
297
+ }
298
+
299
+ /** Defines the request body for discard operation. */
300
+ export interface DiscardRequest {
301
+ /** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
302
+ validateOnly?: boolean;
303
+ /** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
304
+ moveResources: string[];
305
+ /** Defines the move resource input type. */
306
+ moveResourceInputType?: MoveResourceInputType;
307
+ }
308
+
309
+ /** Defines the collection of move resources. */
310
+ export interface MoveResourceCollection {
311
+ /** Gets the list of move resources. */
312
+ value?: MoveResource[];
313
+ /** Gets the value of next link. */
314
+ nextLink?: string;
315
+ /** Gets or sets the list of summary items and the field on which summary is done. */
316
+ summaryCollection?: SummaryCollection;
199
317
  /**
200
- * Possible values include: 'Succeeded', 'Updating', 'Creating', 'Failed'
318
+ * Gets the total count.
319
+ * NOTE: This property will not be serialized. It can only be populated by the server.
201
320
  */
202
- provisioningState?: ProvisioningState;
321
+ readonly totalCount?: number;
322
+ }
323
+
324
+ /** Defines the move resource. */
325
+ export interface MoveResource {
203
326
  /**
204
- * Gets or sets the Source ARM Id of the resource.
327
+ * Fully qualified resource Id for the resource.
328
+ * NOTE: This property will not be serialized. It can only be populated by the server.
205
329
  */
206
- sourceId: string;
330
+ readonly id?: string;
207
331
  /**
208
- * Gets or sets the Target ARM Id of the resource.
209
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
332
+ * The name of the resource
333
+ * NOTE: This property will not be serialized. It can only be populated by the server.
210
334
  */
211
- readonly targetId?: string;
335
+ readonly name?: string;
212
336
  /**
213
- * Gets or sets the existing target ARM Id of the resource.
337
+ * The type of the resource.
338
+ * NOTE: This property will not be serialized. It can only be populated by the server.
214
339
  */
215
- existingTargetId?: string;
340
+ readonly type?: string;
341
+ /** Defines the move resource properties. */
342
+ properties?: MoveResourceProperties;
343
+ /**
344
+ * Metadata pertaining to creation and last modification of the resource.
345
+ * NOTE: This property will not be serialized. It can only be populated by the server.
346
+ */
347
+ readonly systemData?: SystemData;
348
+ }
349
+
350
+ /** Defines the move resource properties. */
351
+ export interface MoveResourceProperties {
216
352
  /**
217
- * Gets or sets the resource settings.
353
+ * Defines the provisioning states.
354
+ * NOTE: This property will not be serialized. It can only be populated by the server.
355
+ */
356
+ readonly provisioningState?: ProvisioningState;
357
+ /** Gets or sets the Source ARM Id of the resource. */
358
+ sourceId: string;
359
+ /**
360
+ * Gets or sets the Target ARM Id of the resource.
361
+ * NOTE: This property will not be serialized. It can only be populated by the server.
218
362
  */
363
+ readonly targetId?: string;
364
+ /** Gets or sets the existing target ARM Id of the resource. */
365
+ existingTargetId?: string;
366
+ /** Gets or sets the resource settings. */
219
367
  resourceSettings?: ResourceSettingsUnion;
220
368
  /**
221
369
  * Gets or sets the source resource settings.
222
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
370
+ * NOTE: This property will not be serialized. It can only be populated by the server.
223
371
  */
224
372
  readonly sourceResourceSettings?: ResourceSettingsUnion;
225
373
  /**
226
374
  * Defines the move resource status.
227
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
375
+ * NOTE: This property will not be serialized. It can only be populated by the server.
228
376
  */
229
377
  readonly moveStatus?: MoveResourcePropertiesMoveStatus;
230
378
  /**
231
379
  * Gets or sets the move resource dependencies.
232
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
380
+ * NOTE: This property will not be serialized. It can only be populated by the server.
233
381
  */
234
382
  readonly dependsOn?: MoveResourceDependency[];
235
- /**
236
- * Gets or sets the move resource dependencies overrides.
237
- */
383
+ /** Gets or sets the move resource dependencies overrides. */
238
384
  dependsOnOverrides?: MoveResourceDependencyOverride[];
239
385
  /**
240
386
  * Gets a value indicating whether the resolve action is required over the move collection.
241
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
387
+ * NOTE: This property will not be serialized. It can only be populated by the server.
242
388
  */
243
389
  readonly isResolveRequired?: boolean;
244
390
  /**
245
391
  * Defines the move resource errors.
246
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
392
+ * NOTE: This property will not be serialized. It can only be populated by the server.
247
393
  */
248
394
  readonly errors?: MoveResourcePropertiesErrors;
249
395
  }
250
396
 
251
- /**
252
- * Defines the move resource.
253
- */
254
- export interface MoveResource extends BaseResource {
255
- /**
256
- * Fully qualified resource Id for the resource.
257
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
258
- */
259
- readonly id?: string;
260
- /**
261
- * The name of the resource
262
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
263
- */
264
- readonly name?: string;
265
- /**
266
- * The type of the resource.
267
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
268
- */
269
- readonly type?: string;
270
- properties?: MoveResourceProperties;
397
+ /** Gets or sets the resource settings. */
398
+ export interface ResourceSettings {
399
+ /** Polymorphic discriminator, which specifies the different types this object can be */
400
+ resourceType:
401
+ | "Microsoft.Compute/virtualMachines"
402
+ | "Microsoft.Compute/availabilitySets"
403
+ | "Microsoft.Network/virtualNetworks"
404
+ | "Microsoft.Network/networkInterfaces"
405
+ | "Microsoft.Network/networkSecurityGroups"
406
+ | "Microsoft.Network/loadBalancers"
407
+ | "Microsoft.Sql/servers"
408
+ | "Microsoft.Sql/servers/elasticPools"
409
+ | "Microsoft.Sql/servers/databases"
410
+ | "resourceGroups"
411
+ | "Microsoft.Network/publicIPAddresses"
412
+ | "Microsoft.KeyVault/vaults"
413
+ | "Microsoft.Compute/diskEncryptionSets";
414
+ /** Gets or sets the target Resource name. */
415
+ targetResourceName: string;
271
416
  }
272
417
 
273
- /**
274
- * Summary item.
275
- */
276
- export interface Summary {
277
- /**
278
- * Gets the count.
279
- */
280
- count?: number;
418
+ /** Defines the move resource status. */
419
+ export interface MoveResourceStatus {
281
420
  /**
282
- * Gets the item.
421
+ * Defines the MoveResource states.
422
+ * NOTE: This property will not be serialized. It can only be populated by the server.
283
423
  */
284
- item?: string;
424
+ readonly moveState?: MoveState;
425
+ /** Defines the job status. */
426
+ jobStatus?: JobStatus;
427
+ /** An error response from the azure resource mover service. */
428
+ errors?: MoveResourceError;
285
429
  }
286
430
 
287
- /**
288
- * Summary Collection.
289
- */
290
- export interface SummaryCollection {
431
+ /** Defines the job status. */
432
+ export interface JobStatus {
291
433
  /**
292
- * Gets or sets the field name on which summary is done.
434
+ * Defines the job name.
435
+ * NOTE: This property will not be serialized. It can only be populated by the server.
293
436
  */
294
- fieldName?: string;
437
+ readonly jobName?: JobName;
295
438
  /**
296
- * Gets or sets the list of summary items.
439
+ * Gets or sets the monitoring job percentage.
440
+ * NOTE: This property will not be serialized. It can only be populated by the server.
297
441
  */
298
- summary?: Summary[];
442
+ readonly jobProgress?: string;
299
443
  }
300
444
 
301
- /**
302
- * Defines the move collection errors.
303
- */
304
- export interface MoveCollectionPropertiesErrors extends MoveResourceError {
445
+ /** Defines the dependency of the move resource. */
446
+ export interface MoveResourceDependency {
447
+ /** Gets the source ARM ID of the dependent resource. */
448
+ id?: string;
449
+ /** Gets the dependency resolution status. */
450
+ resolutionStatus?: string;
451
+ /** Defines the resolution type. */
452
+ resolutionType?: ResolutionType;
453
+ /** Defines the dependency type. */
454
+ dependencyType?: DependencyType;
455
+ /** Defines the properties for manual resolution. */
456
+ manualResolution?: ManualResolutionProperties;
457
+ /** Defines the properties for automatic resolution. */
458
+ automaticResolution?: AutomaticResolutionProperties;
459
+ /** Gets or sets a value indicating whether the dependency is optional. */
460
+ isOptional?: string;
305
461
  }
306
462
 
307
- /**
308
- * Defines the move collection properties.
309
- */
310
- export interface MoveCollectionProperties {
311
- /**
312
- * Gets or sets the source region.
313
- */
314
- sourceRegion: string;
315
- /**
316
- * Gets or sets the target region.
317
- */
318
- targetRegion: string;
319
- /**
320
- * Possible values include: 'Succeeded', 'Updating', 'Creating', 'Failed'
321
- */
322
- provisioningState?: ProvisioningState;
323
- /**
324
- * Defines the move collection errors.
325
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
326
- */
327
- readonly errors?: MoveCollectionPropertiesErrors;
463
+ /** Defines the properties for manual resolution. */
464
+ export interface ManualResolutionProperties {
465
+ /** Gets or sets the target resource ARM ID of the dependent resource if the resource type is Manual. */
466
+ targetId?: string;
328
467
  }
329
468
 
330
- /**
331
- * Define the move collection.
332
- */
333
- export interface MoveCollection extends BaseResource {
334
- /**
335
- * Fully qualified resource Id for the resource.
336
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
337
- */
338
- readonly id?: string;
339
- /**
340
- * The name of the resource
341
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
342
- */
343
- readonly name?: string;
344
- /**
345
- * The type of the resource.
346
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
347
- */
348
- readonly type?: string;
349
- /**
350
- * The etag of the resource.
351
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
352
- */
353
- readonly etag?: string;
354
- /**
355
- * Resource tags.
356
- */
357
- tags?: { [propertyName: string]: string };
469
+ /** Defines the properties for automatic resolution. */
470
+ export interface AutomaticResolutionProperties {
358
471
  /**
359
- * The geo-location where the resource lives.
472
+ * Gets the MoveResource ARM ID of
473
+ * the dependent resource if the resolution type is Automatic.
360
474
  */
361
- location?: string;
362
- identity?: Identity;
363
- properties?: MoveCollectionProperties;
475
+ moveResourceId?: string;
364
476
  }
365
477
 
366
- /**
367
- * Defines the request body for updating move collection.
368
- */
369
- export interface UpdateMoveCollectionRequest {
478
+ /** Defines the dependency override of the move resource. */
479
+ export interface MoveResourceDependencyOverride {
480
+ /** Gets or sets the ARM ID of the dependent resource. */
481
+ id?: string;
370
482
  /**
371
- * Gets or sets the Resource tags.
483
+ * Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of
484
+ * the dependent resource.
372
485
  */
373
- tags?: { [propertyName: string]: string };
374
- identity?: Identity;
486
+ targetId?: string;
375
487
  }
376
488
 
377
- /**
378
- * Defines the request body for initiate prepare operation.
379
- */
380
- export interface PrepareRequest {
381
- /**
382
- * Gets or sets a value indicating whether the operation needs to only run pre-requisite.
383
- */
384
- validateOnly?: boolean;
385
- /**
386
- * Gets or sets the list of resource Id's, by default it accepts move resource id's unless the
387
- * input type is switched via moveResourceInputType property.
388
- */
389
- moveResources: string[];
390
- /**
391
- * Possible values include: 'MoveResourceId', 'MoveResourceSourceId'
392
- */
393
- moveResourceInputType?: MoveResourceInputType;
489
+ /** Summary Collection. */
490
+ export interface SummaryCollection {
491
+ /** Gets or sets the field name on which summary is done. */
492
+ fieldName?: string;
493
+ /** Gets or sets the list of summary items. */
494
+ summary?: Summary[];
394
495
  }
395
496
 
396
- /**
397
- * Defines the request body for resource move operation.
398
- */
399
- export interface ResourceMoveRequest {
400
- /**
401
- * Gets or sets a value indicating whether the operation needs to only run pre-requisite.
402
- */
403
- validateOnly?: boolean;
404
- /**
405
- * Gets or sets the list of resource Id's, by default it accepts move resource id's unless the
406
- * input type is switched via moveResourceInputType property.
407
- */
408
- moveResources: string[];
409
- /**
410
- * Possible values include: 'MoveResourceId', 'MoveResourceSourceId'
411
- */
412
- moveResourceInputType?: MoveResourceInputType;
497
+ /** Summary item. */
498
+ export interface Summary {
499
+ /** Gets the count. */
500
+ count?: number;
501
+ /** Gets the item. */
502
+ item?: string;
413
503
  }
414
504
 
415
- /**
416
- * Defines the request body for commit operation.
417
- */
418
- export interface CommitRequest {
419
- /**
420
- * Gets or sets a value indicating whether the operation needs to only run pre-requisite.
421
- */
422
- validateOnly?: boolean;
505
+ /** Unresolved dependency collection. */
506
+ export interface UnresolvedDependencyCollection {
507
+ /** Gets or sets the list of unresolved dependencies. */
508
+ value?: UnresolvedDependency[];
509
+ /** Gets or sets the value of next link. */
510
+ nextLink?: string;
423
511
  /**
424
- * Gets or sets the list of resource Id's, by default it accepts move resource id's unless the
425
- * input type is switched via moveResourceInputType property.
512
+ * Gets or sets the list of summary items and the field on which summary is done.
513
+ * NOTE: This property will not be serialized. It can only be populated by the server.
426
514
  */
427
- moveResources: string[];
515
+ readonly summaryCollection?: SummaryCollection;
428
516
  /**
429
- * Possible values include: 'MoveResourceId', 'MoveResourceSourceId'
517
+ * Gets the total count.
518
+ * NOTE: This property will not be serialized. It can only be populated by the server.
430
519
  */
431
- moveResourceInputType?: MoveResourceInputType;
520
+ readonly totalCount?: number;
432
521
  }
433
522
 
434
- /**
435
- * Defines the request body for discard operation.
436
- */
437
- export interface DiscardRequest {
438
- /**
439
- * Gets or sets a value indicating whether the operation needs to only run pre-requisite.
440
- */
441
- validateOnly?: boolean;
442
- /**
443
- * Gets or sets the list of resource Id's, by default it accepts move resource id's unless the
444
- * input type is switched via moveResourceInputType property.
445
- */
446
- moveResources: string[];
447
- /**
448
- * Possible values include: 'MoveResourceId', 'MoveResourceSourceId'
449
- */
450
- moveResourceInputType?: MoveResourceInputType;
523
+ /** Unresolved dependency. */
524
+ export interface UnresolvedDependency {
525
+ /** Gets or sets the count. */
526
+ count?: number;
527
+ /** Gets or sets the arm id of the dependency. */
528
+ id?: string;
451
529
  }
452
530
 
453
- /**
454
- * Defines the request body for bulk remove of move resources operation.
455
- */
531
+ /** Defines the request body for bulk remove of move resources operation. */
456
532
  export interface BulkRemoveRequest {
457
- /**
458
- * Gets or sets a value indicating whether the operation needs to only run pre-requisite.
459
- */
533
+ /** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
460
534
  validateOnly?: boolean;
461
- /**
462
- * Gets or sets the list of resource Id's, by default it accepts move resource id's unless the
463
- * input type is switched via moveResourceInputType property.
464
- */
535
+ /** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
465
536
  moveResources?: string[];
466
- /**
467
- * Possible values include: 'MoveResourceId', 'MoveResourceSourceId'
468
- */
537
+ /** Defines the move resource input type. */
469
538
  moveResourceInputType?: MoveResourceInputType;
470
539
  }
471
540
 
472
- /**
473
- * An interface representing MoveResourceFilterProperties.
474
- */
475
- export interface MoveResourceFilterProperties {
476
- /**
477
- * The provisioning state.
478
- */
479
- provisioningState?: string;
480
- }
481
-
482
- /**
483
- * Move resource filter.
484
- */
485
- export interface MoveResourceFilter {
486
- properties?: MoveResourceFilterProperties;
487
- }
488
-
489
- /**
490
- * An interface representing UnresolvedDependenciesFilterProperties.
491
- */
492
- export interface UnresolvedDependenciesFilterProperties {
493
- /**
494
- * The count of the resource.
495
- */
496
- count?: number;
497
- }
498
-
499
- /**
500
- * Unresolved dependencies contract.
501
- */
502
- export interface UnresolvedDependenciesFilter {
503
- properties?: UnresolvedDependenciesFilterProperties;
541
+ /** Collection of ClientDiscovery details. */
542
+ export interface OperationsDiscoveryCollection {
543
+ /** Gets or sets the ClientDiscovery details. */
544
+ value?: OperationsDiscovery[];
545
+ /** Gets or sets the value of next link. */
546
+ nextLink?: string;
504
547
  }
505
548
 
506
- /**
507
- * Unresolved dependency.
508
- */
509
- export interface UnresolvedDependency {
549
+ /** Operations discovery class. */
550
+ export interface OperationsDiscovery {
510
551
  /**
511
- * Gets or sets the count.
552
+ * Gets or sets Name of the API.
553
+ * The name of the operation being performed on this particular object. It should
554
+ * match the action name that appears in RBAC / the event service.
555
+ * Examples of operations include:
556
+ * * Microsoft.Compute/virtualMachine/capture/action
557
+ * * Microsoft.Compute/virtualMachine/restart/action
558
+ * * Microsoft.Compute/virtualMachine/write
559
+ * * Microsoft.Compute/virtualMachine/read
560
+ * * Microsoft.Compute/virtualMachine/delete
561
+ * Each action should include, in order:
562
+ * (1) Resource Provider Namespace
563
+ * (2) Type hierarchy for which the action applies (e.g. server/databases for a SQL
564
+ * Azure database)
565
+ * (3) Read, Write, Action or Delete indicating which type applies. If it is a PUT/PATCH
566
+ * on a collection or named value, Write should be used.
567
+ * If it is a GET, Read should be used. If it is a DELETE, Delete should be used. If it
568
+ * is a POST, Action should be used.
569
+ * As a note: all resource providers would need to include the "{Resource Provider
570
+ * Namespace}/register/action" operation in their response.
571
+ * This API is used to register for their service, and should include details about the
572
+ * operation (e.g. a localized name for the resource provider + any special
573
+ * considerations like PII release).
512
574
  */
513
- count?: number;
575
+ name?: string;
576
+ /** Indicates whether the operation is a data action */
577
+ isDataAction?: boolean;
514
578
  /**
515
- * Gets or sets the arm id of the dependency.
579
+ * Contains the localized display information for this particular operation / action. These
580
+ * value will be used by several clients for
581
+ * (1) custom role definitions for RBAC;
582
+ * (2) complex query filters for the event service; and
583
+ * (3) audit history / records for management operations.
516
584
  */
517
- id?: string;
518
- }
519
-
520
- /**
521
- * Required for resources collection.
522
- */
523
- export interface RequiredForResourcesCollection {
585
+ display?: Display;
524
586
  /**
525
- * Gets or sets the list of source Ids for which the input resource is required.
587
+ * Gets or sets Origin.
588
+ * The intended executor of the operation; governs the display of the operation in the
589
+ * RBAC UX and the audit logs UX.
590
+ * Default value is "user,system".
526
591
  */
527
- sourceIds?: string[];
592
+ origin?: string;
593
+ /** Any object */
594
+ properties?: Record<string, unknown>;
528
595
  }
529
596
 
530
597
  /**
@@ -574,289 +641,95 @@ export interface Display {
574
641
  * Perform any other action on any 'display.provider' resource
575
642
  * Prescriptive guidance for namespace:
576
643
  * Read any 'display.resource' Create or Update any 'display.resource' Delete any
577
- * 'display.resource' 'ActionName' any 'display.resources'.
644
+ * 'display.resource' 'ActionName' any 'display.resources'.
578
645
  */
579
646
  description?: string;
580
647
  }
581
648
 
582
- /**
583
- * Operations discovery class.
584
- */
585
- export interface OperationsDiscovery {
586
- /**
587
- * Gets or sets Name of the API.
588
- * The name of the operation being performed on this particular object. It should
589
- * match the action name that appears in RBAC / the event service.
590
- * Examples of operations include:
591
- * * Microsoft.Compute/virtualMachine/capture/action
592
- * * Microsoft.Compute/virtualMachine/restart/action
593
- * * Microsoft.Compute/virtualMachine/write
594
- * * Microsoft.Compute/virtualMachine/read
595
- * * Microsoft.Compute/virtualMachine/delete
596
- * Each action should include, in order:
597
- * (1) Resource Provider Namespace
598
- * (2) Type hierarchy for which the action applies (e.g. server/databases for a SQL
599
- * Azure database)
600
- * (3) Read, Write, Action or Delete indicating which type applies. If it is a PUT/PATCH
601
- * on a collection or named value, Write should be used.
602
- * If it is a GET, Read should be used. If it is a DELETE, Delete should be used. If it
603
- * is a POST, Action should be used.
604
- * As a note: all resource providers would need to include the "{Resource Provider
605
- * Namespace}/register/action" operation in their response.
606
- * This API is used to register for their service, and should include details about the
607
- * operation (e.g. a localized name for the resource provider + any special
608
- * considerations like PII release).
609
- */
610
- name?: string;
611
- /**
612
- * Indicates whether the operation is a data action
613
- */
614
- isDataAction?: boolean;
615
- display?: Display;
616
- /**
617
- * Gets or sets Origin.
618
- * The intended executor of the operation; governs the display of the operation in the
619
- * RBAC UX and the audit logs UX.
620
- * Default value is "user,system".
621
- */
622
- origin?: string;
623
- properties?: any;
649
+ /** Defines the collection of move collections. */
650
+ export interface MoveCollectionResultList {
651
+ /** Gets the list of move collections. */
652
+ value?: MoveCollection[];
653
+ /** Gets the value of next link. */
654
+ nextLink?: string;
624
655
  }
625
656
 
626
- /**
627
- * Collection of ClientDiscovery details.
628
- */
629
- export interface OperationsDiscoveryCollection {
630
- /**
631
- * Gets or sets the ClientDiscovery details.
632
- */
633
- value?: OperationsDiscovery[];
634
- /**
635
- * Gets or sets the value of next link.
636
- */
637
- nextLink?: string;
657
+ /** Required for resources collection. */
658
+ export interface RequiredForResourcesCollection {
659
+ /** Gets or sets the list of source Ids for which the input resource is required. */
660
+ sourceIds?: string[];
638
661
  }
639
662
 
640
- /**
641
- * Gets or sets the virtual machine resource settings.
642
- */
643
- export interface VirtualMachineResourceSettings {
644
- /**
645
- * Polymorphic Discriminator
646
- */
647
- resourceType: "Microsoft.Compute/virtualMachines";
648
- /**
649
- * Gets or sets the target Resource name.
650
- */
651
- targetResourceName: string;
652
- /**
653
- * Gets or sets the target availability zone. Possible values include: '1', '2', '3', 'NA'
654
- */
655
- targetAvailabilityZone?: TargetAvailabilityZone;
656
- /**
657
- * Gets or sets the target virtual machine size.
658
- */
659
- targetVmSize?: string;
660
- /**
661
- * Gets or sets the target availability set id for virtual machines not in an availability set at
662
- * source.
663
- */
664
- targetAvailabilitySetId?: string;
663
+ /** Move resource filter. */
664
+ export interface MoveResourceFilter {
665
+ properties?: MoveResourceFilterProperties;
665
666
  }
666
667
 
667
- /**
668
- * Gets or sets the availability set resource settings.
669
- */
670
- export interface AvailabilitySetResourceSettings {
671
- /**
672
- * Polymorphic Discriminator
673
- */
674
- resourceType: "Microsoft.Compute/availabilitySets";
675
- /**
676
- * Gets or sets the target Resource name.
677
- */
678
- targetResourceName: string;
679
- /**
680
- * Gets or sets the target fault domain.
681
- */
682
- faultDomain?: number;
683
- /**
684
- * Gets or sets the target update domain.
685
- */
686
- updateDomain?: number;
668
+ export interface MoveResourceFilterProperties {
669
+ /** The provisioning state. */
670
+ provisioningState?: string;
687
671
  }
688
672
 
689
- /**
690
- * Defines reference to an Azure resource.
691
- */
692
- export interface AzureResourceReference {
693
- /**
694
- * Gets the ARM resource ID of the tracked resource being referenced.
695
- */
696
- sourceArmResourceId: string;
673
+ /** Unresolved dependencies contract. */
674
+ export interface UnresolvedDependenciesFilter {
675
+ properties?: UnresolvedDependenciesFilterProperties;
697
676
  }
698
677
 
699
- /**
700
- * Defines reference to NSG.
701
- */
702
- export interface NsgReference extends AzureResourceReference {
678
+ export interface UnresolvedDependenciesFilterProperties {
679
+ /** The count of the resource. */
680
+ count?: number;
703
681
  }
704
682
 
705
- /**
706
- * Defines the virtual network subnets resource settings.
707
- */
683
+ /** Defines the virtual network subnets resource settings. */
708
684
  export interface SubnetResourceSettings {
709
- /**
710
- * Gets or sets the Subnet name.
711
- */
685
+ /** Gets or sets the Subnet name. */
712
686
  name?: string;
713
- /**
714
- * Gets or sets address prefix for the subnet.
715
- */
687
+ /** Gets or sets address prefix for the subnet. */
716
688
  addressPrefix?: string;
689
+ /** Defines reference to NSG. */
717
690
  networkSecurityGroup?: NsgReference;
718
691
  }
719
692
 
720
- /**
721
- * Defines the virtual network resource settings.
722
- */
723
- export interface VirtualNetworkResourceSettings {
724
- /**
725
- * Polymorphic Discriminator
726
- */
727
- resourceType: "Microsoft.Network/virtualNetworks";
728
- /**
729
- * Gets or sets the target Resource name.
730
- */
731
- targetResourceName: string;
732
- /**
733
- * Gets or sets a value indicating whether gets or sets whether the
734
- * DDOS protection should be switched on.
735
- */
736
- enableDdosProtection?: boolean;
737
- /**
738
- * Gets or sets the address prefixes for the virtual network.
739
- */
740
- addressSpace?: string[];
741
- /**
742
- * Gets or sets DHCPOptions that contains an array of DNS servers available to VMs
743
- * deployed in the virtual network.
744
- */
745
- dnsServers?: string[];
746
- /**
747
- * Gets or sets List of subnets in a VirtualNetwork.
748
- */
749
- subnets?: SubnetResourceSettings[];
750
- }
751
-
752
- /**
753
- * Defines reference to a proxy resource.
754
- */
755
- export interface ProxyResourceReference extends AzureResourceReference {
756
- /**
757
- * Gets the name of the proxy resource on the target side.
758
- */
759
- name?: string;
760
- }
761
-
762
- /**
763
- * Defines reference to subnet.
764
- */
765
- export interface SubnetReference extends ProxyResourceReference {
766
- }
767
-
768
- /**
769
- * Defines reference to load balancer backend address pools.
770
- */
771
- export interface LoadBalancerBackendAddressPoolReference extends ProxyResourceReference {
772
- }
773
-
774
- /**
775
- * Defines reference to load balancer NAT rules.
776
- */
777
- export interface LoadBalancerNatRuleReference extends ProxyResourceReference {
778
- }
779
-
780
- /**
781
- * Defines reference to a public IP.
782
- */
783
- export interface PublicIpReference extends AzureResourceReference {
693
+ /** Defines reference to an Azure resource. */
694
+ export interface AzureResourceReference {
695
+ /** Gets the ARM resource ID of the tracked resource being referenced. */
696
+ sourceArmResourceId: string;
784
697
  }
785
698
 
786
- /**
787
- * Defines NIC IP configuration properties.
788
- */
699
+ /** Defines NIC IP configuration properties. */
789
700
  export interface NicIpConfigurationResourceSettings {
790
- /**
791
- * Gets or sets the IP configuration name.
792
- */
701
+ /** Gets or sets the IP configuration name. */
793
702
  name?: string;
794
- /**
795
- * Gets or sets the private IP address of the network interface IP Configuration.
796
- */
703
+ /** Gets or sets the private IP address of the network interface IP Configuration. */
797
704
  privateIpAddress?: string;
798
- /**
799
- * Gets or sets the private IP address allocation method.
800
- */
705
+ /** Gets or sets the private IP address allocation method. */
801
706
  privateIpAllocationMethod?: string;
707
+ /** Defines reference to subnet. */
802
708
  subnet?: SubnetReference;
803
- /**
804
- * Gets or sets a value indicating whether this IP configuration is the primary.
805
- */
709
+ /** Gets or sets a value indicating whether this IP configuration is the primary. */
806
710
  primary?: boolean;
807
- /**
808
- * Gets or sets the references of the load balancer backend address pools.
809
- */
711
+ /** Gets or sets the references of the load balancer backend address pools. */
810
712
  loadBalancerBackendAddressPools?: LoadBalancerBackendAddressPoolReference[];
811
- /**
812
- * Gets or sets the references of the load balancer NAT rules.
813
- */
713
+ /** Gets or sets the references of the load balancer NAT rules. */
814
714
  loadBalancerNatRules?: LoadBalancerNatRuleReference[];
715
+ /** Defines reference to a public IP. */
815
716
  publicIp?: PublicIpReference;
816
717
  }
817
718
 
818
- /**
819
- * Defines the network interface resource settings.
820
- */
821
- export interface NetworkInterfaceResourceSettings {
822
- /**
823
- * Polymorphic Discriminator
824
- */
825
- resourceType: "Microsoft.Network/networkInterfaces";
826
- /**
827
- * Gets or sets the target Resource name.
828
- */
829
- targetResourceName: string;
830
- /**
831
- * Gets or sets the IP configurations of the NIC.
832
- */
833
- ipConfigurations?: NicIpConfigurationResourceSettings[];
834
- /**
835
- * Gets or sets a value indicating whether accelerated networking is enabled.
836
- */
837
- enableAcceleratedNetworking?: boolean;
838
- }
839
-
840
- /**
841
- * Security Rule data model for Network Security Groups.
842
- */
719
+ /** Security Rule data model for Network Security Groups. */
843
720
  export interface NsgSecurityRule {
844
- /**
845
- * Gets or sets the Security rule name.
846
- */
721
+ /** Gets or sets the Security rule name. */
847
722
  name?: string;
848
723
  /**
849
724
  * Gets or sets whether network traffic is allowed or denied.
850
725
  * Possible values are “Allow” and “Deny”.
851
726
  */
852
727
  access?: string;
853
- /**
854
- * Gets or sets a description for this rule. Restricted to 140 chars.
855
- */
728
+ /** Gets or sets a description for this rule. Restricted to 140 chars. */
856
729
  description?: string;
857
730
  /**
858
731
  * Gets or sets destination address prefix. CIDR or source IP range.
859
- * A “*” can also be used to match all source IPs. Default tags such
732
+ * A “*” can also be used to match all source IPs. Default tags such
860
733
  * as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used.
861
734
  */
862
735
  destinationAddressPrefix?: string;
@@ -876,9 +749,7 @@ export interface NsgSecurityRule {
876
749
  * The lower the priority number, the higher the priority of the rule.
877
750
  */
878
751
  priority?: number;
879
- /**
880
- * Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*).
881
- */
752
+ /** Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*). */
882
753
  protocol?: string;
883
754
  /**
884
755
  * Gets or sets source address prefix. CIDR or source IP range. A
@@ -894,1269 +765,677 @@ export interface NsgSecurityRule {
894
765
  sourcePortRange?: string;
895
766
  }
896
767
 
897
- /**
898
- * Defines the NSG resource settings.
899
- */
900
- export interface NetworkSecurityGroupResourceSettings {
901
- /**
902
- * Polymorphic Discriminator
903
- */
904
- resourceType: "Microsoft.Network/networkSecurityGroups";
905
- /**
906
- * Gets or sets the target Resource name.
907
- */
908
- targetResourceName: string;
909
- /**
910
- * Gets or sets Security rules of network security group.
911
- */
912
- securityRules?: NsgSecurityRule[];
913
- }
914
-
915
- /**
916
- * Defines load balancer frontend IP configuration properties.
917
- */
768
+ /** Defines load balancer frontend IP configuration properties. */
918
769
  export interface LBFrontendIPConfigurationResourceSettings {
919
- /**
920
- * Gets or sets the frontend IP configuration name.
921
- */
770
+ /** Gets or sets the frontend IP configuration name. */
922
771
  name?: string;
923
772
  /**
924
773
  * Gets or sets the IP address of the Load Balancer.This is only specified if a specific
925
774
  * private IP address shall be allocated from the subnet specified in subnetRef.
926
775
  */
927
776
  privateIpAddress?: string;
928
- /**
929
- * Gets or sets PrivateIP allocation method (Static/Dynamic).
930
- */
777
+ /** Gets or sets PrivateIP allocation method (Static/Dynamic). */
931
778
  privateIpAllocationMethod?: string;
779
+ /** Defines reference to subnet. */
932
780
  subnet?: SubnetReference;
933
- /**
934
- * Gets or sets the csv list of zones.
935
- */
936
- zones?: string;
937
- }
938
-
939
- /**
940
- * Defines load balancer backend address pool properties.
941
- */
942
- export interface LBBackendAddressPoolResourceSettings {
943
- /**
944
- * Gets or sets the backend address pool name.
945
- */
946
- name?: string;
947
- }
948
-
949
- /**
950
- * Defines the load balancer resource settings.
951
- */
952
- export interface LoadBalancerResourceSettings {
953
- /**
954
- * Polymorphic Discriminator
955
- */
956
- resourceType: "Microsoft.Network/loadBalancers";
957
- /**
958
- * Gets or sets the target Resource name.
959
- */
960
- targetResourceName: string;
961
- /**
962
- * Gets or sets load balancer sku (Basic/Standard).
963
- */
964
- sku?: string;
965
- /**
966
- * Gets or sets the frontend IP configurations of the load balancer.
967
- */
968
- frontendIPConfigurations?: LBFrontendIPConfigurationResourceSettings[];
969
- /**
970
- * Gets or sets the backend address pools of the load balancer.
971
- */
972
- backendAddressPools?: LBBackendAddressPoolResourceSettings[];
973
- /**
974
- * Gets or sets the csv list of zones common for all frontend IP configurations. Note this is
975
- * given
976
- * precedence only if frontend IP configurations settings are not present.
977
- */
978
- zones?: string;
979
- }
980
-
981
- /**
982
- * Defines the SQL Server resource settings.
983
- */
984
- export interface SqlServerResourceSettings {
985
- /**
986
- * Polymorphic Discriminator
987
- */
988
- resourceType: "Microsoft.Sql/servers";
989
- /**
990
- * Gets or sets the target Resource name.
991
- */
992
- targetResourceName: string;
993
- }
994
-
995
- /**
996
- * Defines the Sql ElasticPool resource settings.
997
- */
998
- export interface SqlElasticPoolResourceSettings {
999
- /**
1000
- * Polymorphic Discriminator
1001
- */
1002
- resourceType: "Microsoft.Sql/servers/elasticPools";
1003
- /**
1004
- * Gets or sets the target Resource name.
1005
- */
1006
- targetResourceName: string;
1007
- /**
1008
- * Possible values include: 'Enable', 'Disable'
1009
- */
1010
- zoneRedundant?: ZoneRedundant;
1011
- }
1012
-
1013
- /**
1014
- * Defines the Sql Database resource settings.
1015
- */
1016
- export interface SqlDatabaseResourceSettings {
1017
- /**
1018
- * Polymorphic Discriminator
1019
- */
1020
- resourceType: "Microsoft.Sql/servers/databases";
1021
- /**
1022
- * Gets or sets the target Resource name.
1023
- */
1024
- targetResourceName: string;
1025
- /**
1026
- * Possible values include: 'Enable', 'Disable'
1027
- */
1028
- zoneRedundant?: ZoneRedundant;
1029
- }
1030
-
1031
- /**
1032
- * Defines the resource group resource settings.
1033
- */
1034
- export interface ResourceGroupResourceSettings {
1035
- /**
1036
- * Polymorphic Discriminator
1037
- */
1038
- resourceType: "resourceGroups";
1039
- /**
1040
- * Gets or sets the target Resource name.
1041
- */
1042
- targetResourceName: string;
1043
- }
1044
-
1045
- /**
1046
- * Defines the public IP address resource settings.
1047
- */
1048
- export interface PublicIPAddressResourceSettings {
1049
- /**
1050
- * Polymorphic Discriminator
1051
- */
1052
- resourceType: "Microsoft.Network/publicIPAddresses";
1053
- /**
1054
- * Gets or sets the target Resource name.
1055
- */
1056
- targetResourceName: string;
1057
- /**
1058
- * Gets or sets the domain name label.
1059
- */
1060
- domainNameLabel?: string;
1061
- /**
1062
- * Gets or sets the fully qualified domain name.
1063
- */
1064
- fqdn?: string;
1065
- /**
1066
- * Gets or sets public IP allocation method.
1067
- */
1068
- publicIpAllocationMethod?: string;
1069
- /**
1070
- * Gets or sets public IP sku.
1071
- */
1072
- sku?: string;
1073
- /**
1074
- * Gets or sets public IP zones.
1075
- */
781
+ /** Gets or sets the csv list of zones. */
1076
782
  zones?: string;
1077
783
  }
1078
784
 
1079
- /**
1080
- * Defines the key vault resource settings.
1081
- */
1082
- export interface KeyVaultResourceSettings {
1083
- /**
1084
- * Polymorphic Discriminator
1085
- */
1086
- resourceType: "Microsoft.KeyVault/vaults";
1087
- /**
1088
- * Gets or sets the target Resource name.
1089
- */
1090
- targetResourceName: string;
1091
- }
1092
-
1093
- /**
1094
- * Defines the disk encryption set resource settings.
1095
- */
1096
- export interface DiskEncryptionSetResourceSettings {
1097
- /**
1098
- * Polymorphic Discriminator
1099
- */
1100
- resourceType: "Microsoft.Compute/diskEncryptionSets";
1101
- /**
1102
- * Gets or sets the target Resource name.
1103
- */
1104
- targetResourceName: string;
1105
- }
1106
-
1107
- /**
1108
- * The RP custom operation error info.
1109
- */
1110
- export interface AffectedMoveResource {
1111
- /**
1112
- * The affected move resource id.
1113
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1114
- */
1115
- readonly id?: string;
1116
- /**
1117
- * The affected move resource source id.
1118
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1119
- */
1120
- readonly sourceId?: string;
1121
- /**
1122
- * The affected move resources.
1123
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1124
- */
1125
- readonly moveResources?: AffectedMoveResource[];
1126
- }
1127
-
1128
- /**
1129
- * The move custom error info.
1130
- */
1131
- export interface MoveErrorInfo {
1132
- /**
1133
- * The affected move resources.
1134
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1135
- */
1136
- readonly moveResources?: AffectedMoveResource[];
1137
- }
1138
-
1139
- /**
1140
- * The operation error info.
1141
- */
1142
- export interface OperationErrorAdditionalInfo {
1143
- /**
1144
- * The error type.
1145
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1146
- */
1147
- readonly type?: string;
1148
- /**
1149
- * The operation error info.
1150
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1151
- */
1152
- readonly info?: MoveErrorInfo;
1153
- }
1154
-
1155
- /**
1156
- * Class for operation status errors.
1157
- */
1158
- export interface OperationStatusError {
1159
- /**
1160
- * The error code.
1161
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1162
- */
1163
- readonly code?: string;
1164
- /**
1165
- * The error message.
1166
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1167
- */
1168
- readonly message?: string;
1169
- /**
1170
- * The error details.
1171
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1172
- */
1173
- readonly details?: OperationStatusError[];
1174
- /**
1175
- * The additional info.
1176
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1177
- */
1178
- readonly additionalInfo?: OperationErrorAdditionalInfo[];
1179
- }
1180
-
1181
- /**
1182
- * Operation status REST resource.
1183
- */
1184
- export interface OperationStatus {
1185
- /**
1186
- * Resource Id.
1187
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1188
- */
1189
- readonly id?: string;
1190
- /**
1191
- * Operation name.
1192
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1193
- */
1194
- readonly name?: string;
1195
- /**
1196
- * Status of the operation. ARM expects the terminal status to be one of Succeeded/ Failed/
1197
- * Canceled. All other values imply that the operation is still running.
1198
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1199
- */
1200
- readonly status?: string;
1201
- /**
1202
- * Start time.
1203
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1204
- */
1205
- readonly startTime?: string;
1206
- /**
1207
- * End time.
1208
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1209
- */
1210
- readonly endTime?: string;
1211
- /**
1212
- * Error stating all error details for the operation.
1213
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1214
- */
1215
- readonly error?: OperationStatusError;
1216
- /**
1217
- * Custom data.
1218
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1219
- */
1220
- readonly properties?: any;
1221
- }
1222
-
1223
- /**
1224
- * Optional Parameters.
1225
- */
1226
- export interface MoveCollectionsCreateOptionalParams extends msRest.RequestOptionsBase {
1227
- body?: MoveCollection;
1228
- }
1229
-
1230
- /**
1231
- * Optional Parameters.
1232
- */
1233
- export interface MoveCollectionsUpdateOptionalParams extends msRest.RequestOptionsBase {
1234
- body?: UpdateMoveCollectionRequest;
1235
- }
1236
-
1237
- /**
1238
- * Optional Parameters.
1239
- */
1240
- export interface MoveCollectionsPrepareOptionalParams extends msRest.RequestOptionsBase {
1241
- body?: PrepareRequest;
1242
- }
1243
-
1244
- /**
1245
- * Optional Parameters.
1246
- */
1247
- export interface MoveCollectionsInitiateMoveOptionalParams extends msRest.RequestOptionsBase {
1248
- body?: ResourceMoveRequest;
1249
- }
1250
-
1251
- /**
1252
- * Optional Parameters.
1253
- */
1254
- export interface MoveCollectionsCommitOptionalParams extends msRest.RequestOptionsBase {
1255
- body?: CommitRequest;
1256
- }
1257
-
1258
- /**
1259
- * Optional Parameters.
1260
- */
1261
- export interface MoveCollectionsDiscardOptionalParams extends msRest.RequestOptionsBase {
1262
- body?: DiscardRequest;
1263
- }
1264
-
1265
- /**
1266
- * Optional Parameters.
1267
- */
1268
- export interface MoveCollectionsBulkRemoveOptionalParams extends msRest.RequestOptionsBase {
1269
- body?: BulkRemoveRequest;
1270
- }
1271
-
1272
- /**
1273
- * Optional Parameters.
1274
- */
1275
- export interface MoveCollectionsBeginPrepareOptionalParams extends msRest.RequestOptionsBase {
1276
- body?: PrepareRequest;
1277
- }
1278
-
1279
- /**
1280
- * Optional Parameters.
1281
- */
1282
- export interface MoveCollectionsBeginInitiateMoveOptionalParams extends msRest.RequestOptionsBase {
1283
- body?: ResourceMoveRequest;
1284
- }
1285
-
1286
- /**
1287
- * Optional Parameters.
1288
- */
1289
- export interface MoveCollectionsBeginCommitOptionalParams extends msRest.RequestOptionsBase {
1290
- body?: CommitRequest;
1291
- }
1292
-
1293
- /**
1294
- * Optional Parameters.
1295
- */
1296
- export interface MoveCollectionsBeginDiscardOptionalParams extends msRest.RequestOptionsBase {
1297
- body?: DiscardRequest;
1298
- }
1299
-
1300
- /**
1301
- * Optional Parameters.
1302
- */
1303
- export interface MoveCollectionsBeginBulkRemoveOptionalParams extends msRest.RequestOptionsBase {
1304
- body?: BulkRemoveRequest;
1305
- }
1306
-
1307
- /**
1308
- * Optional Parameters.
1309
- */
1310
- export interface MoveResourcesListOptionalParams extends msRest.RequestOptionsBase {
1311
- /**
1312
- * The filter to apply on the operation. For example, you can use
1313
- * $filter=Properties/ProvisioningState eq 'Succeeded'.
1314
- */
1315
- filter?: string;
1316
- }
1317
-
1318
- /**
1319
- * Optional Parameters.
1320
- */
1321
- export interface MoveResourcesCreateOptionalParams extends msRest.RequestOptionsBase {
1322
- properties?: MoveResourceProperties;
1323
- }
1324
-
1325
- /**
1326
- * Optional Parameters.
1327
- */
1328
- export interface MoveResourcesBeginCreateOptionalParams extends msRest.RequestOptionsBase {
1329
- properties?: MoveResourceProperties;
1330
- }
1331
-
1332
- /**
1333
- * Optional Parameters.
1334
- */
1335
- export interface MoveResourcesListNextOptionalParams extends msRest.RequestOptionsBase {
1336
- /**
1337
- * The filter to apply on the operation. For example, you can use
1338
- * $filter=Properties/ProvisioningState eq 'Succeeded'.
1339
- */
1340
- filter?: string;
1341
- }
1342
-
1343
- /**
1344
- * Optional Parameters.
1345
- */
1346
- export interface UnresolvedDependenciesGetOptionalParams extends msRest.RequestOptionsBase {
1347
- /**
1348
- * Defines the dependency level. Possible values include: 'Direct', 'Descendant'
1349
- */
1350
- dependencyLevel?: DependencyLevel;
1351
- /**
1352
- * OData order by query option. For example, you can use $orderby=Count desc.
1353
- */
1354
- orderby?: string;
1355
- /**
1356
- * The filter to apply on the operation. For example, $apply=filter(count eq 2).
1357
- */
1358
- filter?: string;
1359
- }
1360
-
1361
- /**
1362
- * Optional Parameters.
1363
- */
1364
- export interface UnresolvedDependenciesGetNextOptionalParams extends msRest.RequestOptionsBase {
1365
- /**
1366
- * Defines the dependency level. Possible values include: 'Direct', 'Descendant'
1367
- */
1368
- dependencyLevel?: DependencyLevel;
1369
- /**
1370
- * OData order by query option. For example, you can use $orderby=Count desc.
1371
- */
1372
- orderby?: string;
1373
- /**
1374
- * The filter to apply on the operation. For example, $apply=filter(count eq 2).
1375
- */
1376
- filter?: string;
1377
- }
1378
-
1379
- /**
1380
- * An interface representing ResourceMoverServiceAPIOptions.
1381
- */
1382
- export interface ResourceMoverServiceAPIOptions extends AzureServiceClientOptions {
1383
- baseUri?: string;
1384
- }
1385
-
1386
- /**
1387
- * @interface
1388
- * Defines the collection of move collections.
1389
- * @extends Array<MoveCollection>
1390
- */
1391
- export interface MoveCollectionResultList extends Array<MoveCollection> {
1392
- /**
1393
- * Gets the value of next link.
1394
- */
1395
- nextLink?: string;
1396
- }
1397
-
1398
- /**
1399
- * @interface
1400
- * Defines the collection of move resources.
1401
- * @extends Array<MoveResource>
1402
- */
1403
- export interface MoveResourceCollection extends Array<MoveResource> {
1404
- /**
1405
- * Gets the value of next link.
1406
- */
1407
- nextLink?: string;
1408
- /**
1409
- * Gets or sets the list of summary items and the field on which summary is done.
1410
- */
1411
- summaryCollection?: SummaryCollection;
1412
- /**
1413
- * Gets the total count.
1414
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1415
- */
1416
- readonly totalCount?: number;
1417
- }
1418
-
1419
- /**
1420
- * @interface
1421
- * Unresolved dependency collection.
1422
- * @extends Array<UnresolvedDependency>
1423
- */
1424
- export interface UnresolvedDependencyCollection extends Array<UnresolvedDependency> {
1425
- /**
1426
- * Gets or sets the value of next link.
1427
- */
1428
- nextLink?: string;
1429
- /**
1430
- * Gets or sets the list of summary items and the field on which summary is done.
1431
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1432
- */
1433
- readonly summaryCollection?: SummaryCollection;
1434
- /**
1435
- * Gets the total count.
1436
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
1437
- */
1438
- readonly totalCount?: number;
1439
- }
1440
-
1441
- /**
1442
- * Defines values for ResourceIdentityType.
1443
- * Possible values include: 'None', 'SystemAssigned', 'UserAssigned'
1444
- * @readonly
1445
- * @enum {string}
1446
- */
1447
- export type ResourceIdentityType = 'None' | 'SystemAssigned' | 'UserAssigned';
1448
-
1449
- /**
1450
- * Defines values for MoveState.
1451
- * Possible values include: 'AssignmentPending', 'PreparePending', 'PrepareInProgress',
1452
- * 'PrepareFailed', 'MovePending', 'MoveInProgress', 'MoveFailed', 'DiscardInProgress',
1453
- * 'DiscardFailed', 'CommitPending', 'CommitInProgress', 'CommitFailed', 'Committed',
1454
- * 'DeleteSourcePending', 'ResourceMoveCompleted'
1455
- * @readonly
1456
- * @enum {string}
1457
- */
1458
- export type MoveState = 'AssignmentPending' | 'PreparePending' | 'PrepareInProgress' | 'PrepareFailed' | 'MovePending' | 'MoveInProgress' | 'MoveFailed' | 'DiscardInProgress' | 'DiscardFailed' | 'CommitPending' | 'CommitInProgress' | 'CommitFailed' | 'Committed' | 'DeleteSourcePending' | 'ResourceMoveCompleted';
1459
-
1460
- /**
1461
- * Defines values for MoveResourceInputType.
1462
- * Possible values include: 'MoveResourceId', 'MoveResourceSourceId'
1463
- * @readonly
1464
- * @enum {string}
1465
- */
1466
- export type MoveResourceInputType = 'MoveResourceId' | 'MoveResourceSourceId';
1467
-
1468
- /**
1469
- * Defines values for ProvisioningState.
1470
- * Possible values include: 'Succeeded', 'Updating', 'Creating', 'Failed'
1471
- * @readonly
1472
- * @enum {string}
1473
- */
1474
- export type ProvisioningState = 'Succeeded' | 'Updating' | 'Creating' | 'Failed';
1475
-
1476
- /**
1477
- * Defines values for JobName.
1478
- * Possible values include: 'InitialSync'
1479
- * @readonly
1480
- * @enum {string}
1481
- */
1482
- export type JobName = 'InitialSync';
1483
-
1484
- /**
1485
- * Defines values for ResolutionType.
1486
- * Possible values include: 'Manual', 'Automatic'
1487
- * @readonly
1488
- * @enum {string}
1489
- */
1490
- export type ResolutionType = 'Manual' | 'Automatic';
1491
-
1492
- /**
1493
- * Defines values for DependencyType.
1494
- * Possible values include: 'RequiredForPrepare', 'RequiredForMove'
1495
- * @readonly
1496
- * @enum {string}
1497
- */
1498
- export type DependencyType = 'RequiredForPrepare' | 'RequiredForMove';
1499
-
1500
- /**
1501
- * Defines values for TargetAvailabilityZone.
1502
- * Possible values include: '1', '2', '3', 'NA'
1503
- * @readonly
1504
- * @enum {string}
1505
- */
1506
- export type TargetAvailabilityZone = '1' | '2' | '3' | 'NA';
785
+ /** Defines load balancer backend address pool properties. */
786
+ export interface LBBackendAddressPoolResourceSettings {
787
+ /** Gets or sets the backend address pool name. */
788
+ name?: string;
789
+ }
1507
790
 
1508
- /**
1509
- * Defines values for ZoneRedundant.
1510
- * Possible values include: 'Enable', 'Disable'
1511
- * @readonly
1512
- * @enum {string}
1513
- */
1514
- export type ZoneRedundant = 'Enable' | 'Disable';
791
+ /** Defines the move collection errors. */
792
+ export type MoveCollectionPropertiesErrors = MoveResourceError & {};
1515
793
 
1516
- /**
1517
- * Defines values for DependencyLevel.
1518
- * Possible values include: 'Direct', 'Descendant'
1519
- * @readonly
1520
- * @enum {string}
1521
- */
1522
- export type DependencyLevel = 'Direct' | 'Descendant';
794
+ /** Defines the move resource errors. */
795
+ export type MoveResourcePropertiesErrors = MoveResourceError & {};
1523
796
 
1524
- /**
1525
- * Contains response data for the create operation.
1526
- */
1527
- export type MoveCollectionsCreateResponse = MoveCollection & {
1528
- /**
1529
- * The underlying HTTP response.
1530
- */
1531
- _response: msRest.HttpResponse & {
1532
- /**
1533
- * The response body as text (string format)
1534
- */
1535
- bodyAsText: string;
797
+ /** Gets or sets the virtual machine resource settings. */
798
+ export type VirtualMachineResourceSettings = ResourceSettings & {
799
+ /** Polymorphic discriminator, which specifies the different types this object can be */
800
+ resourceType: "Microsoft.Compute/virtualMachines";
801
+ /** Gets or sets the Resource tags. */
802
+ tags?: { [propertyName: string]: string };
803
+ /** Gets or sets user-managed identities */
804
+ userManagedIdentities?: string[];
805
+ /** Gets or sets the target availability zone. */
806
+ targetAvailabilityZone?: TargetAvailabilityZone;
807
+ /** Gets or sets the target virtual machine size. */
808
+ targetVmSize?: string;
809
+ /** Gets or sets the target availability set id for virtual machines not in an availability set at source. */
810
+ targetAvailabilitySetId?: string;
811
+ };
1536
812
 
1537
- /**
1538
- * The response body as parsed JSON or XML
1539
- */
1540
- parsedBody: MoveCollection;
1541
- };
813
+ /** Gets or sets the availability set resource settings. */
814
+ export type AvailabilitySetResourceSettings = ResourceSettings & {
815
+ /** Polymorphic discriminator, which specifies the different types this object can be */
816
+ resourceType: "Microsoft.Compute/availabilitySets";
817
+ /** Gets or sets the Resource tags. */
818
+ tags?: { [propertyName: string]: string };
819
+ /** Gets or sets the target fault domain. */
820
+ faultDomain?: number;
821
+ /** Gets or sets the target update domain. */
822
+ updateDomain?: number;
1542
823
  };
1543
824
 
1544
- /**
1545
- * Contains response data for the update operation.
1546
- */
1547
- export type MoveCollectionsUpdateResponse = MoveCollection & {
825
+ /** Defines the virtual network resource settings. */
826
+ export type VirtualNetworkResourceSettings = ResourceSettings & {
827
+ /** Polymorphic discriminator, which specifies the different types this object can be */
828
+ resourceType: "Microsoft.Network/virtualNetworks";
829
+ /** Gets or sets the Resource tags. */
830
+ tags?: { [propertyName: string]: string };
1548
831
  /**
1549
- * The underlying HTTP response.
832
+ * Gets or sets a value indicating whether gets or sets whether the
833
+ * DDOS protection should be switched on.
1550
834
  */
1551
- _response: msRest.HttpResponse & {
1552
- /**
1553
- * The response body as text (string format)
1554
- */
1555
- bodyAsText: string;
1556
-
1557
- /**
1558
- * The response body as parsed JSON or XML
1559
- */
1560
- parsedBody: MoveCollection;
1561
- };
1562
- };
1563
-
1564
- /**
1565
- * Contains response data for the deleteMethod operation.
1566
- */
1567
- export type MoveCollectionsDeleteMethodResponse = OperationStatus & {
835
+ enableDdosProtection?: boolean;
836
+ /** Gets or sets the address prefixes for the virtual network. */
837
+ addressSpace?: string[];
1568
838
  /**
1569
- * The underlying HTTP response.
839
+ * Gets or sets DHCPOptions that contains an array of DNS servers available to VMs
840
+ * deployed in the virtual network.
1570
841
  */
1571
- _response: msRest.HttpResponse & {
1572
- /**
1573
- * The response body as text (string format)
1574
- */
1575
- bodyAsText: string;
1576
-
1577
- /**
1578
- * The response body as parsed JSON or XML
1579
- */
1580
- parsedBody: OperationStatus;
1581
- };
842
+ dnsServers?: string[];
843
+ /** Gets or sets List of subnets in a VirtualNetwork. */
844
+ subnets?: SubnetResourceSettings[];
1582
845
  };
1583
846
 
1584
- /**
1585
- * Contains response data for the get operation.
1586
- */
1587
- export type MoveCollectionsGetResponse = MoveCollection & {
1588
- /**
1589
- * The underlying HTTP response.
1590
- */
1591
- _response: msRest.HttpResponse & {
1592
- /**
1593
- * The response body as text (string format)
1594
- */
1595
- bodyAsText: string;
847
+ /** Defines the network interface resource settings. */
848
+ export type NetworkInterfaceResourceSettings = ResourceSettings & {
849
+ /** Polymorphic discriminator, which specifies the different types this object can be */
850
+ resourceType: "Microsoft.Network/networkInterfaces";
851
+ /** Gets or sets the Resource tags. */
852
+ tags?: { [propertyName: string]: string };
853
+ /** Gets or sets the IP configurations of the NIC. */
854
+ ipConfigurations?: NicIpConfigurationResourceSettings[];
855
+ /** Gets or sets a value indicating whether accelerated networking is enabled. */
856
+ enableAcceleratedNetworking?: boolean;
857
+ };
1596
858
 
1597
- /**
1598
- * The response body as parsed JSON or XML
1599
- */
1600
- parsedBody: MoveCollection;
1601
- };
859
+ /** Defines the NSG resource settings. */
860
+ export type NetworkSecurityGroupResourceSettings = ResourceSettings & {
861
+ /** Polymorphic discriminator, which specifies the different types this object can be */
862
+ resourceType: "Microsoft.Network/networkSecurityGroups";
863
+ /** Gets or sets the Resource tags. */
864
+ tags?: { [propertyName: string]: string };
865
+ /** Gets or sets Security rules of network security group. */
866
+ securityRules?: NsgSecurityRule[];
1602
867
  };
1603
868
 
1604
- /**
1605
- * Contains response data for the prepare operation.
1606
- */
1607
- export type MoveCollectionsPrepareResponse = OperationStatus & {
869
+ /** Defines the load balancer resource settings. */
870
+ export type LoadBalancerResourceSettings = ResourceSettings & {
871
+ /** Polymorphic discriminator, which specifies the different types this object can be */
872
+ resourceType: "Microsoft.Network/loadBalancers";
873
+ /** Gets or sets the Resource tags. */
874
+ tags?: { [propertyName: string]: string };
875
+ /** Gets or sets load balancer sku (Basic/Standard). */
876
+ sku?: string;
877
+ /** Gets or sets the frontend IP configurations of the load balancer. */
878
+ frontendIPConfigurations?: LBFrontendIPConfigurationResourceSettings[];
879
+ /** Gets or sets the backend address pools of the load balancer. */
880
+ backendAddressPools?: LBBackendAddressPoolResourceSettings[];
1608
881
  /**
1609
- * The underlying HTTP response.
882
+ * Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given
883
+ * precedence only if frontend IP configurations settings are not present.
1610
884
  */
1611
- _response: msRest.HttpResponse & {
1612
- /**
1613
- * The response body as text (string format)
1614
- */
1615
- bodyAsText: string;
885
+ zones?: string;
886
+ };
1616
887
 
1617
- /**
1618
- * The response body as parsed JSON or XML
1619
- */
1620
- parsedBody: OperationStatus;
1621
- };
888
+ /** Defines the SQL Server resource settings. */
889
+ export type SqlServerResourceSettings = ResourceSettings & {
890
+ /** Polymorphic discriminator, which specifies the different types this object can be */
891
+ resourceType: "Microsoft.Sql/servers";
1622
892
  };
1623
893
 
1624
- /**
1625
- * Contains response data for the initiateMove operation.
1626
- */
1627
- export type MoveCollectionsInitiateMoveResponse = OperationStatus & {
1628
- /**
1629
- * The underlying HTTP response.
1630
- */
1631
- _response: msRest.HttpResponse & {
1632
- /**
1633
- * The response body as text (string format)
1634
- */
1635
- bodyAsText: string;
894
+ /** Defines the Sql ElasticPool resource settings. */
895
+ export type SqlElasticPoolResourceSettings = ResourceSettings & {
896
+ /** Polymorphic discriminator, which specifies the different types this object can be */
897
+ resourceType: "Microsoft.Sql/servers/elasticPools";
898
+ /** Gets or sets the Resource tags. */
899
+ tags?: { [propertyName: string]: string };
900
+ /** Defines the zone redundant resource setting. */
901
+ zoneRedundant?: ZoneRedundant;
902
+ };
1636
903
 
1637
- /**
1638
- * The response body as parsed JSON or XML
1639
- */
1640
- parsedBody: OperationStatus;
1641
- };
904
+ /** Defines the Sql Database resource settings. */
905
+ export type SqlDatabaseResourceSettings = ResourceSettings & {
906
+ /** Polymorphic discriminator, which specifies the different types this object can be */
907
+ resourceType: "Microsoft.Sql/servers/databases";
908
+ /** Gets or sets the Resource tags. */
909
+ tags?: { [propertyName: string]: string };
910
+ /** Defines the zone redundant resource setting. */
911
+ zoneRedundant?: ZoneRedundant;
1642
912
  };
1643
913
 
1644
- /**
1645
- * Contains response data for the commit operation.
1646
- */
1647
- export type MoveCollectionsCommitResponse = OperationStatus & {
1648
- /**
1649
- * The underlying HTTP response.
1650
- */
1651
- _response: msRest.HttpResponse & {
1652
- /**
1653
- * The response body as text (string format)
1654
- */
1655
- bodyAsText: string;
914
+ /** Defines the resource group resource settings. */
915
+ export type ResourceGroupResourceSettings = ResourceSettings & {
916
+ /** Polymorphic discriminator, which specifies the different types this object can be */
917
+ resourceType: "resourceGroups";
918
+ };
1656
919
 
1657
- /**
1658
- * The response body as parsed JSON or XML
1659
- */
1660
- parsedBody: OperationStatus;
1661
- };
920
+ /** Defines the public IP address resource settings. */
921
+ export type PublicIPAddressResourceSettings = ResourceSettings & {
922
+ /** Polymorphic discriminator, which specifies the different types this object can be */
923
+ resourceType: "Microsoft.Network/publicIPAddresses";
924
+ /** Gets or sets the Resource tags. */
925
+ tags?: { [propertyName: string]: string };
926
+ /** Gets or sets the domain name label. */
927
+ domainNameLabel?: string;
928
+ /** Gets or sets the fully qualified domain name. */
929
+ fqdn?: string;
930
+ /** Gets or sets public IP allocation method. */
931
+ publicIpAllocationMethod?: string;
932
+ /** Gets or sets public IP sku. */
933
+ sku?: string;
934
+ /** Gets or sets public IP zones. */
935
+ zones?: string;
1662
936
  };
1663
937
 
1664
- /**
1665
- * Contains response data for the discard operation.
1666
- */
1667
- export type MoveCollectionsDiscardResponse = OperationStatus & {
1668
- /**
1669
- * The underlying HTTP response.
1670
- */
1671
- _response: msRest.HttpResponse & {
1672
- /**
1673
- * The response body as text (string format)
1674
- */
1675
- bodyAsText: string;
938
+ /** Defines the key vault resource settings. */
939
+ export type KeyVaultResourceSettings = ResourceSettings & {
940
+ /** Polymorphic discriminator, which specifies the different types this object can be */
941
+ resourceType: "Microsoft.KeyVault/vaults";
942
+ };
1676
943
 
1677
- /**
1678
- * The response body as parsed JSON or XML
1679
- */
1680
- parsedBody: OperationStatus;
1681
- };
944
+ /** Defines the disk encryption set resource settings. */
945
+ export type DiskEncryptionSetResourceSettings = ResourceSettings & {
946
+ /** Polymorphic discriminator, which specifies the different types this object can be */
947
+ resourceType: "Microsoft.Compute/diskEncryptionSets";
1682
948
  };
1683
949
 
1684
- /**
1685
- * Contains response data for the resolveDependencies operation.
1686
- */
1687
- export type MoveCollectionsResolveDependenciesResponse = OperationStatus & {
1688
- /**
1689
- * The underlying HTTP response.
1690
- */
1691
- _response: msRest.HttpResponse & {
1692
- /**
1693
- * The response body as text (string format)
1694
- */
1695
- bodyAsText: string;
950
+ /** Defines the move resource status. */
951
+ export type MoveResourcePropertiesMoveStatus = MoveResourceStatus & {};
1696
952
 
1697
- /**
1698
- * The response body as parsed JSON or XML
1699
- */
1700
- parsedBody: OperationStatus;
1701
- };
953
+ /** Defines reference to NSG. */
954
+ export type NsgReference = AzureResourceReference & {};
955
+
956
+ /** Defines reference to a proxy resource. */
957
+ export type ProxyResourceReference = AzureResourceReference & {
958
+ /** Gets the name of the proxy resource on the target side. */
959
+ name?: string;
1702
960
  };
1703
961
 
1704
- /**
1705
- * Contains response data for the bulkRemove operation.
1706
- */
1707
- export type MoveCollectionsBulkRemoveResponse = OperationStatus & {
1708
- /**
1709
- * The underlying HTTP response.
1710
- */
1711
- _response: msRest.HttpResponse & {
1712
- /**
1713
- * The response body as text (string format)
1714
- */
1715
- bodyAsText: string;
962
+ /** Defines reference to a public IP. */
963
+ export type PublicIpReference = AzureResourceReference & {};
964
+
965
+ /** Defines reference to subnet. */
966
+ export type SubnetReference = ProxyResourceReference & {};
1716
967
 
1717
- /**
1718
- * The response body as parsed JSON or XML
1719
- */
1720
- parsedBody: OperationStatus;
1721
- };
1722
- };
968
+ /** Defines reference to load balancer backend address pools. */
969
+ export type LoadBalancerBackendAddressPoolReference = ProxyResourceReference & {};
1723
970
 
1724
- /**
1725
- * Contains response data for the listMoveCollectionsBySubscription operation.
971
+ /** Defines reference to load balancer NAT rules. */
972
+ export type LoadBalancerNatRuleReference = ProxyResourceReference & {};
973
+
974
+ /** Known values of {@link ResourceIdentityType} that the service accepts. */
975
+ export enum KnownResourceIdentityType {
976
+ None = "None",
977
+ SystemAssigned = "SystemAssigned",
978
+ UserAssigned = "UserAssigned"
979
+ }
980
+
981
+ /**
982
+ * Defines values for ResourceIdentityType. \
983
+ * {@link KnownResourceIdentityType} can be used interchangeably with ResourceIdentityType,
984
+ * this enum contains the known values that the service supports.
985
+ * ### Known values supported by the service
986
+ * **None** \
987
+ * **SystemAssigned** \
988
+ * **UserAssigned**
989
+ */
990
+ export type ResourceIdentityType = string;
991
+
992
+ /** Known values of {@link ProvisioningState} that the service accepts. */
993
+ export enum KnownProvisioningState {
994
+ Succeeded = "Succeeded",
995
+ Updating = "Updating",
996
+ Creating = "Creating",
997
+ Failed = "Failed"
998
+ }
999
+
1000
+ /**
1001
+ * Defines values for ProvisioningState. \
1002
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
1003
+ * this enum contains the known values that the service supports.
1004
+ * ### Known values supported by the service
1005
+ * **Succeeded** \
1006
+ * **Updating** \
1007
+ * **Creating** \
1008
+ * **Failed**
1726
1009
  */
1727
- export type MoveCollectionsListMoveCollectionsBySubscriptionResponse = MoveCollectionResultList & {
1728
- /**
1729
- * The underlying HTTP response.
1730
- */
1731
- _response: msRest.HttpResponse & {
1732
- /**
1733
- * The response body as text (string format)
1734
- */
1735
- bodyAsText: string;
1010
+ export type ProvisioningState = string;
1736
1011
 
1737
- /**
1738
- * The response body as parsed JSON or XML
1739
- */
1740
- parsedBody: MoveCollectionResultList;
1741
- };
1742
- };
1012
+ /** Known values of {@link CreatedByType} that the service accepts. */
1013
+ export enum KnownCreatedByType {
1014
+ User = "User",
1015
+ Application = "Application",
1016
+ ManagedIdentity = "ManagedIdentity",
1017
+ Key = "Key"
1018
+ }
1743
1019
 
1744
1020
  /**
1745
- * Contains response data for the listMoveCollectionsByResourceGroup operation.
1021
+ * Defines values for CreatedByType. \
1022
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
1023
+ * this enum contains the known values that the service supports.
1024
+ * ### Known values supported by the service
1025
+ * **User** \
1026
+ * **Application** \
1027
+ * **ManagedIdentity** \
1028
+ * **Key**
1746
1029
  */
1747
- export type MoveCollectionsListMoveCollectionsByResourceGroupResponse = MoveCollectionResultList & {
1748
- /**
1749
- * The underlying HTTP response.
1750
- */
1751
- _response: msRest.HttpResponse & {
1752
- /**
1753
- * The response body as text (string format)
1754
- */
1755
- bodyAsText: string;
1030
+ export type CreatedByType = string;
1756
1031
 
1757
- /**
1758
- * The response body as parsed JSON or XML
1759
- */
1760
- parsedBody: MoveCollectionResultList;
1761
- };
1762
- };
1032
+ /** Known values of {@link MoveResourceInputType} that the service accepts. */
1033
+ export enum KnownMoveResourceInputType {
1034
+ MoveResourceId = "MoveResourceId",
1035
+ MoveResourceSourceId = "MoveResourceSourceId"
1036
+ }
1763
1037
 
1764
1038
  /**
1765
- * Contains response data for the listRequiredFor operation.
1039
+ * Defines values for MoveResourceInputType. \
1040
+ * {@link KnownMoveResourceInputType} can be used interchangeably with MoveResourceInputType,
1041
+ * this enum contains the known values that the service supports.
1042
+ * ### Known values supported by the service
1043
+ * **MoveResourceId** \
1044
+ * **MoveResourceSourceId**
1766
1045
  */
1767
- export type MoveCollectionsListRequiredForResponse = RequiredForResourcesCollection & {
1768
- /**
1769
- * The underlying HTTP response.
1770
- */
1771
- _response: msRest.HttpResponse & {
1772
- /**
1773
- * The response body as text (string format)
1774
- */
1775
- bodyAsText: string;
1046
+ export type MoveResourceInputType = string;
1776
1047
 
1777
- /**
1778
- * The response body as parsed JSON or XML
1779
- */
1780
- parsedBody: RequiredForResourcesCollection;
1781
- };
1782
- };
1048
+ /** Known values of {@link MoveState} that the service accepts. */
1049
+ export enum KnownMoveState {
1050
+ AssignmentPending = "AssignmentPending",
1051
+ PreparePending = "PreparePending",
1052
+ PrepareInProgress = "PrepareInProgress",
1053
+ PrepareFailed = "PrepareFailed",
1054
+ MovePending = "MovePending",
1055
+ MoveInProgress = "MoveInProgress",
1056
+ MoveFailed = "MoveFailed",
1057
+ DiscardInProgress = "DiscardInProgress",
1058
+ DiscardFailed = "DiscardFailed",
1059
+ CommitPending = "CommitPending",
1060
+ CommitInProgress = "CommitInProgress",
1061
+ CommitFailed = "CommitFailed",
1062
+ Committed = "Committed",
1063
+ DeleteSourcePending = "DeleteSourcePending",
1064
+ ResourceMoveCompleted = "ResourceMoveCompleted"
1065
+ }
1783
1066
 
1784
1067
  /**
1785
- * Contains response data for the beginDeleteMethod operation.
1068
+ * Defines values for MoveState. \
1069
+ * {@link KnownMoveState} can be used interchangeably with MoveState,
1070
+ * this enum contains the known values that the service supports.
1071
+ * ### Known values supported by the service
1072
+ * **AssignmentPending** \
1073
+ * **PreparePending** \
1074
+ * **PrepareInProgress** \
1075
+ * **PrepareFailed** \
1076
+ * **MovePending** \
1077
+ * **MoveInProgress** \
1078
+ * **MoveFailed** \
1079
+ * **DiscardInProgress** \
1080
+ * **DiscardFailed** \
1081
+ * **CommitPending** \
1082
+ * **CommitInProgress** \
1083
+ * **CommitFailed** \
1084
+ * **Committed** \
1085
+ * **DeleteSourcePending** \
1086
+ * **ResourceMoveCompleted**
1786
1087
  */
1787
- export type MoveCollectionsBeginDeleteMethodResponse = OperationStatus & {
1788
- /**
1789
- * The underlying HTTP response.
1790
- */
1791
- _response: msRest.HttpResponse & {
1792
- /**
1793
- * The response body as text (string format)
1794
- */
1795
- bodyAsText: string;
1088
+ export type MoveState = string;
1796
1089
 
1797
- /**
1798
- * The response body as parsed JSON or XML
1799
- */
1800
- parsedBody: OperationStatus;
1801
- };
1802
- };
1090
+ /** Known values of {@link JobName} that the service accepts. */
1091
+ export enum KnownJobName {
1092
+ InitialSync = "InitialSync"
1093
+ }
1803
1094
 
1804
1095
  /**
1805
- * Contains response data for the beginPrepare operation.
1096
+ * Defines values for JobName. \
1097
+ * {@link KnownJobName} can be used interchangeably with JobName,
1098
+ * this enum contains the known values that the service supports.
1099
+ * ### Known values supported by the service
1100
+ * **InitialSync**
1806
1101
  */
1807
- export type MoveCollectionsBeginPrepareResponse = OperationStatus & {
1808
- /**
1809
- * The underlying HTTP response.
1810
- */
1811
- _response: msRest.HttpResponse & {
1812
- /**
1813
- * The response body as text (string format)
1814
- */
1815
- bodyAsText: string;
1102
+ export type JobName = string;
1816
1103
 
1817
- /**
1818
- * The response body as parsed JSON or XML
1819
- */
1820
- parsedBody: OperationStatus;
1821
- };
1822
- };
1104
+ /** Known values of {@link ResolutionType} that the service accepts. */
1105
+ export enum KnownResolutionType {
1106
+ Manual = "Manual",
1107
+ Automatic = "Automatic"
1108
+ }
1823
1109
 
1824
1110
  /**
1825
- * Contains response data for the beginInitiateMove operation.
1111
+ * Defines values for ResolutionType. \
1112
+ * {@link KnownResolutionType} can be used interchangeably with ResolutionType,
1113
+ * this enum contains the known values that the service supports.
1114
+ * ### Known values supported by the service
1115
+ * **Manual** \
1116
+ * **Automatic**
1826
1117
  */
1827
- export type MoveCollectionsBeginInitiateMoveResponse = OperationStatus & {
1828
- /**
1829
- * The underlying HTTP response.
1830
- */
1831
- _response: msRest.HttpResponse & {
1832
- /**
1833
- * The response body as text (string format)
1834
- */
1835
- bodyAsText: string;
1118
+ export type ResolutionType = string;
1836
1119
 
1837
- /**
1838
- * The response body as parsed JSON or XML
1839
- */
1840
- parsedBody: OperationStatus;
1841
- };
1842
- };
1120
+ /** Known values of {@link DependencyType} that the service accepts. */
1121
+ export enum KnownDependencyType {
1122
+ RequiredForPrepare = "RequiredForPrepare",
1123
+ RequiredForMove = "RequiredForMove"
1124
+ }
1843
1125
 
1844
1126
  /**
1845
- * Contains response data for the beginCommit operation.
1127
+ * Defines values for DependencyType. \
1128
+ * {@link KnownDependencyType} can be used interchangeably with DependencyType,
1129
+ * this enum contains the known values that the service supports.
1130
+ * ### Known values supported by the service
1131
+ * **RequiredForPrepare** \
1132
+ * **RequiredForMove**
1846
1133
  */
1847
- export type MoveCollectionsBeginCommitResponse = OperationStatus & {
1848
- /**
1849
- * The underlying HTTP response.
1850
- */
1851
- _response: msRest.HttpResponse & {
1852
- /**
1853
- * The response body as text (string format)
1854
- */
1855
- bodyAsText: string;
1134
+ export type DependencyType = string;
1856
1135
 
1857
- /**
1858
- * The response body as parsed JSON or XML
1859
- */
1860
- parsedBody: OperationStatus;
1861
- };
1862
- };
1136
+ /** Known values of {@link DependencyLevel} that the service accepts. */
1137
+ export enum KnownDependencyLevel {
1138
+ Direct = "Direct",
1139
+ Descendant = "Descendant"
1140
+ }
1863
1141
 
1864
1142
  /**
1865
- * Contains response data for the beginDiscard operation.
1143
+ * Defines values for DependencyLevel. \
1144
+ * {@link KnownDependencyLevel} can be used interchangeably with DependencyLevel,
1145
+ * this enum contains the known values that the service supports.
1146
+ * ### Known values supported by the service
1147
+ * **Direct** \
1148
+ * **Descendant**
1866
1149
  */
1867
- export type MoveCollectionsBeginDiscardResponse = OperationStatus & {
1868
- /**
1869
- * The underlying HTTP response.
1870
- */
1871
- _response: msRest.HttpResponse & {
1872
- /**
1873
- * The response body as text (string format)
1874
- */
1875
- bodyAsText: string;
1150
+ export type DependencyLevel = string;
1876
1151
 
1877
- /**
1878
- * The response body as parsed JSON or XML
1879
- */
1880
- parsedBody: OperationStatus;
1881
- };
1882
- };
1152
+ /** Known values of {@link TargetAvailabilityZone} that the service accepts. */
1153
+ export enum KnownTargetAvailabilityZone {
1154
+ One = "1",
1155
+ Two = "2",
1156
+ Three = "3",
1157
+ NA = "NA"
1158
+ }
1883
1159
 
1884
1160
  /**
1885
- * Contains response data for the beginResolveDependencies operation.
1161
+ * Defines values for TargetAvailabilityZone. \
1162
+ * {@link KnownTargetAvailabilityZone} can be used interchangeably with TargetAvailabilityZone,
1163
+ * this enum contains the known values that the service supports.
1164
+ * ### Known values supported by the service
1165
+ * **1** \
1166
+ * **2** \
1167
+ * **3** \
1168
+ * **NA**
1886
1169
  */
1887
- export type MoveCollectionsBeginResolveDependenciesResponse = OperationStatus & {
1888
- /**
1889
- * The underlying HTTP response.
1890
- */
1891
- _response: msRest.HttpResponse & {
1892
- /**
1893
- * The response body as text (string format)
1894
- */
1895
- bodyAsText: string;
1170
+ export type TargetAvailabilityZone = string;
1896
1171
 
1897
- /**
1898
- * The response body as parsed JSON or XML
1899
- */
1900
- parsedBody: OperationStatus;
1901
- };
1902
- };
1172
+ /** Known values of {@link ZoneRedundant} that the service accepts. */
1173
+ export enum KnownZoneRedundant {
1174
+ Enable = "Enable",
1175
+ Disable = "Disable"
1176
+ }
1903
1177
 
1904
1178
  /**
1905
- * Contains response data for the beginBulkRemove operation.
1179
+ * Defines values for ZoneRedundant. \
1180
+ * {@link KnownZoneRedundant} can be used interchangeably with ZoneRedundant,
1181
+ * this enum contains the known values that the service supports.
1182
+ * ### Known values supported by the service
1183
+ * **Enable** \
1184
+ * **Disable**
1906
1185
  */
1907
- export type MoveCollectionsBeginBulkRemoveResponse = OperationStatus & {
1908
- /**
1909
- * The underlying HTTP response.
1910
- */
1911
- _response: msRest.HttpResponse & {
1912
- /**
1913
- * The response body as text (string format)
1914
- */
1915
- bodyAsText: string;
1186
+ export type ZoneRedundant = string;
1916
1187
 
1917
- /**
1918
- * The response body as parsed JSON or XML
1919
- */
1920
- parsedBody: OperationStatus;
1921
- };
1922
- };
1188
+ /** Optional parameters. */
1189
+ export interface MoveCollectionsCreateOptionalParams
1190
+ extends coreClient.OperationOptions {
1191
+ /** Define the move collection. */
1192
+ body?: MoveCollection;
1193
+ }
1923
1194
 
1924
- /**
1925
- * Contains response data for the listMoveCollectionsBySubscriptionNext operation.
1926
- */
1927
- export type MoveCollectionsListMoveCollectionsBySubscriptionNextResponse = MoveCollectionResultList & {
1928
- /**
1929
- * The underlying HTTP response.
1930
- */
1931
- _response: msRest.HttpResponse & {
1932
- /**
1933
- * The response body as text (string format)
1934
- */
1935
- bodyAsText: string;
1195
+ /** Contains response data for the create operation. */
1196
+ export type MoveCollectionsCreateResponse = MoveCollection;
1936
1197
 
1937
- /**
1938
- * The response body as parsed JSON or XML
1939
- */
1940
- parsedBody: MoveCollectionResultList;
1941
- };
1942
- };
1198
+ /** Optional parameters. */
1199
+ export interface MoveCollectionsUpdateOptionalParams
1200
+ extends coreClient.OperationOptions {
1201
+ /** Defines the request body for updating move collection. */
1202
+ body?: UpdateMoveCollectionRequest;
1203
+ }
1943
1204
 
1944
- /**
1945
- * Contains response data for the listMoveCollectionsByResourceGroupNext operation.
1946
- */
1947
- export type MoveCollectionsListMoveCollectionsByResourceGroupNextResponse = MoveCollectionResultList & {
1948
- /**
1949
- * The underlying HTTP response.
1950
- */
1951
- _response: msRest.HttpResponse & {
1952
- /**
1953
- * The response body as text (string format)
1954
- */
1955
- bodyAsText: string;
1205
+ /** Contains response data for the update operation. */
1206
+ export type MoveCollectionsUpdateResponse = MoveCollection;
1956
1207
 
1957
- /**
1958
- * The response body as parsed JSON or XML
1959
- */
1960
- parsedBody: MoveCollectionResultList;
1961
- };
1962
- };
1208
+ /** Optional parameters. */
1209
+ export interface MoveCollectionsDeleteOptionalParams
1210
+ extends coreClient.OperationOptions {
1211
+ /** Delay to wait until next poll, in milliseconds. */
1212
+ updateIntervalInMs?: number;
1213
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1214
+ resumeFrom?: string;
1215
+ }
1963
1216
 
1964
- /**
1965
- * Contains response data for the list operation.
1966
- */
1967
- export type MoveResourcesListResponse = MoveResourceCollection & {
1968
- /**
1969
- * The underlying HTTP response.
1970
- */
1971
- _response: msRest.HttpResponse & {
1972
- /**
1973
- * The response body as text (string format)
1974
- */
1975
- bodyAsText: string;
1217
+ /** Contains response data for the delete operation. */
1218
+ export type MoveCollectionsDeleteResponse = OperationStatus;
1976
1219
 
1977
- /**
1978
- * The response body as parsed JSON or XML
1979
- */
1980
- parsedBody: MoveResourceCollection;
1981
- };
1982
- };
1220
+ /** Optional parameters. */
1221
+ export interface MoveCollectionsGetOptionalParams
1222
+ extends coreClient.OperationOptions {}
1983
1223
 
1984
- /**
1985
- * Contains response data for the create operation.
1986
- */
1987
- export type MoveResourcesCreateResponse = MoveResource & {
1988
- /**
1989
- * The underlying HTTP response.
1990
- */
1991
- _response: msRest.HttpResponse & {
1992
- /**
1993
- * The response body as text (string format)
1994
- */
1995
- bodyAsText: string;
1224
+ /** Contains response data for the get operation. */
1225
+ export type MoveCollectionsGetResponse = MoveCollection;
1996
1226
 
1997
- /**
1998
- * The response body as parsed JSON or XML
1999
- */
2000
- parsedBody: MoveResource;
2001
- };
2002
- };
1227
+ /** Optional parameters. */
1228
+ export interface MoveCollectionsPrepareOptionalParams
1229
+ extends coreClient.OperationOptions {
1230
+ /** Defines the request body for initiate prepare operation. */
1231
+ body?: PrepareRequest;
1232
+ /** Delay to wait until next poll, in milliseconds. */
1233
+ updateIntervalInMs?: number;
1234
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1235
+ resumeFrom?: string;
1236
+ }
2003
1237
 
2004
- /**
2005
- * Contains response data for the deleteMethod operation.
2006
- */
2007
- export type MoveResourcesDeleteMethodResponse = OperationStatus & {
2008
- /**
2009
- * The underlying HTTP response.
2010
- */
2011
- _response: msRest.HttpResponse & {
2012
- /**
2013
- * The response body as text (string format)
2014
- */
2015
- bodyAsText: string;
1238
+ /** Contains response data for the prepare operation. */
1239
+ export type MoveCollectionsPrepareResponse = OperationStatus;
2016
1240
 
2017
- /**
2018
- * The response body as parsed JSON or XML
2019
- */
2020
- parsedBody: OperationStatus;
2021
- };
2022
- };
1241
+ /** Optional parameters. */
1242
+ export interface MoveCollectionsInitiateMoveOptionalParams
1243
+ extends coreClient.OperationOptions {
1244
+ /** Defines the request body for resource move operation. */
1245
+ body?: ResourceMoveRequest;
1246
+ /** Delay to wait until next poll, in milliseconds. */
1247
+ updateIntervalInMs?: number;
1248
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1249
+ resumeFrom?: string;
1250
+ }
2023
1251
 
2024
- /**
2025
- * Contains response data for the get operation.
2026
- */
2027
- export type MoveResourcesGetResponse = MoveResource & {
2028
- /**
2029
- * The underlying HTTP response.
2030
- */
2031
- _response: msRest.HttpResponse & {
2032
- /**
2033
- * The response body as text (string format)
2034
- */
2035
- bodyAsText: string;
1252
+ /** Contains response data for the initiateMove operation. */
1253
+ export type MoveCollectionsInitiateMoveResponse = OperationStatus;
2036
1254
 
2037
- /**
2038
- * The response body as parsed JSON or XML
2039
- */
2040
- parsedBody: MoveResource;
2041
- };
2042
- };
1255
+ /** Optional parameters. */
1256
+ export interface MoveCollectionsCommitOptionalParams
1257
+ extends coreClient.OperationOptions {
1258
+ /** Defines the request body for commit operation. */
1259
+ body?: CommitRequest;
1260
+ /** Delay to wait until next poll, in milliseconds. */
1261
+ updateIntervalInMs?: number;
1262
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1263
+ resumeFrom?: string;
1264
+ }
2043
1265
 
2044
- /**
2045
- * Contains response data for the beginCreate operation.
2046
- */
2047
- export type MoveResourcesBeginCreateResponse = MoveResource & {
2048
- /**
2049
- * The underlying HTTP response.
2050
- */
2051
- _response: msRest.HttpResponse & {
2052
- /**
2053
- * The response body as text (string format)
2054
- */
2055
- bodyAsText: string;
1266
+ /** Contains response data for the commit operation. */
1267
+ export type MoveCollectionsCommitResponse = OperationStatus;
2056
1268
 
2057
- /**
2058
- * The response body as parsed JSON or XML
2059
- */
2060
- parsedBody: MoveResource;
2061
- };
2062
- };
1269
+ /** Optional parameters. */
1270
+ export interface MoveCollectionsDiscardOptionalParams
1271
+ extends coreClient.OperationOptions {
1272
+ /** Defines the request body for discard operation. */
1273
+ body?: DiscardRequest;
1274
+ /** Delay to wait until next poll, in milliseconds. */
1275
+ updateIntervalInMs?: number;
1276
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1277
+ resumeFrom?: string;
1278
+ }
2063
1279
 
2064
- /**
2065
- * Contains response data for the beginDeleteMethod operation.
2066
- */
2067
- export type MoveResourcesBeginDeleteMethodResponse = OperationStatus & {
2068
- /**
2069
- * The underlying HTTP response.
2070
- */
2071
- _response: msRest.HttpResponse & {
2072
- /**
2073
- * The response body as text (string format)
2074
- */
2075
- bodyAsText: string;
1280
+ /** Contains response data for the discard operation. */
1281
+ export type MoveCollectionsDiscardResponse = OperationStatus;
2076
1282
 
2077
- /**
2078
- * The response body as parsed JSON or XML
2079
- */
2080
- parsedBody: OperationStatus;
2081
- };
2082
- };
1283
+ /** Optional parameters. */
1284
+ export interface MoveCollectionsResolveDependenciesOptionalParams
1285
+ extends coreClient.OperationOptions {
1286
+ /** Delay to wait until next poll, in milliseconds. */
1287
+ updateIntervalInMs?: number;
1288
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1289
+ resumeFrom?: string;
1290
+ }
2083
1291
 
2084
- /**
2085
- * Contains response data for the listNext operation.
2086
- */
2087
- export type MoveResourcesListNextResponse = MoveResourceCollection & {
2088
- /**
2089
- * The underlying HTTP response.
2090
- */
2091
- _response: msRest.HttpResponse & {
2092
- /**
2093
- * The response body as text (string format)
2094
- */
2095
- bodyAsText: string;
1292
+ /** Contains response data for the resolveDependencies operation. */
1293
+ export type MoveCollectionsResolveDependenciesResponse = OperationStatus;
2096
1294
 
2097
- /**
2098
- * The response body as parsed JSON or XML
2099
- */
2100
- parsedBody: MoveResourceCollection;
2101
- };
2102
- };
1295
+ /** Optional parameters. */
1296
+ export interface MoveCollectionsBulkRemoveOptionalParams
1297
+ extends coreClient.OperationOptions {
1298
+ /** Defines the request body for bulk remove of move resources operation. */
1299
+ body?: BulkRemoveRequest;
1300
+ /** Delay to wait until next poll, in milliseconds. */
1301
+ updateIntervalInMs?: number;
1302
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1303
+ resumeFrom?: string;
1304
+ }
2103
1305
 
2104
- /**
2105
- * Contains response data for the get operation.
2106
- */
2107
- export type UnresolvedDependenciesGetResponse = UnresolvedDependencyCollection & {
2108
- /**
2109
- * The underlying HTTP response.
2110
- */
2111
- _response: msRest.HttpResponse & {
2112
- /**
2113
- * The response body as text (string format)
2114
- */
2115
- bodyAsText: string;
1306
+ /** Contains response data for the bulkRemove operation. */
1307
+ export type MoveCollectionsBulkRemoveResponse = OperationStatus;
2116
1308
 
2117
- /**
2118
- * The response body as parsed JSON or XML
2119
- */
2120
- parsedBody: UnresolvedDependencyCollection;
2121
- };
2122
- };
1309
+ /** Optional parameters. */
1310
+ export interface MoveCollectionsListMoveCollectionsBySubscriptionOptionalParams
1311
+ extends coreClient.OperationOptions {}
2123
1312
 
2124
- /**
2125
- * Contains response data for the getNext operation.
2126
- */
2127
- export type UnresolvedDependenciesGetNextResponse = UnresolvedDependencyCollection & {
2128
- /**
2129
- * The underlying HTTP response.
2130
- */
2131
- _response: msRest.HttpResponse & {
2132
- /**
2133
- * The response body as text (string format)
2134
- */
2135
- bodyAsText: string;
1313
+ /** Contains response data for the listMoveCollectionsBySubscription operation. */
1314
+ export type MoveCollectionsListMoveCollectionsBySubscriptionResponse = MoveCollectionResultList;
2136
1315
 
2137
- /**
2138
- * The response body as parsed JSON or XML
2139
- */
2140
- parsedBody: UnresolvedDependencyCollection;
2141
- };
2142
- };
1316
+ /** Optional parameters. */
1317
+ export interface MoveCollectionsListMoveCollectionsByResourceGroupOptionalParams
1318
+ extends coreClient.OperationOptions {}
2143
1319
 
2144
- /**
2145
- * Contains response data for the get operation.
2146
- */
2147
- export type OperationsDiscoveryGetResponse = OperationsDiscoveryCollection & {
2148
- /**
2149
- * The underlying HTTP response.
2150
- */
2151
- _response: msRest.HttpResponse & {
2152
- /**
2153
- * The response body as text (string format)
2154
- */
2155
- bodyAsText: string;
1320
+ /** Contains response data for the listMoveCollectionsByResourceGroup operation. */
1321
+ export type MoveCollectionsListMoveCollectionsByResourceGroupResponse = MoveCollectionResultList;
2156
1322
 
2157
- /**
2158
- * The response body as parsed JSON or XML
2159
- */
2160
- parsedBody: OperationsDiscoveryCollection;
2161
- };
2162
- };
1323
+ /** Optional parameters. */
1324
+ export interface MoveCollectionsListRequiredForOptionalParams
1325
+ extends coreClient.OperationOptions {}
1326
+
1327
+ /** Contains response data for the listRequiredFor operation. */
1328
+ export type MoveCollectionsListRequiredForResponse = RequiredForResourcesCollection;
1329
+
1330
+ /** Optional parameters. */
1331
+ export interface MoveCollectionsListMoveCollectionsBySubscriptionNextOptionalParams
1332
+ extends coreClient.OperationOptions {}
1333
+
1334
+ /** Contains response data for the listMoveCollectionsBySubscriptionNext operation. */
1335
+ export type MoveCollectionsListMoveCollectionsBySubscriptionNextResponse = MoveCollectionResultList;
1336
+
1337
+ /** Optional parameters. */
1338
+ export interface MoveCollectionsListMoveCollectionsByResourceGroupNextOptionalParams
1339
+ extends coreClient.OperationOptions {}
1340
+
1341
+ /** Contains response data for the listMoveCollectionsByResourceGroupNext operation. */
1342
+ export type MoveCollectionsListMoveCollectionsByResourceGroupNextResponse = MoveCollectionResultList;
1343
+
1344
+ /** Optional parameters. */
1345
+ export interface MoveResourcesListOptionalParams
1346
+ extends coreClient.OperationOptions {
1347
+ /** The filter to apply on the operation. For example, you can use $filter=Properties/ProvisioningState eq 'Succeeded'. */
1348
+ filter?: string;
1349
+ }
1350
+
1351
+ /** Contains response data for the list operation. */
1352
+ export type MoveResourcesListResponse = MoveResourceCollection;
1353
+
1354
+ /** Optional parameters. */
1355
+ export interface MoveResourcesCreateOptionalParams
1356
+ extends coreClient.OperationOptions {
1357
+ /** Defines the move resource. */
1358
+ body?: MoveResource;
1359
+ /** Delay to wait until next poll, in milliseconds. */
1360
+ updateIntervalInMs?: number;
1361
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1362
+ resumeFrom?: string;
1363
+ }
1364
+
1365
+ /** Contains response data for the create operation. */
1366
+ export type MoveResourcesCreateResponse = MoveResource;
1367
+
1368
+ /** Optional parameters. */
1369
+ export interface MoveResourcesDeleteOptionalParams
1370
+ extends coreClient.OperationOptions {
1371
+ /** Delay to wait until next poll, in milliseconds. */
1372
+ updateIntervalInMs?: number;
1373
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1374
+ resumeFrom?: string;
1375
+ }
1376
+
1377
+ /** Contains response data for the delete operation. */
1378
+ export type MoveResourcesDeleteResponse = OperationStatus;
1379
+
1380
+ /** Optional parameters. */
1381
+ export interface MoveResourcesGetOptionalParams
1382
+ extends coreClient.OperationOptions {}
1383
+
1384
+ /** Contains response data for the get operation. */
1385
+ export type MoveResourcesGetResponse = MoveResource;
1386
+
1387
+ /** Optional parameters. */
1388
+ export interface MoveResourcesListNextOptionalParams
1389
+ extends coreClient.OperationOptions {
1390
+ /** The filter to apply on the operation. For example, you can use $filter=Properties/ProvisioningState eq 'Succeeded'. */
1391
+ filter?: string;
1392
+ }
1393
+
1394
+ /** Contains response data for the listNext operation. */
1395
+ export type MoveResourcesListNextResponse = MoveResourceCollection;
1396
+
1397
+ /** Optional parameters. */
1398
+ export interface UnresolvedDependenciesGetOptionalParams
1399
+ extends coreClient.OperationOptions {
1400
+ /** The filter to apply on the operation. For example, $apply=filter(count eq 2). */
1401
+ filter?: string;
1402
+ /** Defines the dependency level. */
1403
+ dependencyLevel?: DependencyLevel;
1404
+ /** OData order by query option. For example, you can use $orderby=Count desc. */
1405
+ orderby?: string;
1406
+ }
1407
+
1408
+ /** Contains response data for the get operation. */
1409
+ export type UnresolvedDependenciesGetResponse = UnresolvedDependencyCollection;
1410
+
1411
+ /** Optional parameters. */
1412
+ export interface UnresolvedDependenciesGetNextOptionalParams
1413
+ extends coreClient.OperationOptions {
1414
+ /** The filter to apply on the operation. For example, $apply=filter(count eq 2). */
1415
+ filter?: string;
1416
+ /** Defines the dependency level. */
1417
+ dependencyLevel?: DependencyLevel;
1418
+ /** OData order by query option. For example, you can use $orderby=Count desc. */
1419
+ orderby?: string;
1420
+ }
1421
+
1422
+ /** Contains response data for the getNext operation. */
1423
+ export type UnresolvedDependenciesGetNextResponse = UnresolvedDependencyCollection;
1424
+
1425
+ /** Optional parameters. */
1426
+ export interface OperationsDiscoveryGetOptionalParams
1427
+ extends coreClient.OperationOptions {}
1428
+
1429
+ /** Contains response data for the get operation. */
1430
+ export type OperationsDiscoveryGetResponse = OperationsDiscoveryCollection;
1431
+
1432
+ /** Optional parameters. */
1433
+ export interface ResourceMoverServiceAPIOptionalParams
1434
+ extends coreClient.ServiceClientOptions {
1435
+ /** server parameter */
1436
+ $host?: string;
1437
+ /** Api Version */
1438
+ apiVersion?: string;
1439
+ /** Overrides client endpoint. */
1440
+ endpoint?: string;
1441
+ }