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