UNPKG

49.4 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {ServiceConfigurationOptions} from '../lib/service';
6import {ConfigBase as Config} from '../lib/config';
7interface Blob {}
8declare class SMS extends Service {
9 /**
10 * Constructs a service object. This object has one method for each API operation.
11 */
12 constructor(options?: SMS.Types.ClientConfiguration)
13 config: Config & SMS.Types.ClientConfiguration;
14 /**
15 * Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.
16 */
17 createApp(params: SMS.Types.CreateAppRequest, callback?: (err: AWSError, data: SMS.Types.CreateAppResponse) => void): Request<SMS.Types.CreateAppResponse, AWSError>;
18 /**
19 * Creates an application. An application consists of one or more server groups. Each server group contain one or more servers.
20 */
21 createApp(callback?: (err: AWSError, data: SMS.Types.CreateAppResponse) => void): Request<SMS.Types.CreateAppResponse, AWSError>;
22 /**
23 * Creates a replication job. The replication job schedules periodic replication runs to replicate your server to AWS. Each replication run creates an Amazon Machine Image (AMI).
24 */
25 createReplicationJob(params: SMS.Types.CreateReplicationJobRequest, callback?: (err: AWSError, data: SMS.Types.CreateReplicationJobResponse) => void): Request<SMS.Types.CreateReplicationJobResponse, AWSError>;
26 /**
27 * Creates a replication job. The replication job schedules periodic replication runs to replicate your server to AWS. Each replication run creates an Amazon Machine Image (AMI).
28 */
29 createReplicationJob(callback?: (err: AWSError, data: SMS.Types.CreateReplicationJobResponse) => void): Request<SMS.Types.CreateReplicationJobResponse, AWSError>;
30 /**
31 * Deletes an existing application. Optionally deletes the launched stack associated with the application and all AWS SMS replication jobs for servers in the application.
32 */
33 deleteApp(params: SMS.Types.DeleteAppRequest, callback?: (err: AWSError, data: SMS.Types.DeleteAppResponse) => void): Request<SMS.Types.DeleteAppResponse, AWSError>;
34 /**
35 * Deletes an existing application. Optionally deletes the launched stack associated with the application and all AWS SMS replication jobs for servers in the application.
36 */
37 deleteApp(callback?: (err: AWSError, data: SMS.Types.DeleteAppResponse) => void): Request<SMS.Types.DeleteAppResponse, AWSError>;
38 /**
39 * Deletes existing launch configuration for an application.
40 */
41 deleteAppLaunchConfiguration(params: SMS.Types.DeleteAppLaunchConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.DeleteAppLaunchConfigurationResponse) => void): Request<SMS.Types.DeleteAppLaunchConfigurationResponse, AWSError>;
42 /**
43 * Deletes existing launch configuration for an application.
44 */
45 deleteAppLaunchConfiguration(callback?: (err: AWSError, data: SMS.Types.DeleteAppLaunchConfigurationResponse) => void): Request<SMS.Types.DeleteAppLaunchConfigurationResponse, AWSError>;
46 /**
47 * Deletes existing replication configuration for an application.
48 */
49 deleteAppReplicationConfiguration(params: SMS.Types.DeleteAppReplicationConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.DeleteAppReplicationConfigurationResponse) => void): Request<SMS.Types.DeleteAppReplicationConfigurationResponse, AWSError>;
50 /**
51 * Deletes existing replication configuration for an application.
52 */
53 deleteAppReplicationConfiguration(callback?: (err: AWSError, data: SMS.Types.DeleteAppReplicationConfigurationResponse) => void): Request<SMS.Types.DeleteAppReplicationConfigurationResponse, AWSError>;
54 /**
55 * Deletes the specified replication job. After you delete a replication job, there are no further replication runs. AWS deletes the contents of the Amazon S3 bucket used to store AWS SMS artifacts. The AMIs created by the replication runs are not deleted.
56 */
57 deleteReplicationJob(params: SMS.Types.DeleteReplicationJobRequest, callback?: (err: AWSError, data: SMS.Types.DeleteReplicationJobResponse) => void): Request<SMS.Types.DeleteReplicationJobResponse, AWSError>;
58 /**
59 * Deletes the specified replication job. After you delete a replication job, there are no further replication runs. AWS deletes the contents of the Amazon S3 bucket used to store AWS SMS artifacts. The AMIs created by the replication runs are not deleted.
60 */
61 deleteReplicationJob(callback?: (err: AWSError, data: SMS.Types.DeleteReplicationJobResponse) => void): Request<SMS.Types.DeleteReplicationJobResponse, AWSError>;
62 /**
63 * Deletes all servers from your server catalog.
64 */
65 deleteServerCatalog(params: SMS.Types.DeleteServerCatalogRequest, callback?: (err: AWSError, data: SMS.Types.DeleteServerCatalogResponse) => void): Request<SMS.Types.DeleteServerCatalogResponse, AWSError>;
66 /**
67 * Deletes all servers from your server catalog.
68 */
69 deleteServerCatalog(callback?: (err: AWSError, data: SMS.Types.DeleteServerCatalogResponse) => void): Request<SMS.Types.DeleteServerCatalogResponse, AWSError>;
70 /**
71 * Disassociates the specified connector from AWS SMS. After you disassociate a connector, it is no longer available to support replication jobs.
72 */
73 disassociateConnector(params: SMS.Types.DisassociateConnectorRequest, callback?: (err: AWSError, data: SMS.Types.DisassociateConnectorResponse) => void): Request<SMS.Types.DisassociateConnectorResponse, AWSError>;
74 /**
75 * Disassociates the specified connector from AWS SMS. After you disassociate a connector, it is no longer available to support replication jobs.
76 */
77 disassociateConnector(callback?: (err: AWSError, data: SMS.Types.DisassociateConnectorResponse) => void): Request<SMS.Types.DisassociateConnectorResponse, AWSError>;
78 /**
79 * Generates a target change set for a currently launched stack and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
80 */
81 generateChangeSet(params: SMS.Types.GenerateChangeSetRequest, callback?: (err: AWSError, data: SMS.Types.GenerateChangeSetResponse) => void): Request<SMS.Types.GenerateChangeSetResponse, AWSError>;
82 /**
83 * Generates a target change set for a currently launched stack and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
84 */
85 generateChangeSet(callback?: (err: AWSError, data: SMS.Types.GenerateChangeSetResponse) => void): Request<SMS.Types.GenerateChangeSetResponse, AWSError>;
86 /**
87 * Generates an Amazon CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
88 */
89 generateTemplate(params: SMS.Types.GenerateTemplateRequest, callback?: (err: AWSError, data: SMS.Types.GenerateTemplateResponse) => void): Request<SMS.Types.GenerateTemplateResponse, AWSError>;
90 /**
91 * Generates an Amazon CloudFormation template based on the current launch configuration and writes it to an Amazon S3 object in the customer’s Amazon S3 bucket.
92 */
93 generateTemplate(callback?: (err: AWSError, data: SMS.Types.GenerateTemplateResponse) => void): Request<SMS.Types.GenerateTemplateResponse, AWSError>;
94 /**
95 * Retrieve information about an application.
96 */
97 getApp(params: SMS.Types.GetAppRequest, callback?: (err: AWSError, data: SMS.Types.GetAppResponse) => void): Request<SMS.Types.GetAppResponse, AWSError>;
98 /**
99 * Retrieve information about an application.
100 */
101 getApp(callback?: (err: AWSError, data: SMS.Types.GetAppResponse) => void): Request<SMS.Types.GetAppResponse, AWSError>;
102 /**
103 * Retrieves the application launch configuration associated with an application.
104 */
105 getAppLaunchConfiguration(params: SMS.Types.GetAppLaunchConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.GetAppLaunchConfigurationResponse) => void): Request<SMS.Types.GetAppLaunchConfigurationResponse, AWSError>;
106 /**
107 * Retrieves the application launch configuration associated with an application.
108 */
109 getAppLaunchConfiguration(callback?: (err: AWSError, data: SMS.Types.GetAppLaunchConfigurationResponse) => void): Request<SMS.Types.GetAppLaunchConfigurationResponse, AWSError>;
110 /**
111 * Retrieves an application replication configuration associatd with an application.
112 */
113 getAppReplicationConfiguration(params: SMS.Types.GetAppReplicationConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.GetAppReplicationConfigurationResponse) => void): Request<SMS.Types.GetAppReplicationConfigurationResponse, AWSError>;
114 /**
115 * Retrieves an application replication configuration associatd with an application.
116 */
117 getAppReplicationConfiguration(callback?: (err: AWSError, data: SMS.Types.GetAppReplicationConfigurationResponse) => void): Request<SMS.Types.GetAppReplicationConfigurationResponse, AWSError>;
118 /**
119 * Describes the connectors registered with the AWS SMS.
120 */
121 getConnectors(params: SMS.Types.GetConnectorsRequest, callback?: (err: AWSError, data: SMS.Types.GetConnectorsResponse) => void): Request<SMS.Types.GetConnectorsResponse, AWSError>;
122 /**
123 * Describes the connectors registered with the AWS SMS.
124 */
125 getConnectors(callback?: (err: AWSError, data: SMS.Types.GetConnectorsResponse) => void): Request<SMS.Types.GetConnectorsResponse, AWSError>;
126 /**
127 * Describes the specified replication job or all of your replication jobs.
128 */
129 getReplicationJobs(params: SMS.Types.GetReplicationJobsRequest, callback?: (err: AWSError, data: SMS.Types.GetReplicationJobsResponse) => void): Request<SMS.Types.GetReplicationJobsResponse, AWSError>;
130 /**
131 * Describes the specified replication job or all of your replication jobs.
132 */
133 getReplicationJobs(callback?: (err: AWSError, data: SMS.Types.GetReplicationJobsResponse) => void): Request<SMS.Types.GetReplicationJobsResponse, AWSError>;
134 /**
135 * Describes the replication runs for the specified replication job.
136 */
137 getReplicationRuns(params: SMS.Types.GetReplicationRunsRequest, callback?: (err: AWSError, data: SMS.Types.GetReplicationRunsResponse) => void): Request<SMS.Types.GetReplicationRunsResponse, AWSError>;
138 /**
139 * Describes the replication runs for the specified replication job.
140 */
141 getReplicationRuns(callback?: (err: AWSError, data: SMS.Types.GetReplicationRunsResponse) => void): Request<SMS.Types.GetReplicationRunsResponse, AWSError>;
142 /**
143 * Describes the servers in your server catalog. Before you can describe your servers, you must import them using ImportServerCatalog.
144 */
145 getServers(params: SMS.Types.GetServersRequest, callback?: (err: AWSError, data: SMS.Types.GetServersResponse) => void): Request<SMS.Types.GetServersResponse, AWSError>;
146 /**
147 * Describes the servers in your server catalog. Before you can describe your servers, you must import them using ImportServerCatalog.
148 */
149 getServers(callback?: (err: AWSError, data: SMS.Types.GetServersResponse) => void): Request<SMS.Types.GetServersResponse, AWSError>;
150 /**
151 * Gathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers that you want to import. This call returns immediately, but might take additional time to retrieve all the servers.
152 */
153 importServerCatalog(params: SMS.Types.ImportServerCatalogRequest, callback?: (err: AWSError, data: SMS.Types.ImportServerCatalogResponse) => void): Request<SMS.Types.ImportServerCatalogResponse, AWSError>;
154 /**
155 * Gathers a complete list of on-premises servers. Connectors must be installed and monitoring all servers that you want to import. This call returns immediately, but might take additional time to retrieve all the servers.
156 */
157 importServerCatalog(callback?: (err: AWSError, data: SMS.Types.ImportServerCatalogResponse) => void): Request<SMS.Types.ImportServerCatalogResponse, AWSError>;
158 /**
159 * Launches an application stack.
160 */
161 launchApp(params: SMS.Types.LaunchAppRequest, callback?: (err: AWSError, data: SMS.Types.LaunchAppResponse) => void): Request<SMS.Types.LaunchAppResponse, AWSError>;
162 /**
163 * Launches an application stack.
164 */
165 launchApp(callback?: (err: AWSError, data: SMS.Types.LaunchAppResponse) => void): Request<SMS.Types.LaunchAppResponse, AWSError>;
166 /**
167 * Returns a list of summaries for all applications.
168 */
169 listApps(params: SMS.Types.ListAppsRequest, callback?: (err: AWSError, data: SMS.Types.ListAppsResponse) => void): Request<SMS.Types.ListAppsResponse, AWSError>;
170 /**
171 * Returns a list of summaries for all applications.
172 */
173 listApps(callback?: (err: AWSError, data: SMS.Types.ListAppsResponse) => void): Request<SMS.Types.ListAppsResponse, AWSError>;
174 /**
175 * Creates a launch configuration for an application.
176 */
177 putAppLaunchConfiguration(params: SMS.Types.PutAppLaunchConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.PutAppLaunchConfigurationResponse) => void): Request<SMS.Types.PutAppLaunchConfigurationResponse, AWSError>;
178 /**
179 * Creates a launch configuration for an application.
180 */
181 putAppLaunchConfiguration(callback?: (err: AWSError, data: SMS.Types.PutAppLaunchConfigurationResponse) => void): Request<SMS.Types.PutAppLaunchConfigurationResponse, AWSError>;
182 /**
183 * Creates or updates a replication configuration for an application.
184 */
185 putAppReplicationConfiguration(params: SMS.Types.PutAppReplicationConfigurationRequest, callback?: (err: AWSError, data: SMS.Types.PutAppReplicationConfigurationResponse) => void): Request<SMS.Types.PutAppReplicationConfigurationResponse, AWSError>;
186 /**
187 * Creates or updates a replication configuration for an application.
188 */
189 putAppReplicationConfiguration(callback?: (err: AWSError, data: SMS.Types.PutAppReplicationConfigurationResponse) => void): Request<SMS.Types.PutAppReplicationConfigurationResponse, AWSError>;
190 /**
191 * Starts replicating an application.
192 */
193 startAppReplication(params: SMS.Types.StartAppReplicationRequest, callback?: (err: AWSError, data: SMS.Types.StartAppReplicationResponse) => void): Request<SMS.Types.StartAppReplicationResponse, AWSError>;
194 /**
195 * Starts replicating an application.
196 */
197 startAppReplication(callback?: (err: AWSError, data: SMS.Types.StartAppReplicationResponse) => void): Request<SMS.Types.StartAppReplicationResponse, AWSError>;
198 /**
199 * Starts an on-demand replication run for the specified replication job. This replication run starts immediately. This replication run is in addition to the ones already scheduled. There is a limit on the number of on-demand replications runs you can request in a 24-hour period.
200 */
201 startOnDemandReplicationRun(params: SMS.Types.StartOnDemandReplicationRunRequest, callback?: (err: AWSError, data: SMS.Types.StartOnDemandReplicationRunResponse) => void): Request<SMS.Types.StartOnDemandReplicationRunResponse, AWSError>;
202 /**
203 * Starts an on-demand replication run for the specified replication job. This replication run starts immediately. This replication run is in addition to the ones already scheduled. There is a limit on the number of on-demand replications runs you can request in a 24-hour period.
204 */
205 startOnDemandReplicationRun(callback?: (err: AWSError, data: SMS.Types.StartOnDemandReplicationRunResponse) => void): Request<SMS.Types.StartOnDemandReplicationRunResponse, AWSError>;
206 /**
207 * Stops replicating an application.
208 */
209 stopAppReplication(params: SMS.Types.StopAppReplicationRequest, callback?: (err: AWSError, data: SMS.Types.StopAppReplicationResponse) => void): Request<SMS.Types.StopAppReplicationResponse, AWSError>;
210 /**
211 * Stops replicating an application.
212 */
213 stopAppReplication(callback?: (err: AWSError, data: SMS.Types.StopAppReplicationResponse) => void): Request<SMS.Types.StopAppReplicationResponse, AWSError>;
214 /**
215 * Terminates the stack for an application.
216 */
217 terminateApp(params: SMS.Types.TerminateAppRequest, callback?: (err: AWSError, data: SMS.Types.TerminateAppResponse) => void): Request<SMS.Types.TerminateAppResponse, AWSError>;
218 /**
219 * Terminates the stack for an application.
220 */
221 terminateApp(callback?: (err: AWSError, data: SMS.Types.TerminateAppResponse) => void): Request<SMS.Types.TerminateAppResponse, AWSError>;
222 /**
223 * Updates an application.
224 */
225 updateApp(params: SMS.Types.UpdateAppRequest, callback?: (err: AWSError, data: SMS.Types.UpdateAppResponse) => void): Request<SMS.Types.UpdateAppResponse, AWSError>;
226 /**
227 * Updates an application.
228 */
229 updateApp(callback?: (err: AWSError, data: SMS.Types.UpdateAppResponse) => void): Request<SMS.Types.UpdateAppResponse, AWSError>;
230 /**
231 * Updates the specified settings for the specified replication job.
232 */
233 updateReplicationJob(params: SMS.Types.UpdateReplicationJobRequest, callback?: (err: AWSError, data: SMS.Types.UpdateReplicationJobResponse) => void): Request<SMS.Types.UpdateReplicationJobResponse, AWSError>;
234 /**
235 * Updates the specified settings for the specified replication job.
236 */
237 updateReplicationJob(callback?: (err: AWSError, data: SMS.Types.UpdateReplicationJobResponse) => void): Request<SMS.Types.UpdateReplicationJobResponse, AWSError>;
238}
239declare namespace SMS {
240 export type AmiId = string;
241 export type AppDescription = string;
242 export type AppId = string;
243 export type AppIds = AppId[];
244 export type AppLaunchStatus = "READY_FOR_CONFIGURATION"|"CONFIGURATION_IN_PROGRESS"|"CONFIGURATION_INVALID"|"READY_FOR_LAUNCH"|"VALIDATION_IN_PROGRESS"|"LAUNCH_PENDING"|"LAUNCH_IN_PROGRESS"|"LAUNCHED"|"DELTA_LAUNCH_IN_PROGRESS"|"DELTA_LAUNCH_FAILED"|"LAUNCH_FAILED"|"TERMINATE_IN_PROGRESS"|"TERMINATE_FAILED"|"TERMINATED"|string;
245 export type AppLaunchStatusMessage = string;
246 export type AppName = string;
247 export type AppReplicationStatus = "READY_FOR_CONFIGURATION"|"CONFIGURATION_IN_PROGRESS"|"CONFIGURATION_INVALID"|"READY_FOR_REPLICATION"|"VALIDATION_IN_PROGRESS"|"REPLICATION_PENDING"|"REPLICATION_IN_PROGRESS"|"REPLICATED"|"DELTA_REPLICATION_IN_PROGRESS"|"DELTA_REPLICATED"|"DELTA_REPLICATION_FAILED"|"REPLICATION_FAILED"|"REPLICATION_STOPPING"|"REPLICATION_STOP_FAILED"|"REPLICATION_STOPPED"|string;
248 export type AppReplicationStatusMessage = string;
249 export type AppStatus = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"DELETED"|"DELETE_FAILED"|string;
250 export type AppStatusMessage = string;
251 export interface AppSummary {
252 /**
253 * Unique ID of the application.
254 */
255 appId?: AppId;
256 /**
257 * Name of the application.
258 */
259 name?: AppName;
260 /**
261 * Description of the application.
262 */
263 description?: AppDescription;
264 /**
265 * Status of the application.
266 */
267 status?: AppStatus;
268 /**
269 * A message related to the status of the application
270 */
271 statusMessage?: AppStatusMessage;
272 /**
273 * Replication status of the application.
274 */
275 replicationStatus?: AppReplicationStatus;
276 /**
277 * A message related to the replication status of the application.
278 */
279 replicationStatusMessage?: AppReplicationStatusMessage;
280 /**
281 * Timestamp of the application's most recent successful replication.
282 */
283 latestReplicationTime?: Timestamp;
284 /**
285 * Launch status of the application.
286 */
287 launchStatus?: AppLaunchStatus;
288 /**
289 * A message related to the launch status of the application.
290 */
291 launchStatusMessage?: AppLaunchStatusMessage;
292 /**
293 * Details about the latest launch of the application.
294 */
295 launchDetails?: LaunchDetails;
296 /**
297 * Time of creation of this application.
298 */
299 creationTime?: Timestamp;
300 /**
301 * Timestamp of the application's creation.
302 */
303 lastModified?: Timestamp;
304 /**
305 * Name of the service role in the customer's account used by AWS SMS.
306 */
307 roleName?: RoleName;
308 /**
309 * Number of server groups present in the application.
310 */
311 totalServerGroups?: TotalServerGroups;
312 /**
313 * Number of servers present in the application.
314 */
315 totalServers?: TotalServers;
316 }
317 export type Apps = AppSummary[];
318 export type AssociatePublicIpAddress = boolean;
319 export type BucketName = string;
320 export type ClientToken = string;
321 export interface Connector {
322 /**
323 * The identifier of the connector.
324 */
325 connectorId?: ConnectorId;
326 /**
327 * The connector version.
328 */
329 version?: ConnectorVersion;
330 /**
331 * The status of the connector.
332 */
333 status?: ConnectorStatus;
334 /**
335 * The capabilities of the connector.
336 */
337 capabilityList?: ConnectorCapabilityList;
338 /**
339 * The name of the VM manager.
340 */
341 vmManagerName?: VmManagerName;
342 /**
343 * The VM management product.
344 */
345 vmManagerType?: VmManagerType;
346 /**
347 * The identifier of the VM manager.
348 */
349 vmManagerId?: VmManagerId;
350 /**
351 * The IP address of the connector.
352 */
353 ipAddress?: IpAddress;
354 /**
355 * The MAC address of the connector.
356 */
357 macAddress?: MacAddress;
358 /**
359 * The time the connector was associated.
360 */
361 associatedOn?: Timestamp;
362 }
363 export type ConnectorCapability = "VSPHERE"|"SCVMM"|"HYPERV-MANAGER"|"SNAPSHOT_BATCHING"|string;
364 export type ConnectorCapabilityList = ConnectorCapability[];
365 export type ConnectorId = string;
366 export type ConnectorList = Connector[];
367 export type ConnectorStatus = "HEALTHY"|"UNHEALTHY"|string;
368 export type ConnectorVersion = string;
369 export interface CreateAppRequest {
370 /**
371 * Name of the new application.
372 */
373 name?: AppName;
374 /**
375 * Description of the new application
376 */
377 description?: AppDescription;
378 /**
379 * Name of service role in customer's account to be used by AWS SMS.
380 */
381 roleName?: RoleName;
382 /**
383 * A unique, case-sensitive identifier you provide to ensure idempotency of application creation.
384 */
385 clientToken?: ClientToken;
386 /**
387 * List of server groups to include in the application.
388 */
389 serverGroups?: ServerGroups;
390 /**
391 * List of tags to be associated with the application.
392 */
393 tags?: Tags;
394 }
395 export interface CreateAppResponse {
396 /**
397 * Summary description of the application.
398 */
399 appSummary?: AppSummary;
400 /**
401 * List of server groups included in the application.
402 */
403 serverGroups?: ServerGroups;
404 /**
405 * List of taags associated with the application.
406 */
407 tags?: Tags;
408 }
409 export interface CreateReplicationJobRequest {
410 /**
411 * The identifier of the server.
412 */
413 serverId: ServerId;
414 /**
415 * The seed replication time.
416 */
417 seedReplicationTime: Timestamp;
418 /**
419 * The time between consecutive replication runs, in hours.
420 */
421 frequency?: Frequency;
422 /**
423 *
424 */
425 runOnce?: RunOnce;
426 /**
427 * The license type to be used for the AMI created by a successful replication run.
428 */
429 licenseType?: LicenseType;
430 /**
431 * The name of the IAM role to be used by the AWS SMS.
432 */
433 roleName?: RoleName;
434 /**
435 * The description of the replication job.
436 */
437 description?: Description;
438 /**
439 * The maximum number of SMS-created AMIs to retain. The oldest will be deleted once the maximum number is reached and a new AMI is created.
440 */
441 numberOfRecentAmisToKeep?: NumberOfRecentAmisToKeep;
442 /**
443 * When true, the replication job produces encrypted AMIs. See also KmsKeyId below.
444 */
445 encrypted?: Encrypted;
446 /**
447 * KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following: KMS key ID KMS key alias ARN referring to KMS key ID ARN referring to KMS key alias If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
448 */
449 kmsKeyId?: KmsKeyId;
450 }
451 export interface CreateReplicationJobResponse {
452 /**
453 * The unique identifier of the replication job.
454 */
455 replicationJobId?: ReplicationJobId;
456 }
457 export interface DeleteAppLaunchConfigurationRequest {
458 /**
459 * ID of the application associated with the launch configuration.
460 */
461 appId?: AppId;
462 }
463 export interface DeleteAppLaunchConfigurationResponse {
464 }
465 export interface DeleteAppReplicationConfigurationRequest {
466 /**
467 * ID of the application associated with the replication configuration.
468 */
469 appId?: AppId;
470 }
471 export interface DeleteAppReplicationConfigurationResponse {
472 }
473 export interface DeleteAppRequest {
474 /**
475 * ID of the application to delete.
476 */
477 appId?: AppId;
478 /**
479 * While deleting the application, stop all replication jobs corresponding to the servers in the application.
480 */
481 forceStopAppReplication?: ForceStopAppReplication;
482 /**
483 * While deleting the application, terminate the stack corresponding to the application.
484 */
485 forceTerminateApp?: ForceTerminateApp;
486 }
487 export interface DeleteAppResponse {
488 }
489 export interface DeleteReplicationJobRequest {
490 /**
491 * The identifier of the replication job.
492 */
493 replicationJobId: ReplicationJobId;
494 }
495 export interface DeleteReplicationJobResponse {
496 }
497 export interface DeleteServerCatalogRequest {
498 }
499 export interface DeleteServerCatalogResponse {
500 }
501 export type Description = string;
502 export interface DisassociateConnectorRequest {
503 /**
504 * The identifier of the connector.
505 */
506 connectorId: ConnectorId;
507 }
508 export interface DisassociateConnectorResponse {
509 }
510 export type EC2KeyName = string;
511 export type Encrypted = boolean;
512 export type ForceStopAppReplication = boolean;
513 export type ForceTerminateApp = boolean;
514 export type Frequency = number;
515 export interface GenerateChangeSetRequest {
516 /**
517 * ID of the application associated with the change set.
518 */
519 appId?: AppId;
520 /**
521 * Format for the change set.
522 */
523 changesetFormat?: OutputFormat;
524 }
525 export interface GenerateChangeSetResponse {
526 /**
527 * Location of the Amazon S3 object.
528 */
529 s3Location?: S3Location;
530 }
531 export interface GenerateTemplateRequest {
532 /**
533 * ID of the application associated with the Amazon CloudFormation template.
534 */
535 appId?: AppId;
536 /**
537 * Format for generating the Amazon CloudFormation template.
538 */
539 templateFormat?: OutputFormat;
540 }
541 export interface GenerateTemplateResponse {
542 /**
543 * Location of the Amazon S3 object.
544 */
545 s3Location?: S3Location;
546 }
547 export interface GetAppLaunchConfigurationRequest {
548 /**
549 * ID of the application launch configuration.
550 */
551 appId?: AppId;
552 }
553 export interface GetAppLaunchConfigurationResponse {
554 /**
555 * ID of the application associated with the launch configuration.
556 */
557 appId?: AppId;
558 /**
559 * Name of the service role in the customer's account that Amazon CloudFormation uses to launch the application.
560 */
561 roleName?: RoleName;
562 /**
563 * List of launch configurations for server groups in this application.
564 */
565 serverGroupLaunchConfigurations?: ServerGroupLaunchConfigurations;
566 }
567 export interface GetAppReplicationConfigurationRequest {
568 /**
569 * ID of the application associated with the replication configuration.
570 */
571 appId?: AppId;
572 }
573 export interface GetAppReplicationConfigurationResponse {
574 /**
575 * Replication configurations associated with server groups in this application.
576 */
577 serverGroupReplicationConfigurations?: ServerGroupReplicationConfigurations;
578 }
579 export interface GetAppRequest {
580 /**
581 * ID of the application whose information is being retrieved.
582 */
583 appId?: AppId;
584 }
585 export interface GetAppResponse {
586 /**
587 * Information about the application.
588 */
589 appSummary?: AppSummary;
590 /**
591 * List of server groups belonging to the application.
592 */
593 serverGroups?: ServerGroups;
594 /**
595 * List of tags associated with the application.
596 */
597 tags?: Tags;
598 }
599 export interface GetConnectorsRequest {
600 /**
601 * The token for the next set of results.
602 */
603 nextToken?: NextToken;
604 /**
605 * The maximum number of results to return in a single call. The default value is 50. To retrieve the remaining results, make another call with the returned NextToken value.
606 */
607 maxResults?: MaxResults;
608 }
609 export interface GetConnectorsResponse {
610 /**
611 * Information about the registered connectors.
612 */
613 connectorList?: ConnectorList;
614 /**
615 * The token required to retrieve the next set of results. This value is null when there are no more results to return.
616 */
617 nextToken?: NextToken;
618 }
619 export interface GetReplicationJobsRequest {
620 /**
621 * The identifier of the replication job.
622 */
623 replicationJobId?: ReplicationJobId;
624 /**
625 * The token for the next set of results.
626 */
627 nextToken?: NextToken;
628 /**
629 * The maximum number of results to return in a single call. The default value is 50. To retrieve the remaining results, make another call with the returned NextToken value.
630 */
631 maxResults?: MaxResults;
632 }
633 export interface GetReplicationJobsResponse {
634 /**
635 * Information about the replication jobs.
636 */
637 replicationJobList?: ReplicationJobList;
638 /**
639 * The token required to retrieve the next set of results. This value is null when there are no more results to return.
640 */
641 nextToken?: NextToken;
642 }
643 export interface GetReplicationRunsRequest {
644 /**
645 * The identifier of the replication job.
646 */
647 replicationJobId: ReplicationJobId;
648 /**
649 * The token for the next set of results.
650 */
651 nextToken?: NextToken;
652 /**
653 * The maximum number of results to return in a single call. The default value is 50. To retrieve the remaining results, make another call with the returned NextToken value.
654 */
655 maxResults?: MaxResults;
656 }
657 export interface GetReplicationRunsResponse {
658 /**
659 * Information about the replication job.
660 */
661 replicationJob?: ReplicationJob;
662 /**
663 * Information about the replication runs.
664 */
665 replicationRunList?: ReplicationRunList;
666 /**
667 * The token required to retrieve the next set of results. This value is null when there are no more results to return.
668 */
669 nextToken?: NextToken;
670 }
671 export interface GetServersRequest {
672 /**
673 * The token for the next set of results.
674 */
675 nextToken?: NextToken;
676 /**
677 * The maximum number of results to return in a single call. The default value is 50. To retrieve the remaining results, make another call with the returned NextToken value.
678 */
679 maxResults?: MaxResults;
680 /**
681 * List of VmServerAddress objects
682 */
683 vmServerAddressList?: VmServerAddressList;
684 }
685 export interface GetServersResponse {
686 /**
687 * The time when the server was last modified.
688 */
689 lastModifiedOn?: Timestamp;
690 /**
691 * The status of the server catalog.
692 */
693 serverCatalogStatus?: ServerCatalogStatus;
694 /**
695 * Information about the servers.
696 */
697 serverList?: ServerList;
698 /**
699 * The token required to retrieve the next set of results. This value is null when there are no more results to return.
700 */
701 nextToken?: NextToken;
702 }
703 export interface ImportServerCatalogRequest {
704 }
705 export interface ImportServerCatalogResponse {
706 }
707 export type InstanceType = string;
708 export type IpAddress = string;
709 export type KeyName = string;
710 export type KmsKeyId = string;
711 export interface LaunchAppRequest {
712 /**
713 * ID of the application to launch.
714 */
715 appId?: AppId;
716 }
717 export interface LaunchAppResponse {
718 }
719 export interface LaunchDetails {
720 /**
721 * Latest time this application was launched successfully.
722 */
723 latestLaunchTime?: Timestamp;
724 /**
725 * Name of the latest stack launched for this application.
726 */
727 stackName?: StackName;
728 /**
729 * Identifier of the latest stack launched for this application.
730 */
731 stackId?: StackId;
732 }
733 export type LaunchOrder = number;
734 export type LicenseType = "AWS"|"BYOL"|string;
735 export interface ListAppsRequest {
736 /**
737 *
738 */
739 appIds?: AppIds;
740 /**
741 * The token for the next set of results.
742 */
743 nextToken?: NextToken;
744 /**
745 * The maximum number of results to return in a single call. The default value is 50. To retrieve the remaining results, make another call with the returned NextToken value.
746 */
747 maxResults?: MaxResults;
748 }
749 export interface ListAppsResponse {
750 /**
751 * A list of application summaries.
752 */
753 apps?: Apps;
754 /**
755 * The token required to retrieve the next set of results. This value is null when there are no more results to return.
756 */
757 nextToken?: NextToken;
758 }
759 export type LogicalId = string;
760 export type MacAddress = string;
761 export type MaxResults = number;
762 export type NextToken = string;
763 export type NumberOfRecentAmisToKeep = number;
764 export type OutputFormat = "JSON"|"YAML"|string;
765 export interface PutAppLaunchConfigurationRequest {
766 /**
767 * ID of the application associated with the launch configuration.
768 */
769 appId?: AppId;
770 /**
771 * Name of service role in the customer's account that Amazon CloudFormation uses to launch the application.
772 */
773 roleName?: RoleName;
774 /**
775 * Launch configurations for server groups in the application.
776 */
777 serverGroupLaunchConfigurations?: ServerGroupLaunchConfigurations;
778 }
779 export interface PutAppLaunchConfigurationResponse {
780 }
781 export interface PutAppReplicationConfigurationRequest {
782 /**
783 * ID of the application tassociated with the replication configuration.
784 */
785 appId?: AppId;
786 /**
787 * Replication configurations for server groups in the application.
788 */
789 serverGroupReplicationConfigurations?: ServerGroupReplicationConfigurations;
790 }
791 export interface PutAppReplicationConfigurationResponse {
792 }
793 export interface ReplicationJob {
794 /**
795 * The identifier of the replication job.
796 */
797 replicationJobId?: ReplicationJobId;
798 /**
799 * The identifier of the server.
800 */
801 serverId?: ServerId;
802 /**
803 * The type of server.
804 */
805 serverType?: ServerType;
806 /**
807 * Information about the VM server.
808 */
809 vmServer?: VmServer;
810 /**
811 * The seed replication time.
812 */
813 seedReplicationTime?: Timestamp;
814 /**
815 * The time between consecutive replication runs, in hours.
816 */
817 frequency?: Frequency;
818 /**
819 *
820 */
821 runOnce?: RunOnce;
822 /**
823 * The start time of the next replication run.
824 */
825 nextReplicationRunStartTime?: Timestamp;
826 /**
827 * The license type to be used for the AMI created by a successful replication run.
828 */
829 licenseType?: LicenseType;
830 /**
831 * The name of the IAM role to be used by the Server Migration Service.
832 */
833 roleName?: RoleName;
834 /**
835 * The ID of the latest Amazon Machine Image (AMI).
836 */
837 latestAmiId?: AmiId;
838 /**
839 * The state of the replication job.
840 */
841 state?: ReplicationJobState;
842 /**
843 * The description of the current status of the replication job.
844 */
845 statusMessage?: ReplicationJobStatusMessage;
846 /**
847 * The description of the replication job.
848 */
849 description?: Description;
850 /**
851 * Number of recent AMIs to keep in the customer's account for a replication job. By default the value is set to zero, meaning that all AMIs are kept.
852 */
853 numberOfRecentAmisToKeep?: NumberOfRecentAmisToKeep;
854 /**
855 * Whether the replication job should produce encrypted AMIs or not. See also KmsKeyId below.
856 */
857 encrypted?: Encrypted;
858 /**
859 * KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following: KMS key ID KMS key alias ARN referring to KMS key ID ARN referring to KMS key alias If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
860 */
861 kmsKeyId?: KmsKeyId;
862 /**
863 * Information about the replication runs.
864 */
865 replicationRunList?: ReplicationRunList;
866 }
867 export type ReplicationJobId = string;
868 export type ReplicationJobList = ReplicationJob[];
869 export type ReplicationJobState = "PENDING"|"ACTIVE"|"FAILED"|"DELETING"|"DELETED"|"COMPLETED"|"PAUSED_ON_FAILURE"|"FAILING"|string;
870 export type ReplicationJobStatusMessage = string;
871 export type ReplicationJobTerminated = boolean;
872 export interface ReplicationRun {
873 /**
874 * The identifier of the replication run.
875 */
876 replicationRunId?: ReplicationRunId;
877 /**
878 * The state of the replication run.
879 */
880 state?: ReplicationRunState;
881 /**
882 * The type of replication run.
883 */
884 type?: ReplicationRunType;
885 /**
886 * Details of the current stage of the replication run.
887 */
888 stageDetails?: ReplicationRunStageDetails;
889 /**
890 * The description of the current status of the replication job.
891 */
892 statusMessage?: ReplicationRunStatusMessage;
893 /**
894 * The identifier of the Amazon Machine Image (AMI) from the replication run.
895 */
896 amiId?: AmiId;
897 /**
898 * The start time of the next replication run.
899 */
900 scheduledStartTime?: Timestamp;
901 /**
902 * The completion time of the last replication run.
903 */
904 completedTime?: Timestamp;
905 /**
906 * The description of the replication run.
907 */
908 description?: Description;
909 /**
910 * Whether the replication run should produce encrypted AMI or not. See also KmsKeyId below.
911 */
912 encrypted?: Encrypted;
913 /**
914 * KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following: KMS key ID KMS key alias ARN referring to KMS key ID ARN referring to KMS key alias If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
915 */
916 kmsKeyId?: KmsKeyId;
917 }
918 export type ReplicationRunId = string;
919 export type ReplicationRunList = ReplicationRun[];
920 export type ReplicationRunStage = string;
921 export interface ReplicationRunStageDetails {
922 /**
923 * String describing the current stage of a replication run.
924 */
925 stage?: ReplicationRunStage;
926 /**
927 * String describing the progress of the current stage of a replication run.
928 */
929 stageProgress?: ReplicationRunStageProgress;
930 }
931 export type ReplicationRunStageProgress = string;
932 export type ReplicationRunState = "PENDING"|"MISSED"|"ACTIVE"|"FAILED"|"COMPLETED"|"DELETING"|"DELETED"|string;
933 export type ReplicationRunStatusMessage = string;
934 export type ReplicationRunType = "ON_DEMAND"|"AUTOMATIC"|string;
935 export type RoleName = string;
936 export type RunOnce = boolean;
937 export interface S3Location {
938 /**
939 * Amazon S3 bucket name.
940 */
941 bucket?: BucketName;
942 /**
943 * Amazon S3 bucket key.
944 */
945 key?: KeyName;
946 }
947 export type SecurityGroup = string;
948 export interface Server {
949 /**
950 * The identifier of the server.
951 */
952 serverId?: ServerId;
953 /**
954 * The type of server.
955 */
956 serverType?: ServerType;
957 /**
958 * Information about the VM server.
959 */
960 vmServer?: VmServer;
961 /**
962 * The identifier of the replication job.
963 */
964 replicationJobId?: ReplicationJobId;
965 /**
966 * Indicates whether the replication job is deleted or failed.
967 */
968 replicationJobTerminated?: ReplicationJobTerminated;
969 }
970 export type ServerCatalogStatus = "NOT_IMPORTED"|"IMPORTING"|"AVAILABLE"|"DELETED"|"EXPIRED"|string;
971 export interface ServerGroup {
972 /**
973 * Identifier of a server group.
974 */
975 serverGroupId?: ServerGroupId;
976 /**
977 * Name of a server group.
978 */
979 name?: ServerGroupName;
980 /**
981 * List of servers belonging to a server group.
982 */
983 serverList?: ServerList;
984 }
985 export type ServerGroupId = string;
986 export interface ServerGroupLaunchConfiguration {
987 /**
988 * Identifier of the server group the launch configuration is associated with.
989 */
990 serverGroupId?: ServerGroupId;
991 /**
992 * Launch order of servers in the server group.
993 */
994 launchOrder?: LaunchOrder;
995 /**
996 * Launch configuration for servers in the server group.
997 */
998 serverLaunchConfigurations?: ServerLaunchConfigurations;
999 }
1000 export type ServerGroupLaunchConfigurations = ServerGroupLaunchConfiguration[];
1001 export type ServerGroupName = string;
1002 export interface ServerGroupReplicationConfiguration {
1003 /**
1004 * Identifier of the server group this replication configuration is associated with.
1005 */
1006 serverGroupId?: ServerGroupId;
1007 /**
1008 * Replication configuration for servers in the server group.
1009 */
1010 serverReplicationConfigurations?: ServerReplicationConfigurations;
1011 }
1012 export type ServerGroupReplicationConfigurations = ServerGroupReplicationConfiguration[];
1013 export type ServerGroups = ServerGroup[];
1014 export type ServerId = string;
1015 export interface ServerLaunchConfiguration {
1016 /**
1017 * Identifier of the server the launch configuration is associated with.
1018 */
1019 server?: Server;
1020 /**
1021 * Logical ID of the server in the Amazon CloudFormation template.
1022 */
1023 logicalId?: LogicalId;
1024 /**
1025 * Identifier of the VPC the server should be launched into.
1026 */
1027 vpc?: VPC;
1028 /**
1029 * Identifier of the subnet the server should be launched into.
1030 */
1031 subnet?: Subnet;
1032 /**
1033 * Identifier of the security group that applies to the launched server.
1034 */
1035 securityGroup?: SecurityGroup;
1036 /**
1037 * Name of the EC2 SSH Key to be used for connecting to the launched server.
1038 */
1039 ec2KeyName?: EC2KeyName;
1040 /**
1041 * Location of the user-data script to be executed when launching the server.
1042 */
1043 userData?: UserData;
1044 /**
1045 * Instance type to be used for launching the server.
1046 */
1047 instanceType?: InstanceType;
1048 /**
1049 * If true, a publicly accessible IP address is created when launching the server.
1050 */
1051 associatePublicIpAddress?: AssociatePublicIpAddress;
1052 }
1053 export type ServerLaunchConfigurations = ServerLaunchConfiguration[];
1054 export type ServerList = Server[];
1055 export interface ServerReplicationConfiguration {
1056 /**
1057 * Identifier of the server this replication configuration is associated with.
1058 */
1059 server?: Server;
1060 /**
1061 * Parameters for replicating the server.
1062 */
1063 serverReplicationParameters?: ServerReplicationParameters;
1064 }
1065 export type ServerReplicationConfigurations = ServerReplicationConfiguration[];
1066 export interface ServerReplicationParameters {
1067 /**
1068 * Seed time for creating a replication job for the server.
1069 */
1070 seedTime?: Timestamp;
1071 /**
1072 * Frequency of creating replication jobs for the server.
1073 */
1074 frequency?: Frequency;
1075 /**
1076 *
1077 */
1078 runOnce?: RunOnce;
1079 /**
1080 * License type for creating a replication job for the server.
1081 */
1082 licenseType?: LicenseType;
1083 /**
1084 * Number of recent AMIs to keep when creating a replication job for this server.
1085 */
1086 numberOfRecentAmisToKeep?: NumberOfRecentAmisToKeep;
1087 /**
1088 * When true, the replication job produces encrypted AMIs. See also KmsKeyId below.
1089 */
1090 encrypted?: Encrypted;
1091 /**
1092 * KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following: KMS key ID KMS key alias ARN referring to KMS key ID ARN referring to KMS key alias If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
1093 */
1094 kmsKeyId?: KmsKeyId;
1095 }
1096 export type ServerType = "VIRTUAL_MACHINE"|string;
1097 export type StackId = string;
1098 export type StackName = string;
1099 export interface StartAppReplicationRequest {
1100 /**
1101 * ID of the application to replicate.
1102 */
1103 appId?: AppId;
1104 }
1105 export interface StartAppReplicationResponse {
1106 }
1107 export interface StartOnDemandReplicationRunRequest {
1108 /**
1109 * The identifier of the replication job.
1110 */
1111 replicationJobId: ReplicationJobId;
1112 /**
1113 * The description of the replication run.
1114 */
1115 description?: Description;
1116 }
1117 export interface StartOnDemandReplicationRunResponse {
1118 /**
1119 * The identifier of the replication run.
1120 */
1121 replicationRunId?: ReplicationRunId;
1122 }
1123 export interface StopAppReplicationRequest {
1124 /**
1125 * ID of the application to stop replicating.
1126 */
1127 appId?: AppId;
1128 }
1129 export interface StopAppReplicationResponse {
1130 }
1131 export type Subnet = string;
1132 export interface Tag {
1133 /**
1134 * Tag key.
1135 */
1136 key?: TagKey;
1137 /**
1138 * Tag value.
1139 */
1140 value?: TagValue;
1141 }
1142 export type TagKey = string;
1143 export type TagValue = string;
1144 export type Tags = Tag[];
1145 export interface TerminateAppRequest {
1146 /**
1147 * ID of the application to terminate.
1148 */
1149 appId?: AppId;
1150 }
1151 export interface TerminateAppResponse {
1152 }
1153 export type Timestamp = Date;
1154 export type TotalServerGroups = number;
1155 export type TotalServers = number;
1156 export interface UpdateAppRequest {
1157 /**
1158 * ID of the application to update.
1159 */
1160 appId?: AppId;
1161 /**
1162 * New name of the application.
1163 */
1164 name?: AppName;
1165 /**
1166 * New description of the application.
1167 */
1168 description?: AppDescription;
1169 /**
1170 * Name of the service role in the customer's account used by AWS SMS.
1171 */
1172 roleName?: RoleName;
1173 /**
1174 * List of server groups in the application to update.
1175 */
1176 serverGroups?: ServerGroups;
1177 /**
1178 * List of tags to associate with the application.
1179 */
1180 tags?: Tags;
1181 }
1182 export interface UpdateAppResponse {
1183 /**
1184 * Summary description of the application.
1185 */
1186 appSummary?: AppSummary;
1187 /**
1188 * List of updated server groups in the application.
1189 */
1190 serverGroups?: ServerGroups;
1191 /**
1192 * List of tags associated with the application.
1193 */
1194 tags?: Tags;
1195 }
1196 export interface UpdateReplicationJobRequest {
1197 /**
1198 * The identifier of the replication job.
1199 */
1200 replicationJobId: ReplicationJobId;
1201 /**
1202 * The time between consecutive replication runs, in hours.
1203 */
1204 frequency?: Frequency;
1205 /**
1206 * The start time of the next replication run.
1207 */
1208 nextReplicationRunStartTime?: Timestamp;
1209 /**
1210 * The license type to be used for the AMI created by a successful replication run.
1211 */
1212 licenseType?: LicenseType;
1213 /**
1214 * The name of the IAM role to be used by AWS SMS.
1215 */
1216 roleName?: RoleName;
1217 /**
1218 * The description of the replication job.
1219 */
1220 description?: Description;
1221 /**
1222 * The maximum number of SMS-created AMIs to retain. The oldest will be deleted once the maximum number is reached and a new AMI is created.
1223 */
1224 numberOfRecentAmisToKeep?: NumberOfRecentAmisToKeep;
1225 /**
1226 * When true, the replication job produces encrypted AMIs . See also KmsKeyId below.
1227 */
1228 encrypted?: Encrypted;
1229 /**
1230 * KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following: KMS key ID KMS key alias ARN referring to KMS key ID ARN referring to KMS key alias If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
1231 */
1232 kmsKeyId?: KmsKeyId;
1233 }
1234 export interface UpdateReplicationJobResponse {
1235 }
1236 export interface UserData {
1237 /**
1238 * Amazon S3 location of the user-data script.
1239 */
1240 s3Location?: S3Location;
1241 }
1242 export type VPC = string;
1243 export type VmId = string;
1244 export type VmManagerId = string;
1245 export type VmManagerName = string;
1246 export type VmManagerType = "VSPHERE"|"SCVMM"|"HYPERV-MANAGER"|string;
1247 export type VmName = string;
1248 export type VmPath = string;
1249 export interface VmServer {
1250 /**
1251 * Information about the VM server location.
1252 */
1253 vmServerAddress?: VmServerAddress;
1254 /**
1255 * The name of the VM.
1256 */
1257 vmName?: VmName;
1258 /**
1259 * The name of the VM manager.
1260 */
1261 vmManagerName?: VmManagerName;
1262 /**
1263 * The type of VM management product.
1264 */
1265 vmManagerType?: VmManagerType;
1266 /**
1267 * The VM folder path in the vCenter Server virtual machine inventory tree.
1268 */
1269 vmPath?: VmPath;
1270 }
1271 export interface VmServerAddress {
1272 /**
1273 * The identifier of the VM manager.
1274 */
1275 vmManagerId?: VmManagerId;
1276 /**
1277 * The identifier of the VM.
1278 */
1279 vmId?: VmId;
1280 }
1281 export type VmServerAddressList = VmServerAddress[];
1282 /**
1283 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1284 */
1285 export type apiVersion = "2016-10-24"|"latest"|string;
1286 export interface ClientApiVersions {
1287 /**
1288 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
1289 */
1290 apiVersion?: apiVersion;
1291 }
1292 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
1293 /**
1294 * Contains interfaces for use with the SMS client.
1295 */
1296 export import Types = SMS;
1297}
1298export = SMS;