@Generated(value="OracleSDKGenerator", comments="API Version: 20191031") public interface ApplicationMigration extends AutoCloseable
API for the Application Migration service. Use this API to migrate applications from Oracle Cloud Infrastructure - Classic to Oracle Cloud Infrastructure.
| Modifier and Type | Method and Description |
|---|---|
CancelWorkRequestResponse |
cancelWorkRequest(CancelWorkRequestRequest request)
Cancels the specified work request
|
ChangeMigrationCompartmentResponse |
changeMigrationCompartment(ChangeMigrationCompartmentRequest request)
Moves a Migration into a different compartment.
|
ChangeSourceCompartmentResponse |
changeSourceCompartment(ChangeSourceCompartmentRequest request)
Moves a Source into a different compartment.
|
CreateMigrationResponse |
createMigration(CreateMigrationRequest request)
Creates an application migration in the specified compartment.
|
CreateSourceResponse |
createSource(CreateSourceRequest request)
Creates a migration source in the specified compartment.
|
DeleteMigrationResponse |
deleteMigration(DeleteMigrationRequest request)
Deletes the specified Application object.
|
DeleteSourceResponse |
deleteSource(DeleteSourceRequest request)
Deletes the specified Source object.
|
String |
getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
|
GetMigrationResponse |
getMigration(GetMigrationRequest request)
Gets an application migration using the ID.
|
ApplicationMigrationPaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple
pages of data.
|
GetSourceResponse |
getSource(GetSourceRequest request)
Gets a migration source using the source ID.
|
ApplicationMigrationWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
GetWorkRequestResponse |
getWorkRequest(GetWorkRequestRequest request)
Gets the details of a work request.
|
ListMigrationsResponse |
listMigrations(ListMigrationsRequest request)
Returns a list of migrations in a given compartment.
|
ListSourceApplicationsResponse |
listSourceApplications(ListSourceApplicationsRequest request)
Returns a list of applications running in the source environment.
|
ListSourcesResponse |
listSources(ListSourcesRequest request)
Returns a list of migration sources in a specified compartment.
|
ListWorkRequestErrorsResponse |
listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Gets the errors for a work request.
|
ListWorkRequestLogsResponse |
listWorkRequestLogs(ListWorkRequestLogsRequest request)
Gets the logs for a work request.
|
ListWorkRequestsResponse |
listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment or for a specified resource.
|
MigrateApplicationResponse |
migrateApplication(MigrateApplicationRequest request)
Validates target configuration and migrates a PaaS application running in a Source environment into the customers Oracle Cloud Infrastructure tenancy.
|
void |
setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
|
void |
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
|
void |
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
|
UpdateMigrationResponse |
updateMigration(UpdateMigrationRequest request)
Update the configuration for an application migration.
|
UpdateSourceResponse |
updateSource(UpdateSourceRequest request)
Update source details.
|
closevoid setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint - The endpoint of the service.String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint after resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.
region - The region of the service.void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call
setRegion.
If no known Region could be determined, it will create an endpoint based on the
default endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint.
regionId - The public region ID.CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request)
Cancels the specified work request
request - The request object containing the details to sendBmcException - when an error occurs.ChangeMigrationCompartmentResponse changeMigrationCompartment(ChangeMigrationCompartmentRequest request)
Moves a Migration into a different compartment.
request - The request object containing the details to sendBmcException - when an error occurs.ChangeSourceCompartmentResponse changeSourceCompartment(ChangeSourceCompartmentRequest request)
Moves a Source into a different compartment.
request - The request object containing the details to sendBmcException - when an error occurs.CreateMigrationResponse createMigration(CreateMigrationRequest request)
Creates an application migration in the specified compartment. Specify the compartment using the compartment ID.
request - The request object containing the details to sendBmcException - when an error occurs.CreateSourceResponse createSource(CreateSourceRequest request)
Creates a migration source in the specified compartment. Specify the compartment using the compartment ID.
request - The request object containing the details to sendBmcException - when an error occurs.DeleteMigrationResponse deleteMigration(DeleteMigrationRequest request)
Deletes the specified Application object.
request - The request object containing the details to sendBmcException - when an error occurs.DeleteSourceResponse deleteSource(DeleteSourceRequest request)
Deletes the specified Source object.
request - The request object containing the details to sendBmcException - when an error occurs.GetMigrationResponse getMigration(GetMigrationRequest request)
Gets an application migration using the ID.
request - The request object containing the details to sendBmcException - when an error occurs.GetSourceResponse getSource(GetSourceRequest request)
Gets a migration source using the source ID.
request - The request object containing the details to sendBmcException - when an error occurs.GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Gets the details of a work request.
request - The request object containing the details to sendBmcException - when an error occurs.ListMigrationsResponse listMigrations(ListMigrationsRequest request)
Returns a list of migrations in a given compartment.
request - The request object containing the details to sendBmcException - when an error occurs.ListSourceApplicationsResponse listSourceApplications(ListSourceApplicationsRequest request)
Returns a list of applications running in the source environment. This list is generated dynamically by interrogating the source and changes as applications are started or stopped in that environment.
request - The request object containing the details to sendBmcException - when an error occurs.ListSourcesResponse listSources(ListSourcesRequest request)
Returns a list of migration sources in a specified compartment.
request - The request object containing the details to sendBmcException - when an error occurs.ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Gets the errors for a work request.
request - The request object containing the details to sendBmcException - when an error occurs.ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Gets the logs for a work request.
request - The request object containing the details to sendBmcException - when an error occurs.ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment or for a specified resource.
request - The request object containing the details to sendBmcException - when an error occurs.MigrateApplicationResponse migrateApplication(MigrateApplicationRequest request)
Validates target configuration and migrates a PaaS application running in a Source environment into the customers Oracle Cloud Infrastructure tenancy. This an optional action and only required if automatic start of migration was not selected when creating the migration.
request - The request object containing the details to sendBmcException - when an error occurs.UpdateMigrationResponse updateMigration(UpdateMigrationRequest request)
Update the configuration for an application migration.
request - The request object containing the details to sendBmcException - when an error occurs.UpdateSourceResponse updateSource(UpdateSourceRequest request)
Update source details.
request - The request object containing the details to sendBmcException - when an error occurs.ApplicationMigrationWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.
ApplicationMigrationPaginators getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple
pages of data. These paginators provide an Iterable interface so that service responses, or
resources/records, can be iterated through without having to manually deal with pagination and page tokens.
Copyright © 2016–2020. All rights reserved.