oci-go-sdk: github.com/oracle/oci-go-sdk/applicationmigration Index | Files

package applicationmigration

import "github.com/oracle/oci-go-sdk/applicationmigration"

Index

Package Files

applicationmigration_client.go authorization_details.go cancel_work_request_request_response.go change_compartment_details.go change_migration_compartment_request_response.go change_source_compartment_request_response.go configuration_field.go create_migration_details.go create_migration_request_response.go create_source_details.go create_source_request_response.go delete_migration_request_response.go delete_source_request_response.go discovery_details.go get_migration_request_response.go get_source_request_response.go get_work_request_request_response.go ics_discovery_details.go internal_authorization_details.go internal_source_details.go jcs_discovery_details.go list_migrations_request_response.go list_source_applications_request_response.go list_sources_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go migrate_application_request_response.go migration.go migration_lifecycle_states.go migration_states.go migration_summary.go migration_types.go oac_discovery_details.go ocic_authorization_details.go ocic_source_details.go oic_discovery_details.go operation_status.go operation_types.go pcs_discovery_details.go soacs_discovery_details.go sort_orders.go source.go source_application.go source_application_summary.go source_details.go source_lifecycle_states.go source_summary.go source_types.go update_migration_details.go update_migration_request_response.go update_source_details.go update_source_request_response.go work_request.go work_request_error.go work_request_log_entry.go work_request_resource.go work_request_summary.go

type ApplicationMigrationClient Uses

type ApplicationMigrationClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

ApplicationMigrationClient a client for ApplicationMigration

func NewApplicationMigrationClientWithConfigurationProvider Uses

func NewApplicationMigrationClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ApplicationMigrationClient, err error)

NewApplicationMigrationClientWithConfigurationProvider Creates a new default ApplicationMigration client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewApplicationMigrationClientWithOboToken Uses

func NewApplicationMigrationClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ApplicationMigrationClient, err error)

NewApplicationMigrationClientWithOboToken Creates a new default ApplicationMigration client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (ApplicationMigrationClient) CancelWorkRequest Uses

func (client ApplicationMigrationClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)

CancelWorkRequest Cancels the specified work request

func (ApplicationMigrationClient) ChangeMigrationCompartment Uses

func (client ApplicationMigrationClient) ChangeMigrationCompartment(ctx context.Context, request ChangeMigrationCompartmentRequest) (response ChangeMigrationCompartmentResponse, err error)

ChangeMigrationCompartment Moves a Migration into a different compartment.

func (ApplicationMigrationClient) ChangeSourceCompartment Uses

func (client ApplicationMigrationClient) ChangeSourceCompartment(ctx context.Context, request ChangeSourceCompartmentRequest) (response ChangeSourceCompartmentResponse, err error)

ChangeSourceCompartment Moves a Source into a different compartment.

func (*ApplicationMigrationClient) ConfigurationProvider Uses

func (client *ApplicationMigrationClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (ApplicationMigrationClient) CreateMigration Uses

func (client ApplicationMigrationClient) CreateMigration(ctx context.Context, request CreateMigrationRequest) (response CreateMigrationResponse, err error)

CreateMigration Creates an application migration in the specified compartment. Specify the compartment using the compartment ID.

func (ApplicationMigrationClient) CreateSource Uses

func (client ApplicationMigrationClient) CreateSource(ctx context.Context, request CreateSourceRequest) (response CreateSourceResponse, err error)

CreateSource Creates a migration source in the specified compartment. Specify the compartment using the compartment ID.

func (ApplicationMigrationClient) DeleteMigration Uses

func (client ApplicationMigrationClient) DeleteMigration(ctx context.Context, request DeleteMigrationRequest) (response DeleteMigrationResponse, err error)

DeleteMigration Deletes the specified Application object.

func (ApplicationMigrationClient) DeleteSource Uses

func (client ApplicationMigrationClient) DeleteSource(ctx context.Context, request DeleteSourceRequest) (response DeleteSourceResponse, err error)

DeleteSource Deletes the specified Source object.

func (ApplicationMigrationClient) GetMigration Uses

func (client ApplicationMigrationClient) GetMigration(ctx context.Context, request GetMigrationRequest) (response GetMigrationResponse, err error)

GetMigration Gets an application migration using the ID.

func (ApplicationMigrationClient) GetSource Uses

func (client ApplicationMigrationClient) GetSource(ctx context.Context, request GetSourceRequest) (response GetSourceResponse, err error)

GetSource Gets a migration source using the source ID.

func (ApplicationMigrationClient) GetWorkRequest Uses

func (client ApplicationMigrationClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Gets the details of a work request.

func (ApplicationMigrationClient) ListMigrations Uses

func (client ApplicationMigrationClient) ListMigrations(ctx context.Context, request ListMigrationsRequest) (response ListMigrationsResponse, err error)

ListMigrations Returns a list of migrations in a given compartment.

func (ApplicationMigrationClient) ListSourceApplications Uses

func (client ApplicationMigrationClient) ListSourceApplications(ctx context.Context, request ListSourceApplicationsRequest) (response ListSourceApplicationsResponse, err error)

ListSourceApplications 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.

func (ApplicationMigrationClient) ListSources Uses

func (client ApplicationMigrationClient) ListSources(ctx context.Context, request ListSourcesRequest) (response ListSourcesResponse, err error)

ListSources Returns a list of migration sources in a specified compartment.

func (ApplicationMigrationClient) ListWorkRequestErrors Uses

func (client ApplicationMigrationClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Gets the errors for a work request.

func (ApplicationMigrationClient) ListWorkRequestLogs Uses

func (client ApplicationMigrationClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Gets the logs for a work request.

func (ApplicationMigrationClient) ListWorkRequests Uses

func (client ApplicationMigrationClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Lists the work requests in a compartment or for a specified resource.

func (ApplicationMigrationClient) MigrateApplication Uses

func (client ApplicationMigrationClient) MigrateApplication(ctx context.Context, request MigrateApplicationRequest) (response MigrateApplicationResponse, err error)

MigrateApplication 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.

func (*ApplicationMigrationClient) SetRegion Uses

func (client *ApplicationMigrationClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ApplicationMigrationClient) UpdateMigration Uses

func (client ApplicationMigrationClient) UpdateMigration(ctx context.Context, request UpdateMigrationRequest) (response UpdateMigrationResponse, err error)

UpdateMigration Update the configuration for an application migration.

func (ApplicationMigrationClient) UpdateSource Uses

func (client ApplicationMigrationClient) UpdateSource(ctx context.Context, request UpdateSourceRequest) (response UpdateSourceResponse, err error)

UpdateSource Update source details.

type AuthorizationDetails Uses

type AuthorizationDetails interface {
}

AuthorizationDetails Base model for different source authorization methods

type CancelWorkRequestRequest Uses

type CancelWorkRequestRequest struct {

    // The OCID of the work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous `GET` or `POST` response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

func (CancelWorkRequestRequest) HTTPRequest Uses

func (request CancelWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CancelWorkRequestRequest) RetryPolicy Uses

func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CancelWorkRequestRequest) String Uses

func (request CancelWorkRequestRequest) String() string

type CancelWorkRequestResponse Uses

type CancelWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CancelWorkRequestResponse wrapper for the CancelWorkRequest operation

func (CancelWorkRequestResponse) HTTPResponse Uses

func (response CancelWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String Uses

func (response CancelWorkRequestResponse) String() string

type ChangeCompartmentDetails Uses

type ChangeCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment
    // into which the resource should be moved.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeCompartmentDetails Provides the updated compartment OCID

func (ChangeCompartmentDetails) String Uses

func (m ChangeCompartmentDetails) String() string

type ChangeMigrationCompartmentRequest Uses

type ChangeMigrationCompartmentRequest struct {

    // The application OCID
    MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

    // The updated compartment details
    ChangeMigrationCompartmentDetails ChangeCompartmentDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous `GET` or `POST` response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of retrying the same action. Retry tokens expire after
    // 24 hours, but can be invalidated before then due to conflicting operations. For example,
    // if a resource has been deleted and purged from the system, then a retry of the original
    // creation request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ChangeMigrationCompartmentRequest wrapper for the ChangeMigrationCompartment operation

func (ChangeMigrationCompartmentRequest) HTTPRequest Uses

func (request ChangeMigrationCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeMigrationCompartmentRequest) RetryPolicy Uses

func (request ChangeMigrationCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeMigrationCompartmentRequest) String Uses

func (request ChangeMigrationCompartmentRequest) String() string

type ChangeMigrationCompartmentResponse Uses

type ChangeMigrationCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ChangeMigrationCompartmentResponse wrapper for the ChangeMigrationCompartment operation

func (ChangeMigrationCompartmentResponse) HTTPResponse Uses

func (response ChangeMigrationCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeMigrationCompartmentResponse) String Uses

func (response ChangeMigrationCompartmentResponse) String() string

type ChangeSourceCompartmentRequest Uses

type ChangeSourceCompartmentRequest struct {

    // The source OCID
    SourceId *string `mandatory:"true" contributesTo:"path" name:"sourceId"`

    // The updated compartment details
    ChangeSourceCompartmentDetails ChangeCompartmentDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous `GET` or `POST` response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of retrying the same action. Retry tokens expire after
    // 24 hours, but can be invalidated before then due to conflicting operations. For example,
    // if a resource has been deleted and purged from the system, then a retry of the original
    // creation request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ChangeSourceCompartmentRequest wrapper for the ChangeSourceCompartment operation

func (ChangeSourceCompartmentRequest) HTTPRequest Uses

func (request ChangeSourceCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeSourceCompartmentRequest) RetryPolicy Uses

func (request ChangeSourceCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeSourceCompartmentRequest) String Uses

func (request ChangeSourceCompartmentRequest) String() string

type ChangeSourceCompartmentResponse Uses

type ChangeSourceCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

ChangeSourceCompartmentResponse wrapper for the ChangeSourceCompartment operation

func (ChangeSourceCompartmentResponse) HTTPResponse Uses

func (response ChangeSourceCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeSourceCompartmentResponse) String Uses

func (response ChangeSourceCompartmentResponse) String() string

type ConfigurationField Uses

type ConfigurationField struct {

    // The name of the configuration field
    Name *string `mandatory:"false" json:"name"`

    // The name of the group to which this field belongs, if any.
    Group *string `mandatory:"false" json:"group"`

    // The configuration field type
    Type *string `mandatory:"false" json:"type"`

    // The value of the field
    Value *string `mandatory:"false" json:"value"`

    // Help text to guide the customer in setting the configuration value
    Description *string `mandatory:"false" json:"description"`

    // Indicates whether or not the field is required (defaults to true)
    IsRequired *bool `mandatory:"false" json:"isRequired"`

    // Indicates whether or not the field may be modified (defaults to true)
    IsMutable *bool `mandatory:"false" json:"isMutable"`
}

ConfigurationField Information required to migrate an application. Populated by the service as the source application is introspected

func (ConfigurationField) String Uses

func (m ConfigurationField) String() string

type CreateMigrationDetails Uses

type CreateMigrationDetails struct {

    // Unique idenfifier (OCID) for the compartment where the Source is located.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Unique identifier (OCID) of the application source.
    SourceId *string `mandatory:"true" json:"sourceId"`

    // Name of the application being migrated from the source.
    ApplicationName *string `mandatory:"true" json:"applicationName"`

    DiscoveryDetails DiscoveryDetails `mandatory:"true" json:"discoveryDetails"`

    // Human-readable name of the application.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Description of the application.
    Description *string `mandatory:"false" json:"description"`

    // Configuration required to migrate the application. In addition to the key and value, additional fields are provided to describe type type and purpose of each field. Only the value for each key is required when passing configuration to the CreateMigration operation.
    ServiceConfig map[string]ConfigurationField `mandatory:"false" json:"serviceConfig"`

    // Configuration required to migrate the application. In addition to the key and value, additional fields are provided to describe type type and purpose of each field. Only the value for each key is required when passing configuration to the CreateMigration operation.
    ApplicationConfig map[string]ConfigurationField `mandatory:"false" json:"applicationConfig"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateMigrationDetails An application being migrated from a source environment to OCI.

func (CreateMigrationDetails) String Uses

func (m CreateMigrationDetails) String() string

func (*CreateMigrationDetails) UnmarshalJSON Uses

func (m *CreateMigrationDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type CreateMigrationRequest Uses

type CreateMigrationRequest struct {

    // The properties for creating a migration.
    CreateMigrationDetails `contributesTo:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of retrying the same action. Retry tokens expire after
    // 24 hours, but can be invalidated before then due to conflicting operations. For example,
    // if a resource has been deleted and purged from the system, then a retry of the original
    // creation request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

CreateMigrationRequest wrapper for the CreateMigration operation

func (CreateMigrationRequest) HTTPRequest Uses

func (request CreateMigrationRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateMigrationRequest) RetryPolicy Uses

func (request CreateMigrationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateMigrationRequest) String Uses

func (request CreateMigrationRequest) String() string

type CreateMigrationResponse Uses

type CreateMigrationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Migration instance
    Migration `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

CreateMigrationResponse wrapper for the CreateMigration operation

func (CreateMigrationResponse) HTTPResponse Uses

func (response CreateMigrationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateMigrationResponse) String Uses

func (response CreateMigrationResponse) String() string

type CreateSourceDetails Uses

type CreateSourceDetails struct {

    // Unique idenfifier (OCID) for the compartment where the Source is located.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    SourceDetails SourceDetails `mandatory:"true" json:"sourceDetails"`

    // Human-readable name of the source.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Description of the source.
    Description *string `mandatory:"false" json:"description"`

    AuthorizationDetails AuthorizationDetails `mandatory:"false" json:"authorizationDetails"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateSourceDetails The Source object. Sources represent external locations from which applications may be imported into an OCI tenancy.

func (CreateSourceDetails) String Uses

func (m CreateSourceDetails) String() string

func (*CreateSourceDetails) UnmarshalJSON Uses

func (m *CreateSourceDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type CreateSourceRequest Uses

type CreateSourceRequest struct {

    // The properties for creating a source.
    CreateSourceDetails `contributesTo:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of retrying the same action. Retry tokens expire after
    // 24 hours, but can be invalidated before then due to conflicting operations. For example,
    // if a resource has been deleted and purged from the system, then a retry of the original
    // creation request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

CreateSourceRequest wrapper for the CreateSource operation

func (CreateSourceRequest) HTTPRequest Uses

func (request CreateSourceRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateSourceRequest) RetryPolicy Uses

func (request CreateSourceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateSourceRequest) String Uses

func (request CreateSourceRequest) String() string

type CreateSourceResponse Uses

type CreateSourceResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Source instance
    Source `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

CreateSourceResponse wrapper for the CreateSource operation

func (CreateSourceResponse) HTTPResponse Uses

func (response CreateSourceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateSourceResponse) String Uses

func (response CreateSourceResponse) String() string

type DeleteMigrationRequest Uses

type DeleteMigrationRequest struct {

    // The application OCID
    MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous `GET` or `POST` response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

DeleteMigrationRequest wrapper for the DeleteMigration operation

func (DeleteMigrationRequest) HTTPRequest Uses

func (request DeleteMigrationRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteMigrationRequest) RetryPolicy Uses

func (request DeleteMigrationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteMigrationRequest) String Uses

func (request DeleteMigrationRequest) String() string

type DeleteMigrationResponse Uses

type DeleteMigrationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

DeleteMigrationResponse wrapper for the DeleteMigration operation

func (DeleteMigrationResponse) HTTPResponse Uses

func (response DeleteMigrationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteMigrationResponse) String Uses

func (response DeleteMigrationResponse) String() string

type DeleteSourceRequest Uses

type DeleteSourceRequest struct {

    // The source OCID
    SourceId *string `mandatory:"true" contributesTo:"path" name:"sourceId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous `GET` or `POST` response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

DeleteSourceRequest wrapper for the DeleteSource operation

func (DeleteSourceRequest) HTTPRequest Uses

func (request DeleteSourceRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteSourceRequest) RetryPolicy Uses

func (request DeleteSourceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteSourceRequest) String Uses

func (request DeleteSourceRequest) String() string

type DeleteSourceResponse Uses

type DeleteSourceResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

DeleteSourceResponse wrapper for the DeleteSource operation

func (DeleteSourceResponse) HTTPResponse Uses

func (response DeleteSourceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteSourceResponse) String Uses

func (response DeleteSourceResponse) String() string

type DiscoveryDetails Uses

type DiscoveryDetails interface {
}

DiscoveryDetails Base model for different application discovery requirements

type GetMigrationRequest Uses

type GetMigrationRequest struct {

    // The application OCID
    MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetMigrationRequest wrapper for the GetMigration operation

func (GetMigrationRequest) HTTPRequest Uses

func (request GetMigrationRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetMigrationRequest) RetryPolicy Uses

func (request GetMigrationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetMigrationRequest) String Uses

func (request GetMigrationRequest) String() string

type GetMigrationResponse Uses

type GetMigrationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Migration instance
    Migration `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

GetMigrationResponse wrapper for the GetMigration operation

func (GetMigrationResponse) HTTPResponse Uses

func (response GetMigrationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetMigrationResponse) String Uses

func (response GetMigrationResponse) String() string

type GetSourceRequest Uses

type GetSourceRequest struct {

    // The source OCID
    SourceId *string `mandatory:"true" contributesTo:"path" name:"sourceId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetSourceRequest wrapper for the GetSource operation

func (GetSourceRequest) HTTPRequest Uses

func (request GetSourceRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSourceRequest) RetryPolicy Uses

func (request GetSourceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSourceRequest) String Uses

func (request GetSourceRequest) String() string

type GetSourceResponse Uses

type GetSourceResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Source instance
    Source `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

GetSourceResponse wrapper for the GetSource operation

func (GetSourceResponse) HTTPResponse Uses

func (response GetSourceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSourceResponse) String Uses

func (response GetSourceResponse) String() string

type GetWorkRequestRequest Uses

type GetWorkRequestRequest struct {

    // The OCID of the work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetWorkRequestRequest wrapper for the GetWorkRequest operation

func (GetWorkRequestRequest) HTTPRequest Uses

func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy Uses

func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetWorkRequestRequest) String Uses

func (request GetWorkRequestRequest) String() string

type GetWorkRequestResponse Uses

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The WorkRequest instance
    WorkRequest `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse Uses

func (response GetWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String Uses

func (response GetWorkRequestResponse) String() string

type IcsDiscoveryDetails Uses

type IcsDiscoveryDetails struct {

    // The ICS instance admin user
    ServiceInstanceUser *string `mandatory:"true" json:"serviceInstanceUser"`

    // The ICS instance admin password
    ServiceInstancePassword *string `mandatory:"true" json:"serviceInstancePassword"`
}

IcsDiscoveryDetails Specifies the credentials to access the source ICS instance

func (IcsDiscoveryDetails) MarshalJSON Uses

func (m IcsDiscoveryDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (IcsDiscoveryDetails) String Uses

func (m IcsDiscoveryDetails) String() string

type InternalAuthorizationDetails Uses

type InternalAuthorizationDetails struct {

    // User with Compute Operations role in Oracle Cloud Infrastructure - Classic.
    Username *string `mandatory:"true" json:"username"`

    // Password for this user.
    Password *string `mandatory:"true" json:"password"`
}

InternalAuthorizationDetails Specifies the credentials to access the source Oracle Cloud Infrastructure - Classic environment.

func (InternalAuthorizationDetails) MarshalJSON Uses

func (m InternalAuthorizationDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (InternalAuthorizationDetails) String Uses

func (m InternalAuthorizationDetails) String() string

type InternalSourceDetails Uses

type InternalSourceDetails struct {

    // The tradition cloud account name
    AccountName *string `mandatory:"true" json:"accountName"`
}

InternalSourceDetails Specifies configuration specific to the source environment.

func (InternalSourceDetails) MarshalJSON Uses

func (m InternalSourceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (InternalSourceDetails) String Uses

func (m InternalSourceDetails) String() string

type JcsDiscoveryDetails Uses

type JcsDiscoveryDetails struct {

    // The JCS instance weblogic admin user
    WeblogicUser *string `mandatory:"true" json:"weblogicUser"`

    // The JCS instance weblogic admin password
    WeblogicPassword *string `mandatory:"true" json:"weblogicPassword"`
}

JcsDiscoveryDetails Specifies the credentials to access the source JCS instance

func (JcsDiscoveryDetails) MarshalJSON Uses

func (m JcsDiscoveryDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (JcsDiscoveryDetails) String Uses

func (m JcsDiscoveryDetails) String() string

type ListMigrationsRequest Uses

type ListMigrationsRequest struct {

    // The compartment OCID on which to filter.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The OCID on which to query for an application.
    Id  *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The number of items returned in a paginated `List` call. For information about pagination, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the preceding `List` call.
    // For information about pagination, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order, either `ASC` (ascending) or `DESC` (descending).
    SortOrder ListMigrationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Specifies the field on which to sort.
    // By default, `TIMECREATED` is ordered descending.
    // By default, `DISPLAYNAME` is ordered ascending. Note that you can sort only on one field.
    SortBy ListMigrationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Display name on which to query.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The lifecycle state on which to filter.
    LifecycleState MigrationLifecycleStatesEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListMigrationsRequest wrapper for the ListMigrations operation

func (ListMigrationsRequest) HTTPRequest Uses

func (request ListMigrationsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMigrationsRequest) RetryPolicy Uses

func (request ListMigrationsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListMigrationsRequest) String Uses

func (request ListMigrationsRequest) String() string

type ListMigrationsResponse Uses

type ListMigrationsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []MigrationSummary instances
    Items []MigrationSummary `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListMigrationsResponse wrapper for the ListMigrations operation

func (ListMigrationsResponse) HTTPResponse Uses

func (response ListMigrationsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListMigrationsResponse) String Uses

func (response ListMigrationsResponse) String() string

type ListMigrationsSortByEnum Uses

type ListMigrationsSortByEnum string

ListMigrationsSortByEnum Enum with underlying type: string

const (
    ListMigrationsSortByTimecreated ListMigrationsSortByEnum = "TIMECREATED"
    ListMigrationsSortByDisplayname ListMigrationsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListMigrationsSortByEnum

func GetListMigrationsSortByEnumValues Uses

func GetListMigrationsSortByEnumValues() []ListMigrationsSortByEnum

GetListMigrationsSortByEnumValues Enumerates the set of values for ListMigrationsSortByEnum

type ListMigrationsSortOrderEnum Uses

type ListMigrationsSortOrderEnum string

ListMigrationsSortOrderEnum Enum with underlying type: string

const (
    ListMigrationsSortOrderAsc  ListMigrationsSortOrderEnum = "ASC"
    ListMigrationsSortOrderDesc ListMigrationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListMigrationsSortOrderEnum

func GetListMigrationsSortOrderEnumValues Uses

func GetListMigrationsSortOrderEnumValues() []ListMigrationsSortOrderEnum

GetListMigrationsSortOrderEnumValues Enumerates the set of values for ListMigrationsSortOrderEnum

type ListSourceApplicationsRequest Uses

type ListSourceApplicationsRequest struct {

    // The source OCID
    SourceId *string `mandatory:"true" contributesTo:"path" name:"sourceId"`

    // The compartment OCID on which to filter.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The number of items returned in a paginated `List` call. For information about pagination, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the preceding `List` call.
    // For information about pagination, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order, either `ASC` (ascending) or `DESC` (descending).
    SortOrder ListSourceApplicationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Specifies the field on which to sort.
    // By default, `TIMECREATED` is ordered descending.
    // By default, `DISPLAYNAME` is ordered ascending. Note that you can sort only on one field.
    SortBy ListSourceApplicationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Resource name on which to query.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListSourceApplicationsRequest wrapper for the ListSourceApplications operation

func (ListSourceApplicationsRequest) HTTPRequest Uses

func (request ListSourceApplicationsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSourceApplicationsRequest) RetryPolicy Uses

func (request ListSourceApplicationsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSourceApplicationsRequest) String Uses

func (request ListSourceApplicationsRequest) String() string

type ListSourceApplicationsResponse Uses

type ListSourceApplicationsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []SourceApplicationSummary instances
    Items []SourceApplicationSummary `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListSourceApplicationsResponse wrapper for the ListSourceApplications operation

func (ListSourceApplicationsResponse) HTTPResponse Uses

func (response ListSourceApplicationsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSourceApplicationsResponse) String Uses

func (response ListSourceApplicationsResponse) String() string

type ListSourceApplicationsSortByEnum Uses

type ListSourceApplicationsSortByEnum string

ListSourceApplicationsSortByEnum Enum with underlying type: string

const (
    ListSourceApplicationsSortByTimecreated ListSourceApplicationsSortByEnum = "TIMECREATED"
    ListSourceApplicationsSortByDisplayname ListSourceApplicationsSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListSourceApplicationsSortByEnum

func GetListSourceApplicationsSortByEnumValues Uses

func GetListSourceApplicationsSortByEnumValues() []ListSourceApplicationsSortByEnum

GetListSourceApplicationsSortByEnumValues Enumerates the set of values for ListSourceApplicationsSortByEnum

type ListSourceApplicationsSortOrderEnum Uses

type ListSourceApplicationsSortOrderEnum string

ListSourceApplicationsSortOrderEnum Enum with underlying type: string

const (
    ListSourceApplicationsSortOrderAsc  ListSourceApplicationsSortOrderEnum = "ASC"
    ListSourceApplicationsSortOrderDesc ListSourceApplicationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSourceApplicationsSortOrderEnum

func GetListSourceApplicationsSortOrderEnumValues Uses

func GetListSourceApplicationsSortOrderEnumValues() []ListSourceApplicationsSortOrderEnum

GetListSourceApplicationsSortOrderEnumValues Enumerates the set of values for ListSourceApplicationsSortOrderEnum

type ListSourcesRequest Uses

type ListSourcesRequest struct {

    // The compartment OCID on which to filter.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The OCID on which to query for a source.
    Id  *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The number of items returned in a paginated `List` call. For information about pagination, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the preceding `List` call.
    // For information about pagination, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order, either `ASC` (ascending) or `DESC` (descending).
    SortOrder ListSourcesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Specifies the field on which to sort.
    // By default, `TIMECREATED` is ordered descending.
    // By default, `DISPLAYNAME` is ordered ascending. Note that you can sort only on one field.
    SortBy ListSourcesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Display name on which to query.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The lifecycle state on which to filter.
    LifecycleState SourceLifecycleStatesEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListSourcesRequest wrapper for the ListSources operation

func (ListSourcesRequest) HTTPRequest Uses

func (request ListSourcesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSourcesRequest) RetryPolicy Uses

func (request ListSourcesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSourcesRequest) String Uses

func (request ListSourcesRequest) String() string

type ListSourcesResponse Uses

type ListSourcesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []SourceSummary instances
    Items []SourceSummary `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListSourcesResponse wrapper for the ListSources operation

func (ListSourcesResponse) HTTPResponse Uses

func (response ListSourcesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSourcesResponse) String Uses

func (response ListSourcesResponse) String() string

type ListSourcesSortByEnum Uses

type ListSourcesSortByEnum string

ListSourcesSortByEnum Enum with underlying type: string

const (
    ListSourcesSortByTimecreated ListSourcesSortByEnum = "TIMECREATED"
    ListSourcesSortByDisplayname ListSourcesSortByEnum = "DISPLAYNAME"
)

Set of constants representing the allowable values for ListSourcesSortByEnum

func GetListSourcesSortByEnumValues Uses

func GetListSourcesSortByEnumValues() []ListSourcesSortByEnum

GetListSourcesSortByEnumValues Enumerates the set of values for ListSourcesSortByEnum

type ListSourcesSortOrderEnum Uses

type ListSourcesSortOrderEnum string

ListSourcesSortOrderEnum Enum with underlying type: string

const (
    ListSourcesSortOrderAsc  ListSourcesSortOrderEnum = "ASC"
    ListSourcesSortOrderDesc ListSourcesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSourcesSortOrderEnum

func GetListSourcesSortOrderEnumValues Uses

func GetListSourcesSortOrderEnumValues() []ListSourcesSortOrderEnum

GetListSourcesSortOrderEnumValues Enumerates the set of values for ListSourcesSortOrderEnum

type ListWorkRequestErrorsRequest Uses

type ListWorkRequestErrorsRequest struct {

    // The OCID of the work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The number of items returned in a paginated `List` call. For information about pagination, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the preceding `List` call.
    // For information about pagination, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order, either `ASC` (ascending) or `DESC` (descending).
    SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsRequest) HTTPRequest Uses

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy Uses

func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestErrorsRequest) String Uses

func (request ListWorkRequestErrorsRequest) String() string

type ListWorkRequestErrorsResponse Uses

type ListWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WorkRequestError instances
    Items []WorkRequestError `presentIn:"body"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse Uses

func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String Uses

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortOrderEnum Uses

type ListWorkRequestErrorsSortOrderEnum string

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

const (
    ListWorkRequestErrorsSortOrderAsc  ListWorkRequestErrorsSortOrderEnum = "ASC"
    ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumValues Uses

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

type ListWorkRequestLogsRequest Uses

type ListWorkRequestLogsRequest struct {

    // The OCID of the work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The number of items returned in a paginated `List` call. For information about pagination, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the preceding `List` call.
    // For information about pagination, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order, either `ASC` (ascending) or `DESC` (descending).
    SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsRequest) HTTPRequest Uses

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy Uses

func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestLogsRequest) String Uses

func (request ListWorkRequestLogsRequest) String() string

type ListWorkRequestLogsResponse Uses

type ListWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WorkRequestLogEntry instances
    Items []WorkRequestLogEntry `presentIn:"body"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse Uses

func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String Uses

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortOrderEnum Uses

type ListWorkRequestLogsSortOrderEnum string

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

const (
    ListWorkRequestLogsSortOrderAsc  ListWorkRequestLogsSortOrderEnum = "ASC"
    ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumValues Uses

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

type ListWorkRequestsRequest Uses

type ListWorkRequestsRequest struct {

    // The compartment OCID on which to filter.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The OCID of the resource.
    ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The number of items returned in a paginated `List` call. For information about pagination, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the preceding `List` call.
    // For information about pagination, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

func (ListWorkRequestsRequest) HTTPRequest Uses

func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy Uses

func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestsRequest) String Uses

func (request ListWorkRequestsRequest) String() string

type ListWorkRequestsResponse Uses

type ListWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WorkRequestSummary instances
    Items []WorkRequestSummary `presentIn:"body"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then a partial list might have been returned. Include this value as the `page` parameter for the
    // subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse Uses

func (response ListWorkRequestsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String Uses

func (response ListWorkRequestsResponse) String() string

type MigrateApplicationRequest Uses

type MigrateApplicationRequest struct {

    // The application OCID
    MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

MigrateApplicationRequest wrapper for the MigrateApplication operation

func (MigrateApplicationRequest) HTTPRequest Uses

func (request MigrateApplicationRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (MigrateApplicationRequest) RetryPolicy Uses

func (request MigrateApplicationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (MigrateApplicationRequest) String Uses

func (request MigrateApplicationRequest) String() string

type MigrateApplicationResponse Uses

type MigrateApplicationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

MigrateApplicationResponse wrapper for the MigrateApplication operation

func (MigrateApplicationResponse) HTTPResponse Uses

func (response MigrateApplicationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (MigrateApplicationResponse) String Uses

func (response MigrateApplicationResponse) String() string

type Migration Uses

type Migration struct {

    // Unique identifier (OCID) for the application
    Id  *string `mandatory:"false" json:"id"`

    // Unique idenfifier (OCID) for the compartment where the Source is located.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // Human-readable name of the migration.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Description of the migration.
    Description *string `mandatory:"false" json:"description"`

    // The date and time at which the migration was created.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // Unique identifier (OCID) of the application source.
    SourceId *string `mandatory:"false" json:"sourceId"`

    // Name of the application being migrated from the source.
    ApplicationName *string `mandatory:"false" json:"applicationName"`

    // The type of application being migrated.
    ApplicationType MigrationTypesEnum `mandatory:"false" json:"applicationType,omitempty"`

    // Configuration required to migrate the application. In addition to the key and value, additional fields are provided to describe type type and purpose of each field. Only the value for each key is required when passing configuration to the CreateMigration operation.
    ServiceConfig map[string]ConfigurationField `mandatory:"false" json:"serviceConfig"`

    // Configuration required to migrate the application. In addition to the key and value, additional fields are provided to describe type type and purpose of each field. Only the value for each key is required when passing configuration to the CreateMigration operation.
    ApplicationConfig map[string]ConfigurationField `mandatory:"false" json:"applicationConfig"`

    // The current state of the Migration
    LifecycleState MigrationLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Details about the current lifecycle state
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The current state of the overall Migration process
    MigrationState MigrationStatesEnum `mandatory:"false" json:"migrationState,omitempty"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

Migration An application being migrated from a source environment to OCI.

func (Migration) String Uses

func (m Migration) String() string

type MigrationLifecycleStatesEnum Uses

type MigrationLifecycleStatesEnum string

MigrationLifecycleStatesEnum Enum with underlying type: string

const (
    MigrationLifecycleStatesCreating  MigrationLifecycleStatesEnum = "CREATING"
    MigrationLifecycleStatesActive    MigrationLifecycleStatesEnum = "ACTIVE"
    MigrationLifecycleStatesInactive  MigrationLifecycleStatesEnum = "INACTIVE"
    MigrationLifecycleStatesUpdating  MigrationLifecycleStatesEnum = "UPDATING"
    MigrationLifecycleStatesSucceeded MigrationLifecycleStatesEnum = "SUCCEEDED"
    MigrationLifecycleStatesDeleting  MigrationLifecycleStatesEnum = "DELETING"
    MigrationLifecycleStatesDeleted   MigrationLifecycleStatesEnum = "DELETED"
)

Set of constants representing the allowable values for MigrationLifecycleStatesEnum

func GetMigrationLifecycleStatesEnumValues Uses

func GetMigrationLifecycleStatesEnumValues() []MigrationLifecycleStatesEnum

GetMigrationLifecycleStatesEnumValues Enumerates the set of values for MigrationLifecycleStatesEnum

type MigrationStatesEnum Uses

type MigrationStatesEnum string

MigrationStatesEnum Enum with underlying type: string

const (
    MigrationStatesDiscoveringApplication MigrationStatesEnum = "DISCOVERING_APPLICATION"
    MigrationStatesDiscoveryFailed        MigrationStatesEnum = "DISCOVERY_FAILED"
    MigrationStatesMissingConfigValues    MigrationStatesEnum = "MISSING_CONFIG_VALUES"
    MigrationStatesReady                  MigrationStatesEnum = "READY"
    MigrationStatesMigrating              MigrationStatesEnum = "MIGRATING"
    MigrationStatesMigrationFailed        MigrationStatesEnum = "MIGRATION_FAILED"
    MigrationStatesMigrationSucceeded     MigrationStatesEnum = "MIGRATION_SUCCEEDED"
)

Set of constants representing the allowable values for MigrationStatesEnum

func GetMigrationStatesEnumValues Uses

func GetMigrationStatesEnumValues() []MigrationStatesEnum

GetMigrationStatesEnumValues Enumerates the set of values for MigrationStatesEnum

type MigrationSummary Uses

type MigrationSummary struct {

    // Unique identifier (OCID) for the application
    Id  *string `mandatory:"false" json:"id"`

    // Unique idenfifier (OCID) for the compartment where the Source is located.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // Human-readable name of the migration.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Description of the migration.
    Description *string `mandatory:"false" json:"description"`

    // The date and time at which the migration was created.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // Unique identifier (OCID) of the source.
    SourceId *string `mandatory:"false" json:"sourceId"`

    // Name of the application being migrated from the source.
    ApplicationName *string `mandatory:"false" json:"applicationName"`

    // The type of application being migrated.
    ApplicationType MigrationTypesEnum `mandatory:"false" json:"applicationType,omitempty"`

    // The current state of the Migration
    LifecycleState MigrationLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Details about the current lifecycle state
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The current state of the overall Migration process
    MigrationState MigrationStatesEnum `mandatory:"false" json:"migrationState,omitempty"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

MigrationSummary An application being migrated from a source environment to OCI.

func (MigrationSummary) String Uses

func (m MigrationSummary) String() string

type MigrationTypesEnum Uses

type MigrationTypesEnum string

MigrationTypesEnum Enum with underlying type: string

const (
    MigrationTypesJcs   MigrationTypesEnum = "JCS"
    MigrationTypesSoacs MigrationTypesEnum = "SOACS"
    MigrationTypesOic   MigrationTypesEnum = "OIC"
    MigrationTypesOac   MigrationTypesEnum = "OAC"
    MigrationTypesIcs   MigrationTypesEnum = "ICS"
    MigrationTypesPcs   MigrationTypesEnum = "PCS"
)

Set of constants representing the allowable values for MigrationTypesEnum

func GetMigrationTypesEnumValues Uses

func GetMigrationTypesEnumValues() []MigrationTypesEnum

GetMigrationTypesEnumValues Enumerates the set of values for MigrationTypesEnum

type OacDiscoveryDetails Uses

type OacDiscoveryDetails struct {

    // The OAC instance admin user
    ServiceInstanceUser *string `mandatory:"true" json:"serviceInstanceUser"`

    // The OAC instance admin password
    ServiceInstancePassword *string `mandatory:"true" json:"serviceInstancePassword"`
}

OacDiscoveryDetails Specifies the credentials to access the source OAC instance

func (OacDiscoveryDetails) MarshalJSON Uses

func (m OacDiscoveryDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (OacDiscoveryDetails) String Uses

func (m OacDiscoveryDetails) String() string

type OcicAuthorizationDetails Uses

type OcicAuthorizationDetails struct {

    // User with Compute Operations role in Oracle Cloud Infrastructure - Classic.
    Username *string `mandatory:"true" json:"username"`

    // Password for this user.
    Password *string `mandatory:"true" json:"password"`
}

OcicAuthorizationDetails Specifies the credentials to access the source Oracle Cloud Infrastructure - Classic environment.

func (OcicAuthorizationDetails) MarshalJSON Uses

func (m OcicAuthorizationDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (OcicAuthorizationDetails) String Uses

func (m OcicAuthorizationDetails) String() string

type OcicSourceDetails Uses

type OcicSourceDetails struct {

    // The Oracle Cloud Infrastructure - Classic region name (e.g. us2-z11 or uscom-central-1)
    Region *string `mandatory:"true" json:"region"`

    // The compute account id
    ComputeAccount *string `mandatory:"true" json:"computeAccount"`
}

OcicSourceDetails Specifies configuration specific to the source environment.

func (OcicSourceDetails) MarshalJSON Uses

func (m OcicSourceDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (OcicSourceDetails) String Uses

func (m OcicSourceDetails) String() string

type OicDiscoveryDetails Uses

type OicDiscoveryDetails struct {

    // The OIC instance admin user
    ServiceInstanceUser *string `mandatory:"true" json:"serviceInstanceUser"`

    // The OIC instance admin password
    ServiceInstancePassword *string `mandatory:"true" json:"serviceInstancePassword"`
}

OicDiscoveryDetails Specifies the credentials to access the source OIC instance

func (OicDiscoveryDetails) MarshalJSON Uses

func (m OicDiscoveryDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (OicDiscoveryDetails) String Uses

func (m OicDiscoveryDetails) String() string

type OperationStatusEnum Uses

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

const (
    OperationStatusAccepted   OperationStatusEnum = "ACCEPTED"
    OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
    OperationStatusFailed     OperationStatusEnum = "FAILED"
    OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
    OperationStatusCanceling  OperationStatusEnum = "CANCELING"
    OperationStatusCanceled   OperationStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for OperationStatusEnum

func GetOperationStatusEnumValues Uses

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypesEnum Uses

type OperationTypesEnum string

OperationTypesEnum Enum with underlying type: string

const (
    OperationTypesCreateSource               OperationTypesEnum = "CREATE_SOURCE"
    OperationTypesUpdateSource               OperationTypesEnum = "UPDATE_SOURCE"
    OperationTypesDeleteSource               OperationTypesEnum = "DELETE_SOURCE"
    OperationTypesCreateMigration            OperationTypesEnum = "CREATE_MIGRATION"
    OperationTypesUpdateMigration            OperationTypesEnum = "UPDATE_MIGRATION"
    OperationTypesDeleteMigration            OperationTypesEnum = "DELETE_MIGRATION"
    OperationTypesAuthorizeSource            OperationTypesEnum = "AUTHORIZE_SOURCE"
    OperationTypesDiscoverApplication        OperationTypesEnum = "DISCOVER_APPLICATION"
    OperationTypesMigrateApplication         OperationTypesEnum = "MIGRATE_APPLICATION"
    OperationTypesChangeSourceCompartment    OperationTypesEnum = "CHANGE_SOURCE_COMPARTMENT"
    OperationTypesChangeMigrationCompartment OperationTypesEnum = "CHANGE_MIGRATION_COMPARTMENT"
)

Set of constants representing the allowable values for OperationTypesEnum

func GetOperationTypesEnumValues Uses

func GetOperationTypesEnumValues() []OperationTypesEnum

GetOperationTypesEnumValues Enumerates the set of values for OperationTypesEnum

type PcsDiscoveryDetails Uses

type PcsDiscoveryDetails struct {

    // The PCS instance admin user
    ServiceInstanceUser *string `mandatory:"true" json:"serviceInstanceUser"`

    // The PCS instance admin password
    ServiceInstancePassword *string `mandatory:"true" json:"serviceInstancePassword"`
}

PcsDiscoveryDetails Specifies the credentials to access the source PCS instance

func (PcsDiscoveryDetails) MarshalJSON Uses

func (m PcsDiscoveryDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (PcsDiscoveryDetails) String Uses

func (m PcsDiscoveryDetails) String() string

type SoacsDiscoveryDetails Uses

type SoacsDiscoveryDetails struct {

    // The SOACS instance weblogic admin user
    WeblogicUser *string `mandatory:"true" json:"weblogicUser"`

    // The SOACS instance weblogic admin password
    WeblogicPassword *string `mandatory:"true" json:"weblogicPassword"`
}

SoacsDiscoveryDetails Specifies the credentials to access the source SOACS instance

func (SoacsDiscoveryDetails) MarshalJSON Uses

func (m SoacsDiscoveryDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SoacsDiscoveryDetails) String Uses

func (m SoacsDiscoveryDetails) String() string

type SortOrdersEnum Uses

type SortOrdersEnum string

SortOrdersEnum Enum with underlying type: string

const (
    SortOrdersAsc  SortOrdersEnum = "ASC"
    SortOrdersDesc SortOrdersEnum = "DESC"
)

Set of constants representing the allowable values for SortOrdersEnum

func GetSortOrdersEnumValues Uses

func GetSortOrdersEnumValues() []SortOrdersEnum

GetSortOrdersEnumValues Enumerates the set of values for SortOrdersEnum

type Source Uses

type Source struct {

    // Unique identifier (OCID) for the source
    Id  *string `mandatory:"false" json:"id"`

    // Unique idenfifier (OCID) for the compartment where the Source is located.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // Human-readable name of the source.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Description of the source.
    Description *string `mandatory:"false" json:"description"`

    // The date and time at which the source was created
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The current state of the Source
    LifecycleState SourceLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Details about the current lifecycle state
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    SourceDetails SourceDetails `mandatory:"false" json:"sourceDetails"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

Source The Source object. Sources represent external locations from which applications may be imported into an OCI tenancy.

func (Source) String Uses

func (m Source) String() string

func (*Source) UnmarshalJSON Uses

func (m *Source) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type SourceApplication Uses

type SourceApplication struct {

    // The name of the application
    Name *string `mandatory:"false" json:"name"`

    // The type of application
    Type MigrationTypesEnum `mandatory:"false" json:"type,omitempty"`

    // Unique identifier (OCID) for the Source to which the application belongs
    SourceId *string `mandatory:"false" json:"sourceId"`

    // The version of the application server
    Version *string `mandatory:"false" json:"version"`

    // The current application running state
    State *string `mandatory:"false" json:"state"`
}

SourceApplication An application running in the source environment that is available for export.

func (SourceApplication) String Uses

func (m SourceApplication) String() string

type SourceApplicationSummary Uses

type SourceApplicationSummary struct {

    // The name of the application
    Name *string `mandatory:"false" json:"name"`

    // The type of application
    Type MigrationTypesEnum `mandatory:"false" json:"type,omitempty"`

    // Unique identifier (OCID) for the Source to which the application belongs
    SourceId *string `mandatory:"false" json:"sourceId"`

    // The version of the application server
    Version *string `mandatory:"false" json:"version"`

    // The current application running state
    State *string `mandatory:"false" json:"state"`
}

SourceApplicationSummary An application running in the source environment that is available for export.

func (SourceApplicationSummary) String Uses

func (m SourceApplicationSummary) String() string

type SourceDetails Uses

type SourceDetails interface {
}

SourceDetails Base model for different source environment types

type SourceLifecycleStatesEnum Uses

type SourceLifecycleStatesEnum string

SourceLifecycleStatesEnum Enum with underlying type: string

const (
    SourceLifecycleStatesCreating SourceLifecycleStatesEnum = "CREATING"
    SourceLifecycleStatesDeleting SourceLifecycleStatesEnum = "DELETING"
    SourceLifecycleStatesUpdating SourceLifecycleStatesEnum = "UPDATING"
    SourceLifecycleStatesActive   SourceLifecycleStatesEnum = "ACTIVE"
    SourceLifecycleStatesInactive SourceLifecycleStatesEnum = "INACTIVE"
    SourceLifecycleStatesDeleted  SourceLifecycleStatesEnum = "DELETED"
)

Set of constants representing the allowable values for SourceLifecycleStatesEnum

func GetSourceLifecycleStatesEnumValues Uses

func GetSourceLifecycleStatesEnumValues() []SourceLifecycleStatesEnum

GetSourceLifecycleStatesEnumValues Enumerates the set of values for SourceLifecycleStatesEnum

type SourceSummary Uses

type SourceSummary struct {

    // Unique identifier (OCID) for the source
    Id  *string `mandatory:"false" json:"id"`

    // The type of source environment
    Type SourceTypesEnum `mandatory:"false" json:"type,omitempty"`

    // Unique idenfifier (OCID) for the compartment where the Source is located.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // Human-readable name of the source.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Description of the source.
    Description *string `mandatory:"false" json:"description"`

    // The date and time at which the source was created.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The current state of the Source
    LifecycleState SourceLifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Details about the current lifecycle state
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

SourceSummary The Source object. Sources represent external locations from which applications may be imported into an OCI tenancy.

func (SourceSummary) String Uses

func (m SourceSummary) String() string

type SourceTypesEnum Uses

type SourceTypesEnum string

SourceTypesEnum Enum with underlying type: string

const (
    SourceTypesOcic            SourceTypesEnum = "OCIC"
    SourceTypesInternalCompute SourceTypesEnum = "INTERNAL_COMPUTE"
)

Set of constants representing the allowable values for SourceTypesEnum

func GetSourceTypesEnumValues Uses

func GetSourceTypesEnumValues() []SourceTypesEnum

GetSourceTypesEnumValues Enumerates the set of values for SourceTypesEnum

type UpdateMigrationDetails Uses

type UpdateMigrationDetails struct {

    // Human-readable name of the migration.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Description of the migration.
    Description *string `mandatory:"false" json:"description"`

    DiscoveryDetails DiscoveryDetails `mandatory:"false" json:"discoveryDetails"`

    // Configuration required to migrate the application. In addition to the key and value, additional fields are provided to describe type type and purpose of each field. Only the value for each key is required when passing configuration to the CreateMigration operation.
    ServiceConfig map[string]ConfigurationField `mandatory:"false" json:"serviceConfig"`

    // Configuration required to migrate the application. In addition to the key and value, additional fields are provided to describe type type and purpose of each field. Only the value for each key is required when passing configuration to the CreateMigration operation.
    ApplicationConfig map[string]ConfigurationField `mandatory:"false" json:"applicationConfig"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateMigrationDetails Update the details and configuration of a migration.

func (UpdateMigrationDetails) String Uses

func (m UpdateMigrationDetails) String() string

func (*UpdateMigrationDetails) UnmarshalJSON Uses

func (m *UpdateMigrationDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type UpdateMigrationRequest Uses

type UpdateMigrationRequest struct {

    // The application OCID
    MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

    // Updated configuration for the migration.
    UpdateMigrationDetails `contributesTo:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of retrying the same action. Retry tokens expire after
    // 24 hours, but can be invalidated before then due to conflicting operations. For example,
    // if a resource has been deleted and purged from the system, then a retry of the original
    // creation request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous `GET` or `POST` response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

UpdateMigrationRequest wrapper for the UpdateMigration operation

func (UpdateMigrationRequest) HTTPRequest Uses

func (request UpdateMigrationRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateMigrationRequest) RetryPolicy Uses

func (request UpdateMigrationRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateMigrationRequest) String Uses

func (request UpdateMigrationRequest) String() string

type UpdateMigrationResponse Uses

type UpdateMigrationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

UpdateMigrationResponse wrapper for the UpdateMigration operation

func (UpdateMigrationResponse) HTTPResponse Uses

func (response UpdateMigrationResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateMigrationResponse) String Uses

func (response UpdateMigrationResponse) String() string

type UpdateSourceDetails Uses

type UpdateSourceDetails struct {

    // Human-readable name of the source.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Description of the source.
    Description *string `mandatory:"false" json:"description"`

    SourceDetails SourceDetails `mandatory:"false" json:"sourceDetails"`

    AuthorizationDetails AuthorizationDetails `mandatory:"false" json:"authorizationDetails"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateSourceDetails The Source object. Sources represent external locations from which applications may be imported into an OCI tenancy.

func (UpdateSourceDetails) String Uses

func (m UpdateSourceDetails) String() string

func (*UpdateSourceDetails) UnmarshalJSON Uses

func (m *UpdateSourceDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type UpdateSourceRequest Uses

type UpdateSourceRequest struct {

    // The source OCID
    SourceId *string `mandatory:"true" contributesTo:"path" name:"sourceId"`

    // Updated configuration for the source.
    UpdateSourceDetails `contributesTo:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
    // particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match`
    // parameter to the value of the etag from a previous `GET` or `POST` response for that resource.  The resource
    // will be updated or deleted only if the etag you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

UpdateSourceRequest wrapper for the UpdateSource operation

func (UpdateSourceRequest) HTTPRequest Uses

func (request UpdateSourceRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSourceRequest) RetryPolicy Uses

func (request UpdateSourceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateSourceRequest) String Uses

func (request UpdateSourceRequest) String() string

type UpdateSourceResponse Uses

type UpdateSourceResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

UpdateSourceResponse wrapper for the UpdateSource operation

func (UpdateSourceResponse) HTTPResponse Uses

func (response UpdateSourceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateSourceResponse) String Uses

func (response UpdateSourceResponse) String() string

type WorkRequest Uses

type WorkRequest struct {

    // The asynchronous operation tracked by this work request.
    OperationType OperationTypesEnum `mandatory:"true" json:"operationType"`

    // The status of the work request.
    Status OperationStatusEnum `mandatory:"true" json:"status"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
    Id  *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The resources affected by this work request.
    Resources []WorkRequestResource `mandatory:"true" json:"resources"`

    // The amount of work done relative to the total amount of work.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the work request was created, in the format defined by RFC3339.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the work request transitioned from `ACCEPTED` to `IN_PROGRESS`, in the format defined by RFC3339.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the work request reached a terminal state, either `FAILED` or `SUCCEEDED`. Format is defined by RFC3339.
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequest An asynchronous work request.

func (WorkRequest) String Uses

func (m WorkRequest) String() string

type WorkRequestError Uses

type WorkRequestError struct {

    // A machine-usable code for the error that occured.
    Code *string `mandatory:"true" json:"code"`

    // A human-readable error string.
    Message *string `mandatory:"true" json:"message"`

    // The date and time the error occurred.
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestError An error encountered while executing an operation that is tracked by a work request.

func (WorkRequestError) String Uses

func (m WorkRequestError) String() string

type WorkRequestLogEntry Uses

type WorkRequestLogEntry struct {

    // A human-readable log message.
    Message *string `mandatory:"true" json:"message"`

    // The time the log message was written.
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestLogEntry A log message from executing an operation that is tracked by a work request.

func (WorkRequestLogEntry) String Uses

func (m WorkRequestLogEntry) String() string

type WorkRequestResource Uses

type WorkRequestResource struct {

    // The way in which this resource was affected by the operation that spawned the work request.
    ActionType WorkRequestResourceActionTypeEnum `mandatory:"true" json:"actionType"`

    // The resource type the work request affects.
    EntityType *string `mandatory:"true" json:"entityType"`

    // An OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource.
    Identifier *string `mandatory:"true" json:"identifier"`

    // The URI path that you can use for a GET request to access the resource metadata.
    EntityUri *string `mandatory:"false" json:"entityUri"`
}

WorkRequestResource A resource that is created or operated on by an asynchronous operation that is tracked by a work request.

func (WorkRequestResource) String Uses

func (m WorkRequestResource) String() string

type WorkRequestResourceActionTypeEnum Uses

type WorkRequestResourceActionTypeEnum string

WorkRequestResourceActionTypeEnum Enum with underlying type: string

const (
    WorkRequestResourceActionTypeCreated    WorkRequestResourceActionTypeEnum = "CREATED"
    WorkRequestResourceActionTypeUpdated    WorkRequestResourceActionTypeEnum = "UPDATED"
    WorkRequestResourceActionTypeDeleted    WorkRequestResourceActionTypeEnum = "DELETED"
    WorkRequestResourceActionTypeRelated    WorkRequestResourceActionTypeEnum = "RELATED"
    WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS"
)

Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum

func GetWorkRequestResourceActionTypeEnumValues Uses

func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum

GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum

type WorkRequestSummary Uses

type WorkRequestSummary struct {

    // The asynchronous operation tracked by this work request.
    OperationType OperationTypesEnum `mandatory:"true" json:"operationType"`

    // The status of the work request.
    Status OperationStatusEnum `mandatory:"true" json:"status"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
    Id  *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing
    // this work request.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The percentage complete of the operation tracked by this work request.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the work request was created, in the format defined by RFC3339.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the work request transitioned from `ACCEPTED` to `IN_PROGRESS`, in
    // the format defined by RFC3339.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the work request reached a terminal state, either `FAILED` or `SUCCEEDED`.
    // Format is defined by RFC3339.
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequestSummary A summary of the status of a work request.

func (WorkRequestSummary) String Uses

func (m WorkRequestSummary) String() string

Package applicationmigration imports 5 packages (graph). Updated 2020-04-06. Refresh now. Tools for package owners.