...

Package cloudmigrations

import "github.com/oracle/oci-go-sdk/cloudmigrations"
Overview
Index

Overview ▾

Index ▾

func GetAccessLevelEnumStringValues() []string
func GetActionTypeEnumStringValues() []string
func GetAssetSourceConnectionLifecycleStateEnumStringValues() []string
func GetAssetSourceConnectionTypeEnumStringValues() []string
func GetAssetSourceCredentialsTypeEnumStringValues() []string
func GetAssetSourceLifecycleStateEnumStringValues() []string
func GetAssetSourceTypeEnumStringValues() []string
func GetCompatibilityMessageNameEnumStringValues() []string
func GetCompatibilityMessageSeverityEnumStringValues() []string
func GetCreateTargetAssetDetailsTypeEnumStringValues() []string
func GetDiscoveryScheduleLifecycleStateEnumStringValues() []string
func GetHydratedVolumeVolumeTypeEnumStringValues() []string
func GetInstanceAgentPluginConfigDetailsDesiredStateEnumStringValues() []string
func GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues() []string
func GetListAvailableShapesSortByEnumStringValues() []string
func GetListAvailableShapesSortOrderEnumStringValues() []string
func GetListMigrationAssetsSortByEnumStringValues() []string
func GetListMigrationAssetsSortOrderEnumStringValues() []string
func GetListMigrationPlansSortByEnumStringValues() []string
func GetListMigrationPlansSortOrderEnumStringValues() []string
func GetListMigrationsSortByEnumStringValues() []string
func GetListMigrationsSortOrderEnumStringValues() []string
func GetListReplicationSchedulesSortByEnumStringValues() []string
func GetListReplicationSchedulesSortOrderEnumStringValues() []string
func GetListTargetAssetsSortByEnumStringValues() []string
func GetListTargetAssetsSortOrderEnumStringValues() []string
func GetListWorkRequestErrorsSortByEnumStringValues() []string
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
func GetListWorkRequestLogsSortByEnumStringValues() []string
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
func GetListWorkRequestsOperationTypeEnumStringValues() []string
func GetListWorkRequestsSortByEnumStringValues() []string
func GetListWorkRequestsSortOrderEnumStringValues() []string
func GetListWorkRequestsStatusEnumStringValues() []string
func GetMetricTimeWindowEnumStringValues() []string
func GetMetricTypeEnumStringValues() []string
func GetMigrationAssetLifecycleStateEnumStringValues() []string
func GetMigrationAssetNotificationsEnumStringValues() []string
func GetMigrationAssetSummaryNotificationsEnumStringValues() []string
func GetMigrationLifecycleStateEnumStringValues() []string
func GetMigrationPlanLifecycleStateEnumStringValues() []string
func GetOperationStatusEnumStringValues() []string
func GetOperationTypeEnumStringValues() []string
func GetPercentileResourceAssessmentStrategyPercentileEnumStringValues() []string
func GetPreemptionActionTypeEnumStringValues() []string
func GetReplicationProgressLastReplicationStatusEnumStringValues() []string
func GetReplicationProgressStatusEnumStringValues() []string
func GetReplicationScheduleLifecycleStateEnumStringValues() []string
func GetResourceAssessmentStrategyResourceTypeEnumStringValues() []string
func GetResourceAssessmentStrategyStrategyTypeEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
func GetTargetAssetLifecycleStateEnumStringValues() []string
func GetTargetAssetSummaryTypeEnumStringValues() []string
func GetTargetAssetTypeEnumStringValues() []string
func GetTargetEnvironmentTargetEnvironmentTypeEnumStringValues() []string
func GetUpdateTargetAssetDetailsTypeEnumStringValues() []string
func GetVmTargetAssetPreferredShapeTypeEnumStringValues() []string
type AccessLevelEnum
    func GetAccessLevelEnumValues() []AccessLevelEnum
    func GetMappingAccessLevelEnum(val string) (AccessLevelEnum, bool)
type ActionTypeEnum
    func GetActionTypeEnumValues() []ActionTypeEnum
    func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
type AsIsResourceAssessmentStrategy
    func (m AsIsResourceAssessmentStrategy) GetResourceType() ResourceAssessmentStrategyResourceTypeEnum
    func (m AsIsResourceAssessmentStrategy) MarshalJSON() (buff []byte, e error)
    func (m AsIsResourceAssessmentStrategy) String() string
    func (m AsIsResourceAssessmentStrategy) ValidateEnumValue() (bool, error)
type AssetSource
type AssetSourceCollection
    func (m AssetSourceCollection) String() string
    func (m *AssetSourceCollection) UnmarshalJSON(data []byte) (e error)
    func (m AssetSourceCollection) ValidateEnumValue() (bool, error)
type AssetSourceConnection
    func (m AssetSourceConnection) String() string
    func (m AssetSourceConnection) ValidateEnumValue() (bool, error)
type AssetSourceConnectionCollection
    func (m AssetSourceConnectionCollection) String() string
    func (m AssetSourceConnectionCollection) ValidateEnumValue() (bool, error)
type AssetSourceConnectionLifecycleStateEnum
    func GetAssetSourceConnectionLifecycleStateEnumValues() []AssetSourceConnectionLifecycleStateEnum
    func GetMappingAssetSourceConnectionLifecycleStateEnum(val string) (AssetSourceConnectionLifecycleStateEnum, bool)
type AssetSourceConnectionTypeEnum
    func GetAssetSourceConnectionTypeEnumValues() []AssetSourceConnectionTypeEnum
    func GetMappingAssetSourceConnectionTypeEnum(val string) (AssetSourceConnectionTypeEnum, bool)
type AssetSourceCredentials
    func (m AssetSourceCredentials) String() string
    func (m AssetSourceCredentials) ValidateEnumValue() (bool, error)
type AssetSourceCredentialsTypeEnum
    func GetAssetSourceCredentialsTypeEnumValues() []AssetSourceCredentialsTypeEnum
    func GetMappingAssetSourceCredentialsTypeEnum(val string) (AssetSourceCredentialsTypeEnum, bool)
type AssetSourceLifecycleStateEnum
    func GetAssetSourceLifecycleStateEnumValues() []AssetSourceLifecycleStateEnum
    func GetMappingAssetSourceLifecycleStateEnum(val string) (AssetSourceLifecycleStateEnum, bool)
type AssetSourceSummary
type AssetSourceTypeEnum
    func GetAssetSourceTypeEnumValues() []AssetSourceTypeEnum
    func GetMappingAssetSourceTypeEnum(val string) (AssetSourceTypeEnum, bool)
type AvailableShapeSummary
    func (m AvailableShapeSummary) String() string
    func (m AvailableShapeSummary) ValidateEnumValue() (bool, error)
type AvailableShapesCollection
    func (m AvailableShapesCollection) String() string
    func (m AvailableShapesCollection) ValidateEnumValue() (bool, error)
type AverageResourceAssessmentStrategy
    func (m AverageResourceAssessmentStrategy) GetResourceType() ResourceAssessmentStrategyResourceTypeEnum
    func (m AverageResourceAssessmentStrategy) MarshalJSON() (buff []byte, e error)
    func (m AverageResourceAssessmentStrategy) String() string
    func (m AverageResourceAssessmentStrategy) ValidateEnumValue() (bool, error)
type CancelWorkRequestRequest
    func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request CancelWorkRequestRequest) String() string
    func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
type CancelWorkRequestResponse
    func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
    func (response CancelWorkRequestResponse) String() string
type ChangeAssetSourceCompartmentDetails
    func (m ChangeAssetSourceCompartmentDetails) String() string
    func (m ChangeAssetSourceCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeDiscoveryScheduleCompartmentDetails
    func (m ChangeDiscoveryScheduleCompartmentDetails) String() string
    func (m ChangeDiscoveryScheduleCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeMigrationCompartmentDetails
    func (m ChangeMigrationCompartmentDetails) String() string
    func (m ChangeMigrationCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeMigrationCompartmentRequest
    func (request ChangeMigrationCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeMigrationCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeMigrationCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeMigrationCompartmentRequest) String() string
    func (request ChangeMigrationCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeMigrationCompartmentResponse
    func (response ChangeMigrationCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeMigrationCompartmentResponse) String() string
type ChangeMigrationPlanCompartmentDetails
    func (m ChangeMigrationPlanCompartmentDetails) String() string
    func (m ChangeMigrationPlanCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeMigrationPlanCompartmentRequest
    func (request ChangeMigrationPlanCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeMigrationPlanCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeMigrationPlanCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeMigrationPlanCompartmentRequest) String() string
    func (request ChangeMigrationPlanCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeMigrationPlanCompartmentResponse
    func (response ChangeMigrationPlanCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeMigrationPlanCompartmentResponse) String() string
type ChangeReplicationScheduleCompartmentDetails
    func (m ChangeReplicationScheduleCompartmentDetails) String() string
    func (m ChangeReplicationScheduleCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeReplicationScheduleCompartmentRequest
    func (request ChangeReplicationScheduleCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeReplicationScheduleCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeReplicationScheduleCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeReplicationScheduleCompartmentRequest) String() string
    func (request ChangeReplicationScheduleCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeReplicationScheduleCompartmentResponse
    func (response ChangeReplicationScheduleCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeReplicationScheduleCompartmentResponse) String() string
type CompatibilityMessage
    func (m CompatibilityMessage) String() string
    func (m CompatibilityMessage) ValidateEnumValue() (bool, error)
type CompatibilityMessageNameEnum
    func GetCompatibilityMessageNameEnumValues() []CompatibilityMessageNameEnum
    func GetMappingCompatibilityMessageNameEnum(val string) (CompatibilityMessageNameEnum, bool)
type CompatibilityMessageSeverityEnum
    func GetCompatibilityMessageSeverityEnumValues() []CompatibilityMessageSeverityEnum
    func GetMappingCompatibilityMessageSeverityEnum(val string) (CompatibilityMessageSeverityEnum, bool)
type ComputeCostEstimation
    func (m ComputeCostEstimation) String() string
    func (m ComputeCostEstimation) ValidateEnumValue() (bool, error)
type CostEstimation
    func (m CostEstimation) String() string
    func (m CostEstimation) ValidateEnumValue() (bool, error)
type CreateAssetSourceDetails
type CreateDiscoveryScheduleDetails
    func (m CreateDiscoveryScheduleDetails) String() string
    func (m CreateDiscoveryScheduleDetails) ValidateEnumValue() (bool, error)
type CreateMigrationAssetDetails
    func (m CreateMigrationAssetDetails) String() string
    func (m CreateMigrationAssetDetails) ValidateEnumValue() (bool, error)
type CreateMigrationAssetRequest
    func (request CreateMigrationAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateMigrationAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateMigrationAssetRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateMigrationAssetRequest) String() string
    func (request CreateMigrationAssetRequest) ValidateEnumValue() (bool, error)
type CreateMigrationAssetResponse
    func (response CreateMigrationAssetResponse) HTTPResponse() *http.Response
    func (response CreateMigrationAssetResponse) String() string
type CreateMigrationDetails
    func (m CreateMigrationDetails) String() string
    func (m CreateMigrationDetails) ValidateEnumValue() (bool, error)
type CreateMigrationPlanDetails
    func (m CreateMigrationPlanDetails) String() string
    func (m *CreateMigrationPlanDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateMigrationPlanDetails) ValidateEnumValue() (bool, error)
type CreateMigrationPlanRequest
    func (request CreateMigrationPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateMigrationPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateMigrationPlanRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateMigrationPlanRequest) String() string
    func (request CreateMigrationPlanRequest) ValidateEnumValue() (bool, error)
type CreateMigrationPlanResponse
    func (response CreateMigrationPlanResponse) HTTPResponse() *http.Response
    func (response CreateMigrationPlanResponse) String() string
type CreateMigrationRequest
    func (request CreateMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateMigrationRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateMigrationRequest) String() string
    func (request CreateMigrationRequest) ValidateEnumValue() (bool, error)
type CreateMigrationResponse
    func (response CreateMigrationResponse) HTTPResponse() *http.Response
    func (response CreateMigrationResponse) String() string
type CreateReplicationScheduleDetails
    func (m CreateReplicationScheduleDetails) String() string
    func (m CreateReplicationScheduleDetails) ValidateEnumValue() (bool, error)
type CreateReplicationScheduleRequest
    func (request CreateReplicationScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateReplicationScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateReplicationScheduleRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateReplicationScheduleRequest) String() string
    func (request CreateReplicationScheduleRequest) ValidateEnumValue() (bool, error)
type CreateReplicationScheduleResponse
    func (response CreateReplicationScheduleResponse) HTTPResponse() *http.Response
    func (response CreateReplicationScheduleResponse) String() string
type CreateTargetAssetDetails
type CreateTargetAssetDetailsTypeEnum
    func GetCreateTargetAssetDetailsTypeEnumValues() []CreateTargetAssetDetailsTypeEnum
    func GetMappingCreateTargetAssetDetailsTypeEnum(val string) (CreateTargetAssetDetailsTypeEnum, bool)
type CreateTargetAssetRequest
    func (request CreateTargetAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateTargetAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateTargetAssetRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateTargetAssetRequest) String() string
    func (request CreateTargetAssetRequest) ValidateEnumValue() (bool, error)
type CreateTargetAssetResponse
    func (response CreateTargetAssetResponse) HTTPResponse() *http.Response
    func (response CreateTargetAssetResponse) String() string
type CreateVmTargetAssetDetails
    func (m CreateVmTargetAssetDetails) GetIsExcludedFromExecution() *bool
    func (m CreateVmTargetAssetDetails) GetMigrationPlanId() *string
    func (m CreateVmTargetAssetDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateVmTargetAssetDetails) String() string
    func (m CreateVmTargetAssetDetails) ValidateEnumValue() (bool, error)
type CreateVmWareAssetSourceDetails
    func (m CreateVmWareAssetSourceDetails) GetAssetsCompartmentId() *string
    func (m CreateVmWareAssetSourceDetails) GetCompartmentId() *string
    func (m CreateVmWareAssetSourceDetails) GetDefinedTags() map[string]map[string]interface{}
    func (m CreateVmWareAssetSourceDetails) GetDiscoveryScheduleId() *string
    func (m CreateVmWareAssetSourceDetails) GetDisplayName() *string
    func (m CreateVmWareAssetSourceDetails) GetEnvironmentId() *string
    func (m CreateVmWareAssetSourceDetails) GetFreeformTags() map[string]string
    func (m CreateVmWareAssetSourceDetails) GetInventoryId() *string
    func (m CreateVmWareAssetSourceDetails) GetSystemTags() map[string]map[string]interface{}
    func (m CreateVmWareAssetSourceDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateVmWareAssetSourceDetails) String() string
    func (m CreateVmWareAssetSourceDetails) ValidateEnumValue() (bool, error)
type CreateVnicDetails
    func (m CreateVnicDetails) String() string
    func (m CreateVnicDetails) ValidateEnumValue() (bool, error)
type DeleteMigrationAssetRequest
    func (request DeleteMigrationAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteMigrationAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteMigrationAssetRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteMigrationAssetRequest) String() string
    func (request DeleteMigrationAssetRequest) ValidateEnumValue() (bool, error)
type DeleteMigrationAssetResponse
    func (response DeleteMigrationAssetResponse) HTTPResponse() *http.Response
    func (response DeleteMigrationAssetResponse) String() string
type DeleteMigrationPlanRequest
    func (request DeleteMigrationPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteMigrationPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteMigrationPlanRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteMigrationPlanRequest) String() string
    func (request DeleteMigrationPlanRequest) ValidateEnumValue() (bool, error)
type DeleteMigrationPlanResponse
    func (response DeleteMigrationPlanResponse) HTTPResponse() *http.Response
    func (response DeleteMigrationPlanResponse) String() string
type DeleteMigrationRequest
    func (request DeleteMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteMigrationRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteMigrationRequest) String() string
    func (request DeleteMigrationRequest) ValidateEnumValue() (bool, error)
type DeleteMigrationResponse
    func (response DeleteMigrationResponse) HTTPResponse() *http.Response
    func (response DeleteMigrationResponse) String() string
type DeleteReplicationScheduleRequest
    func (request DeleteReplicationScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteReplicationScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteReplicationScheduleRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteReplicationScheduleRequest) String() string
    func (request DeleteReplicationScheduleRequest) ValidateEnumValue() (bool, error)
type DeleteReplicationScheduleResponse
    func (response DeleteReplicationScheduleResponse) HTTPResponse() *http.Response
    func (response DeleteReplicationScheduleResponse) String() string
type DeleteTargetAssetRequest
    func (request DeleteTargetAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteTargetAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteTargetAssetRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteTargetAssetRequest) String() string
    func (request DeleteTargetAssetRequest) ValidateEnumValue() (bool, error)
type DeleteTargetAssetResponse
    func (response DeleteTargetAssetResponse) HTTPResponse() *http.Response
    func (response DeleteTargetAssetResponse) String() string
type DiscoverySchedule
    func (m DiscoverySchedule) String() string
    func (m DiscoverySchedule) ValidateEnumValue() (bool, error)
type DiscoveryScheduleCollection
    func (m DiscoveryScheduleCollection) String() string
    func (m DiscoveryScheduleCollection) ValidateEnumValue() (bool, error)
type DiscoveryScheduleLifecycleStateEnum
    func GetDiscoveryScheduleLifecycleStateEnumValues() []DiscoveryScheduleLifecycleStateEnum
    func GetMappingDiscoveryScheduleLifecycleStateEnum(val string) (DiscoveryScheduleLifecycleStateEnum, bool)
type DiscoveryScheduleSummary
    func (m DiscoveryScheduleSummary) String() string
    func (m DiscoveryScheduleSummary) ValidateEnumValue() (bool, error)
type ExecuteMigrationPlanRequest
    func (request ExecuteMigrationPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ExecuteMigrationPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ExecuteMigrationPlanRequest) RetryPolicy() *common.RetryPolicy
    func (request ExecuteMigrationPlanRequest) String() string
    func (request ExecuteMigrationPlanRequest) ValidateEnumValue() (bool, error)
type ExecuteMigrationPlanResponse
    func (response ExecuteMigrationPlanResponse) HTTPResponse() *http.Response
    func (response ExecuteMigrationPlanResponse) String() string
type ExportMigrationPlanRequest
    func (request ExportMigrationPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ExportMigrationPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ExportMigrationPlanRequest) RetryPolicy() *common.RetryPolicy
    func (request ExportMigrationPlanRequest) String() string
    func (request ExportMigrationPlanRequest) ValidateEnumValue() (bool, error)
type ExportMigrationPlanResponse
    func (response ExportMigrationPlanResponse) HTTPResponse() *http.Response
    func (response ExportMigrationPlanResponse) String() string
type GetMigrationAssetRequest
    func (request GetMigrationAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetMigrationAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetMigrationAssetRequest) RetryPolicy() *common.RetryPolicy
    func (request GetMigrationAssetRequest) String() string
    func (request GetMigrationAssetRequest) ValidateEnumValue() (bool, error)
type GetMigrationAssetResponse
    func (response GetMigrationAssetResponse) HTTPResponse() *http.Response
    func (response GetMigrationAssetResponse) String() string
type GetMigrationPlanRequest
    func (request GetMigrationPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetMigrationPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetMigrationPlanRequest) RetryPolicy() *common.RetryPolicy
    func (request GetMigrationPlanRequest) String() string
    func (request GetMigrationPlanRequest) ValidateEnumValue() (bool, error)
type GetMigrationPlanResponse
    func (response GetMigrationPlanResponse) HTTPResponse() *http.Response
    func (response GetMigrationPlanResponse) String() string
type GetMigrationRequest
    func (request GetMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetMigrationRequest) RetryPolicy() *common.RetryPolicy
    func (request GetMigrationRequest) String() string
    func (request GetMigrationRequest) ValidateEnumValue() (bool, error)
type GetMigrationResponse
    func (response GetMigrationResponse) HTTPResponse() *http.Response
    func (response GetMigrationResponse) String() string
type GetReplicationProgressRequest
    func (request GetReplicationProgressRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetReplicationProgressRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetReplicationProgressRequest) RetryPolicy() *common.RetryPolicy
    func (request GetReplicationProgressRequest) String() string
    func (request GetReplicationProgressRequest) ValidateEnumValue() (bool, error)
type GetReplicationProgressResponse
    func (response GetReplicationProgressResponse) HTTPResponse() *http.Response
    func (response GetReplicationProgressResponse) String() string
type GetReplicationScheduleRequest
    func (request GetReplicationScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetReplicationScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetReplicationScheduleRequest) RetryPolicy() *common.RetryPolicy
    func (request GetReplicationScheduleRequest) String() string
    func (request GetReplicationScheduleRequest) ValidateEnumValue() (bool, error)
type GetReplicationScheduleResponse
    func (response GetReplicationScheduleResponse) HTTPResponse() *http.Response
    func (response GetReplicationScheduleResponse) String() string
type GetTargetAssetRequest
    func (request GetTargetAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetTargetAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetTargetAssetRequest) RetryPolicy() *common.RetryPolicy
    func (request GetTargetAssetRequest) String() string
    func (request GetTargetAssetRequest) ValidateEnumValue() (bool, error)
type GetTargetAssetResponse
    func (response GetTargetAssetResponse) HTTPResponse() *http.Response
    func (response GetTargetAssetResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
    func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type HydratedVolume
    func (m HydratedVolume) String() string
    func (m HydratedVolume) ValidateEnumValue() (bool, error)
type HydratedVolumeVolumeTypeEnum
    func GetHydratedVolumeVolumeTypeEnumValues() []HydratedVolumeVolumeTypeEnum
    func GetMappingHydratedVolumeVolumeTypeEnum(val string) (HydratedVolumeVolumeTypeEnum, bool)
type ImportMigrationPlanRequest
    func (request ImportMigrationPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ImportMigrationPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ImportMigrationPlanRequest) RetryPolicy() *common.RetryPolicy
    func (request ImportMigrationPlanRequest) String() string
    func (request ImportMigrationPlanRequest) ValidateEnumValue() (bool, error)
type ImportMigrationPlanResponse
    func (response ImportMigrationPlanResponse) HTTPResponse() *http.Response
    func (response ImportMigrationPlanResponse) String() string
type InstanceAgentPluginConfigDetails
    func (m InstanceAgentPluginConfigDetails) String() string
    func (m InstanceAgentPluginConfigDetails) ValidateEnumValue() (bool, error)
type InstanceAgentPluginConfigDetailsDesiredStateEnum
    func GetInstanceAgentPluginConfigDetailsDesiredStateEnumValues() []InstanceAgentPluginConfigDetailsDesiredStateEnum
    func GetMappingInstanceAgentPluginConfigDetailsDesiredStateEnum(val string) (InstanceAgentPluginConfigDetailsDesiredStateEnum, bool)
type InstanceOptions
    func (m InstanceOptions) String() string
    func (m InstanceOptions) ValidateEnumValue() (bool, error)
type InstanceSourceDetails
type InstanceSourceViaBootVolumeDetails
    func (m InstanceSourceViaBootVolumeDetails) MarshalJSON() (buff []byte, e error)
    func (m InstanceSourceViaBootVolumeDetails) String() string
    func (m InstanceSourceViaBootVolumeDetails) ValidateEnumValue() (bool, error)
type InstanceSourceViaImageDetails
    func (m InstanceSourceViaImageDetails) MarshalJSON() (buff []byte, e error)
    func (m InstanceSourceViaImageDetails) String() string
    func (m InstanceSourceViaImageDetails) ValidateEnumValue() (bool, error)
type LaunchInstanceAgentConfigDetails
    func (m LaunchInstanceAgentConfigDetails) String() string
    func (m LaunchInstanceAgentConfigDetails) ValidateEnumValue() (bool, error)
type LaunchInstanceDetails
    func (m LaunchInstanceDetails) String() string
    func (m *LaunchInstanceDetails) UnmarshalJSON(data []byte) (e error)
    func (m LaunchInstanceDetails) ValidateEnumValue() (bool, error)
type LaunchInstanceShapeConfigDetails
    func (m LaunchInstanceShapeConfigDetails) String() string
    func (m LaunchInstanceShapeConfigDetails) ValidateEnumValue() (bool, error)
type LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum
    func GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues() []LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum
    func GetMappingLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum(val string) (LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum, bool)
type ListAvailableShapesRequest
    func (request ListAvailableShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListAvailableShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListAvailableShapesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListAvailableShapesRequest) String() string
    func (request ListAvailableShapesRequest) ValidateEnumValue() (bool, error)
type ListAvailableShapesResponse
    func (response ListAvailableShapesResponse) HTTPResponse() *http.Response
    func (response ListAvailableShapesResponse) String() string
type ListAvailableShapesSortByEnum
    func GetListAvailableShapesSortByEnumValues() []ListAvailableShapesSortByEnum
    func GetMappingListAvailableShapesSortByEnum(val string) (ListAvailableShapesSortByEnum, bool)
type ListAvailableShapesSortOrderEnum
    func GetListAvailableShapesSortOrderEnumValues() []ListAvailableShapesSortOrderEnum
    func GetMappingListAvailableShapesSortOrderEnum(val string) (ListAvailableShapesSortOrderEnum, bool)
type ListMigrationAssetsRequest
    func (request ListMigrationAssetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListMigrationAssetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListMigrationAssetsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListMigrationAssetsRequest) String() string
    func (request ListMigrationAssetsRequest) ValidateEnumValue() (bool, error)
type ListMigrationAssetsResponse
    func (response ListMigrationAssetsResponse) HTTPResponse() *http.Response
    func (response ListMigrationAssetsResponse) String() string
type ListMigrationAssetsSortByEnum
    func GetListMigrationAssetsSortByEnumValues() []ListMigrationAssetsSortByEnum
    func GetMappingListMigrationAssetsSortByEnum(val string) (ListMigrationAssetsSortByEnum, bool)
type ListMigrationAssetsSortOrderEnum
    func GetListMigrationAssetsSortOrderEnumValues() []ListMigrationAssetsSortOrderEnum
    func GetMappingListMigrationAssetsSortOrderEnum(val string) (ListMigrationAssetsSortOrderEnum, bool)
type ListMigrationPlansRequest
    func (request ListMigrationPlansRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListMigrationPlansRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListMigrationPlansRequest) RetryPolicy() *common.RetryPolicy
    func (request ListMigrationPlansRequest) String() string
    func (request ListMigrationPlansRequest) ValidateEnumValue() (bool, error)
type ListMigrationPlansResponse
    func (response ListMigrationPlansResponse) HTTPResponse() *http.Response
    func (response ListMigrationPlansResponse) String() string
type ListMigrationPlansSortByEnum
    func GetListMigrationPlansSortByEnumValues() []ListMigrationPlansSortByEnum
    func GetMappingListMigrationPlansSortByEnum(val string) (ListMigrationPlansSortByEnum, bool)
type ListMigrationPlansSortOrderEnum
    func GetListMigrationPlansSortOrderEnumValues() []ListMigrationPlansSortOrderEnum
    func GetMappingListMigrationPlansSortOrderEnum(val string) (ListMigrationPlansSortOrderEnum, bool)
type ListMigrationsRequest
    func (request ListMigrationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListMigrationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListMigrationsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListMigrationsRequest) String() string
    func (request ListMigrationsRequest) ValidateEnumValue() (bool, error)
type ListMigrationsResponse
    func (response ListMigrationsResponse) HTTPResponse() *http.Response
    func (response ListMigrationsResponse) String() string
type ListMigrationsSortByEnum
    func GetListMigrationsSortByEnumValues() []ListMigrationsSortByEnum
    func GetMappingListMigrationsSortByEnum(val string) (ListMigrationsSortByEnum, bool)
type ListMigrationsSortOrderEnum
    func GetListMigrationsSortOrderEnumValues() []ListMigrationsSortOrderEnum
    func GetMappingListMigrationsSortOrderEnum(val string) (ListMigrationsSortOrderEnum, bool)
type ListReplicationSchedulesRequest
    func (request ListReplicationSchedulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListReplicationSchedulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListReplicationSchedulesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListReplicationSchedulesRequest) String() string
    func (request ListReplicationSchedulesRequest) ValidateEnumValue() (bool, error)
type ListReplicationSchedulesResponse
    func (response ListReplicationSchedulesResponse) HTTPResponse() *http.Response
    func (response ListReplicationSchedulesResponse) String() string
type ListReplicationSchedulesSortByEnum
    func GetListReplicationSchedulesSortByEnumValues() []ListReplicationSchedulesSortByEnum
    func GetMappingListReplicationSchedulesSortByEnum(val string) (ListReplicationSchedulesSortByEnum, bool)
type ListReplicationSchedulesSortOrderEnum
    func GetListReplicationSchedulesSortOrderEnumValues() []ListReplicationSchedulesSortOrderEnum
    func GetMappingListReplicationSchedulesSortOrderEnum(val string) (ListReplicationSchedulesSortOrderEnum, bool)
type ListTargetAssetsRequest
    func (request ListTargetAssetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListTargetAssetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListTargetAssetsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListTargetAssetsRequest) String() string
    func (request ListTargetAssetsRequest) ValidateEnumValue() (bool, error)
type ListTargetAssetsResponse
    func (response ListTargetAssetsResponse) HTTPResponse() *http.Response
    func (response ListTargetAssetsResponse) String() string
type ListTargetAssetsSortByEnum
    func GetListTargetAssetsSortByEnumValues() []ListTargetAssetsSortByEnum
    func GetMappingListTargetAssetsSortByEnum(val string) (ListTargetAssetsSortByEnum, bool)
type ListTargetAssetsSortOrderEnum
    func GetListTargetAssetsSortOrderEnumValues() []ListTargetAssetsSortOrderEnum
    func GetMappingListTargetAssetsSortOrderEnum(val string) (ListTargetAssetsSortOrderEnum, bool)
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
    func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum
    func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
    func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
type ListWorkRequestErrorsSortOrderEnum
    func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
    func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
    func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum
    func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
    func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
type ListWorkRequestLogsSortOrderEnum
    func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
    func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
type ListWorkRequestsOperationTypeEnum
    func GetListWorkRequestsOperationTypeEnumValues() []ListWorkRequestsOperationTypeEnum
    func GetMappingListWorkRequestsOperationTypeEnum(val string) (ListWorkRequestsOperationTypeEnum, bool)
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
    func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum
    func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
    func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
type ListWorkRequestsSortOrderEnum
    func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
    func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
type ListWorkRequestsStatusEnum
    func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
    func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
type MetricTimeWindowEnum
    func GetMappingMetricTimeWindowEnum(val string) (MetricTimeWindowEnum, bool)
    func GetMetricTimeWindowEnumValues() []MetricTimeWindowEnum
type MetricTypeEnum
    func GetMappingMetricTypeEnum(val string) (MetricTypeEnum, bool)
    func GetMetricTypeEnumValues() []MetricTypeEnum
type Migration
    func (m Migration) String() string
    func (m Migration) ValidateEnumValue() (bool, error)
type MigrationAsset
    func (m MigrationAsset) String() string
    func (m MigrationAsset) ValidateEnumValue() (bool, error)
type MigrationAssetCollection
    func (m MigrationAssetCollection) String() string
    func (m MigrationAssetCollection) ValidateEnumValue() (bool, error)
type MigrationAssetLifecycleStateEnum
    func GetMappingMigrationAssetLifecycleStateEnum(val string) (MigrationAssetLifecycleStateEnum, bool)
    func GetMigrationAssetLifecycleStateEnumValues() []MigrationAssetLifecycleStateEnum
type MigrationAssetNotificationsEnum
    func GetMappingMigrationAssetNotificationsEnum(val string) (MigrationAssetNotificationsEnum, bool)
    func GetMigrationAssetNotificationsEnumValues() []MigrationAssetNotificationsEnum
type MigrationAssetSummary
    func (m MigrationAssetSummary) String() string
    func (m MigrationAssetSummary) ValidateEnumValue() (bool, error)
type MigrationAssetSummaryNotificationsEnum
    func GetMappingMigrationAssetSummaryNotificationsEnum(val string) (MigrationAssetSummaryNotificationsEnum, bool)
    func GetMigrationAssetSummaryNotificationsEnumValues() []MigrationAssetSummaryNotificationsEnum
type MigrationClient
    func NewMigrationClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client MigrationClient, err error)
    func NewMigrationClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client MigrationClient, err error)
    func (client MigrationClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
    func (client MigrationClient) ChangeMigrationCompartment(ctx context.Context, request ChangeMigrationCompartmentRequest) (response ChangeMigrationCompartmentResponse, err error)
    func (client MigrationClient) ChangeMigrationPlanCompartment(ctx context.Context, request ChangeMigrationPlanCompartmentRequest) (response ChangeMigrationPlanCompartmentResponse, err error)
    func (client MigrationClient) ChangeReplicationScheduleCompartment(ctx context.Context, request ChangeReplicationScheduleCompartmentRequest) (response ChangeReplicationScheduleCompartmentResponse, err error)
    func (client *MigrationClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client MigrationClient) CreateMigration(ctx context.Context, request CreateMigrationRequest) (response CreateMigrationResponse, err error)
    func (client MigrationClient) CreateMigrationAsset(ctx context.Context, request CreateMigrationAssetRequest) (response CreateMigrationAssetResponse, err error)
    func (client MigrationClient) CreateMigrationPlan(ctx context.Context, request CreateMigrationPlanRequest) (response CreateMigrationPlanResponse, err error)
    func (client MigrationClient) CreateReplicationSchedule(ctx context.Context, request CreateReplicationScheduleRequest) (response CreateReplicationScheduleResponse, err error)
    func (client MigrationClient) CreateTargetAsset(ctx context.Context, request CreateTargetAssetRequest) (response CreateTargetAssetResponse, err error)
    func (client MigrationClient) DeleteMigration(ctx context.Context, request DeleteMigrationRequest) (response DeleteMigrationResponse, err error)
    func (client MigrationClient) DeleteMigrationAsset(ctx context.Context, request DeleteMigrationAssetRequest) (response DeleteMigrationAssetResponse, err error)
    func (client MigrationClient) DeleteMigrationPlan(ctx context.Context, request DeleteMigrationPlanRequest) (response DeleteMigrationPlanResponse, err error)
    func (client MigrationClient) DeleteReplicationSchedule(ctx context.Context, request DeleteReplicationScheduleRequest) (response DeleteReplicationScheduleResponse, err error)
    func (client MigrationClient) DeleteTargetAsset(ctx context.Context, request DeleteTargetAssetRequest) (response DeleteTargetAssetResponse, err error)
    func (client MigrationClient) ExecuteMigrationPlan(ctx context.Context, request ExecuteMigrationPlanRequest) (response ExecuteMigrationPlanResponse, err error)
    func (client MigrationClient) ExportMigrationPlan(ctx context.Context, request ExportMigrationPlanRequest) (response ExportMigrationPlanResponse, err error)
    func (client MigrationClient) GetMigration(ctx context.Context, request GetMigrationRequest) (response GetMigrationResponse, err error)
    func (client MigrationClient) GetMigrationAsset(ctx context.Context, request GetMigrationAssetRequest) (response GetMigrationAssetResponse, err error)
    func (client MigrationClient) GetMigrationPlan(ctx context.Context, request GetMigrationPlanRequest) (response GetMigrationPlanResponse, err error)
    func (client MigrationClient) GetReplicationProgress(ctx context.Context, request GetReplicationProgressRequest) (response GetReplicationProgressResponse, err error)
    func (client MigrationClient) GetReplicationSchedule(ctx context.Context, request GetReplicationScheduleRequest) (response GetReplicationScheduleResponse, err error)
    func (client MigrationClient) GetTargetAsset(ctx context.Context, request GetTargetAssetRequest) (response GetTargetAssetResponse, err error)
    func (client MigrationClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client MigrationClient) ImportMigrationPlan(ctx context.Context, request ImportMigrationPlanRequest) (response ImportMigrationPlanResponse, err error)
    func (client MigrationClient) ListAvailableShapes(ctx context.Context, request ListAvailableShapesRequest) (response ListAvailableShapesResponse, err error)
    func (client MigrationClient) ListMigrationAssets(ctx context.Context, request ListMigrationAssetsRequest) (response ListMigrationAssetsResponse, err error)
    func (client MigrationClient) ListMigrationPlans(ctx context.Context, request ListMigrationPlansRequest) (response ListMigrationPlansResponse, err error)
    func (client MigrationClient) ListMigrations(ctx context.Context, request ListMigrationsRequest) (response ListMigrationsResponse, err error)
    func (client MigrationClient) ListReplicationSchedules(ctx context.Context, request ListReplicationSchedulesRequest) (response ListReplicationSchedulesResponse, err error)
    func (client MigrationClient) ListTargetAssets(ctx context.Context, request ListTargetAssetsRequest) (response ListTargetAssetsResponse, err error)
    func (client MigrationClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client MigrationClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client MigrationClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client MigrationClient) RefreshMigration(ctx context.Context, request RefreshMigrationRequest) (response RefreshMigrationResponse, err error)
    func (client MigrationClient) RefreshMigrationAsset(ctx context.Context, request RefreshMigrationAssetRequest) (response RefreshMigrationAssetResponse, err error)
    func (client MigrationClient) RefreshMigrationPlan(ctx context.Context, request RefreshMigrationPlanRequest) (response RefreshMigrationPlanResponse, err error)
    func (client *MigrationClient) SetRegion(region string)
    func (client MigrationClient) StartAssetReplication(ctx context.Context, request StartAssetReplicationRequest) (response StartAssetReplicationResponse, err error)
    func (client MigrationClient) StartMigrationReplication(ctx context.Context, request StartMigrationReplicationRequest) (response StartMigrationReplicationResponse, err error)
    func (client MigrationClient) UpdateMigration(ctx context.Context, request UpdateMigrationRequest) (response UpdateMigrationResponse, err error)
    func (client MigrationClient) UpdateMigrationAsset(ctx context.Context, request UpdateMigrationAssetRequest) (response UpdateMigrationAssetResponse, err error)
    func (client MigrationClient) UpdateMigrationPlan(ctx context.Context, request UpdateMigrationPlanRequest) (response UpdateMigrationPlanResponse, err error)
    func (client MigrationClient) UpdateReplicationSchedule(ctx context.Context, request UpdateReplicationScheduleRequest) (response UpdateReplicationScheduleResponse, err error)
    func (client MigrationClient) UpdateTargetAsset(ctx context.Context, request UpdateTargetAssetRequest) (response UpdateTargetAssetResponse, err error)
type MigrationCollection
    func (m MigrationCollection) String() string
    func (m MigrationCollection) ValidateEnumValue() (bool, error)
type MigrationLifecycleStateEnum
    func GetMappingMigrationLifecycleStateEnum(val string) (MigrationLifecycleStateEnum, bool)
    func GetMigrationLifecycleStateEnumValues() []MigrationLifecycleStateEnum
type MigrationPlan
    func (m MigrationPlan) String() string
    func (m *MigrationPlan) UnmarshalJSON(data []byte) (e error)
    func (m MigrationPlan) ValidateEnumValue() (bool, error)
type MigrationPlanCollection
    func (m MigrationPlanCollection) String() string
    func (m MigrationPlanCollection) ValidateEnumValue() (bool, error)
type MigrationPlanLifecycleStateEnum
    func GetMappingMigrationPlanLifecycleStateEnum(val string) (MigrationPlanLifecycleStateEnum, bool)
    func GetMigrationPlanLifecycleStateEnumValues() []MigrationPlanLifecycleStateEnum
type MigrationPlanStats
    func (m MigrationPlanStats) String() string
    func (m MigrationPlanStats) ValidateEnumValue() (bool, error)
type MigrationPlanSummary
    func (m MigrationPlanSummary) String() string
    func (m *MigrationPlanSummary) UnmarshalJSON(data []byte) (e error)
    func (m MigrationPlanSummary) ValidateEnumValue() (bool, error)
type MigrationSummary
    func (m MigrationSummary) String() string
    func (m MigrationSummary) ValidateEnumValue() (bool, error)
type OperationStatusEnum
    func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
    func GetOperationStatusEnumValues() []OperationStatusEnum
type OperationTypeEnum
    func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
    func GetOperationTypeEnumValues() []OperationTypeEnum
type OsImageEstimation
    func (m OsImageEstimation) String() string
    func (m OsImageEstimation) ValidateEnumValue() (bool, error)
type PeakResourceAssessmentStrategy
    func (m PeakResourceAssessmentStrategy) GetResourceType() ResourceAssessmentStrategyResourceTypeEnum
    func (m PeakResourceAssessmentStrategy) MarshalJSON() (buff []byte, e error)
    func (m PeakResourceAssessmentStrategy) String() string
    func (m PeakResourceAssessmentStrategy) ValidateEnumValue() (bool, error)
type PercentileResourceAssessmentStrategy
    func (m PercentileResourceAssessmentStrategy) GetResourceType() ResourceAssessmentStrategyResourceTypeEnum
    func (m PercentileResourceAssessmentStrategy) MarshalJSON() (buff []byte, e error)
    func (m PercentileResourceAssessmentStrategy) String() string
    func (m PercentileResourceAssessmentStrategy) ValidateEnumValue() (bool, error)
type PercentileResourceAssessmentStrategyPercentileEnum
    func GetMappingPercentileResourceAssessmentStrategyPercentileEnum(val string) (PercentileResourceAssessmentStrategyPercentileEnum, bool)
    func GetPercentileResourceAssessmentStrategyPercentileEnumValues() []PercentileResourceAssessmentStrategyPercentileEnum
type PreemptibleInstanceConfigDetails
    func (m PreemptibleInstanceConfigDetails) String() string
    func (m *PreemptibleInstanceConfigDetails) UnmarshalJSON(data []byte) (e error)
    func (m PreemptibleInstanceConfigDetails) ValidateEnumValue() (bool, error)
type PreemptionAction
type PreemptionActionTypeEnum
    func GetMappingPreemptionActionTypeEnum(val string) (PreemptionActionTypeEnum, bool)
    func GetPreemptionActionTypeEnumValues() []PreemptionActionTypeEnum
type RefreshMigrationAssetRequest
    func (request RefreshMigrationAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RefreshMigrationAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RefreshMigrationAssetRequest) RetryPolicy() *common.RetryPolicy
    func (request RefreshMigrationAssetRequest) String() string
    func (request RefreshMigrationAssetRequest) ValidateEnumValue() (bool, error)
type RefreshMigrationAssetResponse
    func (response RefreshMigrationAssetResponse) HTTPResponse() *http.Response
    func (response RefreshMigrationAssetResponse) String() string
type RefreshMigrationPlanRequest
    func (request RefreshMigrationPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RefreshMigrationPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RefreshMigrationPlanRequest) RetryPolicy() *common.RetryPolicy
    func (request RefreshMigrationPlanRequest) String() string
    func (request RefreshMigrationPlanRequest) ValidateEnumValue() (bool, error)
type RefreshMigrationPlanResponse
    func (response RefreshMigrationPlanResponse) HTTPResponse() *http.Response
    func (response RefreshMigrationPlanResponse) String() string
type RefreshMigrationRequest
    func (request RefreshMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RefreshMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RefreshMigrationRequest) RetryPolicy() *common.RetryPolicy
    func (request RefreshMigrationRequest) String() string
    func (request RefreshMigrationRequest) ValidateEnumValue() (bool, error)
type RefreshMigrationResponse
    func (response RefreshMigrationResponse) HTTPResponse() *http.Response
    func (response RefreshMigrationResponse) String() string
type ReplicationProgress
    func (m ReplicationProgress) String() string
    func (m ReplicationProgress) ValidateEnumValue() (bool, error)
type ReplicationProgressLastReplicationStatusEnum
    func GetMappingReplicationProgressLastReplicationStatusEnum(val string) (ReplicationProgressLastReplicationStatusEnum, bool)
    func GetReplicationProgressLastReplicationStatusEnumValues() []ReplicationProgressLastReplicationStatusEnum
type ReplicationProgressStatusEnum
    func GetMappingReplicationProgressStatusEnum(val string) (ReplicationProgressStatusEnum, bool)
    func GetReplicationProgressStatusEnumValues() []ReplicationProgressStatusEnum
type ReplicationSchedule
    func (m ReplicationSchedule) String() string
    func (m ReplicationSchedule) ValidateEnumValue() (bool, error)
type ReplicationScheduleCollection
    func (m ReplicationScheduleCollection) String() string
    func (m ReplicationScheduleCollection) ValidateEnumValue() (bool, error)
type ReplicationScheduleLifecycleStateEnum
    func GetMappingReplicationScheduleLifecycleStateEnum(val string) (ReplicationScheduleLifecycleStateEnum, bool)
    func GetReplicationScheduleLifecycleStateEnumValues() []ReplicationScheduleLifecycleStateEnum
type ReplicationScheduleSummary
    func (m ReplicationScheduleSummary) String() string
    func (m ReplicationScheduleSummary) ValidateEnumValue() (bool, error)
type ResourceAssessmentStrategy
type ResourceAssessmentStrategyResourceTypeEnum
    func GetMappingResourceAssessmentStrategyResourceTypeEnum(val string) (ResourceAssessmentStrategyResourceTypeEnum, bool)
    func GetResourceAssessmentStrategyResourceTypeEnumValues() []ResourceAssessmentStrategyResourceTypeEnum
type ResourceAssessmentStrategyStrategyTypeEnum
    func GetMappingResourceAssessmentStrategyStrategyTypeEnum(val string) (ResourceAssessmentStrategyStrategyTypeEnum, bool)
    func GetResourceAssessmentStrategyStrategyTypeEnumValues() []ResourceAssessmentStrategyStrategyTypeEnum
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type StartAssetReplicationRequest
    func (request StartAssetReplicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request StartAssetReplicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request StartAssetReplicationRequest) RetryPolicy() *common.RetryPolicy
    func (request StartAssetReplicationRequest) String() string
    func (request StartAssetReplicationRequest) ValidateEnumValue() (bool, error)
type StartAssetReplicationResponse
    func (response StartAssetReplicationResponse) HTTPResponse() *http.Response
    func (response StartAssetReplicationResponse) String() string
type StartMigrationReplicationRequest
    func (request StartMigrationReplicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request StartMigrationReplicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request StartMigrationReplicationRequest) RetryPolicy() *common.RetryPolicy
    func (request StartMigrationReplicationRequest) String() string
    func (request StartMigrationReplicationRequest) ValidateEnumValue() (bool, error)
type StartMigrationReplicationResponse
    func (response StartMigrationReplicationResponse) HTTPResponse() *http.Response
    func (response StartMigrationReplicationResponse) String() string
type StorageCostEstimation
    func (m StorageCostEstimation) String() string
    func (m StorageCostEstimation) ValidateEnumValue() (bool, error)
type TargetAsset
type TargetAssetCollection
    func (m TargetAssetCollection) String() string
    func (m *TargetAssetCollection) UnmarshalJSON(data []byte) (e error)
    func (m TargetAssetCollection) ValidateEnumValue() (bool, error)
type TargetAssetLifecycleStateEnum
    func GetMappingTargetAssetLifecycleStateEnum(val string) (TargetAssetLifecycleStateEnum, bool)
    func GetTargetAssetLifecycleStateEnumValues() []TargetAssetLifecycleStateEnum
type TargetAssetSummary
type TargetAssetSummaryTypeEnum
    func GetMappingTargetAssetSummaryTypeEnum(val string) (TargetAssetSummaryTypeEnum, bool)
    func GetTargetAssetSummaryTypeEnumValues() []TargetAssetSummaryTypeEnum
type TargetAssetTypeEnum
    func GetMappingTargetAssetTypeEnum(val string) (TargetAssetTypeEnum, bool)
    func GetTargetAssetTypeEnumValues() []TargetAssetTypeEnum
type TargetEnvironment
type TargetEnvironmentTargetEnvironmentTypeEnum
    func GetMappingTargetEnvironmentTargetEnvironmentTypeEnum(val string) (TargetEnvironmentTargetEnvironmentTypeEnum, bool)
    func GetTargetEnvironmentTargetEnvironmentTypeEnumValues() []TargetEnvironmentTargetEnvironmentTypeEnum
type TerminatePreemptionAction
    func (m TerminatePreemptionAction) MarshalJSON() (buff []byte, e error)
    func (m TerminatePreemptionAction) String() string
    func (m TerminatePreemptionAction) ValidateEnumValue() (bool, error)
type UpdateAssetSourceDetails
type UpdateDiscoveryScheduleDetails
    func (m UpdateDiscoveryScheduleDetails) String() string
    func (m UpdateDiscoveryScheduleDetails) ValidateEnumValue() (bool, error)
type UpdateMigrationAssetDetails
    func (m UpdateMigrationAssetDetails) String() string
    func (m UpdateMigrationAssetDetails) ValidateEnumValue() (bool, error)
type UpdateMigrationAssetRequest
    func (request UpdateMigrationAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateMigrationAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateMigrationAssetRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateMigrationAssetRequest) String() string
    func (request UpdateMigrationAssetRequest) ValidateEnumValue() (bool, error)
type UpdateMigrationAssetResponse
    func (response UpdateMigrationAssetResponse) HTTPResponse() *http.Response
    func (response UpdateMigrationAssetResponse) String() string
type UpdateMigrationDetails
    func (m UpdateMigrationDetails) String() string
    func (m UpdateMigrationDetails) ValidateEnumValue() (bool, error)
type UpdateMigrationPlanDetails
    func (m UpdateMigrationPlanDetails) String() string
    func (m *UpdateMigrationPlanDetails) UnmarshalJSON(data []byte) (e error)
    func (m UpdateMigrationPlanDetails) ValidateEnumValue() (bool, error)
type UpdateMigrationPlanRequest
    func (request UpdateMigrationPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateMigrationPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateMigrationPlanRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateMigrationPlanRequest) String() string
    func (request UpdateMigrationPlanRequest) ValidateEnumValue() (bool, error)
type UpdateMigrationPlanResponse
    func (response UpdateMigrationPlanResponse) HTTPResponse() *http.Response
    func (response UpdateMigrationPlanResponse) String() string
type UpdateMigrationRequest
    func (request UpdateMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateMigrationRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateMigrationRequest) String() string
    func (request UpdateMigrationRequest) ValidateEnumValue() (bool, error)
type UpdateMigrationResponse
    func (response UpdateMigrationResponse) HTTPResponse() *http.Response
    func (response UpdateMigrationResponse) String() string
type UpdateReplicationScheduleDetails
    func (m UpdateReplicationScheduleDetails) String() string
    func (m UpdateReplicationScheduleDetails) ValidateEnumValue() (bool, error)
type UpdateReplicationScheduleRequest
    func (request UpdateReplicationScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateReplicationScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateReplicationScheduleRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateReplicationScheduleRequest) String() string
    func (request UpdateReplicationScheduleRequest) ValidateEnumValue() (bool, error)
type UpdateReplicationScheduleResponse
    func (response UpdateReplicationScheduleResponse) HTTPResponse() *http.Response
    func (response UpdateReplicationScheduleResponse) String() string
type UpdateTargetAssetDetails
type UpdateTargetAssetDetailsTypeEnum
    func GetMappingUpdateTargetAssetDetailsTypeEnum(val string) (UpdateTargetAssetDetailsTypeEnum, bool)
    func GetUpdateTargetAssetDetailsTypeEnumValues() []UpdateTargetAssetDetailsTypeEnum
type UpdateTargetAssetRequest
    func (request UpdateTargetAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateTargetAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateTargetAssetRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateTargetAssetRequest) String() string
    func (request UpdateTargetAssetRequest) ValidateEnumValue() (bool, error)
type UpdateTargetAssetResponse
    func (response UpdateTargetAssetResponse) HTTPResponse() *http.Response
    func (response UpdateTargetAssetResponse) String() string
type UpdateVmTargetAssetDetails
    func (m UpdateVmTargetAssetDetails) GetIsExcludedFromExecution() *bool
    func (m UpdateVmTargetAssetDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateVmTargetAssetDetails) String() string
    func (m UpdateVmTargetAssetDetails) ValidateEnumValue() (bool, error)
type UpdateVmWareAssetSourceDetails
    func (m UpdateVmWareAssetSourceDetails) GetAssetsCompartmentId() *string
    func (m UpdateVmWareAssetSourceDetails) GetDefinedTags() map[string]map[string]interface{}
    func (m UpdateVmWareAssetSourceDetails) GetDisplayName() *string
    func (m UpdateVmWareAssetSourceDetails) GetFreeformTags() map[string]string
    func (m UpdateVmWareAssetSourceDetails) GetSystemTags() map[string]map[string]interface{}
    func (m UpdateVmWareAssetSourceDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateVmWareAssetSourceDetails) String() string
    func (m UpdateVmWareAssetSourceDetails) ValidateEnumValue() (bool, error)
type VmTargetAsset
    func (m VmTargetAsset) GetCompartmentId() *string
    func (m VmTargetAsset) GetCompatibilityMessages() []CompatibilityMessage
    func (m VmTargetAsset) GetCreatedResourceId() *string
    func (m VmTargetAsset) GetDisplayName() *string
    func (m VmTargetAsset) GetEstimatedCost() *CostEstimation
    func (m VmTargetAsset) GetId() *string
    func (m VmTargetAsset) GetIsExcludedFromExecution() *bool
    func (m VmTargetAsset) GetLifecycleDetails() *string
    func (m VmTargetAsset) GetLifecycleState() TargetAssetLifecycleStateEnum
    func (m VmTargetAsset) GetMigrationAsset() *MigrationAsset
    func (m VmTargetAsset) GetMigrationPlanId() *string
    func (m VmTargetAsset) GetTimeAssessed() *common.SDKTime
    func (m VmTargetAsset) GetTimeCreated() *common.SDKTime
    func (m VmTargetAsset) GetTimeUpdated() *common.SDKTime
    func (m VmTargetAsset) MarshalJSON() (buff []byte, e error)
    func (m VmTargetAsset) String() string
    func (m VmTargetAsset) ValidateEnumValue() (bool, error)
type VmTargetAssetPreferredShapeTypeEnum
    func GetMappingVmTargetAssetPreferredShapeTypeEnum(val string) (VmTargetAssetPreferredShapeTypeEnum, bool)
    func GetVmTargetAssetPreferredShapeTypeEnumValues() []VmTargetAssetPreferredShapeTypeEnum
type VmTargetAssetSummary
    func (m VmTargetAssetSummary) GetCompartmentId() *string
    func (m VmTargetAssetSummary) GetCompatibilityMessages() []CompatibilityMessage
    func (m VmTargetAssetSummary) GetCreatedResourceId() *string
    func (m VmTargetAssetSummary) GetDisplayName() *string
    func (m VmTargetAssetSummary) GetEstimatedCost() *CostEstimation
    func (m VmTargetAssetSummary) GetId() *string
    func (m VmTargetAssetSummary) GetIsExcludedFromExecution() *bool
    func (m VmTargetAssetSummary) GetLifecycleDetails() *string
    func (m VmTargetAssetSummary) GetLifecycleState() TargetAssetLifecycleStateEnum
    func (m VmTargetAssetSummary) GetMigrationAsset() *MigrationAssetSummary
    func (m VmTargetAssetSummary) GetMigrationPlanId() *string
    func (m VmTargetAssetSummary) GetTimeAssessed() *common.SDKTime
    func (m VmTargetAssetSummary) GetTimeCreated() *common.SDKTime
    func (m VmTargetAssetSummary) GetTimeUpdated() *common.SDKTime
    func (m VmTargetAssetSummary) MarshalJSON() (buff []byte, e error)
    func (m VmTargetAssetSummary) String() string
    func (m VmTargetAssetSummary) ValidateEnumValue() (bool, error)
type VmTargetEnvironment
    func (m VmTargetEnvironment) GetTargetCompartmentId() *string
    func (m VmTargetEnvironment) MarshalJSON() (buff []byte, e error)
    func (m VmTargetEnvironment) String() string
    func (m VmTargetEnvironment) ValidateEnumValue() (bool, error)
type VmWareAssetSource
    func (m VmWareAssetSource) GetAssetsCompartmentId() *string
    func (m VmWareAssetSource) GetCompartmentId() *string
    func (m VmWareAssetSource) GetDefinedTags() map[string]map[string]interface{}
    func (m VmWareAssetSource) GetDiscoveryScheduleId() *string
    func (m VmWareAssetSource) GetDisplayName() *string
    func (m VmWareAssetSource) GetEnvironmentId() *string
    func (m VmWareAssetSource) GetFreeformTags() map[string]string
    func (m VmWareAssetSource) GetId() *string
    func (m VmWareAssetSource) GetInventoryId() *string
    func (m VmWareAssetSource) GetLifecycleDetails() *string
    func (m VmWareAssetSource) GetLifecycleState() AssetSourceLifecycleStateEnum
    func (m VmWareAssetSource) GetSystemTags() map[string]map[string]interface{}
    func (m VmWareAssetSource) GetTimeCreated() *common.SDKTime
    func (m VmWareAssetSource) GetTimeUpdated() *common.SDKTime
    func (m VmWareAssetSource) MarshalJSON() (buff []byte, e error)
    func (m VmWareAssetSource) String() string
    func (m VmWareAssetSource) ValidateEnumValue() (bool, error)
type VmWareAssetSourceSummary
    func (m VmWareAssetSourceSummary) GetAssetsCompartmentId() *string
    func (m VmWareAssetSourceSummary) GetCompartmentId() *string
    func (m VmWareAssetSourceSummary) GetDefinedTags() map[string]map[string]interface{}
    func (m VmWareAssetSourceSummary) GetDisplayName() *string
    func (m VmWareAssetSourceSummary) GetEnvironmentId() *string
    func (m VmWareAssetSourceSummary) GetFreeformTags() map[string]string
    func (m VmWareAssetSourceSummary) GetId() *string
    func (m VmWareAssetSourceSummary) GetInventoryId() *string
    func (m VmWareAssetSourceSummary) GetLifecycleDetails() *string
    func (m VmWareAssetSourceSummary) GetLifecycleState() AssetSourceLifecycleStateEnum
    func (m VmWareAssetSourceSummary) GetSystemTags() map[string]map[string]interface{}
    func (m VmWareAssetSourceSummary) GetTimeCreated() *common.SDKTime
    func (m VmWareAssetSourceSummary) GetTimeUpdated() *common.SDKTime
    func (m VmWareAssetSourceSummary) MarshalJSON() (buff []byte, e error)
    func (m VmWareAssetSourceSummary) String() string
    func (m VmWareAssetSourceSummary) ValidateEnumValue() (bool, error)
type VolumeCostEstimation
    func (m VolumeCostEstimation) String() string
    func (m VolumeCostEstimation) ValidateEnumValue() (bool, error)
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestErrorCollection
    func (m WorkRequestErrorCollection) String() string
    func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestLogEntryCollection
    func (m WorkRequestLogEntryCollection) String() string
    func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
    func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
type WorkRequestSummaryCollection
    func (m WorkRequestSummaryCollection) String() string
    func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

Package files

access_level.go action_type.go as_is_resource_assessment_strategy.go asset_source.go asset_source_collection.go asset_source_connection.go asset_source_connection_collection.go asset_source_connection_lifecycle_state.go asset_source_connection_type.go asset_source_credentials.go asset_source_credentials_type.go asset_source_lifecycle_state.go asset_source_summary.go asset_source_type.go available_shape_summary.go available_shapes_collection.go average_resource_assessment_strategy.go cancel_work_request_request_response.go change_asset_source_compartment_details.go change_discovery_schedule_compartment_details.go change_migration_compartment_details.go change_migration_compartment_request_response.go change_migration_plan_compartment_details.go change_migration_plan_compartment_request_response.go change_replication_schedule_compartment_details.go change_replication_schedule_compartment_request_response.go cloudmigrations_migration_client.go compatibility_message.go compute_cost_estimation.go cost_estimation.go create_asset_source_details.go create_discovery_schedule_details.go create_migration_asset_details.go create_migration_asset_request_response.go create_migration_details.go create_migration_plan_details.go create_migration_plan_request_response.go create_migration_request_response.go create_replication_schedule_details.go create_replication_schedule_request_response.go create_target_asset_details.go create_target_asset_request_response.go create_vm_target_asset_details.go create_vm_ware_asset_source_details.go create_vnic_details.go delete_migration_asset_request_response.go delete_migration_plan_request_response.go delete_migration_request_response.go delete_replication_schedule_request_response.go delete_target_asset_request_response.go discovery_schedule.go discovery_schedule_collection.go discovery_schedule_lifecycle_state.go discovery_schedule_summary.go execute_migration_plan_request_response.go export_migration_plan_request_response.go get_migration_asset_request_response.go get_migration_plan_request_response.go get_migration_request_response.go get_replication_progress_request_response.go get_replication_schedule_request_response.go get_target_asset_request_response.go get_work_request_request_response.go hydrated_volume.go import_migration_plan_request_response.go instance_agent_plugin_config_details.go instance_options.go instance_source_details.go instance_source_via_boot_volume_details.go instance_source_via_image_details.go launch_instance_agent_config_details.go launch_instance_details.go launch_instance_shape_config_details.go list_available_shapes_request_response.go list_migration_assets_request_response.go list_migration_plans_request_response.go list_migrations_request_response.go list_replication_schedules_request_response.go list_target_assets_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go metric_time_window.go metric_type.go migration.go migration_asset.go migration_asset_collection.go migration_asset_summary.go migration_collection.go migration_plan.go migration_plan_collection.go migration_plan_stats.go migration_plan_summary.go migration_summary.go operation_status.go operation_type.go os_image_estimation.go peak_resource_assessment_strategy.go percentile_resource_assessment_strategy.go preemptible_instance_config_details.go preemption_action.go refresh_migration_asset_request_response.go refresh_migration_plan_request_response.go refresh_migration_request_response.go replication_progress.go replication_schedule.go replication_schedule_collection.go replication_schedule_summary.go resource_assessment_strategy.go sort_order.go start_asset_replication_request_response.go start_migration_replication_request_response.go storage_cost_estimation.go target_asset.go target_asset_collection.go target_asset_summary.go target_environment.go terminate_preemption_action.go update_asset_source_details.go update_discovery_schedule_details.go update_migration_asset_details.go update_migration_asset_request_response.go update_migration_details.go update_migration_plan_details.go update_migration_plan_request_response.go update_migration_request_response.go update_replication_schedule_details.go update_replication_schedule_request_response.go update_target_asset_details.go update_target_asset_request_response.go update_vm_target_asset_details.go update_vm_ware_asset_source_details.go vm_target_asset.go vm_target_asset_summary.go vm_target_environment.go vm_ware_asset_source.go vm_ware_asset_source_summary.go volume_cost_estimation.go work_request.go work_request_error.go work_request_error_collection.go work_request_log_entry.go work_request_log_entry_collection.go work_request_resource.go work_request_summary.go work_request_summary_collection.go

func GetAccessLevelEnumStringValues

func GetAccessLevelEnumStringValues() []string

GetAccessLevelEnumStringValues Enumerates the set of values in String for AccessLevelEnum

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetAssetSourceConnectionLifecycleStateEnumStringValues

func GetAssetSourceConnectionLifecycleStateEnumStringValues() []string

GetAssetSourceConnectionLifecycleStateEnumStringValues Enumerates the set of values in String for AssetSourceConnectionLifecycleStateEnum

func GetAssetSourceConnectionTypeEnumStringValues

func GetAssetSourceConnectionTypeEnumStringValues() []string

GetAssetSourceConnectionTypeEnumStringValues Enumerates the set of values in String for AssetSourceConnectionTypeEnum

func GetAssetSourceCredentialsTypeEnumStringValues

func GetAssetSourceCredentialsTypeEnumStringValues() []string

GetAssetSourceCredentialsTypeEnumStringValues Enumerates the set of values in String for AssetSourceCredentialsTypeEnum

func GetAssetSourceLifecycleStateEnumStringValues

func GetAssetSourceLifecycleStateEnumStringValues() []string

GetAssetSourceLifecycleStateEnumStringValues Enumerates the set of values in String for AssetSourceLifecycleStateEnum

func GetAssetSourceTypeEnumStringValues

func GetAssetSourceTypeEnumStringValues() []string

GetAssetSourceTypeEnumStringValues Enumerates the set of values in String for AssetSourceTypeEnum

func GetCompatibilityMessageNameEnumStringValues

func GetCompatibilityMessageNameEnumStringValues() []string

GetCompatibilityMessageNameEnumStringValues Enumerates the set of values in String for CompatibilityMessageNameEnum

func GetCompatibilityMessageSeverityEnumStringValues

func GetCompatibilityMessageSeverityEnumStringValues() []string

GetCompatibilityMessageSeverityEnumStringValues Enumerates the set of values in String for CompatibilityMessageSeverityEnum

func GetCreateTargetAssetDetailsTypeEnumStringValues

func GetCreateTargetAssetDetailsTypeEnumStringValues() []string

GetCreateTargetAssetDetailsTypeEnumStringValues Enumerates the set of values in String for CreateTargetAssetDetailsTypeEnum

func GetDiscoveryScheduleLifecycleStateEnumStringValues

func GetDiscoveryScheduleLifecycleStateEnumStringValues() []string

GetDiscoveryScheduleLifecycleStateEnumStringValues Enumerates the set of values in String for DiscoveryScheduleLifecycleStateEnum

func GetHydratedVolumeVolumeTypeEnumStringValues

func GetHydratedVolumeVolumeTypeEnumStringValues() []string

GetHydratedVolumeVolumeTypeEnumStringValues Enumerates the set of values in String for HydratedVolumeVolumeTypeEnum

func GetInstanceAgentPluginConfigDetailsDesiredStateEnumStringValues

func GetInstanceAgentPluginConfigDetailsDesiredStateEnumStringValues() []string

GetInstanceAgentPluginConfigDetailsDesiredStateEnumStringValues Enumerates the set of values in String for InstanceAgentPluginConfigDetailsDesiredStateEnum

func GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues

func GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues() []string

GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues Enumerates the set of values in String for LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum

func GetListAvailableShapesSortByEnumStringValues

func GetListAvailableShapesSortByEnumStringValues() []string

GetListAvailableShapesSortByEnumStringValues Enumerates the set of values in String for ListAvailableShapesSortByEnum

func GetListAvailableShapesSortOrderEnumStringValues

func GetListAvailableShapesSortOrderEnumStringValues() []string

GetListAvailableShapesSortOrderEnumStringValues Enumerates the set of values in String for ListAvailableShapesSortOrderEnum

func GetListMigrationAssetsSortByEnumStringValues

func GetListMigrationAssetsSortByEnumStringValues() []string

GetListMigrationAssetsSortByEnumStringValues Enumerates the set of values in String for ListMigrationAssetsSortByEnum

func GetListMigrationAssetsSortOrderEnumStringValues

func GetListMigrationAssetsSortOrderEnumStringValues() []string

GetListMigrationAssetsSortOrderEnumStringValues Enumerates the set of values in String for ListMigrationAssetsSortOrderEnum

func GetListMigrationPlansSortByEnumStringValues

func GetListMigrationPlansSortByEnumStringValues() []string

GetListMigrationPlansSortByEnumStringValues Enumerates the set of values in String for ListMigrationPlansSortByEnum

func GetListMigrationPlansSortOrderEnumStringValues

func GetListMigrationPlansSortOrderEnumStringValues() []string

GetListMigrationPlansSortOrderEnumStringValues Enumerates the set of values in String for ListMigrationPlansSortOrderEnum

func GetListMigrationsSortByEnumStringValues

func GetListMigrationsSortByEnumStringValues() []string

GetListMigrationsSortByEnumStringValues Enumerates the set of values in String for ListMigrationsSortByEnum

func GetListMigrationsSortOrderEnumStringValues

func GetListMigrationsSortOrderEnumStringValues() []string

GetListMigrationsSortOrderEnumStringValues Enumerates the set of values in String for ListMigrationsSortOrderEnum

func GetListReplicationSchedulesSortByEnumStringValues

func GetListReplicationSchedulesSortByEnumStringValues() []string

GetListReplicationSchedulesSortByEnumStringValues Enumerates the set of values in String for ListReplicationSchedulesSortByEnum

func GetListReplicationSchedulesSortOrderEnumStringValues

func GetListReplicationSchedulesSortOrderEnumStringValues() []string

GetListReplicationSchedulesSortOrderEnumStringValues Enumerates the set of values in String for ListReplicationSchedulesSortOrderEnum

func GetListTargetAssetsSortByEnumStringValues

func GetListTargetAssetsSortByEnumStringValues() []string

GetListTargetAssetsSortByEnumStringValues Enumerates the set of values in String for ListTargetAssetsSortByEnum

func GetListTargetAssetsSortOrderEnumStringValues

func GetListTargetAssetsSortOrderEnumStringValues() []string

GetListTargetAssetsSortOrderEnumStringValues Enumerates the set of values in String for ListTargetAssetsSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsOperationTypeEnumStringValues

func GetListWorkRequestsOperationTypeEnumStringValues() []string

GetListWorkRequestsOperationTypeEnumStringValues Enumerates the set of values in String for ListWorkRequestsOperationTypeEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetMetricTimeWindowEnumStringValues

func GetMetricTimeWindowEnumStringValues() []string

GetMetricTimeWindowEnumStringValues Enumerates the set of values in String for MetricTimeWindowEnum

func GetMetricTypeEnumStringValues

func GetMetricTypeEnumStringValues() []string

GetMetricTypeEnumStringValues Enumerates the set of values in String for MetricTypeEnum

func GetMigrationAssetLifecycleStateEnumStringValues

func GetMigrationAssetLifecycleStateEnumStringValues() []string

GetMigrationAssetLifecycleStateEnumStringValues Enumerates the set of values in String for MigrationAssetLifecycleStateEnum

func GetMigrationAssetNotificationsEnumStringValues

func GetMigrationAssetNotificationsEnumStringValues() []string

GetMigrationAssetNotificationsEnumStringValues Enumerates the set of values in String for MigrationAssetNotificationsEnum

func GetMigrationAssetSummaryNotificationsEnumStringValues

func GetMigrationAssetSummaryNotificationsEnumStringValues() []string

GetMigrationAssetSummaryNotificationsEnumStringValues Enumerates the set of values in String for MigrationAssetSummaryNotificationsEnum

func GetMigrationLifecycleStateEnumStringValues

func GetMigrationLifecycleStateEnumStringValues() []string

GetMigrationLifecycleStateEnumStringValues Enumerates the set of values in String for MigrationLifecycleStateEnum

func GetMigrationPlanLifecycleStateEnumStringValues

func GetMigrationPlanLifecycleStateEnumStringValues() []string

GetMigrationPlanLifecycleStateEnumStringValues Enumerates the set of values in String for MigrationPlanLifecycleStateEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetPercentileResourceAssessmentStrategyPercentileEnumStringValues

func GetPercentileResourceAssessmentStrategyPercentileEnumStringValues() []string

GetPercentileResourceAssessmentStrategyPercentileEnumStringValues Enumerates the set of values in String for PercentileResourceAssessmentStrategyPercentileEnum

func GetPreemptionActionTypeEnumStringValues

func GetPreemptionActionTypeEnumStringValues() []string

GetPreemptionActionTypeEnumStringValues Enumerates the set of values in String for PreemptionActionTypeEnum

func GetReplicationProgressLastReplicationStatusEnumStringValues

func GetReplicationProgressLastReplicationStatusEnumStringValues() []string

GetReplicationProgressLastReplicationStatusEnumStringValues Enumerates the set of values in String for ReplicationProgressLastReplicationStatusEnum

func GetReplicationProgressStatusEnumStringValues

func GetReplicationProgressStatusEnumStringValues() []string

GetReplicationProgressStatusEnumStringValues Enumerates the set of values in String for ReplicationProgressStatusEnum

func GetReplicationScheduleLifecycleStateEnumStringValues

func GetReplicationScheduleLifecycleStateEnumStringValues() []string

GetReplicationScheduleLifecycleStateEnumStringValues Enumerates the set of values in String for ReplicationScheduleLifecycleStateEnum

func GetResourceAssessmentStrategyResourceTypeEnumStringValues

func GetResourceAssessmentStrategyResourceTypeEnumStringValues() []string

GetResourceAssessmentStrategyResourceTypeEnumStringValues Enumerates the set of values in String for ResourceAssessmentStrategyResourceTypeEnum

func GetResourceAssessmentStrategyStrategyTypeEnumStringValues

func GetResourceAssessmentStrategyStrategyTypeEnumStringValues() []string

GetResourceAssessmentStrategyStrategyTypeEnumStringValues Enumerates the set of values in String for ResourceAssessmentStrategyStrategyTypeEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetTargetAssetLifecycleStateEnumStringValues

func GetTargetAssetLifecycleStateEnumStringValues() []string

GetTargetAssetLifecycleStateEnumStringValues Enumerates the set of values in String for TargetAssetLifecycleStateEnum

func GetTargetAssetSummaryTypeEnumStringValues

func GetTargetAssetSummaryTypeEnumStringValues() []string

GetTargetAssetSummaryTypeEnumStringValues Enumerates the set of values in String for TargetAssetSummaryTypeEnum

func GetTargetAssetTypeEnumStringValues

func GetTargetAssetTypeEnumStringValues() []string

GetTargetAssetTypeEnumStringValues Enumerates the set of values in String for TargetAssetTypeEnum

func GetTargetEnvironmentTargetEnvironmentTypeEnumStringValues

func GetTargetEnvironmentTargetEnvironmentTypeEnumStringValues() []string

GetTargetEnvironmentTargetEnvironmentTypeEnumStringValues Enumerates the set of values in String for TargetEnvironmentTargetEnvironmentTypeEnum

func GetUpdateTargetAssetDetailsTypeEnumStringValues

func GetUpdateTargetAssetDetailsTypeEnumStringValues() []string

GetUpdateTargetAssetDetailsTypeEnumStringValues Enumerates the set of values in String for UpdateTargetAssetDetailsTypeEnum

func GetVmTargetAssetPreferredShapeTypeEnumStringValues

func GetVmTargetAssetPreferredShapeTypeEnumStringValues() []string

GetVmTargetAssetPreferredShapeTypeEnumStringValues Enumerates the set of values in String for VmTargetAssetPreferredShapeTypeEnum

type AccessLevelEnum

AccessLevelEnum Enum with underlying type: string

type AccessLevelEnum string

Set of constants representing the allowable values for AccessLevelEnum

const (
    AccessLevelAccessible AccessLevelEnum = "ACCESSIBLE"
    AccessLevelRestricted AccessLevelEnum = "RESTRICTED"
)

func GetAccessLevelEnumValues

func GetAccessLevelEnumValues() []AccessLevelEnum

GetAccessLevelEnumValues Enumerates the set of values for AccessLevelEnum

func GetMappingAccessLevelEnum

func GetMappingAccessLevelEnum(val string) (AccessLevelEnum, bool)

GetMappingAccessLevelEnum performs case Insensitive comparison on enum value and return the desired enum

type ActionTypeEnum

ActionTypeEnum Enum with underlying type: string

type ActionTypeEnum string

Set of constants representing the allowable values for ActionTypeEnum

const (
    ActionTypeCreated    ActionTypeEnum = "CREATED"
    ActionTypeUpdated    ActionTypeEnum = "UPDATED"
    ActionTypeDeleted    ActionTypeEnum = "DELETED"
    ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
    ActionTypeRelated    ActionTypeEnum = "RELATED"
    ActionTypeFailed     ActionTypeEnum = "FAILED"
)

func GetActionTypeEnumValues

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type AsIsResourceAssessmentStrategy

AsIsResourceAssessmentStrategy The 'As-Is' based strategy.

type AsIsResourceAssessmentStrategy struct {

    // The real resource usage is multiplied to this number before making any recommendation.
    AdjustmentMultiplier *float32 `mandatory:"false" json:"adjustmentMultiplier"`

    // The type of resource.
    ResourceType ResourceAssessmentStrategyResourceTypeEnum `mandatory:"true" json:"resourceType"`
}

func (AsIsResourceAssessmentStrategy) GetResourceType

func (m AsIsResourceAssessmentStrategy) GetResourceType() ResourceAssessmentStrategyResourceTypeEnum

GetResourceType returns ResourceType

func (AsIsResourceAssessmentStrategy) MarshalJSON

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

MarshalJSON marshals to json representation

func (AsIsResourceAssessmentStrategy) String

func (m AsIsResourceAssessmentStrategy) String() string

func (AsIsResourceAssessmentStrategy) ValidateEnumValue

func (m AsIsResourceAssessmentStrategy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AssetSource

AssetSource Asset source.

type AssetSource interface {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the resource.
    GetId() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment for the resource.
    GetCompartmentId() *string

    // A user-friendly name for the asset source. Does not have to be unique, and it's mutable.
    // Avoid entering confidential information.
    GetDisplayName() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the environment.
    GetEnvironmentId() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets.
    GetInventoryId() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets.
    GetAssetsCompartmentId() *string

    // The current state of the asset source.
    GetLifecycleState() AssetSourceLifecycleStateEnum

    // The detailed state of the asset source.
    GetLifecycleDetails() *string

    // The time when the asset source was created in the RFC3339 format.
    GetTimeCreated() *common.SDKTime

    // The point in time that the asset source was last updated in the RFC3339 format.
    GetTimeUpdated() *common.SDKTime

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of an attached discovery schedule.
    GetDiscoveryScheduleId() *string

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // Example: `{"bar-key": "value"}`
    GetFreeformTags() map[string]string

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    GetDefinedTags() map[string]map[string]interface{}

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    GetSystemTags() map[string]map[string]interface{}
}

type AssetSourceCollection

AssetSourceCollection Results of an asset source search. Contains asset source items.

type AssetSourceCollection struct {

    // List of asset sources.
    Items []AssetSourceSummary `mandatory:"true" json:"items"`
}

func (AssetSourceCollection) String

func (m AssetSourceCollection) String() string

func (*AssetSourceCollection) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (AssetSourceCollection) ValidateEnumValue

func (m AssetSourceCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AssetSourceConnection

AssetSourceConnection Descriptor of a connection to an asset source.

type AssetSourceConnection struct {

    // The type of connection for an asset source.
    ConnectionType AssetSourceConnectionTypeEnum `mandatory:"true" json:"connectionType"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the cloud bridge connector used for migration operations.
    ConnectorId *string `mandatory:"true" json:"connectorId"`

    // Type-specific identifier for an asset source.
    AssetSourceKey *string `mandatory:"true" json:"assetSourceKey"`

    // The current state of the connection.
    LifecycleState AssetSourceConnectionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The detailed sub-state of the connection.
    LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`
}

func (AssetSourceConnection) String

func (m AssetSourceConnection) String() string

func (AssetSourceConnection) ValidateEnumValue

func (m AssetSourceConnection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AssetSourceConnectionCollection

AssetSourceConnectionCollection List of connections for an asset source.

type AssetSourceConnectionCollection struct {

    // List of connections.
    Items []AssetSourceConnection `mandatory:"true" json:"items"`
}

func (AssetSourceConnectionCollection) String

func (m AssetSourceConnectionCollection) String() string

func (AssetSourceConnectionCollection) ValidateEnumValue

func (m AssetSourceConnectionCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AssetSourceConnectionLifecycleStateEnum

AssetSourceConnectionLifecycleStateEnum Enum with underlying type: string

type AssetSourceConnectionLifecycleStateEnum string

Set of constants representing the allowable values for AssetSourceConnectionLifecycleStateEnum

const (
    AssetSourceConnectionLifecycleStateActive         AssetSourceConnectionLifecycleStateEnum = "ACTIVE"
    AssetSourceConnectionLifecycleStateUpdating       AssetSourceConnectionLifecycleStateEnum = "UPDATING"
    AssetSourceConnectionLifecycleStateNeedsAttention AssetSourceConnectionLifecycleStateEnum = "NEEDS_ATTENTION"
    AssetSourceConnectionLifecycleStateDeleted        AssetSourceConnectionLifecycleStateEnum = "DELETED"
    AssetSourceConnectionLifecycleStateCreating       AssetSourceConnectionLifecycleStateEnum = "CREATING"
)

func GetAssetSourceConnectionLifecycleStateEnumValues

func GetAssetSourceConnectionLifecycleStateEnumValues() []AssetSourceConnectionLifecycleStateEnum

GetAssetSourceConnectionLifecycleStateEnumValues Enumerates the set of values for AssetSourceConnectionLifecycleStateEnum

func GetMappingAssetSourceConnectionLifecycleStateEnum

func GetMappingAssetSourceConnectionLifecycleStateEnum(val string) (AssetSourceConnectionLifecycleStateEnum, bool)

GetMappingAssetSourceConnectionLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type AssetSourceConnectionTypeEnum

AssetSourceConnectionTypeEnum Enum with underlying type: string

type AssetSourceConnectionTypeEnum string

Set of constants representing the allowable values for AssetSourceConnectionTypeEnum

const (
    AssetSourceConnectionTypeDiscovery   AssetSourceConnectionTypeEnum = "DISCOVERY"
    AssetSourceConnectionTypeReplication AssetSourceConnectionTypeEnum = "REPLICATION"
)

func GetAssetSourceConnectionTypeEnumValues

func GetAssetSourceConnectionTypeEnumValues() []AssetSourceConnectionTypeEnum

GetAssetSourceConnectionTypeEnumValues Enumerates the set of values for AssetSourceConnectionTypeEnum

func GetMappingAssetSourceConnectionTypeEnum

func GetMappingAssetSourceConnectionTypeEnum(val string) (AssetSourceConnectionTypeEnum, bool)

GetMappingAssetSourceConnectionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type AssetSourceCredentials

AssetSourceCredentials Credentials for an asset source.

type AssetSourceCredentials struct {

    // Authentication type
    Type AssetSourceCredentialsTypeEnum `mandatory:"true" json:"type"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the secret in a vault.
    // If the the type of the credentials is BASIC`, the secret must contain the username and
    // password in JSON format, which is in the form of `{ "username": "<VMwareUser>", "password": "<VMwarePassword>" }`.
    SecretId *string `mandatory:"true" json:"secretId"`
}

func (AssetSourceCredentials) String

func (m AssetSourceCredentials) String() string

func (AssetSourceCredentials) ValidateEnumValue

func (m AssetSourceCredentials) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AssetSourceCredentialsTypeEnum

AssetSourceCredentialsTypeEnum Enum with underlying type: string

type AssetSourceCredentialsTypeEnum string

Set of constants representing the allowable values for AssetSourceCredentialsTypeEnum

const (
    AssetSourceCredentialsTypeBasic AssetSourceCredentialsTypeEnum = "BASIC"
)

func GetAssetSourceCredentialsTypeEnumValues

func GetAssetSourceCredentialsTypeEnumValues() []AssetSourceCredentialsTypeEnum

GetAssetSourceCredentialsTypeEnumValues Enumerates the set of values for AssetSourceCredentialsTypeEnum

func GetMappingAssetSourceCredentialsTypeEnum

func GetMappingAssetSourceCredentialsTypeEnum(val string) (AssetSourceCredentialsTypeEnum, bool)

GetMappingAssetSourceCredentialsTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type AssetSourceLifecycleStateEnum

AssetSourceLifecycleStateEnum Enum with underlying type: string

type AssetSourceLifecycleStateEnum string

Set of constants representing the allowable values for AssetSourceLifecycleStateEnum

const (
    AssetSourceLifecycleStateCreating       AssetSourceLifecycleStateEnum = "CREATING"
    AssetSourceLifecycleStateActive         AssetSourceLifecycleStateEnum = "ACTIVE"
    AssetSourceLifecycleStateDeleting       AssetSourceLifecycleStateEnum = "DELETING"
    AssetSourceLifecycleStateDeleted        AssetSourceLifecycleStateEnum = "DELETED"
    AssetSourceLifecycleStateFailed         AssetSourceLifecycleStateEnum = "FAILED"
    AssetSourceLifecycleStateUpdating       AssetSourceLifecycleStateEnum = "UPDATING"
    AssetSourceLifecycleStateNeedsAttention AssetSourceLifecycleStateEnum = "NEEDS_ATTENTION"
)

func GetAssetSourceLifecycleStateEnumValues

func GetAssetSourceLifecycleStateEnumValues() []AssetSourceLifecycleStateEnum

GetAssetSourceLifecycleStateEnumValues Enumerates the set of values for AssetSourceLifecycleStateEnum

func GetMappingAssetSourceLifecycleStateEnum

func GetMappingAssetSourceLifecycleStateEnum(val string) (AssetSourceLifecycleStateEnum, bool)

GetMappingAssetSourceLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type AssetSourceSummary

AssetSourceSummary Summary of an asset source provided in the list.

type AssetSourceSummary interface {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the resourse.
    GetId() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment for the resource.
    GetCompartmentId() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the environment.
    GetEnvironmentId() *string

    // A user-friendly name for the asset source. Does not have to be unique, and it's mutable.
    // Avoid entering confidential information.
    GetDisplayName() *string

    // The current state of the asset source.
    GetLifecycleState() AssetSourceLifecycleStateEnum

    // The detailed state of the asset source.
    GetLifecycleDetails() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets.
    GetInventoryId() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets.
    GetAssetsCompartmentId() *string

    // The time when the asset source was created in RFC3339 format.
    GetTimeCreated() *common.SDKTime

    // The point in time that the asset source was last updated in RFC3339 format.
    GetTimeUpdated() *common.SDKTime

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // Example: `{"bar-key": "value"}`
    GetFreeformTags() map[string]string

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    GetDefinedTags() map[string]map[string]interface{}

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    GetSystemTags() map[string]map[string]interface{}
}

type AssetSourceTypeEnum

AssetSourceTypeEnum Enum with underlying type: string

type AssetSourceTypeEnum string

Set of constants representing the allowable values for AssetSourceTypeEnum

const (
    AssetSourceTypeVmware AssetSourceTypeEnum = "VMWARE"
)

func GetAssetSourceTypeEnumValues

func GetAssetSourceTypeEnumValues() []AssetSourceTypeEnum

GetAssetSourceTypeEnumValues Enumerates the set of values for AssetSourceTypeEnum

func GetMappingAssetSourceTypeEnum

func GetMappingAssetSourceTypeEnum(val string) (AssetSourceTypeEnum, bool)

GetMappingAssetSourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type AvailableShapeSummary

AvailableShapeSummary Sumarized information about a shape.

type AvailableShapeSummary struct {

    // Availability domain of the shape.
    AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

    // Shape name and availability domain.  Used for pagination.
    PaginationToken *string `mandatory:"true" json:"paginationToken"`

    // Name of the shape.
    Shape *string `mandatory:"true" json:"shape"`

    // Description of the processor.
    ProcessorDescription *string `mandatory:"true" json:"processorDescription"`

    // Number of CPUs.
    Ocpus *float32 `mandatory:"true" json:"ocpus"`

    // Amount of memory for the shape.
    MemoryInGBs *float32 `mandatory:"true" json:"memoryInGBs"`

    // Minimum CPUs required.
    MinTotalBaselineOcpusRequired *float32 `mandatory:"false" json:"minTotalBaselineOcpusRequired"`

    // Shape bandwidth.
    NetworkingBandwidthInGbps *float32 `mandatory:"false" json:"networkingBandwidthInGbps"`

    // Maximum number of virtual network interfaces that can be attached.
    MaxVnicAttachments *int `mandatory:"false" json:"maxVnicAttachments"`

    // Number of GPUs.
    Gpus *int `mandatory:"false" json:"gpus"`

    // Description of the GPUs.
    GpuDescription *string `mandatory:"false" json:"gpuDescription"`

    // Number of local disks.
    LocalDisks *int `mandatory:"false" json:"localDisks"`

    // Total size of local disks for shape.
    LocalDisksTotalSizeInGBs *float32 `mandatory:"false" json:"localDisksTotalSizeInGBs"`

    // Description of local disks.
    LocalDiskDescription *string `mandatory:"false" json:"localDiskDescription"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (AvailableShapeSummary) String

func (m AvailableShapeSummary) String() string

func (AvailableShapeSummary) ValidateEnumValue

func (m AvailableShapeSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AvailableShapesCollection

AvailableShapesCollection Results of an available shapes search. Contains list of shapes.

type AvailableShapesCollection struct {

    // Available shapes list.
    Items []AvailableShapeSummary `mandatory:"true" json:"items"`
}

func (AvailableShapesCollection) String

func (m AvailableShapesCollection) String() string

func (AvailableShapesCollection) ValidateEnumValue

func (m AvailableShapesCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AverageResourceAssessmentStrategy

AverageResourceAssessmentStrategy The strategy based on average usage.

type AverageResourceAssessmentStrategy struct {

    // The real resource usage is multiplied to this number before making any recommendation.
    AdjustmentMultiplier *float32 `mandatory:"false" json:"adjustmentMultiplier"`

    // The type of resource.
    ResourceType ResourceAssessmentStrategyResourceTypeEnum `mandatory:"true" json:"resourceType"`

    // The current state of the migration plan.
    MetricType MetricTypeEnum `mandatory:"false" json:"metricType,omitempty"`

    // The current state of the migration plan.
    MetricTimeWindow MetricTimeWindowEnum `mandatory:"false" json:"metricTimeWindow,omitempty"`
}

func (AverageResourceAssessmentStrategy) GetResourceType

func (m AverageResourceAssessmentStrategy) GetResourceType() ResourceAssessmentStrategyResourceTypeEnum

GetResourceType returns ResourceType

func (AverageResourceAssessmentStrategy) MarshalJSON

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

MarshalJSON marshals to json representation

func (AverageResourceAssessmentStrategy) String

func (m AverageResourceAssessmentStrategy) String() string

func (AverageResourceAssessmentStrategy) ValidateEnumValue

func (m AverageResourceAssessmentStrategy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CancelWorkRequestRequest

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.

type CancelWorkRequestRequest struct {

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

    // 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"`

    // The client request ID for tracing.
    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
}

func (CancelWorkRequestRequest) BinaryRequestBody

func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CancelWorkRequestRequest) HTTPRequest

func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CancelWorkRequestRequest) RetryPolicy

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

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

func (CancelWorkRequestRequest) String

func (request CancelWorkRequestRequest) String() string

func (CancelWorkRequestRequest) ValidateEnumValue

func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CancelWorkRequestResponse

CancelWorkRequestResponse wrapper for the CancelWorkRequest operation

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"`
}

func (CancelWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String

func (response CancelWorkRequestResponse) String() string

type ChangeAssetSourceCompartmentDetails

ChangeAssetSourceCompartmentDetails Details for which compartment to move the resource to.

type ChangeAssetSourceCompartmentDetails 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"`
}

func (ChangeAssetSourceCompartmentDetails) String

func (m ChangeAssetSourceCompartmentDetails) String() string

func (ChangeAssetSourceCompartmentDetails) ValidateEnumValue

func (m ChangeAssetSourceCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeDiscoveryScheduleCompartmentDetails

ChangeDiscoveryScheduleCompartmentDetails Information about the compartment into which the discovery schedule should be moved.

type ChangeDiscoveryScheduleCompartmentDetails struct {

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

func (ChangeDiscoveryScheduleCompartmentDetails) String

func (m ChangeDiscoveryScheduleCompartmentDetails) String() string

func (ChangeDiscoveryScheduleCompartmentDetails) ValidateEnumValue

func (m ChangeDiscoveryScheduleCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeMigrationCompartmentDetails

ChangeMigrationCompartmentDetails The information to be updated.

type ChangeMigrationCompartmentDetails 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"`
}

func (ChangeMigrationCompartmentDetails) String

func (m ChangeMigrationCompartmentDetails) String() string

func (ChangeMigrationCompartmentDetails) ValidateEnumValue

func (m ChangeMigrationCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeMigrationCompartmentRequest

ChangeMigrationCompartmentRequest wrapper for the ChangeMigrationCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ChangeMigrationCompartment.go.html to see an example of how to use ChangeMigrationCompartmentRequest.

type ChangeMigrationCompartmentRequest struct {

    // Unique migration identifier
    MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

    // The information to be updated.
    ChangeMigrationCompartmentDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before that 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
    // might 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"`

    // The client request ID for tracing.
    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
}

func (ChangeMigrationCompartmentRequest) BinaryRequestBody

func (request ChangeMigrationCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeMigrationCompartmentRequest) HTTPRequest

func (request ChangeMigrationCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeMigrationCompartmentRequest) RetryPolicy

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

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

func (ChangeMigrationCompartmentRequest) String

func (request ChangeMigrationCompartmentRequest) String() string

func (ChangeMigrationCompartmentRequest) ValidateEnumValue

func (request ChangeMigrationCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeMigrationCompartmentResponse

ChangeMigrationCompartmentResponse wrapper for the ChangeMigrationCompartment operation

type ChangeMigrationCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // 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"`

    // 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"`
}

func (ChangeMigrationCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeMigrationCompartmentResponse) String

func (response ChangeMigrationCompartmentResponse) String() string

type ChangeMigrationPlanCompartmentDetails

ChangeMigrationPlanCompartmentDetails Details about the compartment into which the resource can be moved.

type ChangeMigrationPlanCompartmentDetails 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"`
}

func (ChangeMigrationPlanCompartmentDetails) String

func (m ChangeMigrationPlanCompartmentDetails) String() string

func (ChangeMigrationPlanCompartmentDetails) ValidateEnumValue

func (m ChangeMigrationPlanCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeMigrationPlanCompartmentRequest

ChangeMigrationPlanCompartmentRequest wrapper for the ChangeMigrationPlanCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ChangeMigrationPlanCompartment.go.html to see an example of how to use ChangeMigrationPlanCompartmentRequest.

type ChangeMigrationPlanCompartmentRequest struct {

    // Unique migration plan identifier
    MigrationPlanId *string `mandatory:"true" contributesTo:"path" name:"migrationPlanId"`

    // Details for the compartment move.
    ChangeMigrationPlanCompartmentDetails `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"`

    // The client request ID for tracing.
    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 executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before that 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
    // might 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
}

func (ChangeMigrationPlanCompartmentRequest) BinaryRequestBody

func (request ChangeMigrationPlanCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeMigrationPlanCompartmentRequest) HTTPRequest

func (request ChangeMigrationPlanCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeMigrationPlanCompartmentRequest) RetryPolicy

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

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

func (ChangeMigrationPlanCompartmentRequest) String

func (request ChangeMigrationPlanCompartmentRequest) String() string

func (ChangeMigrationPlanCompartmentRequest) ValidateEnumValue

func (request ChangeMigrationPlanCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeMigrationPlanCompartmentResponse

ChangeMigrationPlanCompartmentResponse wrapper for the ChangeMigrationPlanCompartment operation

type ChangeMigrationPlanCompartmentResponse 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"`
}

func (ChangeMigrationPlanCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeMigrationPlanCompartmentResponse) String

func (response ChangeMigrationPlanCompartmentResponse) String() string

type ChangeReplicationScheduleCompartmentDetails

ChangeReplicationScheduleCompartmentDetails Information about compartment into which the replication schedule should be moved.

type ChangeReplicationScheduleCompartmentDetails struct {

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

func (ChangeReplicationScheduleCompartmentDetails) String

func (m ChangeReplicationScheduleCompartmentDetails) String() string

func (ChangeReplicationScheduleCompartmentDetails) ValidateEnumValue

func (m ChangeReplicationScheduleCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeReplicationScheduleCompartmentRequest

ChangeReplicationScheduleCompartmentRequest wrapper for the ChangeReplicationScheduleCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ChangeReplicationScheduleCompartment.go.html to see an example of how to use ChangeReplicationScheduleCompartmentRequest.

type ChangeReplicationScheduleCompartmentRequest struct {

    // Unique replication schedule identifier in path
    ReplicationScheduleId *string `mandatory:"true" contributesTo:"path" name:"replicationScheduleId"`

    // Details for the compartment move.
    ChangeReplicationScheduleCompartmentDetails `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"`

    // The client request ID for tracing.
    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 executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before that 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
    // might 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
}

func (ChangeReplicationScheduleCompartmentRequest) BinaryRequestBody

func (request ChangeReplicationScheduleCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeReplicationScheduleCompartmentRequest) HTTPRequest

func (request ChangeReplicationScheduleCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeReplicationScheduleCompartmentRequest) RetryPolicy

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

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

func (ChangeReplicationScheduleCompartmentRequest) String

func (request ChangeReplicationScheduleCompartmentRequest) String() string

func (ChangeReplicationScheduleCompartmentRequest) ValidateEnumValue

func (request ChangeReplicationScheduleCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeReplicationScheduleCompartmentResponse

ChangeReplicationScheduleCompartmentResponse wrapper for the ChangeReplicationScheduleCompartment operation

type ChangeReplicationScheduleCompartmentResponse 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"`
}

func (ChangeReplicationScheduleCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeReplicationScheduleCompartmentResponse) String

func (response ChangeReplicationScheduleCompartmentResponse) String() string

type CompatibilityMessage

CompatibilityMessage Information about shape compatibility with the client's current resource configuration.

type CompatibilityMessage struct {

    // Severity level of the compatibility issue.
    Severity CompatibilityMessageSeverityEnum `mandatory:"false" json:"severity,omitempty"`

    // Name of the compatibility issue.
    Name CompatibilityMessageNameEnum `mandatory:"false" json:"name,omitempty"`

    // Detailed description of the compatibility issue.
    Message *string `mandatory:"false" json:"message"`
}

func (CompatibilityMessage) String

func (m CompatibilityMessage) String() string

func (CompatibilityMessage) ValidateEnumValue

func (m CompatibilityMessage) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CompatibilityMessageNameEnum

CompatibilityMessageNameEnum Enum with underlying type: string

type CompatibilityMessageNameEnum string

Set of constants representing the allowable values for CompatibilityMessageNameEnum

const (
    CompatibilityMessageNameNotEnoughData                 CompatibilityMessageNameEnum = "NOT_ENOUGH_DATA"
    CompatibilityMessageNameInvalidData                   CompatibilityMessageNameEnum = "INVALID_DATA"
    CompatibilityMessageNameCpuCompatibilityWarning       CompatibilityMessageNameEnum = "CPU_COMPATIBILITY_WARNING"
    CompatibilityMessageNameCpuMetricInfo                 CompatibilityMessageNameEnum = "CPU_METRIC_INFO"
    CompatibilityMessageNameMemoryCompatibilityWarning    CompatibilityMessageNameEnum = "MEMORY_COMPATIBILITY_WARNING"
    CompatibilityMessageNameMemoryMetricInfo              CompatibilityMessageNameEnum = "MEMORY_METRIC_INFO"
    CompatibilityMessageNameVnicsCompatibilityWarning     CompatibilityMessageNameEnum = "VNICS_COMPATIBILITY_WARNING"
    CompatibilityMessageNameBandwidthCompatibilityWarning CompatibilityMessageNameEnum = "BANDWIDTH_COMPATIBILITY_WARNING"
    CompatibilityMessageNameGpuCompatibilityWarning       CompatibilityMessageNameEnum = "GPU_COMPATIBILITY_WARNING"
    CompatibilityMessageNameOsWarning                     CompatibilityMessageNameEnum = "OS_WARNING"
)

func GetCompatibilityMessageNameEnumValues

func GetCompatibilityMessageNameEnumValues() []CompatibilityMessageNameEnum

GetCompatibilityMessageNameEnumValues Enumerates the set of values for CompatibilityMessageNameEnum

func GetMappingCompatibilityMessageNameEnum

func GetMappingCompatibilityMessageNameEnum(val string) (CompatibilityMessageNameEnum, bool)

GetMappingCompatibilityMessageNameEnum performs case Insensitive comparison on enum value and return the desired enum

type CompatibilityMessageSeverityEnum

CompatibilityMessageSeverityEnum Enum with underlying type: string

type CompatibilityMessageSeverityEnum string

Set of constants representing the allowable values for CompatibilityMessageSeverityEnum

const (
    CompatibilityMessageSeverityError   CompatibilityMessageSeverityEnum = "ERROR"
    CompatibilityMessageSeverityWarning CompatibilityMessageSeverityEnum = "WARNING"
    CompatibilityMessageSeverityInfo    CompatibilityMessageSeverityEnum = "INFO"
)

func GetCompatibilityMessageSeverityEnumValues

func GetCompatibilityMessageSeverityEnumValues() []CompatibilityMessageSeverityEnum

GetCompatibilityMessageSeverityEnumValues Enumerates the set of values for CompatibilityMessageSeverityEnum

func GetMappingCompatibilityMessageSeverityEnum

func GetMappingCompatibilityMessageSeverityEnum(val string) (CompatibilityMessageSeverityEnum, bool)

GetMappingCompatibilityMessageSeverityEnum performs case Insensitive comparison on enum value and return the desired enum

type ComputeCostEstimation

ComputeCostEstimation Cost estimation for compute

type ComputeCostEstimation struct {

    // OCPU per hour
    OcpuPerHour *float32 `mandatory:"true" json:"ocpuPerHour"`

    // Gigabyte per hour
    MemoryGbPerHour *float32 `mandatory:"true" json:"memoryGbPerHour"`

    // GPU per hour
    GpuPerHour *float32 `mandatory:"true" json:"gpuPerHour"`

    // Total per hour
    TotalPerHour *float32 `mandatory:"true" json:"totalPerHour"`

    // OCPU per hour by subscription
    OcpuPerHourBySubscription *float32 `mandatory:"false" json:"ocpuPerHourBySubscription"`

    // Gigabyte per hour by subscription
    MemoryGbPerHourBySubscription *float32 `mandatory:"false" json:"memoryGbPerHourBySubscription"`

    // GPU per hour by subscription
    GpuPerHourBySubscription *float32 `mandatory:"false" json:"gpuPerHourBySubscription"`

    // Total usage per hour by subscription
    TotalPerHourBySubscription *float32 `mandatory:"false" json:"totalPerHourBySubscription"`

    // Total number of OCPUs
    OcpuCount *float32 `mandatory:"false" json:"ocpuCount"`

    // Total usage of memory
    MemoryAmountGb *float32 `mandatory:"false" json:"memoryAmountGb"`

    // Total number of GPU
    GpuCount *float32 `mandatory:"false" json:"gpuCount"`
}

func (ComputeCostEstimation) String

func (m ComputeCostEstimation) String() string

func (ComputeCostEstimation) ValidateEnumValue

func (m ComputeCostEstimation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CostEstimation

CostEstimation Cost estimation description

type CostEstimation struct {
    Compute *ComputeCostEstimation `mandatory:"true" json:"compute"`

    Storage *StorageCostEstimation `mandatory:"true" json:"storage"`

    OsImage *OsImageEstimation `mandatory:"true" json:"osImage"`

    // Total estimation per month
    TotalEstimationPerMonth *float32 `mandatory:"true" json:"totalEstimationPerMonth"`

    // Currency code in the ISO format.
    CurrencyCode *string `mandatory:"false" json:"currencyCode"`

    // Total estimation per month by subscription.
    TotalEstimationPerMonthBySubscription *float32 `mandatory:"false" json:"totalEstimationPerMonthBySubscription"`

    // Subscription ID
    SubscriptionId *string `mandatory:"false" json:"subscriptionId"`
}

func (CostEstimation) String

func (m CostEstimation) String() string

func (CostEstimation) ValidateEnumValue

func (m CostEstimation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateAssetSourceDetails

CreateAssetSourceDetails Asset source creation request.

type CreateAssetSourceDetails interface {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment for the resource.
    GetCompartmentId() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the environment.
    GetEnvironmentId() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets.
    GetInventoryId() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets.
    GetAssetsCompartmentId() *string

    // A user-friendly name for the asset source. Does not have to be unique, and it's mutable.
    // Avoid entering confidential information. The name is generated by the service if it is not
    // explicitly provided.
    GetDisplayName() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the discovery schedule that is going to be attached to the created asset.
    GetDiscoveryScheduleId() *string

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // Example: `{"bar-key": "value"}`
    GetFreeformTags() map[string]string

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    GetDefinedTags() map[string]map[string]interface{}

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    GetSystemTags() map[string]map[string]interface{}
}

type CreateDiscoveryScheduleDetails

CreateDiscoveryScheduleDetails Information about discovery schedule to be created.

type CreateDiscoveryScheduleDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the discovery schedule is created.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Recurrence specification for the discovery schedule execution.
    ExecutionRecurrences *string `mandatory:"true" json:"executionRecurrences"`

    // A user-friendly name for the discovery schedule. Does not have to be unique, and it's mutable.
    // Avoid entering confidential information. The name is generated by the service if it is not
    // explicitly provided.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`
}

func (CreateDiscoveryScheduleDetails) String

func (m CreateDiscoveryScheduleDetails) String() string

func (CreateDiscoveryScheduleDetails) ValidateEnumValue

func (m CreateDiscoveryScheduleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateMigrationAssetDetails

CreateMigrationAssetDetails Details of the new migration asset.

type CreateMigrationAssetDetails struct {

    // OCID of an asset for an inventory.
    InventoryAssetId *string `mandatory:"true" json:"inventoryAssetId"`

    // OCID of the associated migration.
    MigrationId *string `mandatory:"true" json:"migrationId"`

    // Availability domain
    AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

    // Replication compartment identifier
    ReplicationCompartmentId *string `mandatory:"true" json:"replicationCompartmentId"`

    // Name of snapshot bucket
    SnapShotBucketName *string `mandatory:"true" json:"snapShotBucketName"`

    // A user-friendly name. If empty, then source asset name will be used. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Replication schedule identifier
    ReplicationScheduleId *string `mandatory:"false" json:"replicationScheduleId"`

    // List of migration assets that depends on this asset.
    DependsOn []string `mandatory:"false" json:"dependsOn"`
}

func (CreateMigrationAssetDetails) String

func (m CreateMigrationAssetDetails) String() string

func (CreateMigrationAssetDetails) ValidateEnumValue

func (m CreateMigrationAssetDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateMigrationAssetRequest

CreateMigrationAssetRequest wrapper for the CreateMigrationAsset operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/CreateMigrationAsset.go.html to see an example of how to use CreateMigrationAssetRequest.

type CreateMigrationAssetRequest struct {

    // Details for the new migration asset.
    CreateMigrationAssetDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before that 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
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // The client request ID for tracing.
    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
}

func (CreateMigrationAssetRequest) BinaryRequestBody

func (request CreateMigrationAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateMigrationAssetRequest) HTTPRequest

func (request CreateMigrationAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateMigrationAssetRequest) RetryPolicy

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

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

func (CreateMigrationAssetRequest) String

func (request CreateMigrationAssetRequest) String() string

func (CreateMigrationAssetRequest) ValidateEnumValue

func (request CreateMigrationAssetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateMigrationAssetResponse

CreateMigrationAssetResponse wrapper for the CreateMigrationAsset operation

type CreateMigrationAssetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The MigrationAsset instance
    MigrationAsset `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"`

    // The full URI of the resource related to the request
    Location *string `presentIn:"header" name:"location"`

    // The full URI of the resource related to the request
    ContentLocation *string `presentIn:"header" name:"content-location"`
}

func (CreateMigrationAssetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateMigrationAssetResponse) String

func (response CreateMigrationAssetResponse) String() string

type CreateMigrationDetails

CreateMigrationDetails The information about new migration.

type CreateMigrationDetails struct {

    // Migration identifier
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Compartment identifier
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Replication schedule identifier
    ReplicationScheduleId *string `mandatory:"false" json:"replicationScheduleId"`

    // Indicates whether migration is marked as complete.
    IsCompleted *bool `mandatory:"false" json:"isCompleted"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`
}

func (CreateMigrationDetails) String

func (m CreateMigrationDetails) String() string

func (CreateMigrationDetails) ValidateEnumValue

func (m CreateMigrationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateMigrationPlanDetails

CreateMigrationPlanDetails The information about the new migration plan.

type CreateMigrationPlanDetails struct {

    // Migration plan identifier
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Compartment identifier
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID of the associated migration.
    MigrationId *string `mandatory:"true" json:"migrationId"`

    // Source migraiton plan ID to be cloned.
    SourceMigrationPlanId *string `mandatory:"false" json:"sourceMigrationPlanId"`

    // List of strategies for the resources to be migrated.
    Strategies []ResourceAssessmentStrategy `mandatory:"false" json:"strategies"`

    // List of target environments.
    TargetEnvironments []TargetEnvironment `mandatory:"false" json:"targetEnvironments"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`
}

func (CreateMigrationPlanDetails) String

func (m CreateMigrationPlanDetails) String() string

func (*CreateMigrationPlanDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateMigrationPlanDetails) ValidateEnumValue

func (m CreateMigrationPlanDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateMigrationPlanRequest

CreateMigrationPlanRequest wrapper for the CreateMigrationPlan operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/CreateMigrationPlan.go.html to see an example of how to use CreateMigrationPlanRequest.

type CreateMigrationPlanRequest struct {

    // Details for the new migration plan.
    CreateMigrationPlanDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before that 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
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // The client request ID for tracing.
    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
}

func (CreateMigrationPlanRequest) BinaryRequestBody

func (request CreateMigrationPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateMigrationPlanRequest) HTTPRequest

func (request CreateMigrationPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateMigrationPlanRequest) RetryPolicy

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

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

func (CreateMigrationPlanRequest) String

func (request CreateMigrationPlanRequest) String() string

func (CreateMigrationPlanRequest) ValidateEnumValue

func (request CreateMigrationPlanRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateMigrationPlanResponse

CreateMigrationPlanResponse wrapper for the CreateMigrationPlan operation

type CreateMigrationPlanResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The MigrationPlan instance
    MigrationPlan `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"`

    // The full URI of the resource related to the request
    Location *string `presentIn:"header" name:"location"`

    // The full URI of the resource related to the request
    ContentLocation *string `presentIn:"header" name:"content-location"`
}

func (CreateMigrationPlanResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateMigrationPlanResponse) String

func (response CreateMigrationPlanResponse) String() string

type CreateMigrationRequest

CreateMigrationRequest wrapper for the CreateMigration operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/CreateMigration.go.html to see an example of how to use CreateMigrationRequest.

type CreateMigrationRequest struct {

    // Details for the new migration.
    CreateMigrationDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before that 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
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // The client request ID for tracing.
    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
}

func (CreateMigrationRequest) BinaryRequestBody

func (request CreateMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateMigrationRequest) HTTPRequest

func (request CreateMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateMigrationRequest) RetryPolicy

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

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

func (CreateMigrationRequest) String

func (request CreateMigrationRequest) String() string

func (CreateMigrationRequest) ValidateEnumValue

func (request CreateMigrationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateMigrationResponse

CreateMigrationResponse wrapper for the CreateMigration operation

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"`
}

func (CreateMigrationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateMigrationResponse) String

func (response CreateMigrationResponse) String() string

type CreateReplicationScheduleDetails

CreateReplicationScheduleDetails Information about replication schedule to be created.

type CreateReplicationScheduleDetails struct {

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

    // Recurrence specification for replication schedule execution.
    ExecutionRecurrences *string `mandatory:"true" json:"executionRecurrences"`

    // A user-friendly name for a replication schedule. Does not have to be unique, and is mutable. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`
}

func (CreateReplicationScheduleDetails) String

func (m CreateReplicationScheduleDetails) String() string

func (CreateReplicationScheduleDetails) ValidateEnumValue

func (m CreateReplicationScheduleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateReplicationScheduleRequest

CreateReplicationScheduleRequest wrapper for the CreateReplicationSchedule operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/CreateReplicationSchedule.go.html to see an example of how to use CreateReplicationScheduleRequest.

type CreateReplicationScheduleRequest struct {

    // Details for the new replication schedule.
    CreateReplicationScheduleDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before that 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
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // The client request ID for tracing.
    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
}

func (CreateReplicationScheduleRequest) BinaryRequestBody

func (request CreateReplicationScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateReplicationScheduleRequest) HTTPRequest

func (request CreateReplicationScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateReplicationScheduleRequest) RetryPolicy

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

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

func (CreateReplicationScheduleRequest) String

func (request CreateReplicationScheduleRequest) String() string

func (CreateReplicationScheduleRequest) ValidateEnumValue

func (request CreateReplicationScheduleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateReplicationScheduleResponse

CreateReplicationScheduleResponse wrapper for the CreateReplicationSchedule operation

type CreateReplicationScheduleResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ReplicationSchedule instance
    ReplicationSchedule `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"`

    // The full URI of the resource related to the request
    Location *string `presentIn:"header" name:"location"`

    // The full URI of the resource related to the request
    ContentLocation *string `presentIn:"header" name:"content-location"`
}

func (CreateReplicationScheduleResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateReplicationScheduleResponse) String

func (response CreateReplicationScheduleResponse) String() string

type CreateTargetAssetDetails

CreateTargetAssetDetails Details of the new target asset.

type CreateTargetAssetDetails interface {

    // OCID of the associated migration plan.
    GetMigrationPlanId() *string

    // A boolean indicating whether the asset should be migrated.
    GetIsExcludedFromExecution() *bool
}

type CreateTargetAssetDetailsTypeEnum

CreateTargetAssetDetailsTypeEnum Enum with underlying type: string

type CreateTargetAssetDetailsTypeEnum string

Set of constants representing the allowable values for CreateTargetAssetDetailsTypeEnum

const (
    CreateTargetAssetDetailsTypeInstance CreateTargetAssetDetailsTypeEnum = "INSTANCE"
)

func GetCreateTargetAssetDetailsTypeEnumValues

func GetCreateTargetAssetDetailsTypeEnumValues() []CreateTargetAssetDetailsTypeEnum

GetCreateTargetAssetDetailsTypeEnumValues Enumerates the set of values for CreateTargetAssetDetailsTypeEnum

func GetMappingCreateTargetAssetDetailsTypeEnum

func GetMappingCreateTargetAssetDetailsTypeEnum(val string) (CreateTargetAssetDetailsTypeEnum, bool)

GetMappingCreateTargetAssetDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateTargetAssetRequest

CreateTargetAssetRequest wrapper for the CreateTargetAsset operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/CreateTargetAsset.go.html to see an example of how to use CreateTargetAssetRequest.

type CreateTargetAssetRequest struct {

    // Details for the new target asset.
    CreateTargetAssetDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before that 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
    // might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // The client request ID for tracing.
    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
}

func (CreateTargetAssetRequest) BinaryRequestBody

func (request CreateTargetAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateTargetAssetRequest) HTTPRequest

func (request CreateTargetAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateTargetAssetRequest) RetryPolicy

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

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

func (CreateTargetAssetRequest) String

func (request CreateTargetAssetRequest) String() string

func (CreateTargetAssetRequest) ValidateEnumValue

func (request CreateTargetAssetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateTargetAssetResponse

CreateTargetAssetResponse wrapper for the CreateTargetAsset operation

type CreateTargetAssetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The TargetAsset instance
    TargetAsset `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"`

    // The full URI of the resource related to the request
    Location *string `presentIn:"header" name:"location"`

    // The full URI of the resource related to the request
    ContentLocation *string `presentIn:"header" name:"content-location"`
}

func (CreateTargetAssetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateTargetAssetResponse) String

func (response CreateTargetAssetResponse) String() string

type CreateVmTargetAssetDetails

CreateVmTargetAssetDetails Description of the VM target asset.

type CreateVmTargetAssetDetails struct {

    // OCID of the associated migration plan.
    MigrationPlanId *string `mandatory:"true" json:"migrationPlanId"`

    // A boolean indicating whether the asset should be migrated.
    IsExcludedFromExecution *bool `mandatory:"true" json:"isExcludedFromExecution"`

    UserSpec *LaunchInstanceDetails `mandatory:"true" json:"userSpec"`

    // Performance of the block volumes.
    BlockVolumesPerformance *int `mandatory:"false" json:"blockVolumesPerformance"`

    // Microsoft license for the VM configuration.
    MsLicense *string `mandatory:"false" json:"msLicense"`

    // Preferred VM shape type that you provide.
    PreferredShapeType VmTargetAssetPreferredShapeTypeEnum `mandatory:"true" json:"preferredShapeType"`
}

func (CreateVmTargetAssetDetails) GetIsExcludedFromExecution

func (m CreateVmTargetAssetDetails) GetIsExcludedFromExecution() *bool

GetIsExcludedFromExecution returns IsExcludedFromExecution

func (CreateVmTargetAssetDetails) GetMigrationPlanId

func (m CreateVmTargetAssetDetails) GetMigrationPlanId() *string

GetMigrationPlanId returns MigrationPlanId

func (CreateVmTargetAssetDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateVmTargetAssetDetails) String

func (m CreateVmTargetAssetDetails) String() string

func (CreateVmTargetAssetDetails) ValidateEnumValue

func (m CreateVmTargetAssetDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateVmWareAssetSourceDetails

CreateVmWareAssetSourceDetails Description of an asset source.

type CreateVmWareAssetSourceDetails struct {

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

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the environment.
    EnvironmentId *string `mandatory:"true" json:"environmentId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets.
    InventoryId *string `mandatory:"true" json:"inventoryId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets.
    AssetsCompartmentId *string `mandatory:"true" json:"assetsCompartmentId"`

    // Endpoint for VMware asset discovery and replication in the form of ```https://<host>:<port>/sdk```
    VcenterEndpoint *string `mandatory:"true" json:"vcenterEndpoint"`

    DiscoveryCredentials *AssetSourceCredentials `mandatory:"true" json:"discoveryCredentials"`

    // A user-friendly name for the asset source. Does not have to be unique, and it's mutable.
    // Avoid entering confidential information. The name is generated by the service if it is not
    // explicitly provided.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the discovery schedule that is going to be attached to the created asset.
    DiscoveryScheduleId *string `mandatory:"false" json:"discoveryScheduleId"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

    ReplicationCredentials *AssetSourceCredentials `mandatory:"false" json:"replicationCredentials"`

    // Flag indicating whether historical metrics are collected for assets, originating from this asset source.
    AreHistoricalMetricsCollected *bool `mandatory:"false" json:"areHistoricalMetricsCollected"`

    // Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
    AreRealtimeMetricsCollected *bool `mandatory:"false" json:"areRealtimeMetricsCollected"`
}

func (CreateVmWareAssetSourceDetails) GetAssetsCompartmentId

func (m CreateVmWareAssetSourceDetails) GetAssetsCompartmentId() *string

GetAssetsCompartmentId returns AssetsCompartmentId

func (CreateVmWareAssetSourceDetails) GetCompartmentId

func (m CreateVmWareAssetSourceDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateVmWareAssetSourceDetails) GetDefinedTags

func (m CreateVmWareAssetSourceDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateVmWareAssetSourceDetails) GetDiscoveryScheduleId

func (m CreateVmWareAssetSourceDetails) GetDiscoveryScheduleId() *string

GetDiscoveryScheduleId returns DiscoveryScheduleId

func (CreateVmWareAssetSourceDetails) GetDisplayName

func (m CreateVmWareAssetSourceDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateVmWareAssetSourceDetails) GetEnvironmentId

func (m CreateVmWareAssetSourceDetails) GetEnvironmentId() *string

GetEnvironmentId returns EnvironmentId

func (CreateVmWareAssetSourceDetails) GetFreeformTags

func (m CreateVmWareAssetSourceDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateVmWareAssetSourceDetails) GetInventoryId

func (m CreateVmWareAssetSourceDetails) GetInventoryId() *string

GetInventoryId returns InventoryId

func (CreateVmWareAssetSourceDetails) GetSystemTags

func (m CreateVmWareAssetSourceDetails) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (CreateVmWareAssetSourceDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateVmWareAssetSourceDetails) String

func (m CreateVmWareAssetSourceDetails) String() string

func (CreateVmWareAssetSourceDetails) ValidateEnumValue

func (m CreateVmWareAssetSourceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateVnicDetails

CreateVnicDetails Contains properties for a VNIC. You use this object when creating the primary VNIC during instance launch or when creating a secondary VNIC. For more information about VNICs, see Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm).

type CreateVnicDetails struct {

    // Whether the VNIC should be assigned a public IP address. Defaults to whether
    // the subnet is public or private. If not set and the VNIC is being created
    // in a private subnet (that is, where `prohibitPublicIpOnVnic` = true in the
    // Subnet), then no public IP address is assigned.
    // If not set and the subnet is public (`prohibitPublicIpOnVnic` = false), then
    // a public IP address is assigned. If set to true and
    // `prohibitPublicIpOnVnic` = true, an error is returned.
    // **Note:** This public IP address is associated with the primary private IP
    // on the VNIC. For more information, see
    // IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm).
    // **Note:** There's a limit to the number of PublicIp
    // a VNIC or instance can have. If you try to create a secondary VNIC
    // with an assigned public IP for an instance that has already
    // reached its public IP limit, an error is returned. For information
    // about the public IP limits, see
    // Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm).
    // Example: `false`
    // If you specify a `vlanId`, then `assignPublicIp` must be set to false. See
    // Vlan.
    AssignPublicIp *bool `mandatory:"false" json:"assignPublicIp"`

    // Whether the VNIC should be assigned a DNS record. If set to false, there will be no DNS record
    // registration for the VNIC. If set to true, the DNS record will be registered. By default,
    // the value is true.
    // If you specify a `hostnameLabel`, then `assignPrivateDnsRecord` must be set to true.
    AssignPrivateDnsRecord *bool `mandatory:"false" json:"assignPrivateDnsRecord"`

    // 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"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

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

    // The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname
    // portion of the primary private IP's fully qualified domain name (FQDN)
    // (for example, `bminstance-1` in FQDN `bminstance-1.subnet123.vcn1.oraclevcn.com`).
    // Must be unique across all VNICs in the subnet and comply with
    // RFC 952 (https://tools.ietf.org/html/rfc952) and
    // RFC 1123 (https://tools.ietf.org/html/rfc1123).
    // The value appears in the Vnic object and also the
    // PrivateIp object returned by
    // ListPrivateIps and
    // GetPrivateIp.
    // For more information, see
    // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
    // When launching an instance, use this `hostnameLabel` instead
    // of the deprecated `hostnameLabel` in
    // LaunchInstanceDetails.
    // If you provide both, the values must match.
    // Example: `bminstance-1`
    // If you specify a `vlanId`, the `hostnameLabel` cannot be specified. VNICs on a VLAN
    // can not be assigned a hostname. See Vlan.
    HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`

    // List of OCIDs of the network security groups (NSGs) that are added to the VNIC. For more
    //  information about NSGs, see
    //  NetworkSecurityGroup.
    //  If a `vlanId` is specified, the `nsgIds` cannot be specified. The `vlanId`
    //  indicates that the VNIC will belong to a VLAN instead of a subnet. With VLANs,
    //  all VNICs in the VLAN belong to the NSGs that are associated with the VLAN.
    //  See Vlan.
    NsgIds []string `mandatory:"false" json:"nsgIds"`

    // A private IP address of your choice to assign to the VNIC. Must be an
    // available IP address within the subnet's CIDR. If you don't specify a
    // value, Oracle automatically assigns a private IP address from the subnet.
    // This is the VNIC's *primary* private IP address. The value appears in
    // the Vnic object and also the
    // PrivateIp object returned by
    // ListPrivateIps and
    // GetPrivateIp.
    //
    // If you specify a `vlanId`, the `privateIp` cannot be specified.
    // See Vlan.
    // Example: `10.0.3.3`
    PrivateIp *string `mandatory:"false" json:"privateIp"`

    // Whether the source/destination check is disabled on the VNIC.
    // Defaults to `false`, which means the check is performed. For information
    // about why you should skip the source/destination check, see
    // Using a Private IP as a Route Target (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip).
    //
    // If you specify a `vlanId`, the `skipSourceDestCheck` cannot be specified because the
    // source/destination check is always disabled for VNICs in a VLAN. See
    // Vlan.
    // Example: `true`
    SkipSourceDestCheck *bool `mandatory:"false" json:"skipSourceDestCheck"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create the VNIC. When launching an instance,
    // use this `subnetId` instead of the deprecated `subnetId` in
    // LaunchInstanceDetails.
    // At least one of them is required; if you provide both, the values must match.
    // If you are an Oracle Cloud VMware Solution customer and creating a secondary
    // VNIC in a VLAN instead of a subnet, provide a `vlanId` instead of a `subnetId`.
    // If you provide both `vlanId` and `subnetId`, the request fails.
    SubnetId *string `mandatory:"false" json:"subnetId"`

    // Provide this attribute only if you are an Oracle Cloud VMware Solution
    // customer and creating a secondary VNIC in a VLAN. The value is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN.
    // See Vlan.
    // Provide a `vlanId` instead of a `subnetId`. If you provide both
    // `vlanId` and `subnetId`, the request fails.
    VlanId *string `mandatory:"false" json:"vlanId"`
}

func (CreateVnicDetails) String

func (m CreateVnicDetails) String() string

func (CreateVnicDetails) ValidateEnumValue

func (m CreateVnicDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteMigrationAssetRequest

DeleteMigrationAssetRequest wrapper for the DeleteMigrationAsset operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/DeleteMigrationAsset.go.html to see an example of how to use DeleteMigrationAssetRequest.

type DeleteMigrationAssetRequest struct {

    // Unique migration asset identifier
    MigrationAssetId *string `mandatory:"true" contributesTo:"path" name:"migrationAssetId"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (DeleteMigrationAssetRequest) BinaryRequestBody

func (request DeleteMigrationAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteMigrationAssetRequest) HTTPRequest

func (request DeleteMigrationAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteMigrationAssetRequest) RetryPolicy

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

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

func (DeleteMigrationAssetRequest) String

func (request DeleteMigrationAssetRequest) String() string

func (DeleteMigrationAssetRequest) ValidateEnumValue

func (request DeleteMigrationAssetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteMigrationAssetResponse

DeleteMigrationAssetResponse wrapper for the DeleteMigrationAsset operation

type DeleteMigrationAssetResponse 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"`
}

func (DeleteMigrationAssetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteMigrationAssetResponse) String

func (response DeleteMigrationAssetResponse) String() string

type DeleteMigrationPlanRequest

DeleteMigrationPlanRequest wrapper for the DeleteMigrationPlan operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/DeleteMigrationPlan.go.html to see an example of how to use DeleteMigrationPlanRequest.

type DeleteMigrationPlanRequest struct {

    // Unique migration plan identifier
    MigrationPlanId *string `mandatory:"true" contributesTo:"path" name:"migrationPlanId"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (DeleteMigrationPlanRequest) BinaryRequestBody

func (request DeleteMigrationPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteMigrationPlanRequest) HTTPRequest

func (request DeleteMigrationPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteMigrationPlanRequest) RetryPolicy

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

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

func (DeleteMigrationPlanRequest) String

func (request DeleteMigrationPlanRequest) String() string

func (DeleteMigrationPlanRequest) ValidateEnumValue

func (request DeleteMigrationPlanRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteMigrationPlanResponse

DeleteMigrationPlanResponse wrapper for the DeleteMigrationPlan operation

type DeleteMigrationPlanResponse 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"`
}

func (DeleteMigrationPlanResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteMigrationPlanResponse) String

func (response DeleteMigrationPlanResponse) String() string

type DeleteMigrationRequest

DeleteMigrationRequest wrapper for the DeleteMigration operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/DeleteMigration.go.html to see an example of how to use DeleteMigrationRequest.

type DeleteMigrationRequest struct {

    // Unique migration identifier
    MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (DeleteMigrationRequest) BinaryRequestBody

func (request DeleteMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteMigrationRequest) HTTPRequest

func (request DeleteMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteMigrationRequest) RetryPolicy

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

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

func (DeleteMigrationRequest) String

func (request DeleteMigrationRequest) String() string

func (DeleteMigrationRequest) ValidateEnumValue

func (request DeleteMigrationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteMigrationResponse

DeleteMigrationResponse wrapper for the DeleteMigration operation

type DeleteMigrationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // 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"`

    // 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"`
}

func (DeleteMigrationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteMigrationResponse) String

func (response DeleteMigrationResponse) String() string

type DeleteReplicationScheduleRequest

DeleteReplicationScheduleRequest wrapper for the DeleteReplicationSchedule operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/DeleteReplicationSchedule.go.html to see an example of how to use DeleteReplicationScheduleRequest.

type DeleteReplicationScheduleRequest struct {

    // Unique replication schedule identifier in path
    ReplicationScheduleId *string `mandatory:"true" contributesTo:"path" name:"replicationScheduleId"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (DeleteReplicationScheduleRequest) BinaryRequestBody

func (request DeleteReplicationScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteReplicationScheduleRequest) HTTPRequest

func (request DeleteReplicationScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteReplicationScheduleRequest) RetryPolicy

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

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

func (DeleteReplicationScheduleRequest) String

func (request DeleteReplicationScheduleRequest) String() string

func (DeleteReplicationScheduleRequest) ValidateEnumValue

func (request DeleteReplicationScheduleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteReplicationScheduleResponse

DeleteReplicationScheduleResponse wrapper for the DeleteReplicationSchedule operation

type DeleteReplicationScheduleResponse 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"`
}

func (DeleteReplicationScheduleResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteReplicationScheduleResponse) String

func (response DeleteReplicationScheduleResponse) String() string

type DeleteTargetAssetRequest

DeleteTargetAssetRequest wrapper for the DeleteTargetAsset operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/DeleteTargetAsset.go.html to see an example of how to use DeleteTargetAssetRequest.

type DeleteTargetAssetRequest struct {

    // Unique target asset identifier
    TargetAssetId *string `mandatory:"true" contributesTo:"path" name:"targetAssetId"`

    // 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"`

    // The client request ID for tracing.
    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
}

func (DeleteTargetAssetRequest) BinaryRequestBody

func (request DeleteTargetAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteTargetAssetRequest) HTTPRequest

func (request DeleteTargetAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteTargetAssetRequest) RetryPolicy

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

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

func (DeleteTargetAssetRequest) String

func (request DeleteTargetAssetRequest) String() string

func (DeleteTargetAssetRequest) ValidateEnumValue

func (request DeleteTargetAssetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteTargetAssetResponse

DeleteTargetAssetResponse wrapper for the DeleteTargetAsset operation

type DeleteTargetAssetResponse 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"`
}

func (DeleteTargetAssetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteTargetAssetResponse) String

func (response DeleteTargetAssetResponse) String() string

type DiscoverySchedule

DiscoverySchedule Discovery schedule.

type DiscoverySchedule struct {

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

    // A user-friendly name for the discovery schedule. Does not have to be unique, and it's mutable.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Recurrence specification for the discovery schedule execution.
    ExecutionRecurrences *string `mandatory:"true" json:"executionRecurrences"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the discovery schedule exists.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Current state of the discovery schedule.
    LifecycleState DiscoveryScheduleLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The detailed state of the discovery schedule.
    LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`

    // The time when the discovery schedule was created in RFC3339 format.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time when the discovery schedule was last updated in RFC3339 format.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (DiscoverySchedule) String

func (m DiscoverySchedule) String() string

func (DiscoverySchedule) ValidateEnumValue

func (m DiscoverySchedule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DiscoveryScheduleCollection

DiscoveryScheduleCollection Results of a discovery schedule search. Contains discovery schedule summaries.

type DiscoveryScheduleCollection struct {

    // Discovery schedule summaries.
    Items []DiscoveryScheduleSummary `mandatory:"true" json:"items"`
}

func (DiscoveryScheduleCollection) String

func (m DiscoveryScheduleCollection) String() string

func (DiscoveryScheduleCollection) ValidateEnumValue

func (m DiscoveryScheduleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DiscoveryScheduleLifecycleStateEnum

DiscoveryScheduleLifecycleStateEnum Enum with underlying type: string

type DiscoveryScheduleLifecycleStateEnum string

Set of constants representing the allowable values for DiscoveryScheduleLifecycleStateEnum

const (
    DiscoveryScheduleLifecycleStateActive  DiscoveryScheduleLifecycleStateEnum = "ACTIVE"
    DiscoveryScheduleLifecycleStateDeleted DiscoveryScheduleLifecycleStateEnum = "DELETED"
)

func GetDiscoveryScheduleLifecycleStateEnumValues

func GetDiscoveryScheduleLifecycleStateEnumValues() []DiscoveryScheduleLifecycleStateEnum

GetDiscoveryScheduleLifecycleStateEnumValues Enumerates the set of values for DiscoveryScheduleLifecycleStateEnum

func GetMappingDiscoveryScheduleLifecycleStateEnum

func GetMappingDiscoveryScheduleLifecycleStateEnum(val string) (DiscoveryScheduleLifecycleStateEnum, bool)

GetMappingDiscoveryScheduleLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type DiscoveryScheduleSummary

DiscoveryScheduleSummary Sumarized information about a discovery schedule.

type DiscoveryScheduleSummary struct {

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

    // A user-friendly name for the discovery schedule. Does not have to be unique, and it's mutable.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the discovery schedule exists.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Current state of the discovery schedule.
    LifecycleState DiscoveryScheduleLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The detailed state of the discovery schedule.
    LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`

    // The time when the discovery schedule was created in RFC3339 format.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time when the discovery schedule was last updated in RFC3339 format.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (DiscoveryScheduleSummary) String

func (m DiscoveryScheduleSummary) String() string

func (DiscoveryScheduleSummary) ValidateEnumValue

func (m DiscoveryScheduleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ExecuteMigrationPlanRequest

ExecuteMigrationPlanRequest wrapper for the ExecuteMigrationPlan operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ExecuteMigrationPlan.go.html to see an example of how to use ExecuteMigrationPlanRequest.

type ExecuteMigrationPlanRequest struct {

    // Unique migration plan identifier
    MigrationPlanId *string `mandatory:"true" contributesTo:"path" name:"migrationPlanId"`

    // 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"`

    // The client request ID for tracing.
    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 executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before that 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
    // might 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
}

func (ExecuteMigrationPlanRequest) BinaryRequestBody

func (request ExecuteMigrationPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ExecuteMigrationPlanRequest) HTTPRequest

func (request ExecuteMigrationPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ExecuteMigrationPlanRequest) RetryPolicy

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

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

func (ExecuteMigrationPlanRequest) String

func (request ExecuteMigrationPlanRequest) String() string

func (ExecuteMigrationPlanRequest) ValidateEnumValue

func (request ExecuteMigrationPlanRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ExecuteMigrationPlanResponse

ExecuteMigrationPlanResponse wrapper for the ExecuteMigrationPlan operation

type ExecuteMigrationPlanResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // 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"`

    // 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"`
}

func (ExecuteMigrationPlanResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ExecuteMigrationPlanResponse) String

func (response ExecuteMigrationPlanResponse) String() string

type ExportMigrationPlanRequest

ExportMigrationPlanRequest wrapper for the ExportMigrationPlan operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ExportMigrationPlan.go.html to see an example of how to use ExportMigrationPlanRequest.

type ExportMigrationPlanRequest struct {

    // Unique migration plan identifier
    MigrationPlanId *string `mandatory:"true" contributesTo:"path" name:"migrationPlanId"`

    // The client request ID for tracing.
    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
}

func (ExportMigrationPlanRequest) BinaryRequestBody

func (request ExportMigrationPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ExportMigrationPlanRequest) HTTPRequest

func (request ExportMigrationPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ExportMigrationPlanRequest) RetryPolicy

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

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

func (ExportMigrationPlanRequest) String

func (request ExportMigrationPlanRequest) String() string

func (ExportMigrationPlanRequest) ValidateEnumValue

func (request ExportMigrationPlanRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ExportMigrationPlanResponse

ExportMigrationPlanResponse wrapper for the ExportMigrationPlan operation

type ExportMigrationPlanResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The io.ReadCloser instance
    Content io.ReadCloser `presentIn:"body" encoding:"binary"`

    // 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"`
}

func (ExportMigrationPlanResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ExportMigrationPlanResponse) String

func (response ExportMigrationPlanResponse) String() string

type GetMigrationAssetRequest

GetMigrationAssetRequest wrapper for the GetMigrationAsset operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/GetMigrationAsset.go.html to see an example of how to use GetMigrationAssetRequest.

type GetMigrationAssetRequest struct {

    // Unique migration asset identifier
    MigrationAssetId *string `mandatory:"true" contributesTo:"path" name:"migrationAssetId"`

    // The client request ID for tracing.
    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
}

func (GetMigrationAssetRequest) BinaryRequestBody

func (request GetMigrationAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetMigrationAssetRequest) HTTPRequest

func (request GetMigrationAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetMigrationAssetRequest) RetryPolicy

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

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

func (GetMigrationAssetRequest) String

func (request GetMigrationAssetRequest) String() string

func (GetMigrationAssetRequest) ValidateEnumValue

func (request GetMigrationAssetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetMigrationAssetResponse

GetMigrationAssetResponse wrapper for the GetMigrationAsset operation

type GetMigrationAssetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The MigrationAsset instance
    MigrationAsset `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"`
}

func (GetMigrationAssetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetMigrationAssetResponse) String

func (response GetMigrationAssetResponse) String() string

type GetMigrationPlanRequest

GetMigrationPlanRequest wrapper for the GetMigrationPlan operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/GetMigrationPlan.go.html to see an example of how to use GetMigrationPlanRequest.

type GetMigrationPlanRequest struct {

    // Unique migration plan identifier
    MigrationPlanId *string `mandatory:"true" contributesTo:"path" name:"migrationPlanId"`

    // The client request ID for tracing.
    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
}

func (GetMigrationPlanRequest) BinaryRequestBody

func (request GetMigrationPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetMigrationPlanRequest) HTTPRequest

func (request GetMigrationPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetMigrationPlanRequest) RetryPolicy

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

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

func (GetMigrationPlanRequest) String

func (request GetMigrationPlanRequest) String() string

func (GetMigrationPlanRequest) ValidateEnumValue

func (request GetMigrationPlanRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetMigrationPlanResponse

GetMigrationPlanResponse wrapper for the GetMigrationPlan operation

type GetMigrationPlanResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The MigrationPlan instance
    MigrationPlan `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"`
}

func (GetMigrationPlanResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetMigrationPlanResponse) String

func (response GetMigrationPlanResponse) String() string

type GetMigrationRequest

GetMigrationRequest wrapper for the GetMigration operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/GetMigration.go.html to see an example of how to use GetMigrationRequest.

type GetMigrationRequest struct {

    // Unique migration identifier
    MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

    // The client request ID for tracing.
    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
}

func (GetMigrationRequest) BinaryRequestBody

func (request GetMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetMigrationRequest) HTTPRequest

func (request GetMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetMigrationRequest) RetryPolicy

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

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

func (GetMigrationRequest) String

func (request GetMigrationRequest) String() string

func (GetMigrationRequest) ValidateEnumValue

func (request GetMigrationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetMigrationResponse

GetMigrationResponse wrapper for the GetMigration operation

type GetMigrationResponse 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"`
}

func (GetMigrationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetMigrationResponse) String

func (response GetMigrationResponse) String() string

type GetReplicationProgressRequest

GetReplicationProgressRequest wrapper for the GetReplicationProgress operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/GetReplicationProgress.go.html to see an example of how to use GetReplicationProgressRequest.

type GetReplicationProgressRequest struct {

    // Unique migration asset identifier
    MigrationAssetId *string `mandatory:"true" contributesTo:"path" name:"migrationAssetId"`

    // The client request ID for tracing.
    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
}

func (GetReplicationProgressRequest) BinaryRequestBody

func (request GetReplicationProgressRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetReplicationProgressRequest) HTTPRequest

func (request GetReplicationProgressRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetReplicationProgressRequest) RetryPolicy

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

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

func (GetReplicationProgressRequest) String

func (request GetReplicationProgressRequest) String() string

func (GetReplicationProgressRequest) ValidateEnumValue

func (request GetReplicationProgressRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetReplicationProgressResponse

GetReplicationProgressResponse wrapper for the GetReplicationProgress operation

type GetReplicationProgressResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ReplicationProgress instance
    ReplicationProgress `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"`
}

func (GetReplicationProgressResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetReplicationProgressResponse) String

func (response GetReplicationProgressResponse) String() string

type GetReplicationScheduleRequest

GetReplicationScheduleRequest wrapper for the GetReplicationSchedule operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/GetReplicationSchedule.go.html to see an example of how to use GetReplicationScheduleRequest.

type GetReplicationScheduleRequest struct {

    // Unique replication schedule identifier in path
    ReplicationScheduleId *string `mandatory:"true" contributesTo:"path" name:"replicationScheduleId"`

    // The client request ID for tracing.
    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
}

func (GetReplicationScheduleRequest) BinaryRequestBody

func (request GetReplicationScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetReplicationScheduleRequest) HTTPRequest

func (request GetReplicationScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetReplicationScheduleRequest) RetryPolicy

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

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

func (GetReplicationScheduleRequest) String

func (request GetReplicationScheduleRequest) String() string

func (GetReplicationScheduleRequest) ValidateEnumValue

func (request GetReplicationScheduleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetReplicationScheduleResponse

GetReplicationScheduleResponse wrapper for the GetReplicationSchedule operation

type GetReplicationScheduleResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ReplicationSchedule instance
    ReplicationSchedule `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"`
}

func (GetReplicationScheduleResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetReplicationScheduleResponse) String

func (response GetReplicationScheduleResponse) String() string

type GetTargetAssetRequest

GetTargetAssetRequest wrapper for the GetTargetAsset operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/GetTargetAsset.go.html to see an example of how to use GetTargetAssetRequest.

type GetTargetAssetRequest struct {

    // Unique target asset identifier
    TargetAssetId *string `mandatory:"true" contributesTo:"path" name:"targetAssetId"`

    // The client request ID for tracing.
    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
}

func (GetTargetAssetRequest) BinaryRequestBody

func (request GetTargetAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetTargetAssetRequest) HTTPRequest

func (request GetTargetAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTargetAssetRequest) RetryPolicy

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

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

func (GetTargetAssetRequest) String

func (request GetTargetAssetRequest) String() string

func (GetTargetAssetRequest) ValidateEnumValue

func (request GetTargetAssetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetTargetAssetResponse

GetTargetAssetResponse wrapper for the GetTargetAsset operation

type GetTargetAssetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The TargetAsset instance
    TargetAsset `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"`
}

func (GetTargetAssetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetTargetAssetResponse) String

func (response GetTargetAssetResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.

type GetWorkRequestRequest struct {

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

    // The client request ID for tracing.
    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
}

func (GetWorkRequestRequest) BinaryRequestBody

func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWorkRequestResponse

GetWorkRequestResponse wrapper for the GetWorkRequest operation

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The WorkRequest instance
    WorkRequest `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"`

    // A decimal number representing the number of seconds the client should wait before polling this endpoint again.
    RetryAfter *int `presentIn:"header" name:"retry-after"`
}

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type HydratedVolume

HydratedVolume Description of the hydration server volume.

type HydratedVolume struct {

    // ID of the vCenter disk obtained from Inventory.
    Uuid *string `mandatory:"true" json:"uuid"`

    // ID of the hydration server volume
    VolumeId *string `mandatory:"true" json:"volumeId"`

    // The hydration server volume type
    VolumeType HydratedVolumeVolumeTypeEnum `mandatory:"true" json:"volumeType"`

    // ID of the unmodified volume
    UnmodifiedVolumeId *string `mandatory:"true" json:"unmodifiedVolumeId"`
}

func (HydratedVolume) String

func (m HydratedVolume) String() string

func (HydratedVolume) ValidateEnumValue

func (m HydratedVolume) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type HydratedVolumeVolumeTypeEnum

HydratedVolumeVolumeTypeEnum Enum with underlying type: string

type HydratedVolumeVolumeTypeEnum string

Set of constants representing the allowable values for HydratedVolumeVolumeTypeEnum

const (
    HydratedVolumeVolumeTypeBoot  HydratedVolumeVolumeTypeEnum = "BOOT"
    HydratedVolumeVolumeTypeBlock HydratedVolumeVolumeTypeEnum = "BLOCK"
)

func GetHydratedVolumeVolumeTypeEnumValues

func GetHydratedVolumeVolumeTypeEnumValues() []HydratedVolumeVolumeTypeEnum

GetHydratedVolumeVolumeTypeEnumValues Enumerates the set of values for HydratedVolumeVolumeTypeEnum

func GetMappingHydratedVolumeVolumeTypeEnum

func GetMappingHydratedVolumeVolumeTypeEnum(val string) (HydratedVolumeVolumeTypeEnum, bool)

GetMappingHydratedVolumeVolumeTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ImportMigrationPlanRequest

ImportMigrationPlanRequest wrapper for the ImportMigrationPlan operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ImportMigrationPlan.go.html to see an example of how to use ImportMigrationPlanRequest.

type ImportMigrationPlanRequest struct {

    // Unique migration plan identifier
    MigrationPlanId *string `mandatory:"true" contributesTo:"path" name:"migrationPlanId"`

    // The csv file to be uploaded.
    ImportMigrationPlanDetails io.ReadCloser `mandatory:"true" contributesTo:"body" encoding:"binary"`

    // 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"`

    // The client request ID for tracing.
    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 executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before that 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
    // might 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
}

func (ImportMigrationPlanRequest) BinaryRequestBody

func (request ImportMigrationPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ImportMigrationPlanRequest) HTTPRequest

func (request ImportMigrationPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ImportMigrationPlanRequest) RetryPolicy

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

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

func (ImportMigrationPlanRequest) String

func (request ImportMigrationPlanRequest) String() string

func (ImportMigrationPlanRequest) ValidateEnumValue

func (request ImportMigrationPlanRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ImportMigrationPlanResponse

ImportMigrationPlanResponse wrapper for the ImportMigrationPlan operation

type ImportMigrationPlanResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // 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"`

    // 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"`
}

func (ImportMigrationPlanResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ImportMigrationPlanResponse) String

func (response ImportMigrationPlanResponse) String() string

type InstanceAgentPluginConfigDetails

InstanceAgentPluginConfigDetails The configuration of plugins associated with this instance.

type InstanceAgentPluginConfigDetails struct {

    // The plugin name. To get a list of available plugins, use the
    // ListInstanceagentAvailablePlugins
    // operation in the Oracle Cloud Agent API. For more information about the available plugins, see
    // Managing Plugins with Oracle Cloud Agent (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm).
    Name *string `mandatory:"true" json:"name"`

    // Whether the plugin should be enabled or disabled.
    // To enable the monitoring and management plugins, the `isMonitoringDisabled` and
    // `isManagementDisabled` attributes must also be set to false.
    DesiredState InstanceAgentPluginConfigDetailsDesiredStateEnum `mandatory:"true" json:"desiredState"`
}

func (InstanceAgentPluginConfigDetails) String

func (m InstanceAgentPluginConfigDetails) String() string

func (InstanceAgentPluginConfigDetails) ValidateEnumValue

func (m InstanceAgentPluginConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InstanceAgentPluginConfigDetailsDesiredStateEnum

InstanceAgentPluginConfigDetailsDesiredStateEnum Enum with underlying type: string

type InstanceAgentPluginConfigDetailsDesiredStateEnum string

Set of constants representing the allowable values for InstanceAgentPluginConfigDetailsDesiredStateEnum

const (
    InstanceAgentPluginConfigDetailsDesiredStateEnabled  InstanceAgentPluginConfigDetailsDesiredStateEnum = "ENABLED"
    InstanceAgentPluginConfigDetailsDesiredStateDisabled InstanceAgentPluginConfigDetailsDesiredStateEnum = "DISABLED"
)

func GetInstanceAgentPluginConfigDetailsDesiredStateEnumValues

func GetInstanceAgentPluginConfigDetailsDesiredStateEnumValues() []InstanceAgentPluginConfigDetailsDesiredStateEnum

GetInstanceAgentPluginConfigDetailsDesiredStateEnumValues Enumerates the set of values for InstanceAgentPluginConfigDetailsDesiredStateEnum

func GetMappingInstanceAgentPluginConfigDetailsDesiredStateEnum

func GetMappingInstanceAgentPluginConfigDetailsDesiredStateEnum(val string) (InstanceAgentPluginConfigDetailsDesiredStateEnum, bool)

GetMappingInstanceAgentPluginConfigDetailsDesiredStateEnum performs case Insensitive comparison on enum value and return the desired enum

type InstanceOptions

InstanceOptions Optional mutable instance options

type InstanceOptions struct {

    // Whether to disable the legacy (/v1) instance metadata service endpoints.
    // Customers who have migrated to /v2 should set this to true for added security.
    // Default is false.
    AreLegacyImdsEndpointsDisabled *bool `mandatory:"false" json:"areLegacyImdsEndpointsDisabled"`
}

func (InstanceOptions) String

func (m InstanceOptions) String() string

func (InstanceOptions) ValidateEnumValue

func (m InstanceOptions) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InstanceSourceDetails

InstanceSourceDetails The representation of InstanceSourceDetails

type InstanceSourceDetails interface {
}

type InstanceSourceViaBootVolumeDetails

InstanceSourceViaBootVolumeDetails The representation of InstanceSourceViaBootVolumeDetails

type InstanceSourceViaBootVolumeDetails struct {

    // The OCID of the boot volume used to boot the instance.
    BootVolumeId *string `mandatory:"true" json:"bootVolumeId"`
}

func (InstanceSourceViaBootVolumeDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (InstanceSourceViaBootVolumeDetails) String

func (m InstanceSourceViaBootVolumeDetails) String() string

func (InstanceSourceViaBootVolumeDetails) ValidateEnumValue

func (m InstanceSourceViaBootVolumeDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type InstanceSourceViaImageDetails

InstanceSourceViaImageDetails The representation of InstanceSourceViaImageDetails

type InstanceSourceViaImageDetails struct {

    // The OCID of the image used to boot the instance.
    ImageId *string `mandatory:"true" json:"imageId"`

    // The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB).
    BootVolumeSizeInGBs *int64 `mandatory:"false" json:"bootVolumeSizeInGBs"`

    // The OCID of the key management key to assign as the master encryption key for the boot volume.
    KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

    // The number of volume performance units (VPUs) that will be applied to this volume per GB that
    // represents the Block Volume service's elastic performance options.
    // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information.
    // Allowed values:
    //   * `10`: Represents Balanced option.
    //   * `20`: Represents Higher Performance option.
    //   * `30`-`120`: Represents the Ultra High Performance option.
    // For volumes with the auto-tuned performance feature enabled, this is set to the default (minimum) VPUs/GB.
    BootVolumeVpusPerGB *int64 `mandatory:"false" json:"bootVolumeVpusPerGB"`
}

func (InstanceSourceViaImageDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (InstanceSourceViaImageDetails) String

func (m InstanceSourceViaImageDetails) String() string

func (InstanceSourceViaImageDetails) ValidateEnumValue

func (m InstanceSourceViaImageDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type LaunchInstanceAgentConfigDetails

LaunchInstanceAgentConfigDetails Configuration options for the Oracle Cloud Agent software running on the instance.

type LaunchInstanceAgentConfigDetails struct {

    // Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the
    // monitoring plugins. By default, the value is false (monitoring plugins are enabled).
    // These are the monitoring plugins: Compute instance monitoring
    // and Custom logs monitoring.
    // The monitoring plugins are controlled by this parameter and by the per-plugin
    // configuration in the `pluginsConfig` object.
    // - If `isMonitoringDisabled` is true, all the monitoring plugins are disabled, regardless of
    // the per-plugin configuration.
    // - If `isMonitoringDisabled` is false, all the monitoring plugins are enabled. You
    // can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig`
    // object.
    IsMonitoringDisabled *bool `mandatory:"false" json:"isMonitoringDisabled"`

    // Whether Oracle Cloud Agent can run all the available management plugins.
    // By default, the value is false (management plugins are enabled).
    // These are the management plugins: OS Management Service Agent and Compute instance
    // run command.
    // The management plugins are controlled by this parameter and the per-plugin
    // configuration in the `pluginsConfig` object.
    // - If `isManagementDisabled` is true, all the management plugins are disabled, regardless of
    // the per-plugin configuration.
    // - If `isManagementDisabled` is false, all the management plugins are enabled. You
    // can optionally disable individual management plugins by providing a value in the `pluginsConfig`
    // object.
    IsManagementDisabled *bool `mandatory:"false" json:"isManagementDisabled"`

    // Whether Oracle Cloud Agent can run all the available plugins.
    // This includes the management and monitoring plugins.
    // To get a list of available plugins, use the
    // ListInstanceagentAvailablePlugins
    // operation in the Oracle Cloud Agent API. For more information about the available plugins, see
    // Managing Plugins with Oracle Cloud Agent (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm).
    AreAllPluginsDisabled *bool `mandatory:"false" json:"areAllPluginsDisabled"`

    // The configuration of plugins associated with this instance.
    PluginsConfig []InstanceAgentPluginConfigDetails `mandatory:"false" json:"pluginsConfig"`
}

func (LaunchInstanceAgentConfigDetails) String

func (m LaunchInstanceAgentConfigDetails) String() string

func (LaunchInstanceAgentConfigDetails) ValidateEnumValue

func (m LaunchInstanceAgentConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type LaunchInstanceDetails

LaunchInstanceDetails Instance launch details. Use the `sourceDetails` parameter to specify whether a boot volume or an image should be used to launch a new instance.

type LaunchInstanceDetails struct {

    // The availability domain of the instance.
    // Example: `Uocm:PHX-AD-1`
    AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

    // The OCID of the compute capacity reservation under which this instance is launched.
    // You can opt out of all default reservations by specifying an empty string as input for this field.
    // For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default).
    CapacityReservationId *string `mandatory:"false" json:"capacityReservationId"`

    // The OCID of the compartment.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    CreateVnicDetails *CreateVnicDetails `mandatory:"false" json:"createVnicDetails"`

    // The OCID of the dedicated VM host.
    DedicatedVmHostId *string `mandatory:"false" json:"dedicatedVmHostId"`

    // 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"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A fault domain is a grouping of hardware and infrastructure within an availability domain.
    // Each availability domain contains three fault domains. Fault domains lets you distribute your
    // instances so that they are not on the same physical hardware within a single availability domain.
    // A hardware failure or Compute hardware maintenance that affects one fault domain does not affect
    // instances in other fault domains.
    // If you do not specify the fault domain, the system selects one for you.
    //
    // To get a list of fault domains, use the
    // ListFaultDomains operation in the
    // Identity and Access Management Service API.
    // Example: `FAULT-DOMAIN-1`
    FaultDomain *string `mandatory:"false" json:"faultDomain"`

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

    // Deprecated. Instead use `hostnameLabel` in
    // CreateVnicDetails.
    // If you provide both, the values must match.
    HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`

    // This is an advanced option.
    // When a bare metal or virtual machine
    // instance boots, the iPXE firmware that runs on the instance is
    // configured to run an iPXE script to continue the boot process.
    // If you want more control over the boot process, you can provide
    // your own custom iPXE script that will run when the instance boots.
    // Be aware that the same iPXE script will run
    // every time an instance boots, not only after the initial
    // LaunchInstance call.
    // By default, the iPXE script connects to the instance's local boot
    // volume over iSCSI and performs a network boot. If you use a custom iPXE
    // script and want to network-boot from the instance's local boot volume
    // over iSCSI in the same way as the default iPXE script, use the
    // following iSCSI IP address: 169.254.0.2, and boot volume IQN:
    // iqn.2015-02.oracle.boot.
    // If your instance boot volume type is paravirtualized,
    // the boot volume is attached to the instance through virtio-scsi and no iPXE script is used.
    // If your instance boot volume type is paravirtualized
    // and you use custom iPXE to perform network-boot into your instance,
    // the primary boot volume is attached as a data volume through the virtio-scsi drive.
    // For more information about the Bring Your Own Image feature of
    // Oracle Cloud Infrastructure, see
    // Bring Your Own Image (https://docs.cloud.oracle.com/iaas/Content/Compute/References/bringyourownimage.htm).
    // For more information about iPXE, see http://ipxe.org.
    IpxeScript *string `mandatory:"false" json:"ipxeScript"`

    InstanceOptions *InstanceOptions `mandatory:"false" json:"instanceOptions"`

    PreemptibleInstanceConfig *PreemptibleInstanceConfigDetails `mandatory:"false" json:"preemptibleInstanceConfig"`

    AgentConfig *LaunchInstanceAgentConfigDetails `mandatory:"false" json:"agentConfig"`

    // The shape of an instance. The shape determines the number of CPUs, amount of memory,
    // and other resources allocated to the instance.
    // You can enumerate all available shapes by calling ListShapes.
    Shape *string `mandatory:"false" json:"shape"`

    ShapeConfig *LaunchInstanceShapeConfigDetails `mandatory:"false" json:"shapeConfig"`

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

    // Whether to enable in-transit encryption for the data volume's paravirtualized attachment. This field applies to both block volumes and boot volumes. By default, the value is false.
    IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`
}

func (LaunchInstanceDetails) String

func (m LaunchInstanceDetails) String() string

func (*LaunchInstanceDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (LaunchInstanceDetails) ValidateEnumValue

func (m LaunchInstanceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type LaunchInstanceShapeConfigDetails

LaunchInstanceShapeConfigDetails The shape configuration requested for the instance. If the parameter is provided, the instance is created with the resources that you specify. If some properties are missing or the entire parameter is not provided, the instance is created with the default configuration values for the `shape` that you specify. Each shape only supports certain configurable values. If the values that you provide are not valid for the specified `shape`, an error is returned.

type LaunchInstanceShapeConfigDetails struct {

    // The total number of OCPUs available to the instance.
    Ocpus *float32 `mandatory:"false" json:"ocpus"`

    // The total amount of memory in gigabytes that is available to the instance.
    MemoryInGBs *float32 `mandatory:"false" json:"memoryInGBs"`

    // The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a
    // non-burstable instance, or explicitly specify non-burstable with `BASELINE_1_1`.
    // The following values are supported:
    // - `BASELINE_1_8` - baseline usage is 1/8 of an OCPU.
    // - `BASELINE_1_2` - baseline usage is 1/2 of an OCPU.
    // - `BASELINE_1_1` - baseline usage is an entire OCPU. This represents a non-burstable instance.
    BaselineOcpuUtilization LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum `mandatory:"false" json:"baselineOcpuUtilization,omitempty"`
}

func (LaunchInstanceShapeConfigDetails) String

func (m LaunchInstanceShapeConfigDetails) String() string

func (LaunchInstanceShapeConfigDetails) ValidateEnumValue

func (m LaunchInstanceShapeConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum

LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum Enum with underlying type: string

type LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum string

Set of constants representing the allowable values for LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum

const (
    LaunchInstanceShapeConfigDetailsBaselineOcpuUtilization8 LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum = "BASELINE_1_8"
    LaunchInstanceShapeConfigDetailsBaselineOcpuUtilization2 LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum = "BASELINE_1_2"
    LaunchInstanceShapeConfigDetailsBaselineOcpuUtilization1 LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum = "BASELINE_1_1"
)

func GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues

func GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues() []LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum

GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumValues Enumerates the set of values for LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum

func GetMappingLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum

func GetMappingLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum(val string) (LaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum, bool)

GetMappingLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAvailableShapesRequest

ListAvailableShapesRequest wrapper for the ListAvailableShapes operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ListAvailableShapes.go.html to see an example of how to use ListAvailableShapesRequest.

type ListAvailableShapesRequest struct {

    // Unique migration plan identifier
    MigrationPlanId *string `mandatory:"true" contributesTo:"path" name:"migrationPlanId"`

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // The ID of the Dvh in which to list resources.
    DvhHostId *string `mandatory:"false" contributesTo:"query" name:"dvhHostId"`

    // The availability domain in which to list resources.
    AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

    // The reserved capacity ID for which to list resources.
    ReservedCapacityId *string `mandatory:"false" contributesTo:"query" name:"reservedCapacityId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of the previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListAvailableShapesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order can be provided. The default order for 'timeCreated' is descending. The default order for 'displayName' is ascending.
    SortBy ListAvailableShapesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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
}

func (ListAvailableShapesRequest) BinaryRequestBody

func (request ListAvailableShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListAvailableShapesRequest) HTTPRequest

func (request ListAvailableShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAvailableShapesRequest) RetryPolicy

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

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

func (ListAvailableShapesRequest) String

func (request ListAvailableShapesRequest) String() string

func (ListAvailableShapesRequest) ValidateEnumValue

func (request ListAvailableShapesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListAvailableShapesResponse

ListAvailableShapesResponse wrapper for the ListAvailableShapes operation

type ListAvailableShapesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of AvailableShapesCollection instances
    AvailableShapesCollection `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"`
}

func (ListAvailableShapesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAvailableShapesResponse) String

func (response ListAvailableShapesResponse) String() string

type ListAvailableShapesSortByEnum

ListAvailableShapesSortByEnum Enum with underlying type: string

type ListAvailableShapesSortByEnum string

Set of constants representing the allowable values for ListAvailableShapesSortByEnum

const (
    ListAvailableShapesSortByTimecreated ListAvailableShapesSortByEnum = "timeCreated"
    ListAvailableShapesSortByDisplayname ListAvailableShapesSortByEnum = "displayName"
)

func GetListAvailableShapesSortByEnumValues

func GetListAvailableShapesSortByEnumValues() []ListAvailableShapesSortByEnum

GetListAvailableShapesSortByEnumValues Enumerates the set of values for ListAvailableShapesSortByEnum

func GetMappingListAvailableShapesSortByEnum

func GetMappingListAvailableShapesSortByEnum(val string) (ListAvailableShapesSortByEnum, bool)

GetMappingListAvailableShapesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListAvailableShapesSortOrderEnum

ListAvailableShapesSortOrderEnum Enum with underlying type: string

type ListAvailableShapesSortOrderEnum string

Set of constants representing the allowable values for ListAvailableShapesSortOrderEnum

const (
    ListAvailableShapesSortOrderAsc  ListAvailableShapesSortOrderEnum = "ASC"
    ListAvailableShapesSortOrderDesc ListAvailableShapesSortOrderEnum = "DESC"
)

func GetListAvailableShapesSortOrderEnumValues

func GetListAvailableShapesSortOrderEnumValues() []ListAvailableShapesSortOrderEnum

GetListAvailableShapesSortOrderEnumValues Enumerates the set of values for ListAvailableShapesSortOrderEnum

func GetMappingListAvailableShapesSortOrderEnum

func GetMappingListAvailableShapesSortOrderEnum(val string) (ListAvailableShapesSortOrderEnum, bool)

GetMappingListAvailableShapesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMigrationAssetsRequest

ListMigrationAssetsRequest wrapper for the ListMigrationAssets operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ListMigrationAssets.go.html to see an example of how to use ListMigrationAssetsRequest.

type ListMigrationAssetsRequest struct {

    // Unique migration identifier
    MigrationId *string `mandatory:"false" contributesTo:"query" name:"migrationId"`

    // A filter to return only resources that match the entire given display name.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // Unique migration asset identifier
    MigrationAssetId *string `mandatory:"false" contributesTo:"query" name:"migrationAssetId"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of the previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The current state of the migration asset.
    LifecycleState MigrationAssetLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListMigrationAssetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order can be provided. The default order for 'timeCreated' is descending. The default order for 'displayName' is ascending.
    SortBy ListMigrationAssetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The client request ID for tracing.
    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
}

func (ListMigrationAssetsRequest) BinaryRequestBody

func (request ListMigrationAssetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListMigrationAssetsRequest) HTTPRequest

func (request ListMigrationAssetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMigrationAssetsRequest) RetryPolicy

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

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

func (ListMigrationAssetsRequest) String

func (request ListMigrationAssetsRequest) String() string

func (ListMigrationAssetsRequest) ValidateEnumValue

func (request ListMigrationAssetsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListMigrationAssetsResponse

ListMigrationAssetsResponse wrapper for the ListMigrationAssets operation

type ListMigrationAssetsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of MigrationAssetCollection instances
    MigrationAssetCollection `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"`
}

func (ListMigrationAssetsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListMigrationAssetsResponse) String

func (response ListMigrationAssetsResponse) String() string

type ListMigrationAssetsSortByEnum

ListMigrationAssetsSortByEnum Enum with underlying type: string

type ListMigrationAssetsSortByEnum string

Set of constants representing the allowable values for ListMigrationAssetsSortByEnum

const (
    ListMigrationAssetsSortByTimecreated ListMigrationAssetsSortByEnum = "timeCreated"
    ListMigrationAssetsSortByDisplayname ListMigrationAssetsSortByEnum = "displayName"
)

func GetListMigrationAssetsSortByEnumValues

func GetListMigrationAssetsSortByEnumValues() []ListMigrationAssetsSortByEnum

GetListMigrationAssetsSortByEnumValues Enumerates the set of values for ListMigrationAssetsSortByEnum

func GetMappingListMigrationAssetsSortByEnum

func GetMappingListMigrationAssetsSortByEnum(val string) (ListMigrationAssetsSortByEnum, bool)

GetMappingListMigrationAssetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMigrationAssetsSortOrderEnum

ListMigrationAssetsSortOrderEnum Enum with underlying type: string

type ListMigrationAssetsSortOrderEnum string

Set of constants representing the allowable values for ListMigrationAssetsSortOrderEnum

const (
    ListMigrationAssetsSortOrderAsc  ListMigrationAssetsSortOrderEnum = "ASC"
    ListMigrationAssetsSortOrderDesc ListMigrationAssetsSortOrderEnum = "DESC"
)

func GetListMigrationAssetsSortOrderEnumValues

func GetListMigrationAssetsSortOrderEnumValues() []ListMigrationAssetsSortOrderEnum

GetListMigrationAssetsSortOrderEnumValues Enumerates the set of values for ListMigrationAssetsSortOrderEnum

func GetMappingListMigrationAssetsSortOrderEnum

func GetMappingListMigrationAssetsSortOrderEnum(val string) (ListMigrationAssetsSortOrderEnum, bool)

GetMappingListMigrationAssetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMigrationPlansRequest

ListMigrationPlansRequest wrapper for the ListMigrationPlans operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ListMigrationPlans.go.html to see an example of how to use ListMigrationPlansRequest.

type ListMigrationPlansRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // Unique migration identifier
    MigrationId *string `mandatory:"false" contributesTo:"query" name:"migrationId"`

    // A filter to return only resources that match the entire given display name.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // Unique migration plan identifier
    MigrationPlanId *string `mandatory:"false" contributesTo:"query" name:"migrationPlanId"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of the previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The current state of the migration plan.
    LifecycleState MigrationPlanLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListMigrationPlansSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order can be provided. The default order for 'timeCreated' is descending. The default order for 'displayName' is ascending.
    SortBy ListMigrationPlansSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The client request ID for tracing.
    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
}

func (ListMigrationPlansRequest) BinaryRequestBody

func (request ListMigrationPlansRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListMigrationPlansRequest) HTTPRequest

func (request ListMigrationPlansRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMigrationPlansRequest) RetryPolicy

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

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

func (ListMigrationPlansRequest) String

func (request ListMigrationPlansRequest) String() string

func (ListMigrationPlansRequest) ValidateEnumValue

func (request ListMigrationPlansRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListMigrationPlansResponse

ListMigrationPlansResponse wrapper for the ListMigrationPlans operation

type ListMigrationPlansResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of MigrationPlanCollection instances
    MigrationPlanCollection `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"`
}

func (ListMigrationPlansResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListMigrationPlansResponse) String

func (response ListMigrationPlansResponse) String() string

type ListMigrationPlansSortByEnum

ListMigrationPlansSortByEnum Enum with underlying type: string

type ListMigrationPlansSortByEnum string

Set of constants representing the allowable values for ListMigrationPlansSortByEnum

const (
    ListMigrationPlansSortByTimecreated ListMigrationPlansSortByEnum = "timeCreated"
    ListMigrationPlansSortByDisplayname ListMigrationPlansSortByEnum = "displayName"
)

func GetListMigrationPlansSortByEnumValues

func GetListMigrationPlansSortByEnumValues() []ListMigrationPlansSortByEnum

GetListMigrationPlansSortByEnumValues Enumerates the set of values for ListMigrationPlansSortByEnum

func GetMappingListMigrationPlansSortByEnum

func GetMappingListMigrationPlansSortByEnum(val string) (ListMigrationPlansSortByEnum, bool)

GetMappingListMigrationPlansSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMigrationPlansSortOrderEnum

ListMigrationPlansSortOrderEnum Enum with underlying type: string

type ListMigrationPlansSortOrderEnum string

Set of constants representing the allowable values for ListMigrationPlansSortOrderEnum

const (
    ListMigrationPlansSortOrderAsc  ListMigrationPlansSortOrderEnum = "ASC"
    ListMigrationPlansSortOrderDesc ListMigrationPlansSortOrderEnum = "DESC"
)

func GetListMigrationPlansSortOrderEnumValues

func GetListMigrationPlansSortOrderEnumValues() []ListMigrationPlansSortOrderEnum

GetListMigrationPlansSortOrderEnumValues Enumerates the set of values for ListMigrationPlansSortOrderEnum

func GetMappingListMigrationPlansSortOrderEnum

func GetMappingListMigrationPlansSortOrderEnum(val string) (ListMigrationPlansSortOrderEnum, bool)

GetMappingListMigrationPlansSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMigrationsRequest

ListMigrationsRequest wrapper for the ListMigrations operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ListMigrations.go.html to see an example of how to use ListMigrationsRequest.

type ListMigrationsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // A filter to return only resources where the resource's lifecycle state matches the given lifecycle state.
    LifecycleState MigrationLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // A filter to return only resources that match the entire given display name.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // Unique migration identifier
    MigrationId *string `mandatory:"false" contributesTo:"query" name:"migrationId"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of the previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListMigrationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order can be provided. The default order for 'timeCreated' is descending. The default order for 'displayName' is ascending.
    SortBy ListMigrationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The client request ID for tracing.
    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
}

func (ListMigrationsRequest) BinaryRequestBody

func (request ListMigrationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListMigrationsRequest) HTTPRequest

func (request ListMigrationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMigrationsRequest) RetryPolicy

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

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

func (ListMigrationsRequest) String

func (request ListMigrationsRequest) String() string

func (ListMigrationsRequest) ValidateEnumValue

func (request ListMigrationsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListMigrationsResponse

ListMigrationsResponse wrapper for the ListMigrations operation

type ListMigrationsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of MigrationCollection instances
    MigrationCollection `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"`
}

func (ListMigrationsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListMigrationsResponse) String

func (response ListMigrationsResponse) String() string

type ListMigrationsSortByEnum

ListMigrationsSortByEnum Enum with underlying type: string

type ListMigrationsSortByEnum string

Set of constants representing the allowable values for ListMigrationsSortByEnum

const (
    ListMigrationsSortByTimecreated ListMigrationsSortByEnum = "timeCreated"
    ListMigrationsSortByDisplayname ListMigrationsSortByEnum = "displayName"
)

func GetListMigrationsSortByEnumValues

func GetListMigrationsSortByEnumValues() []ListMigrationsSortByEnum

GetListMigrationsSortByEnumValues Enumerates the set of values for ListMigrationsSortByEnum

func GetMappingListMigrationsSortByEnum

func GetMappingListMigrationsSortByEnum(val string) (ListMigrationsSortByEnum, bool)

GetMappingListMigrationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListMigrationsSortOrderEnum

ListMigrationsSortOrderEnum Enum with underlying type: string

type ListMigrationsSortOrderEnum string

Set of constants representing the allowable values for ListMigrationsSortOrderEnum

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

func GetListMigrationsSortOrderEnumValues

func GetListMigrationsSortOrderEnumValues() []ListMigrationsSortOrderEnum

GetListMigrationsSortOrderEnumValues Enumerates the set of values for ListMigrationsSortOrderEnum

func GetMappingListMigrationsSortOrderEnum

func GetMappingListMigrationsSortOrderEnum(val string) (ListMigrationsSortOrderEnum, bool)

GetMappingListMigrationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReplicationSchedulesRequest

ListReplicationSchedulesRequest wrapper for the ListReplicationSchedules operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ListReplicationSchedules.go.html to see an example of how to use ListReplicationSchedulesRequest.

type ListReplicationSchedulesRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // The current state of the replication schedule.
    LifecycleState ReplicationScheduleLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // A filter to return only resources that match the entire given display name.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // Unique replication schedule identifier in query
    ReplicationScheduleId *string `mandatory:"false" contributesTo:"query" name:"replicationScheduleId"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of the previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListReplicationSchedulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order can be provided. The default order for 'timeCreated' is descending. The default order for 'displayName' is ascending.
    SortBy ListReplicationSchedulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The client request ID for tracing.
    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
}

func (ListReplicationSchedulesRequest) BinaryRequestBody

func (request ListReplicationSchedulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListReplicationSchedulesRequest) HTTPRequest

func (request ListReplicationSchedulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListReplicationSchedulesRequest) RetryPolicy

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

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

func (ListReplicationSchedulesRequest) String

func (request ListReplicationSchedulesRequest) String() string

func (ListReplicationSchedulesRequest) ValidateEnumValue

func (request ListReplicationSchedulesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListReplicationSchedulesResponse

ListReplicationSchedulesResponse wrapper for the ListReplicationSchedules operation

type ListReplicationSchedulesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ReplicationScheduleCollection instances
    ReplicationScheduleCollection `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"`
}

func (ListReplicationSchedulesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListReplicationSchedulesResponse) String

func (response ListReplicationSchedulesResponse) String() string

type ListReplicationSchedulesSortByEnum

ListReplicationSchedulesSortByEnum Enum with underlying type: string

type ListReplicationSchedulesSortByEnum string

Set of constants representing the allowable values for ListReplicationSchedulesSortByEnum

const (
    ListReplicationSchedulesSortByTimecreated ListReplicationSchedulesSortByEnum = "timeCreated"
    ListReplicationSchedulesSortByDisplayname ListReplicationSchedulesSortByEnum = "displayName"
)

func GetListReplicationSchedulesSortByEnumValues

func GetListReplicationSchedulesSortByEnumValues() []ListReplicationSchedulesSortByEnum

GetListReplicationSchedulesSortByEnumValues Enumerates the set of values for ListReplicationSchedulesSortByEnum

func GetMappingListReplicationSchedulesSortByEnum

func GetMappingListReplicationSchedulesSortByEnum(val string) (ListReplicationSchedulesSortByEnum, bool)

GetMappingListReplicationSchedulesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListReplicationSchedulesSortOrderEnum

ListReplicationSchedulesSortOrderEnum Enum with underlying type: string

type ListReplicationSchedulesSortOrderEnum string

Set of constants representing the allowable values for ListReplicationSchedulesSortOrderEnum

const (
    ListReplicationSchedulesSortOrderAsc  ListReplicationSchedulesSortOrderEnum = "ASC"
    ListReplicationSchedulesSortOrderDesc ListReplicationSchedulesSortOrderEnum = "DESC"
)

func GetListReplicationSchedulesSortOrderEnumValues

func GetListReplicationSchedulesSortOrderEnumValues() []ListReplicationSchedulesSortOrderEnum

GetListReplicationSchedulesSortOrderEnumValues Enumerates the set of values for ListReplicationSchedulesSortOrderEnum

func GetMappingListReplicationSchedulesSortOrderEnum

func GetMappingListReplicationSchedulesSortOrderEnum(val string) (ListReplicationSchedulesSortOrderEnum, bool)

GetMappingListReplicationSchedulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetAssetsRequest

ListTargetAssetsRequest wrapper for the ListTargetAssets operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ListTargetAssets.go.html to see an example of how to use ListTargetAssetsRequest.

type ListTargetAssetsRequest struct {

    // Unique migration plan identifier
    MigrationPlanId *string `mandatory:"false" contributesTo:"query" name:"migrationPlanId"`

    // A filter to return only resources that match the entire given display name.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // Unique target asset identifier
    TargetAssetId *string `mandatory:"false" contributesTo:"query" name:"targetAssetId"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of the previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The current state of the target asset.
    LifecycleState TargetAssetLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListTargetAssetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order can be provided. The default order for 'timeCreated' is descending. The default order for 'displayName' is ascending.
    SortBy ListTargetAssetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The client request ID for tracing.
    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
}

func (ListTargetAssetsRequest) BinaryRequestBody

func (request ListTargetAssetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListTargetAssetsRequest) HTTPRequest

func (request ListTargetAssetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTargetAssetsRequest) RetryPolicy

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

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

func (ListTargetAssetsRequest) String

func (request ListTargetAssetsRequest) String() string

func (ListTargetAssetsRequest) ValidateEnumValue

func (request ListTargetAssetsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListTargetAssetsResponse

ListTargetAssetsResponse wrapper for the ListTargetAssets operation

type ListTargetAssetsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of TargetAssetCollection instances
    TargetAssetCollection `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"`
}

func (ListTargetAssetsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListTargetAssetsResponse) String

func (response ListTargetAssetsResponse) String() string

type ListTargetAssetsSortByEnum

ListTargetAssetsSortByEnum Enum with underlying type: string

type ListTargetAssetsSortByEnum string

Set of constants representing the allowable values for ListTargetAssetsSortByEnum

const (
    ListTargetAssetsSortByTimecreated ListTargetAssetsSortByEnum = "timeCreated"
    ListTargetAssetsSortByDisplayname ListTargetAssetsSortByEnum = "displayName"
)

func GetListTargetAssetsSortByEnumValues

func GetListTargetAssetsSortByEnumValues() []ListTargetAssetsSortByEnum

GetListTargetAssetsSortByEnumValues Enumerates the set of values for ListTargetAssetsSortByEnum

func GetMappingListTargetAssetsSortByEnum

func GetMappingListTargetAssetsSortByEnum(val string) (ListTargetAssetsSortByEnum, bool)

GetMappingListTargetAssetsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTargetAssetsSortOrderEnum

ListTargetAssetsSortOrderEnum Enum with underlying type: string

type ListTargetAssetsSortOrderEnum string

Set of constants representing the allowable values for ListTargetAssetsSortOrderEnum

const (
    ListTargetAssetsSortOrderAsc  ListTargetAssetsSortOrderEnum = "ASC"
    ListTargetAssetsSortOrderDesc ListTargetAssetsSortOrderEnum = "DESC"
)

func GetListTargetAssetsSortOrderEnumValues

func GetListTargetAssetsSortOrderEnumValues() []ListTargetAssetsSortOrderEnum

GetListTargetAssetsSortOrderEnumValues Enumerates the set of values for ListTargetAssetsSortOrderEnum

func GetMappingListTargetAssetsSortOrderEnum

func GetMappingListTargetAssetsSortOrderEnum(val string) (ListTargetAssetsSortOrderEnum, bool)

GetMappingListTargetAssetsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsRequest

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.

type ListWorkRequestErrorsRequest struct {

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of the previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The field to sort by. Only one sort order may be provided. The default order for 'timeAccepted' is descending.
    SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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
}

func (ListWorkRequestErrorsRequest) BinaryRequestBody

func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestErrorsResponse

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

type ListWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestErrorCollection instances
    WorkRequestErrorCollection `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"`
}

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

type ListWorkRequestErrorsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

const (
    ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted"
)

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsSortOrderEnum

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

type ListWorkRequestErrorsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

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

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsRequest

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.

type ListWorkRequestLogsRequest struct {

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of the previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The field to sort by. Only one sort order may be provided. The default order for 'timeAccepted' is descending.
    SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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
}

func (ListWorkRequestLogsRequest) BinaryRequestBody

func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestLogsResponse

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

type ListWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestLogEntryCollection instances
    WorkRequestLogEntryCollection `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"`
}

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

ListWorkRequestLogsSortByEnum Enum with underlying type: string

type ListWorkRequestLogsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

const (
    ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted"
)

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestLogsSortOrderEnum

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

type ListWorkRequestLogsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

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

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsOperationTypeEnum

ListWorkRequestsOperationTypeEnum Enum with underlying type: string

type ListWorkRequestsOperationTypeEnum string

Set of constants representing the allowable values for ListWorkRequestsOperationTypeEnum

const (
    ListWorkRequestsOperationTypeCreateMigration           ListWorkRequestsOperationTypeEnum = "CREATE_MIGRATION"
    ListWorkRequestsOperationTypeUpdateMigration           ListWorkRequestsOperationTypeEnum = "UPDATE_MIGRATION"
    ListWorkRequestsOperationTypeRefreshMigration          ListWorkRequestsOperationTypeEnum = "REFRESH_MIGRATION"
    ListWorkRequestsOperationTypeDeleteMigration           ListWorkRequestsOperationTypeEnum = "DELETE_MIGRATION"
    ListWorkRequestsOperationTypeMoveMigration             ListWorkRequestsOperationTypeEnum = "MOVE_MIGRATION"
    ListWorkRequestsOperationTypeStartAssetReplication     ListWorkRequestsOperationTypeEnum = "START_ASSET_REPLICATION"
    ListWorkRequestsOperationTypeStartMigrationReplication ListWorkRequestsOperationTypeEnum = "START_MIGRATION_REPLICATION"
    ListWorkRequestsOperationTypeCreateReplicationSchedule ListWorkRequestsOperationTypeEnum = "CREATE_REPLICATION_SCHEDULE"
    ListWorkRequestsOperationTypeUpdateReplicationSchedule ListWorkRequestsOperationTypeEnum = "UPDATE_REPLICATION_SCHEDULE"
    ListWorkRequestsOperationTypeDeleteReplicationSchedule ListWorkRequestsOperationTypeEnum = "DELETE_REPLICATION_SCHEDULE"
    ListWorkRequestsOperationTypeMoveReplicationSchedule   ListWorkRequestsOperationTypeEnum = "MOVE_REPLICATION_SCHEDULE"
    ListWorkRequestsOperationTypeCreateMigrationPlan       ListWorkRequestsOperationTypeEnum = "CREATE_MIGRATION_PLAN"
    ListWorkRequestsOperationTypeUpdateMigrationPlan       ListWorkRequestsOperationTypeEnum = "UPDATE_MIGRATION_PLAN"
    ListWorkRequestsOperationTypeDeleteMigrationPlan       ListWorkRequestsOperationTypeEnum = "DELETE_MIGRATION_PLAN"
    ListWorkRequestsOperationTypeMoveMigrationPlan         ListWorkRequestsOperationTypeEnum = "MOVE_MIGRATION_PLAN"
    ListWorkRequestsOperationTypeRefreshMigrationPlan      ListWorkRequestsOperationTypeEnum = "REFRESH_MIGRATION_PLAN"
    ListWorkRequestsOperationTypeExecuteMigrationPlan      ListWorkRequestsOperationTypeEnum = "EXECUTE_MIGRATION_PLAN"
    ListWorkRequestsOperationTypeRefreshMigrationAsset     ListWorkRequestsOperationTypeEnum = "REFRESH_MIGRATION_ASSET"
    ListWorkRequestsOperationTypeCreateMigrationAsset      ListWorkRequestsOperationTypeEnum = "CREATE_MIGRATION_ASSET"
    ListWorkRequestsOperationTypeDeleteMigrationAsset      ListWorkRequestsOperationTypeEnum = "DELETE_MIGRATION_ASSET"
    ListWorkRequestsOperationTypeCreateTargetAsset         ListWorkRequestsOperationTypeEnum = "CREATE_TARGET_ASSET"
    ListWorkRequestsOperationTypeUpdateTargetAsset         ListWorkRequestsOperationTypeEnum = "UPDATE_TARGET_ASSET"
    ListWorkRequestsOperationTypeDeleteTargetAsset         ListWorkRequestsOperationTypeEnum = "DELETE_TARGET_ASSET"
)

func GetListWorkRequestsOperationTypeEnumValues

func GetListWorkRequestsOperationTypeEnumValues() []ListWorkRequestsOperationTypeEnum

GetListWorkRequestsOperationTypeEnumValues Enumerates the set of values for ListWorkRequestsOperationTypeEnum

func GetMappingListWorkRequestsOperationTypeEnum

func GetMappingListWorkRequestsOperationTypeEnum(val string) (ListWorkRequestsOperationTypeEnum, bool)

GetMappingListWorkRequestsOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsRequest

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

type ListWorkRequestsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // The ID of the asynchronous work request.
    WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"`

    // A filter to return only resources where the resource's lifecycle state matches the given operation status.
    Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

    // A filter to return only resources where the resource's lifecycle state matches the given operation type.
    OperationType ListWorkRequestsOperationTypeEnum `mandatory:"false" contributesTo:"query" name:"operationType" omitEmpty:"true"`

    // The ID of the resource affected by the work request.
    ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of the previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided. The default order for 'timeAccepted' is descending.
    SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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
}

func (ListWorkRequestsRequest) BinaryRequestBody

func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestsResponse

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

type ListWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestSummaryCollection instances
    WorkRequestSummaryCollection `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"`
}

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

ListWorkRequestsSortByEnum Enum with underlying type: string

type ListWorkRequestsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

const (
    ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsSortOrderEnum

ListWorkRequestsSortOrderEnum Enum with underlying type: string

type ListWorkRequestsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

const (
    ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
    ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestsStatusEnum

ListWorkRequestsStatusEnum Enum with underlying type: string

type ListWorkRequestsStatusEnum string

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

const (
    ListWorkRequestsStatusAccepted       ListWorkRequestsStatusEnum = "ACCEPTED"
    ListWorkRequestsStatusInProgress     ListWorkRequestsStatusEnum = "IN_PROGRESS"
    ListWorkRequestsStatusWaiting        ListWorkRequestsStatusEnum = "WAITING"
    ListWorkRequestsStatusFailed         ListWorkRequestsStatusEnum = "FAILED"
    ListWorkRequestsStatusSucceeded      ListWorkRequestsStatusEnum = "SUCCEEDED"
    ListWorkRequestsStatusCanceling      ListWorkRequestsStatusEnum = "CANCELING"
    ListWorkRequestsStatusCanceled       ListWorkRequestsStatusEnum = "CANCELED"
    ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION"
)

func GetListWorkRequestsStatusEnumValues

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum

type MetricTimeWindowEnum

MetricTimeWindowEnum Enum with underlying type: string

type MetricTimeWindowEnum string

Set of constants representing the allowable values for MetricTimeWindowEnum

const (
    MetricTimeWindow1d  MetricTimeWindowEnum = "1d"
    MetricTimeWindow7d  MetricTimeWindowEnum = "7d"
    MetricTimeWindow30d MetricTimeWindowEnum = "30d"
)

func GetMappingMetricTimeWindowEnum

func GetMappingMetricTimeWindowEnum(val string) (MetricTimeWindowEnum, bool)

GetMappingMetricTimeWindowEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMetricTimeWindowEnumValues

func GetMetricTimeWindowEnumValues() []MetricTimeWindowEnum

GetMetricTimeWindowEnumValues Enumerates the set of values for MetricTimeWindowEnum

type MetricTypeEnum

MetricTypeEnum Enum with underlying type: string

type MetricTypeEnum string

Set of constants representing the allowable values for MetricTypeEnum

const (
    MetricTypeAuto       MetricTypeEnum = "AUTO"
    MetricTypeHistorical MetricTypeEnum = "HISTORICAL"
    MetricTypeRuntime    MetricTypeEnum = "RUNTIME"
)

func GetMappingMetricTypeEnum

func GetMappingMetricTypeEnum(val string) (MetricTypeEnum, bool)

GetMappingMetricTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMetricTypeEnumValues

func GetMetricTypeEnumValues() []MetricTypeEnum

GetMetricTypeEnumValues Enumerates the set of values for MetricTypeEnum

type Migration

Migration A top-level container to track all aspects of a long-running migration workflow to OCI.

type Migration struct {

    // Unique identifier that is immutable on creation
    Id *string `mandatory:"true" json:"id"`

    // Compartment Identifier
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The current state of migration.
    LifecycleState MigrationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The time when the migration project was created. An RFC3339 formatted datetime string
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // Migration Identifier that can be renamed
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The time when the migration project was updated. An RFC3339 formatted datetime string
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Replication schedule identifier
    ReplicationScheduleId *string `mandatory:"false" json:"replicationScheduleId"`

    // Indicates whether migration is marked as completed.
    IsCompleted *bool `mandatory:"false" json:"isCompleted"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (Migration) String

func (m Migration) String() string

func (Migration) ValidateEnumValue

func (m Migration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationAsset

MigrationAsset Description of the migration asset.

type MigrationAsset struct {

    // Asset ID generated by mirgration service. It is used in the mirgration service pipeline.
    Id *string `mandatory:"true" json:"id"`

    // The type of asset referenced for inventory.
    Type *string `mandatory:"true" json:"type"`

    // The current state of the migration asset.
    LifecycleState MigrationAssetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The time when the migration asset was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // OCID of the associated migration.
    MigrationId *string `mandatory:"true" json:"migrationId"`

    // Availability domain
    AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`

    // Replication compartment identifier
    ReplicationCompartmentId *string `mandatory:"true" json:"replicationCompartmentId"`

    // Name of snapshot bucket
    SnapShotBucketName *string `mandatory:"true" json:"snapShotBucketName"`

    // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Compartment Identifier
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The time when the migration asset was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Key-value pair representing disks ID mapped to the OCIDs of replicated or hydration server volume snapshots.
    // Example: `{"bar-key": "value"}`
    Snapshots map[string]HydratedVolume `mandatory:"false" json:"snapshots"`

    // The parent snapshot of the migration asset to be used by the replication task.
    ParentSnapshot *string `mandatory:"false" json:"parentSnapshot"`

    // Key-value pair representing asset metadata keys and values scoped to a namespace.
    // Example: `{"bar-key": "value"}`
    SourceAssetData map[string]interface{} `mandatory:"false" json:"sourceAssetData"`

    // List of notifications
    Notifications []MigrationAssetNotificationsEnum `mandatory:"false" json:"notifications,omitempty"`

    // OCID that is referenced to an asset for an inventory.
    SourceAssetId *string `mandatory:"false" json:"sourceAssetId"`

    // Replication schedule identifier
    ReplicationScheduleId *string `mandatory:"false" json:"replicationScheduleId"`

    // Tenancy identifier
    TenancyId *string `mandatory:"false" json:"tenancyId"`

    // List of migration assets that depend on the asset.
    DependedOnBy []string `mandatory:"false" json:"dependedOnBy"`

    // List of migration assets that depends on the asset.
    DependsOn []string `mandatory:"false" json:"dependsOn"`
}

func (MigrationAsset) String

func (m MigrationAsset) String() string

func (MigrationAsset) ValidateEnumValue

func (m MigrationAsset) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationAssetCollection

MigrationAssetCollection Results of a migration asset search. It contains an array of migration assets.

type MigrationAssetCollection struct {

    // List of migration asset summaries.
    Items []MigrationAssetSummary `mandatory:"true" json:"items"`
}

func (MigrationAssetCollection) String

func (m MigrationAssetCollection) String() string

func (MigrationAssetCollection) ValidateEnumValue

func (m MigrationAssetCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationAssetLifecycleStateEnum

MigrationAssetLifecycleStateEnum Enum with underlying type: string

type MigrationAssetLifecycleStateEnum string

Set of constants representing the allowable values for MigrationAssetLifecycleStateEnum

const (
    MigrationAssetLifecycleStateCreating       MigrationAssetLifecycleStateEnum = "CREATING"
    MigrationAssetLifecycleStateUpdating       MigrationAssetLifecycleStateEnum = "UPDATING"
    MigrationAssetLifecycleStateNeedsAttention MigrationAssetLifecycleStateEnum = "NEEDS_ATTENTION"
    MigrationAssetLifecycleStateActive         MigrationAssetLifecycleStateEnum = "ACTIVE"
    MigrationAssetLifecycleStateDeleting       MigrationAssetLifecycleStateEnum = "DELETING"
    MigrationAssetLifecycleStateDeleted        MigrationAssetLifecycleStateEnum = "DELETED"
    MigrationAssetLifecycleStateFailed         MigrationAssetLifecycleStateEnum = "FAILED"
)

func GetMappingMigrationAssetLifecycleStateEnum

func GetMappingMigrationAssetLifecycleStateEnum(val string) (MigrationAssetLifecycleStateEnum, bool)

GetMappingMigrationAssetLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMigrationAssetLifecycleStateEnumValues

func GetMigrationAssetLifecycleStateEnumValues() []MigrationAssetLifecycleStateEnum

GetMigrationAssetLifecycleStateEnumValues Enumerates the set of values for MigrationAssetLifecycleStateEnum

type MigrationAssetNotificationsEnum

MigrationAssetNotificationsEnum Enum with underlying type: string

type MigrationAssetNotificationsEnum string

Set of constants representing the allowable values for MigrationAssetNotificationsEnum

const (
    MigrationAssetNotificationsOutOfDate     MigrationAssetNotificationsEnum = "OUT_OF_DATE"
    MigrationAssetNotificationsSourceRemoved MigrationAssetNotificationsEnum = "SOURCE_REMOVED"
)

func GetMappingMigrationAssetNotificationsEnum

func GetMappingMigrationAssetNotificationsEnum(val string) (MigrationAssetNotificationsEnum, bool)

GetMappingMigrationAssetNotificationsEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMigrationAssetNotificationsEnumValues

func GetMigrationAssetNotificationsEnumValues() []MigrationAssetNotificationsEnum

GetMigrationAssetNotificationsEnumValues Enumerates the set of values for MigrationAssetNotificationsEnum

type MigrationAssetSummary

MigrationAssetSummary Summary of the migration asset.

type MigrationAssetSummary struct {

    // The asset ID generated by the mirgration service. It is used in the migration service pipeline.
    Id *string `mandatory:"true" json:"id"`

    // The type of asset referenced for an inventory.
    Type *string `mandatory:"true" json:"type"`

    // The current state of the migration asset.
    LifecycleState MigrationAssetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The time when the migration asset was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // OCID of the associated migration.
    MigrationId *string `mandatory:"true" json:"migrationId"`

    // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Compartment identifier
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The time when the migration asset was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Key-value pair representing disk's ID that is mapped to the OCIDs of replicated/hydration server volume snapshots.
    // Example: `{"bar-key": "value"}`
    Snapshots map[string]HydratedVolume `mandatory:"false" json:"snapshots"`

    // The parent snapshot of the mgration asset to be used by the replication task.
    ParentSnapshot *string `mandatory:"false" json:"parentSnapshot"`

    // The snapshot information.
    SnapshotInfo *string `mandatory:"false" json:"snapshotInfo"`

    // Key-value pair representing asset metadata keys and values scoped to a namespace.
    // Example: `{"bar-key": "value"}`
    SourceAssetData map[string]interface{} `mandatory:"false" json:"sourceAssetData"`

    // List of notifications.
    Notifications []MigrationAssetSummaryNotificationsEnum `mandatory:"false" json:"notifications,omitempty"`

    // OCID that is referenced to an asset, for an inventory.
    SourceAssetId *string `mandatory:"false" json:"sourceAssetId"`

    // List of migration assets that depend on this asset.
    DependedOnBy []string `mandatory:"false" json:"dependedOnBy"`

    // List of migration assets that depend on this asset.
    DependsOn []string `mandatory:"false" json:"dependsOn"`

    // Replication schedule identifier
    ReplicationScheduleId *string `mandatory:"false" json:"replicationScheduleId"`

    // Tenancy Identifier
    TenancyId *string `mandatory:"false" json:"tenancyId"`
}

func (MigrationAssetSummary) String

func (m MigrationAssetSummary) String() string

func (MigrationAssetSummary) ValidateEnumValue

func (m MigrationAssetSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationAssetSummaryNotificationsEnum

MigrationAssetSummaryNotificationsEnum Enum with underlying type: string

type MigrationAssetSummaryNotificationsEnum string

Set of constants representing the allowable values for MigrationAssetSummaryNotificationsEnum

const (
    MigrationAssetSummaryNotificationsOutOfDate     MigrationAssetSummaryNotificationsEnum = "OUT_OF_DATE"
    MigrationAssetSummaryNotificationsSourceRemoved MigrationAssetSummaryNotificationsEnum = "SOURCE_REMOVED"
)

func GetMappingMigrationAssetSummaryNotificationsEnum

func GetMappingMigrationAssetSummaryNotificationsEnum(val string) (MigrationAssetSummaryNotificationsEnum, bool)

GetMappingMigrationAssetSummaryNotificationsEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMigrationAssetSummaryNotificationsEnumValues

func GetMigrationAssetSummaryNotificationsEnumValues() []MigrationAssetSummaryNotificationsEnum

GetMigrationAssetSummaryNotificationsEnumValues Enumerates the set of values for MigrationAssetSummaryNotificationsEnum

type MigrationClient

MigrationClient a client for Migration

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

func NewMigrationClientWithConfigurationProvider

func NewMigrationClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client MigrationClient, err error)

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

func NewMigrationClientWithOboToken

func NewMigrationClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client MigrationClient, err error)

NewMigrationClientWithOboToken Creates a new default Migration 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 (MigrationClient) CancelWorkRequest

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

CancelWorkRequest Cancels work request with the given ID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()

func (MigrationClient) ChangeMigrationCompartment

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

ChangeMigrationCompartment Moves a migration resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ChangeMigrationCompartment.go.html to see an example of how to use ChangeMigrationCompartment API. A default retry strategy applies to this operation ChangeMigrationCompartment()

func (MigrationClient) ChangeMigrationPlanCompartment

func (client MigrationClient) ChangeMigrationPlanCompartment(ctx context.Context, request ChangeMigrationPlanCompartmentRequest) (response ChangeMigrationPlanCompartmentResponse, err error)

ChangeMigrationPlanCompartment Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ChangeMigrationPlanCompartment.go.html to see an example of how to use ChangeMigrationPlanCompartment API. A default retry strategy applies to this operation ChangeMigrationPlanCompartment()

func (MigrationClient) ChangeReplicationScheduleCompartment

func (client MigrationClient) ChangeReplicationScheduleCompartment(ctx context.Context, request ChangeReplicationScheduleCompartmentRequest) (response ChangeReplicationScheduleCompartmentResponse, err error)

ChangeReplicationScheduleCompartment Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ChangeReplicationScheduleCompartment.go.html to see an example of how to use ChangeReplicationScheduleCompartment API. A default retry strategy applies to this operation ChangeReplicationScheduleCompartment()

func (*MigrationClient) ConfigurationProvider

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

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

func (MigrationClient) CreateMigration

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

CreateMigration Creates a migration.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/CreateMigration.go.html to see an example of how to use CreateMigration API. A default retry strategy applies to this operation CreateMigration()

func (MigrationClient) CreateMigrationAsset

func (client MigrationClient) CreateMigrationAsset(ctx context.Context, request CreateMigrationAssetRequest) (response CreateMigrationAssetResponse, err error)

CreateMigrationAsset Creates a migration asset.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/CreateMigrationAsset.go.html to see an example of how to use CreateMigrationAsset API. A default retry strategy applies to this operation CreateMigrationAsset()

func (MigrationClient) CreateMigrationPlan

func (client MigrationClient) CreateMigrationPlan(ctx context.Context, request CreateMigrationPlanRequest) (response CreateMigrationPlanResponse, err error)

CreateMigrationPlan Creates a migration plan.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/CreateMigrationPlan.go.html to see an example of how to use CreateMigrationPlan API. A default retry strategy applies to this operation CreateMigrationPlan()

func (MigrationClient) CreateReplicationSchedule

func (client MigrationClient) CreateReplicationSchedule(ctx context.Context, request CreateReplicationScheduleRequest) (response CreateReplicationScheduleResponse, err error)

CreateReplicationSchedule Creates a replication schedule.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/CreateReplicationSchedule.go.html to see an example of how to use CreateReplicationSchedule API. A default retry strategy applies to this operation CreateReplicationSchedule()

func (MigrationClient) CreateTargetAsset

func (client MigrationClient) CreateTargetAsset(ctx context.Context, request CreateTargetAssetRequest) (response CreateTargetAssetResponse, err error)

CreateTargetAsset Creates a target asset.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/CreateTargetAsset.go.html to see an example of how to use CreateTargetAsset API. A default retry strategy applies to this operation CreateTargetAsset()

func (MigrationClient) DeleteMigration

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

DeleteMigration Deletes a migration resource by identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/DeleteMigration.go.html to see an example of how to use DeleteMigration API. A default retry strategy applies to this operation DeleteMigration()

func (MigrationClient) DeleteMigrationAsset

func (client MigrationClient) DeleteMigrationAsset(ctx context.Context, request DeleteMigrationAssetRequest) (response DeleteMigrationAssetResponse, err error)

DeleteMigrationAsset Deletes a migration asset resource by an identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/DeleteMigrationAsset.go.html to see an example of how to use DeleteMigrationAsset API. A default retry strategy applies to this operation DeleteMigrationAsset()

func (MigrationClient) DeleteMigrationPlan

func (client MigrationClient) DeleteMigrationPlan(ctx context.Context, request DeleteMigrationPlanRequest) (response DeleteMigrationPlanResponse, err error)

DeleteMigrationPlan Deletes a migration plan resource by an identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/DeleteMigrationPlan.go.html to see an example of how to use DeleteMigrationPlan API. A default retry strategy applies to this operation DeleteMigrationPlan()

func (MigrationClient) DeleteReplicationSchedule

func (client MigrationClient) DeleteReplicationSchedule(ctx context.Context, request DeleteReplicationScheduleRequest) (response DeleteReplicationScheduleResponse, err error)

DeleteReplicationSchedule Deletes a replication schedule resource by identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/DeleteReplicationSchedule.go.html to see an example of how to use DeleteReplicationSchedule API. A default retry strategy applies to this operation DeleteReplicationSchedule()

func (MigrationClient) DeleteTargetAsset

func (client MigrationClient) DeleteTargetAsset(ctx context.Context, request DeleteTargetAssetRequest) (response DeleteTargetAssetResponse, err error)

DeleteTargetAsset Deletes a target asset resource by identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/DeleteTargetAsset.go.html to see an example of how to use DeleteTargetAsset API. A default retry strategy applies to this operation DeleteTargetAsset()

func (MigrationClient) ExecuteMigrationPlan

func (client MigrationClient) ExecuteMigrationPlan(ctx context.Context, request ExecuteMigrationPlanRequest) (response ExecuteMigrationPlanResponse, err error)

ExecuteMigrationPlan Executes the migration plan with the migration plan ID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ExecuteMigrationPlan.go.html to see an example of how to use ExecuteMigrationPlan API. A default retry strategy applies to this operation ExecuteMigrationPlan()

func (MigrationClient) ExportMigrationPlan

func (client MigrationClient) ExportMigrationPlan(ctx context.Context, request ExportMigrationPlanRequest) (response ExportMigrationPlanResponse, err error)

ExportMigrationPlan Exports the migration plan to a csv file.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ExportMigrationPlan.go.html to see an example of how to use ExportMigrationPlan API. A default retry strategy applies to this operation ExportMigrationPlan()

func (MigrationClient) GetMigration

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

GetMigration Gets a migration by identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/GetMigration.go.html to see an example of how to use GetMigration API. A default retry strategy applies to this operation GetMigration()

func (MigrationClient) GetMigrationAsset

func (client MigrationClient) GetMigrationAsset(ctx context.Context, request GetMigrationAssetRequest) (response GetMigrationAssetResponse, err error)

GetMigrationAsset Gets a migration asset by identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/GetMigrationAsset.go.html to see an example of how to use GetMigrationAsset API. A default retry strategy applies to this operation GetMigrationAsset()

func (MigrationClient) GetMigrationPlan

func (client MigrationClient) GetMigrationPlan(ctx context.Context, request GetMigrationPlanRequest) (response GetMigrationPlanResponse, err error)

GetMigrationPlan Gets a migration plan by identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/GetMigrationPlan.go.html to see an example of how to use GetMigrationPlan API. A default retry strategy applies to this operation GetMigrationPlan()

func (MigrationClient) GetReplicationProgress

func (client MigrationClient) GetReplicationProgress(ctx context.Context, request GetReplicationProgressRequest) (response GetReplicationProgressResponse, err error)

GetReplicationProgress Gets the progress percentage of a migration asset's replication process.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/GetReplicationProgress.go.html to see an example of how to use GetReplicationProgress API. A default retry strategy applies to this operation GetReplicationProgress()

func (MigrationClient) GetReplicationSchedule

func (client MigrationClient) GetReplicationSchedule(ctx context.Context, request GetReplicationScheduleRequest) (response GetReplicationScheduleResponse, err error)

GetReplicationSchedule Gets a replication schedule by identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/GetReplicationSchedule.go.html to see an example of how to use GetReplicationSchedule API. A default retry strategy applies to this operation GetReplicationSchedule()

func (MigrationClient) GetTargetAsset

func (client MigrationClient) GetTargetAsset(ctx context.Context, request GetTargetAssetRequest) (response GetTargetAssetResponse, err error)

GetTargetAsset Gets a target asset by identifier.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/GetTargetAsset.go.html to see an example of how to use GetTargetAsset API. A default retry strategy applies to this operation GetTargetAsset()

func (MigrationClient) GetWorkRequest

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

GetWorkRequest Gets the status of the work request with the given ID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()

func (MigrationClient) ImportMigrationPlan

func (client MigrationClient) ImportMigrationPlan(ctx context.Context, request ImportMigrationPlanRequest) (response ImportMigrationPlanResponse, err error)

ImportMigrationPlan Imports a migration plan from a csv file.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ImportMigrationPlan.go.html to see an example of how to use ImportMigrationPlan API. A default retry strategy applies to this operation ImportMigrationPlan()

func (MigrationClient) ListAvailableShapes

func (client MigrationClient) ListAvailableShapes(ctx context.Context, request ListAvailableShapesRequest) (response ListAvailableShapesResponse, err error)

ListAvailableShapes List of shapes by parameters.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ListAvailableShapes.go.html to see an example of how to use ListAvailableShapes API. A default retry strategy applies to this operation ListAvailableShapes()

func (MigrationClient) ListMigrationAssets

func (client MigrationClient) ListMigrationAssets(ctx context.Context, request ListMigrationAssetsRequest) (response ListMigrationAssetsResponse, err error)

ListMigrationAssets Returns a list of migration assets.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ListMigrationAssets.go.html to see an example of how to use ListMigrationAssets API. A default retry strategy applies to this operation ListMigrationAssets()

func (MigrationClient) ListMigrationPlans

func (client MigrationClient) ListMigrationPlans(ctx context.Context, request ListMigrationPlansRequest) (response ListMigrationPlansResponse, err error)

ListMigrationPlans Returns a list of migration plans.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ListMigrationPlans.go.html to see an example of how to use ListMigrationPlans API. A default retry strategy applies to this operation ListMigrationPlans()

func (MigrationClient) ListMigrations

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

ListMigrations Returns a list of migrations.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ListMigrations.go.html to see an example of how to use ListMigrations API. A default retry strategy applies to this operation ListMigrations()

func (MigrationClient) ListReplicationSchedules

func (client MigrationClient) ListReplicationSchedules(ctx context.Context, request ListReplicationSchedulesRequest) (response ListReplicationSchedulesResponse, err error)

ListReplicationSchedules Returns a list of replication schedules.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ListReplicationSchedules.go.html to see an example of how to use ListReplicationSchedules API. A default retry strategy applies to this operation ListReplicationSchedules()

func (MigrationClient) ListTargetAssets

func (client MigrationClient) ListTargetAssets(ctx context.Context, request ListTargetAssetsRequest) (response ListTargetAssetsResponse, err error)

ListTargetAssets Returns a list of target assets.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ListTargetAssets.go.html to see an example of how to use ListTargetAssets API. A default retry strategy applies to this operation ListTargetAssets()

func (MigrationClient) ListWorkRequestErrors

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

ListWorkRequestErrors Returns a paginated list of errors for a given work request.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()

func (MigrationClient) ListWorkRequestLogs

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

ListWorkRequestLogs Returns a paginated list of logs for a given work request.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()

func (MigrationClient) ListWorkRequests

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

ListWorkRequests List of work requests in a compartment.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()

func (MigrationClient) RefreshMigration

func (client MigrationClient) RefreshMigration(ctx context.Context, request RefreshMigrationRequest) (response RefreshMigrationResponse, err error)

RefreshMigration Refreshes migration based on the migration ID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/RefreshMigration.go.html to see an example of how to use RefreshMigration API. A default retry strategy applies to this operation RefreshMigration()

func (MigrationClient) RefreshMigrationAsset

func (client MigrationClient) RefreshMigrationAsset(ctx context.Context, request RefreshMigrationAssetRequest) (response RefreshMigrationAssetResponse, err error)

RefreshMigrationAsset Refreshes the migration asset with the migration asset ID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/RefreshMigrationAsset.go.html to see an example of how to use RefreshMigrationAsset API. A default retry strategy applies to this operation RefreshMigrationAsset()

func (MigrationClient) RefreshMigrationPlan

func (client MigrationClient) RefreshMigrationPlan(ctx context.Context, request RefreshMigrationPlanRequest) (response RefreshMigrationPlanResponse, err error)

RefreshMigrationPlan Refreshes the migration plan with the migration plan ID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/RefreshMigrationPlan.go.html to see an example of how to use RefreshMigrationPlan API. A default retry strategy applies to this operation RefreshMigrationPlan()

func (*MigrationClient) SetRegion

func (client *MigrationClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (MigrationClient) StartAssetReplication

func (client MigrationClient) StartAssetReplication(ctx context.Context, request StartAssetReplicationRequest) (response StartAssetReplicationResponse, err error)

StartAssetReplication Starts replication for the asset with the migration asset ID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/StartAssetReplication.go.html to see an example of how to use StartAssetReplication API. A default retry strategy applies to this operation StartAssetReplication()

func (MigrationClient) StartMigrationReplication

func (client MigrationClient) StartMigrationReplication(ctx context.Context, request StartMigrationReplicationRequest) (response StartMigrationReplicationResponse, err error)

StartMigrationReplication Starts replication for a migration or for some asset.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/StartMigrationReplication.go.html to see an example of how to use StartMigrationReplication API. A default retry strategy applies to this operation StartMigrationReplication()

func (MigrationClient) UpdateMigration

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

UpdateMigration Updates the migration.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/UpdateMigration.go.html to see an example of how to use UpdateMigration API. A default retry strategy applies to this operation UpdateMigration()

func (MigrationClient) UpdateMigrationAsset

func (client MigrationClient) UpdateMigrationAsset(ctx context.Context, request UpdateMigrationAssetRequest) (response UpdateMigrationAssetResponse, err error)

UpdateMigrationAsset Updates the migration asset.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/UpdateMigrationAsset.go.html to see an example of how to use UpdateMigrationAsset API. A default retry strategy applies to this operation UpdateMigrationAsset()

func (MigrationClient) UpdateMigrationPlan

func (client MigrationClient) UpdateMigrationPlan(ctx context.Context, request UpdateMigrationPlanRequest) (response UpdateMigrationPlanResponse, err error)

UpdateMigrationPlan Updates the migration plan.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/UpdateMigrationPlan.go.html to see an example of how to use UpdateMigrationPlan API. A default retry strategy applies to this operation UpdateMigrationPlan()

func (MigrationClient) UpdateReplicationSchedule

func (client MigrationClient) UpdateReplicationSchedule(ctx context.Context, request UpdateReplicationScheduleRequest) (response UpdateReplicationScheduleResponse, err error)

UpdateReplicationSchedule Updates the replication schedule.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/UpdateReplicationSchedule.go.html to see an example of how to use UpdateReplicationSchedule API. A default retry strategy applies to this operation UpdateReplicationSchedule()

func (MigrationClient) UpdateTargetAsset

func (client MigrationClient) UpdateTargetAsset(ctx context.Context, request UpdateTargetAssetRequest) (response UpdateTargetAssetResponse, err error)

UpdateTargetAsset Updates the target asset.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/UpdateTargetAsset.go.html to see an example of how to use UpdateTargetAsset API. A default retry strategy applies to this operation UpdateTargetAsset()

type MigrationCollection

MigrationCollection Results of a migration search. Contains both migration summary items and other information, such as metadata.

type MigrationCollection struct {

    // List of migrations.
    Items []MigrationSummary `mandatory:"true" json:"items"`
}

func (MigrationCollection) String

func (m MigrationCollection) String() string

func (MigrationCollection) ValidateEnumValue

func (m MigrationCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationLifecycleStateEnum

MigrationLifecycleStateEnum Enum with underlying type: string

type MigrationLifecycleStateEnum string

Set of constants representing the allowable values for MigrationLifecycleStateEnum

const (
    MigrationLifecycleStateCreating       MigrationLifecycleStateEnum = "CREATING"
    MigrationLifecycleStateUpdating       MigrationLifecycleStateEnum = "UPDATING"
    MigrationLifecycleStateNeedsAttention MigrationLifecycleStateEnum = "NEEDS_ATTENTION"
    MigrationLifecycleStateActive         MigrationLifecycleStateEnum = "ACTIVE"
    MigrationLifecycleStateDeleting       MigrationLifecycleStateEnum = "DELETING"
    MigrationLifecycleStateDeleted        MigrationLifecycleStateEnum = "DELETED"
    MigrationLifecycleStateFailed         MigrationLifecycleStateEnum = "FAILED"
)

func GetMappingMigrationLifecycleStateEnum

func GetMappingMigrationLifecycleStateEnum(val string) (MigrationLifecycleStateEnum, bool)

GetMappingMigrationLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMigrationLifecycleStateEnumValues

func GetMigrationLifecycleStateEnumValues() []MigrationLifecycleStateEnum

GetMigrationLifecycleStateEnumValues Enumerates the set of values for MigrationLifecycleStateEnum

type MigrationPlan

MigrationPlan Description of the migration plan.

type MigrationPlan struct {

    // The unique Oracle ID (OCID) that is immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment containing the migration plan.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The time when the migration plan was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the migration plan.
    LifecycleState MigrationPlanLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The OCID of the associated migration.
    MigrationId *string `mandatory:"true" json:"migrationId"`

    // List of strategies for the resources to be migrated.
    Strategies []ResourceAssessmentStrategy `mandatory:"true" json:"strategies"`

    // Limits of the resources that are needed for migration. Example: {"BlockVolume": 2, "VCN": 1}
    CalculatedLimits map[string]int `mandatory:"true" json:"calculatedLimits"`

    // List of target environments.
    TargetEnvironments []TargetEnvironment `mandatory:"true" json:"targetEnvironments"`

    // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The time when the migration plan was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    MigrationPlanStats *MigrationPlanStats `mandatory:"false" json:"migrationPlanStats"`

    // OCID of the referenced ORM job.
    ReferenceToRmsStack *string `mandatory:"false" json:"referenceToRmsStack"`

    // Source migraiton plan ID to be cloned.
    SourceMigrationPlanId *string `mandatory:"false" json:"sourceMigrationPlanId"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (MigrationPlan) String

func (m MigrationPlan) String() string

func (*MigrationPlan) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (MigrationPlan) ValidateEnumValue

func (m MigrationPlan) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationPlanCollection

MigrationPlanCollection Results of a migration plan search. Contains both migration plan summary items and other information, such as metadata.

type MigrationPlanCollection struct {

    // List of migration plan summaries.
    Items []MigrationPlanSummary `mandatory:"true" json:"items"`
}

func (MigrationPlanCollection) String

func (m MigrationPlanCollection) String() string

func (MigrationPlanCollection) ValidateEnumValue

func (m MigrationPlanCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationPlanLifecycleStateEnum

MigrationPlanLifecycleStateEnum Enum with underlying type: string

type MigrationPlanLifecycleStateEnum string

Set of constants representing the allowable values for MigrationPlanLifecycleStateEnum

const (
    MigrationPlanLifecycleStateCreating       MigrationPlanLifecycleStateEnum = "CREATING"
    MigrationPlanLifecycleStateUpdating       MigrationPlanLifecycleStateEnum = "UPDATING"
    MigrationPlanLifecycleStateNeedsAttention MigrationPlanLifecycleStateEnum = "NEEDS_ATTENTION"
    MigrationPlanLifecycleStateActive         MigrationPlanLifecycleStateEnum = "ACTIVE"
    MigrationPlanLifecycleStateDeleting       MigrationPlanLifecycleStateEnum = "DELETING"
    MigrationPlanLifecycleStateDeleted        MigrationPlanLifecycleStateEnum = "DELETED"
    MigrationPlanLifecycleStateFailed         MigrationPlanLifecycleStateEnum = "FAILED"
)

func GetMappingMigrationPlanLifecycleStateEnum

func GetMappingMigrationPlanLifecycleStateEnum(val string) (MigrationPlanLifecycleStateEnum, bool)

GetMappingMigrationPlanLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetMigrationPlanLifecycleStateEnumValues

func GetMigrationPlanLifecycleStateEnumValues() []MigrationPlanLifecycleStateEnum

GetMigrationPlanLifecycleStateEnumValues Enumerates the set of values for MigrationPlanLifecycleStateEnum

type MigrationPlanStats

MigrationPlanStats Status of the migration plan.

type MigrationPlanStats struct {
    TotalEstimatedCost *CostEstimation `mandatory:"false" json:"totalEstimatedCost"`

    // The time when the migration plan was calculated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // The total count of VMs in migration
    VmCount *int `mandatory:"false" json:"vmCount"`
}

func (MigrationPlanStats) String

func (m MigrationPlanStats) String() string

func (MigrationPlanStats) ValidateEnumValue

func (m MigrationPlanStats) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationPlanSummary

MigrationPlanSummary Summary of the migration plan.

type MigrationPlanSummary struct {

    // The unique Oracle ID (OCID) that is immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment containing the migration plan.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The time when the migration plan was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the migration plan.
    LifecycleState MigrationPlanLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The OCID of the associated migration.
    MigrationId *string `mandatory:"true" json:"migrationId"`

    // List of strategies for the resources to be migrated.
    Strategies []ResourceAssessmentStrategy `mandatory:"true" json:"strategies"`

    // Limits of the resources that are needed for migration. Example: {"BlockVolume": 2, "VCN": 1}
    CalculatedLimits map[string]int `mandatory:"true" json:"calculatedLimits"`

    // List of target environments.
    TargetEnvironments []TargetEnvironment `mandatory:"true" json:"targetEnvironments"`

    // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The time when the migration plan was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    MigrationPlanStats *MigrationPlanStats `mandatory:"false" json:"migrationPlanStats"`

    // OCID of the referenced ORM job.
    ReferenceToRmsStack *string `mandatory:"false" json:"referenceToRmsStack"`

    // Source migraiton plan ID to be cloned.
    SourceMigrationPlanId *string `mandatory:"false" json:"sourceMigrationPlanId"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (MigrationPlanSummary) String

func (m MigrationPlanSummary) String() string

func (*MigrationPlanSummary) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (MigrationPlanSummary) ValidateEnumValue

func (m MigrationPlanSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MigrationSummary

MigrationSummary Summary of the migration project.

type MigrationSummary struct {

    // Unique identifier that is immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // Compartment identifier
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The time when the migration project was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of migration.
    LifecycleState MigrationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Migration identifier that can be renamed
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The time when the migration project was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // Indicates whether migration is marked as complete.
    IsCompleted *bool `mandatory:"false" json:"isCompleted"`

    // Replication schedule identifier
    ReplicationScheduleId *string `mandatory:"false" json:"replicationScheduleId"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (MigrationSummary) String

func (m MigrationSummary) String() string

func (MigrationSummary) ValidateEnumValue

func (m MigrationSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type OperationStatusEnum

OperationStatusEnum Enum with underlying type: string

type OperationStatusEnum string

Set of constants representing the allowable values for OperationStatusEnum

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

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

OperationTypeEnum Enum with underlying type: string

type OperationTypeEnum string

Set of constants representing the allowable values for OperationTypeEnum

const (
    OperationTypeCreateMigration           OperationTypeEnum = "CREATE_MIGRATION"
    OperationTypeUpdateMigration           OperationTypeEnum = "UPDATE_MIGRATION"
    OperationTypeRefreshMigration          OperationTypeEnum = "REFRESH_MIGRATION"
    OperationTypeDeleteMigration           OperationTypeEnum = "DELETE_MIGRATION"
    OperationTypeMoveMigration             OperationTypeEnum = "MOVE_MIGRATION"
    OperationTypeStartAssetReplication     OperationTypeEnum = "START_ASSET_REPLICATION"
    OperationTypeStartMigrationReplication OperationTypeEnum = "START_MIGRATION_REPLICATION"
    OperationTypeCreateReplicationSchedule OperationTypeEnum = "CREATE_REPLICATION_SCHEDULE"
    OperationTypeUpdateReplicationSchedule OperationTypeEnum = "UPDATE_REPLICATION_SCHEDULE"
    OperationTypeDeleteReplicationSchedule OperationTypeEnum = "DELETE_REPLICATION_SCHEDULE"
    OperationTypeMoveReplicationSchedule   OperationTypeEnum = "MOVE_REPLICATION_SCHEDULE"
    OperationTypeCreateMigrationPlan       OperationTypeEnum = "CREATE_MIGRATION_PLAN"
    OperationTypeUpdateMigrationPlan       OperationTypeEnum = "UPDATE_MIGRATION_PLAN"
    OperationTypeDeleteMigrationPlan       OperationTypeEnum = "DELETE_MIGRATION_PLAN"
    OperationTypeMoveMigrationPlan         OperationTypeEnum = "MOVE_MIGRATION_PLAN"
    OperationTypeRefreshMigrationPlan      OperationTypeEnum = "REFRESH_MIGRATION_PLAN"
    OperationTypeExecuteMigrationPlan      OperationTypeEnum = "EXECUTE_MIGRATION_PLAN"
    OperationTypeRefreshMigrationAsset     OperationTypeEnum = "REFRESH_MIGRATION_ASSET"
    OperationTypeCreateMigrationAsset      OperationTypeEnum = "CREATE_MIGRATION_ASSET"
    OperationTypeDeleteMigrationAsset      OperationTypeEnum = "DELETE_MIGRATION_ASSET"
    OperationTypeCreateTargetAsset         OperationTypeEnum = "CREATE_TARGET_ASSET"
    OperationTypeUpdateTargetAsset         OperationTypeEnum = "UPDATE_TARGET_ASSET"
    OperationTypeDeleteTargetAsset         OperationTypeEnum = "DELETE_TARGET_ASSET"
)

func GetMappingOperationTypeEnum

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type OsImageEstimation

OsImageEstimation Cost estimation for the OS image.

type OsImageEstimation struct {

    // Total price per hour
    TotalPerHour *float32 `mandatory:"true" json:"totalPerHour"`

    // Total price per hour by subscription
    TotalPerHourBySubscription *float32 `mandatory:"false" json:"totalPerHourBySubscription"`
}

func (OsImageEstimation) String

func (m OsImageEstimation) String() string

func (OsImageEstimation) ValidateEnumValue

func (m OsImageEstimation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PeakResourceAssessmentStrategy

PeakResourceAssessmentStrategy Peak usage based strategy.

type PeakResourceAssessmentStrategy struct {

    // The real resource usage is multiplied to this number before making any recommendation.
    AdjustmentMultiplier *float32 `mandatory:"false" json:"adjustmentMultiplier"`

    // The type of resource.
    ResourceType ResourceAssessmentStrategyResourceTypeEnum `mandatory:"true" json:"resourceType"`

    // The current state of the migration plan.
    MetricType MetricTypeEnum `mandatory:"false" json:"metricType,omitempty"`

    // The current state of the migration plan.
    MetricTimeWindow MetricTimeWindowEnum `mandatory:"false" json:"metricTimeWindow,omitempty"`
}

func (PeakResourceAssessmentStrategy) GetResourceType

func (m PeakResourceAssessmentStrategy) GetResourceType() ResourceAssessmentStrategyResourceTypeEnum

GetResourceType returns ResourceType

func (PeakResourceAssessmentStrategy) MarshalJSON

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

MarshalJSON marshals to json representation

func (PeakResourceAssessmentStrategy) String

func (m PeakResourceAssessmentStrategy) String() string

func (PeakResourceAssessmentStrategy) ValidateEnumValue

func (m PeakResourceAssessmentStrategy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PercentileResourceAssessmentStrategy

PercentileResourceAssessmentStrategy The strategy based on percentile usage.

type PercentileResourceAssessmentStrategy struct {

    // The real resource usage is multiplied to this number before making any recommendation.
    AdjustmentMultiplier *float32 `mandatory:"false" json:"adjustmentMultiplier"`

    // Percentile value
    Percentile PercentileResourceAssessmentStrategyPercentileEnum `mandatory:"true" json:"percentile"`

    // The type of resource.
    ResourceType ResourceAssessmentStrategyResourceTypeEnum `mandatory:"true" json:"resourceType"`

    // The current state of the migration plan.
    MetricTimeWindow MetricTimeWindowEnum `mandatory:"false" json:"metricTimeWindow,omitempty"`
}

func (PercentileResourceAssessmentStrategy) GetResourceType

func (m PercentileResourceAssessmentStrategy) GetResourceType() ResourceAssessmentStrategyResourceTypeEnum

GetResourceType returns ResourceType

func (PercentileResourceAssessmentStrategy) MarshalJSON

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

MarshalJSON marshals to json representation

func (PercentileResourceAssessmentStrategy) String

func (m PercentileResourceAssessmentStrategy) String() string

func (PercentileResourceAssessmentStrategy) ValidateEnumValue

func (m PercentileResourceAssessmentStrategy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PercentileResourceAssessmentStrategyPercentileEnum

PercentileResourceAssessmentStrategyPercentileEnum Enum with underlying type: string

type PercentileResourceAssessmentStrategyPercentileEnum string

Set of constants representing the allowable values for PercentileResourceAssessmentStrategyPercentileEnum

const (
    PercentileResourceAssessmentStrategyPercentileP50 PercentileResourceAssessmentStrategyPercentileEnum = "P50"
    PercentileResourceAssessmentStrategyPercentileP90 PercentileResourceAssessmentStrategyPercentileEnum = "P90"
    PercentileResourceAssessmentStrategyPercentileP95 PercentileResourceAssessmentStrategyPercentileEnum = "P95"
    PercentileResourceAssessmentStrategyPercentileP99 PercentileResourceAssessmentStrategyPercentileEnum = "P99"
)

func GetMappingPercentileResourceAssessmentStrategyPercentileEnum

func GetMappingPercentileResourceAssessmentStrategyPercentileEnum(val string) (PercentileResourceAssessmentStrategyPercentileEnum, bool)

GetMappingPercentileResourceAssessmentStrategyPercentileEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPercentileResourceAssessmentStrategyPercentileEnumValues

func GetPercentileResourceAssessmentStrategyPercentileEnumValues() []PercentileResourceAssessmentStrategyPercentileEnum

GetPercentileResourceAssessmentStrategyPercentileEnumValues Enumerates the set of values for PercentileResourceAssessmentStrategyPercentileEnum

type PreemptibleInstanceConfigDetails

PreemptibleInstanceConfigDetails Configuration options for preemptible instances.

type PreemptibleInstanceConfigDetails struct {
    PreemptionAction PreemptionAction `mandatory:"true" json:"preemptionAction"`
}

func (PreemptibleInstanceConfigDetails) String

func (m PreemptibleInstanceConfigDetails) String() string

func (*PreemptibleInstanceConfigDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (PreemptibleInstanceConfigDetails) ValidateEnumValue

func (m PreemptibleInstanceConfigDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PreemptionAction

PreemptionAction The action to run when the preemptible instance is interrupted for eviction.

type PreemptionAction interface {
}

type PreemptionActionTypeEnum

PreemptionActionTypeEnum Enum with underlying type: string

type PreemptionActionTypeEnum string

Set of constants representing the allowable values for PreemptionActionTypeEnum

const (
    PreemptionActionTypeTerminate PreemptionActionTypeEnum = "TERMINATE"
)

func GetMappingPreemptionActionTypeEnum

func GetMappingPreemptionActionTypeEnum(val string) (PreemptionActionTypeEnum, bool)

GetMappingPreemptionActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPreemptionActionTypeEnumValues

func GetPreemptionActionTypeEnumValues() []PreemptionActionTypeEnum

GetPreemptionActionTypeEnumValues Enumerates the set of values for PreemptionActionTypeEnum

type RefreshMigrationAssetRequest

RefreshMigrationAssetRequest wrapper for the RefreshMigrationAsset operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/RefreshMigrationAsset.go.html to see an example of how to use RefreshMigrationAssetRequest.

type RefreshMigrationAssetRequest struct {

    // Unique migration asset identifier
    MigrationAssetId *string `mandatory:"true" contributesTo:"path" name:"migrationAssetId"`

    // 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"`

    // The client request ID for tracing.
    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 executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before that 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
    // might 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
}

func (RefreshMigrationAssetRequest) BinaryRequestBody

func (request RefreshMigrationAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RefreshMigrationAssetRequest) HTTPRequest

func (request RefreshMigrationAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RefreshMigrationAssetRequest) RetryPolicy

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

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

func (RefreshMigrationAssetRequest) String

func (request RefreshMigrationAssetRequest) String() string

func (RefreshMigrationAssetRequest) ValidateEnumValue

func (request RefreshMigrationAssetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RefreshMigrationAssetResponse

RefreshMigrationAssetResponse wrapper for the RefreshMigrationAsset operation

type RefreshMigrationAssetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // 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"`

    // 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"`
}

func (RefreshMigrationAssetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RefreshMigrationAssetResponse) String

func (response RefreshMigrationAssetResponse) String() string

type RefreshMigrationPlanRequest

RefreshMigrationPlanRequest wrapper for the RefreshMigrationPlan operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/RefreshMigrationPlan.go.html to see an example of how to use RefreshMigrationPlanRequest.

type RefreshMigrationPlanRequest struct {

    // Unique migration plan identifier
    MigrationPlanId *string `mandatory:"true" contributesTo:"path" name:"migrationPlanId"`

    // 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"`

    // The client request ID for tracing.
    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 executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before that 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
    // might 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
}

func (RefreshMigrationPlanRequest) BinaryRequestBody

func (request RefreshMigrationPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RefreshMigrationPlanRequest) HTTPRequest

func (request RefreshMigrationPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RefreshMigrationPlanRequest) RetryPolicy

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

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

func (RefreshMigrationPlanRequest) String

func (request RefreshMigrationPlanRequest) String() string

func (RefreshMigrationPlanRequest) ValidateEnumValue

func (request RefreshMigrationPlanRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RefreshMigrationPlanResponse

RefreshMigrationPlanResponse wrapper for the RefreshMigrationPlan operation

type RefreshMigrationPlanResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // 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"`

    // 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"`
}

func (RefreshMigrationPlanResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RefreshMigrationPlanResponse) String

func (response RefreshMigrationPlanResponse) String() string

type RefreshMigrationRequest

RefreshMigrationRequest wrapper for the RefreshMigration operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/RefreshMigration.go.html to see an example of how to use RefreshMigrationRequest.

type RefreshMigrationRequest struct {

    // Unique migration identifier
    MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

    // 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"`

    // The client request ID for tracing.
    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 executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before that 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
    // might 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
}

func (RefreshMigrationRequest) BinaryRequestBody

func (request RefreshMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RefreshMigrationRequest) HTTPRequest

func (request RefreshMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RefreshMigrationRequest) RetryPolicy

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

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

func (RefreshMigrationRequest) String

func (request RefreshMigrationRequest) String() string

func (RefreshMigrationRequest) ValidateEnumValue

func (request RefreshMigrationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RefreshMigrationResponse

RefreshMigrationResponse wrapper for the RefreshMigration operation

type RefreshMigrationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // 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"`

    // 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"`
}

func (RefreshMigrationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RefreshMigrationResponse) String

func (response RefreshMigrationResponse) String() string

type ReplicationProgress

ReplicationProgress Progress of a migration asset's replication process.

type ReplicationProgress struct {

    // Percentage of the current replication progress from 0 to 100.
    Percentage *int `mandatory:"true" json:"percentage"`

    // Status of the current replication progress. It can be None or InProgress.
    Status ReplicationProgressStatusEnum `mandatory:"false" json:"status,omitempty"`

    // Start time of the current replication process
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // Start time of the last replication process. It can be Completed or Failed.
    TimeOflastReplicationStart *common.SDKTime `mandatory:"false" json:"timeOflastReplicationStart"`

    // End time of the last replication process. It can be Completed or Failed.
    TimeOfLastReplicationEnd *common.SDKTime `mandatory:"false" json:"timeOfLastReplicationEnd"`

    // End time of the last successful replication process, which has been completed.
    TimeOfLastReplicationSuccess *common.SDKTime `mandatory:"false" json:"timeOfLastReplicationSuccess"`

    // Status of the last replication task. It can be Completed or Failed.
    LastReplicationStatus ReplicationProgressLastReplicationStatusEnum `mandatory:"false" json:"lastReplicationStatus,omitempty"`

    // Error message if the last finished replication failed.
    LastReplicationError *string `mandatory:"false" json:"lastReplicationError"`
}

func (ReplicationProgress) String

func (m ReplicationProgress) String() string

func (ReplicationProgress) ValidateEnumValue

func (m ReplicationProgress) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ReplicationProgressLastReplicationStatusEnum

ReplicationProgressLastReplicationStatusEnum Enum with underlying type: string

type ReplicationProgressLastReplicationStatusEnum string

Set of constants representing the allowable values for ReplicationProgressLastReplicationStatusEnum

const (
    ReplicationProgressLastReplicationStatusNone      ReplicationProgressLastReplicationStatusEnum = "NONE"
    ReplicationProgressLastReplicationStatusCompleted ReplicationProgressLastReplicationStatusEnum = "COMPLETED"
    ReplicationProgressLastReplicationStatusFailed    ReplicationProgressLastReplicationStatusEnum = "FAILED"
)

func GetMappingReplicationProgressLastReplicationStatusEnum

func GetMappingReplicationProgressLastReplicationStatusEnum(val string) (ReplicationProgressLastReplicationStatusEnum, bool)

GetMappingReplicationProgressLastReplicationStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReplicationProgressLastReplicationStatusEnumValues

func GetReplicationProgressLastReplicationStatusEnumValues() []ReplicationProgressLastReplicationStatusEnum

GetReplicationProgressLastReplicationStatusEnumValues Enumerates the set of values for ReplicationProgressLastReplicationStatusEnum

type ReplicationProgressStatusEnum

ReplicationProgressStatusEnum Enum with underlying type: string

type ReplicationProgressStatusEnum string

Set of constants representing the allowable values for ReplicationProgressStatusEnum

const (
    ReplicationProgressStatusNone       ReplicationProgressStatusEnum = "NONE"
    ReplicationProgressStatusInProgress ReplicationProgressStatusEnum = "IN_PROGRESS"
)

func GetMappingReplicationProgressStatusEnum

func GetMappingReplicationProgressStatusEnum(val string) (ReplicationProgressStatusEnum, bool)

GetMappingReplicationProgressStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReplicationProgressStatusEnumValues

func GetReplicationProgressStatusEnumValues() []ReplicationProgressStatusEnum

GetReplicationProgressStatusEnumValues Enumerates the set of values for ReplicationProgressStatusEnum

type ReplicationSchedule

ReplicationSchedule Replication schedule.

type ReplicationSchedule struct {

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

    // A name of the replication schedule.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Recurrence specification for the replication schedule execution.
    ExecutionRecurrences *string `mandatory:"true" json:"executionRecurrences"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the replication schedule exists.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Current state of the replication schedule.
    LifecycleState ReplicationScheduleLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The detailed state of the replication schedule.
    LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`

    // The time when the replication schedule was created in RFC3339 format.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time when the replication schedule was last updated in RFC3339 format.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (ReplicationSchedule) String

func (m ReplicationSchedule) String() string

func (ReplicationSchedule) ValidateEnumValue

func (m ReplicationSchedule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ReplicationScheduleCollection

ReplicationScheduleCollection Results of a replication schedule search. Contains replication schedule summaries.

type ReplicationScheduleCollection struct {

    // Replication schedule summaries.
    Items []ReplicationScheduleSummary `mandatory:"true" json:"items"`
}

func (ReplicationScheduleCollection) String

func (m ReplicationScheduleCollection) String() string

func (ReplicationScheduleCollection) ValidateEnumValue

func (m ReplicationScheduleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ReplicationScheduleLifecycleStateEnum

ReplicationScheduleLifecycleStateEnum Enum with underlying type: string

type ReplicationScheduleLifecycleStateEnum string

Set of constants representing the allowable values for ReplicationScheduleLifecycleStateEnum

const (
    ReplicationScheduleLifecycleStateCreating       ReplicationScheduleLifecycleStateEnum = "CREATING"
    ReplicationScheduleLifecycleStateUpdating       ReplicationScheduleLifecycleStateEnum = "UPDATING"
    ReplicationScheduleLifecycleStateNeedsAttention ReplicationScheduleLifecycleStateEnum = "NEEDS_ATTENTION"
    ReplicationScheduleLifecycleStateActive         ReplicationScheduleLifecycleStateEnum = "ACTIVE"
    ReplicationScheduleLifecycleStateDeleting       ReplicationScheduleLifecycleStateEnum = "DELETING"
    ReplicationScheduleLifecycleStateDeleted        ReplicationScheduleLifecycleStateEnum = "DELETED"
    ReplicationScheduleLifecycleStateFailed         ReplicationScheduleLifecycleStateEnum = "FAILED"
)

func GetMappingReplicationScheduleLifecycleStateEnum

func GetMappingReplicationScheduleLifecycleStateEnum(val string) (ReplicationScheduleLifecycleStateEnum, bool)

GetMappingReplicationScheduleLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReplicationScheduleLifecycleStateEnumValues

func GetReplicationScheduleLifecycleStateEnumValues() []ReplicationScheduleLifecycleStateEnum

GetReplicationScheduleLifecycleStateEnumValues Enumerates the set of values for ReplicationScheduleLifecycleStateEnum

type ReplicationScheduleSummary

ReplicationScheduleSummary Sumarized information about a replication schedule.

type ReplicationScheduleSummary struct {

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

    // A name of the replication schedule.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which the replication schedule exists.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Recurrence specification for replication schedule execution.
    ExecutionRecurrences *string `mandatory:"true" json:"executionRecurrences"`

    // Current state of the replication schedule.
    LifecycleState ReplicationScheduleLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The detailed state of the replication schedule.
    LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`

    // The time when the replication schedule was created in RFC3339 format.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time when the replication schedule was last updated in RFC3339 format.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (ReplicationScheduleSummary) String

func (m ReplicationScheduleSummary) String() string

func (ReplicationScheduleSummary) ValidateEnumValue

func (m ReplicationScheduleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResourceAssessmentStrategy

ResourceAssessmentStrategy Migration strategy for the resource to be migrated.

type ResourceAssessmentStrategy interface {

    // The type of resource.
    GetResourceType() ResourceAssessmentStrategyResourceTypeEnum
}

type ResourceAssessmentStrategyResourceTypeEnum

ResourceAssessmentStrategyResourceTypeEnum Enum with underlying type: string

type ResourceAssessmentStrategyResourceTypeEnum string

Set of constants representing the allowable values for ResourceAssessmentStrategyResourceTypeEnum

const (
    ResourceAssessmentStrategyResourceTypeCpu    ResourceAssessmentStrategyResourceTypeEnum = "CPU"
    ResourceAssessmentStrategyResourceTypeMemory ResourceAssessmentStrategyResourceTypeEnum = "MEMORY"
    ResourceAssessmentStrategyResourceTypeAll    ResourceAssessmentStrategyResourceTypeEnum = "ALL"
)

func GetMappingResourceAssessmentStrategyResourceTypeEnum

func GetMappingResourceAssessmentStrategyResourceTypeEnum(val string) (ResourceAssessmentStrategyResourceTypeEnum, bool)

GetMappingResourceAssessmentStrategyResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResourceAssessmentStrategyResourceTypeEnumValues

func GetResourceAssessmentStrategyResourceTypeEnumValues() []ResourceAssessmentStrategyResourceTypeEnum

GetResourceAssessmentStrategyResourceTypeEnumValues Enumerates the set of values for ResourceAssessmentStrategyResourceTypeEnum

type ResourceAssessmentStrategyStrategyTypeEnum

ResourceAssessmentStrategyStrategyTypeEnum Enum with underlying type: string

type ResourceAssessmentStrategyStrategyTypeEnum string

Set of constants representing the allowable values for ResourceAssessmentStrategyStrategyTypeEnum

const (
    ResourceAssessmentStrategyStrategyTypeAsIs       ResourceAssessmentStrategyStrategyTypeEnum = "AS_IS"
    ResourceAssessmentStrategyStrategyTypeAverage    ResourceAssessmentStrategyStrategyTypeEnum = "AVERAGE"
    ResourceAssessmentStrategyStrategyTypePeak       ResourceAssessmentStrategyStrategyTypeEnum = "PEAK"
    ResourceAssessmentStrategyStrategyTypePercentile ResourceAssessmentStrategyStrategyTypeEnum = "PERCENTILE"
)

func GetMappingResourceAssessmentStrategyStrategyTypeEnum

func GetMappingResourceAssessmentStrategyStrategyTypeEnum(val string) (ResourceAssessmentStrategyStrategyTypeEnum, bool)

GetMappingResourceAssessmentStrategyStrategyTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResourceAssessmentStrategyStrategyTypeEnumValues

func GetResourceAssessmentStrategyStrategyTypeEnumValues() []ResourceAssessmentStrategyStrategyTypeEnum

GetResourceAssessmentStrategyStrategyTypeEnumValues Enumerates the set of values for ResourceAssessmentStrategyStrategyTypeEnum

type SortOrderEnum

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

const (
    SortOrderAsc  SortOrderEnum = "ASC"
    SortOrderDesc SortOrderEnum = "DESC"
)

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type StartAssetReplicationRequest

StartAssetReplicationRequest wrapper for the StartAssetReplication operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/StartAssetReplication.go.html to see an example of how to use StartAssetReplicationRequest.

type StartAssetReplicationRequest struct {

    // Unique migration asset identifier
    MigrationAssetId *string `mandatory:"true" contributesTo:"path" name:"migrationAssetId"`

    // 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"`

    // The client request ID for tracing.
    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 executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before that 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
    // might 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
}

func (StartAssetReplicationRequest) BinaryRequestBody

func (request StartAssetReplicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (StartAssetReplicationRequest) HTTPRequest

func (request StartAssetReplicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (StartAssetReplicationRequest) RetryPolicy

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

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

func (StartAssetReplicationRequest) String

func (request StartAssetReplicationRequest) String() string

func (StartAssetReplicationRequest) ValidateEnumValue

func (request StartAssetReplicationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type StartAssetReplicationResponse

StartAssetReplicationResponse wrapper for the StartAssetReplication operation

type StartAssetReplicationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // 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"`

    // 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"`
}

func (StartAssetReplicationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (StartAssetReplicationResponse) String

func (response StartAssetReplicationResponse) String() string

type StartMigrationReplicationRequest

StartMigrationReplicationRequest wrapper for the StartMigrationReplication operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/StartMigrationReplication.go.html to see an example of how to use StartMigrationReplicationRequest.

type StartMigrationReplicationRequest struct {

    // Unique migration identifier
    MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

    // 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"`

    // The client request ID for tracing.
    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 executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before that 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
    // might 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
}

func (StartMigrationReplicationRequest) BinaryRequestBody

func (request StartMigrationReplicationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (StartMigrationReplicationRequest) HTTPRequest

func (request StartMigrationReplicationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (StartMigrationReplicationRequest) RetryPolicy

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

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

func (StartMigrationReplicationRequest) String

func (request StartMigrationReplicationRequest) String() string

func (StartMigrationReplicationRequest) ValidateEnumValue

func (request StartMigrationReplicationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type StartMigrationReplicationResponse

StartMigrationReplicationResponse wrapper for the StartMigrationReplication operation

type StartMigrationReplicationResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // 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"`

    // 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"`
}

func (StartMigrationReplicationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (StartMigrationReplicationResponse) String

func (response StartMigrationReplicationResponse) String() string

type StorageCostEstimation

StorageCostEstimation Cost estimation for storage

type StorageCostEstimation struct {

    // Volume estimation
    Volumes []VolumeCostEstimation `mandatory:"true" json:"volumes"`

    // Gigabyte storage capacity per month.
    TotalGbPerMonth *float32 `mandatory:"true" json:"totalGbPerMonth"`

    // Gigabyte storage capacity per month by subscription.
    TotalGbPerMonthBySubscription *float32 `mandatory:"false" json:"totalGbPerMonthBySubscription"`
}

func (StorageCostEstimation) String

func (m StorageCostEstimation) String() string

func (StorageCostEstimation) ValidateEnumValue

func (m StorageCostEstimation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetAsset

TargetAsset Description of the target asset.

type TargetAsset interface {

    // Unique identifier that is immutable on creation.
    GetId() *string

    // The current state of the target asset.
    GetLifecycleState() TargetAssetLifecycleStateEnum

    // OCID of the associated migration plan.
    GetMigrationPlanId() *string

    // A boolean indicating whether the asset should be migrated.
    GetIsExcludedFromExecution() *bool

    GetEstimatedCost() *CostEstimation

    // The time when the target asset was created. An RFC3339 formatted datetime string.
    GetTimeCreated() *common.SDKTime

    // The time when the target asset was updated. An RFC3339 formatted datetime string.
    GetTimeUpdated() *common.SDKTime

    // The time when the assessment was done. An RFC3339 formatted datetime string.
    GetTimeAssessed() *common.SDKTime

    // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    GetDisplayName() *string

    // A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    GetLifecycleDetails() *string

    // Compartment identifier
    GetCompartmentId() *string

    // Created resource identifier
    GetCreatedResourceId() *string

    // Messages about the compatibility issues.
    GetCompatibilityMessages() []CompatibilityMessage

    GetMigrationAsset() *MigrationAsset
}

type TargetAssetCollection

TargetAssetCollection Results of a target asset search.

type TargetAssetCollection struct {

    // List of target asset summaries.
    Items []TargetAssetSummary `mandatory:"true" json:"items"`
}

func (TargetAssetCollection) String

func (m TargetAssetCollection) String() string

func (*TargetAssetCollection) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (TargetAssetCollection) ValidateEnumValue

func (m TargetAssetCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type TargetAssetLifecycleStateEnum

TargetAssetLifecycleStateEnum Enum with underlying type: string

type TargetAssetLifecycleStateEnum string

Set of constants representing the allowable values for TargetAssetLifecycleStateEnum

const (
    TargetAssetLifecycleStateCreating       TargetAssetLifecycleStateEnum = "CREATING"
    TargetAssetLifecycleStateUpdating       TargetAssetLifecycleStateEnum = "UPDATING"
    TargetAssetLifecycleStateNeedsAttention TargetAssetLifecycleStateEnum = "NEEDS_ATTENTION"
    TargetAssetLifecycleStateActive         TargetAssetLifecycleStateEnum = "ACTIVE"
    TargetAssetLifecycleStateDeleting       TargetAssetLifecycleStateEnum = "DELETING"
    TargetAssetLifecycleStateDeleted        TargetAssetLifecycleStateEnum = "DELETED"
    TargetAssetLifecycleStateFailed         TargetAssetLifecycleStateEnum = "FAILED"
)

func GetMappingTargetAssetLifecycleStateEnum

func GetMappingTargetAssetLifecycleStateEnum(val string) (TargetAssetLifecycleStateEnum, bool)

GetMappingTargetAssetLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTargetAssetLifecycleStateEnumValues

func GetTargetAssetLifecycleStateEnumValues() []TargetAssetLifecycleStateEnum

GetTargetAssetLifecycleStateEnumValues Enumerates the set of values for TargetAssetLifecycleStateEnum

type TargetAssetSummary

TargetAssetSummary Summary of the target asset.

type TargetAssetSummary interface {

    // Unique identifier that is immutable on creation.
    GetId() *string

    // The current state of the target asset.
    GetLifecycleState() TargetAssetLifecycleStateEnum

    // OCID of the associated migration plan.
    GetMigrationPlanId() *string

    // A boolean indicating whether the asset should be migrated.
    GetIsExcludedFromExecution() *bool

    GetEstimatedCost() *CostEstimation

    // The time when the target asset was created. An RFC3339 formatted datetime string.
    GetTimeCreated() *common.SDKTime

    // The time when the target asset was updated. An RFC3339 formatted datetime string.
    GetTimeUpdated() *common.SDKTime

    // The time when the assessment was done. An RFC3339 formatted datetime string.
    GetTimeAssessed() *common.SDKTime

    // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    GetDisplayName() *string

    // Compartment identifier
    GetCompartmentId() *string

    // Created resource identifier
    GetCreatedResourceId() *string

    // Messages about compatibility issues.
    GetCompatibilityMessages() []CompatibilityMessage

    // A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    GetLifecycleDetails() *string

    GetMigrationAsset() *MigrationAssetSummary
}

type TargetAssetSummaryTypeEnum

TargetAssetSummaryTypeEnum Enum with underlying type: string

type TargetAssetSummaryTypeEnum string

Set of constants representing the allowable values for TargetAssetSummaryTypeEnum

const (
    TargetAssetSummaryTypeInstance TargetAssetSummaryTypeEnum = "INSTANCE"
)

func GetMappingTargetAssetSummaryTypeEnum

func GetMappingTargetAssetSummaryTypeEnum(val string) (TargetAssetSummaryTypeEnum, bool)

GetMappingTargetAssetSummaryTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTargetAssetSummaryTypeEnumValues

func GetTargetAssetSummaryTypeEnumValues() []TargetAssetSummaryTypeEnum

GetTargetAssetSummaryTypeEnumValues Enumerates the set of values for TargetAssetSummaryTypeEnum

type TargetAssetTypeEnum

TargetAssetTypeEnum Enum with underlying type: string

type TargetAssetTypeEnum string

Set of constants representing the allowable values for TargetAssetTypeEnum

const (
    TargetAssetTypeInstance TargetAssetTypeEnum = "INSTANCE"
)

func GetMappingTargetAssetTypeEnum

func GetMappingTargetAssetTypeEnum(val string) (TargetAssetTypeEnum, bool)

GetMappingTargetAssetTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTargetAssetTypeEnumValues

func GetTargetAssetTypeEnumValues() []TargetAssetTypeEnum

GetTargetAssetTypeEnumValues Enumerates the set of values for TargetAssetTypeEnum

type TargetEnvironment

TargetEnvironment Description of the target environment.

type TargetEnvironment interface {

    // Target compartment identifier
    GetTargetCompartmentId() *string
}

type TargetEnvironmentTargetEnvironmentTypeEnum

TargetEnvironmentTargetEnvironmentTypeEnum Enum with underlying type: string

type TargetEnvironmentTargetEnvironmentTypeEnum string

Set of constants representing the allowable values for TargetEnvironmentTargetEnvironmentTypeEnum

const (
    TargetEnvironmentTargetEnvironmentTypeVmTargetEnv TargetEnvironmentTargetEnvironmentTypeEnum = "VM_TARGET_ENV"
)

func GetMappingTargetEnvironmentTargetEnvironmentTypeEnum

func GetMappingTargetEnvironmentTargetEnvironmentTypeEnum(val string) (TargetEnvironmentTargetEnvironmentTypeEnum, bool)

GetMappingTargetEnvironmentTargetEnvironmentTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTargetEnvironmentTargetEnvironmentTypeEnumValues

func GetTargetEnvironmentTargetEnvironmentTypeEnumValues() []TargetEnvironmentTargetEnvironmentTypeEnum

GetTargetEnvironmentTargetEnvironmentTypeEnumValues Enumerates the set of values for TargetEnvironmentTargetEnvironmentTypeEnum

type TerminatePreemptionAction

TerminatePreemptionAction Terminates the preemptible instance when it is interrupted for eviction.

type TerminatePreemptionAction struct {

    // Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. By default, it is false if not specified.
    PreserveBootVolume *bool `mandatory:"false" json:"preserveBootVolume"`
}

func (TerminatePreemptionAction) MarshalJSON

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

MarshalJSON marshals to json representation

func (TerminatePreemptionAction) String

func (m TerminatePreemptionAction) String() string

func (TerminatePreemptionAction) ValidateEnumValue

func (m TerminatePreemptionAction) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateAssetSourceDetails

UpdateAssetSourceDetails The information about the new asset source.

type UpdateAssetSourceDetails interface {

    // A user-friendly name for the asset source. Does not have to be unique, and it's mutable.
    // Avoid entering confidential information.
    GetDisplayName() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets.
    GetAssetsCompartmentId() *string

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // Example: `{"bar-key": "value"}`
    GetFreeformTags() map[string]string

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    GetDefinedTags() map[string]map[string]interface{}

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    GetSystemTags() map[string]map[string]interface{}
}

type UpdateDiscoveryScheduleDetails

UpdateDiscoveryScheduleDetails Information about discovery schedule to be updated.

type UpdateDiscoveryScheduleDetails struct {

    // A user-friendly name for the discovery schedule. Does not have to be unique, and it's mutable.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Recurrence specification for the discovery schedule execution.
    ExecutionRecurrences *string `mandatory:"false" json:"executionRecurrences"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`
}

func (UpdateDiscoveryScheduleDetails) String

func (m UpdateDiscoveryScheduleDetails) String() string

func (UpdateDiscoveryScheduleDetails) ValidateEnumValue

func (m UpdateDiscoveryScheduleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateMigrationAssetDetails

UpdateMigrationAssetDetails Details of the updated migration asset.

type UpdateMigrationAssetDetails struct {

    // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Replication schedule identifier
    ReplicationScheduleId *string `mandatory:"false" json:"replicationScheduleId"`

    // List of migration assets that depends on this asset.
    DependsOn []string `mandatory:"false" json:"dependsOn"`
}

func (UpdateMigrationAssetDetails) String

func (m UpdateMigrationAssetDetails) String() string

func (UpdateMigrationAssetDetails) ValidateEnumValue

func (m UpdateMigrationAssetDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateMigrationAssetRequest

UpdateMigrationAssetRequest wrapper for the UpdateMigrationAsset operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/UpdateMigrationAsset.go.html to see an example of how to use UpdateMigrationAssetRequest.

type UpdateMigrationAssetRequest struct {

    // Unique migration asset identifier
    MigrationAssetId *string `mandatory:"true" contributesTo:"path" name:"migrationAssetId"`

    // The information to be updated.
    UpdateMigrationAssetDetails `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"`

    // The client request ID for tracing.
    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
}

func (UpdateMigrationAssetRequest) BinaryRequestBody

func (request UpdateMigrationAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateMigrationAssetRequest) HTTPRequest

func (request UpdateMigrationAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateMigrationAssetRequest) RetryPolicy

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

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

func (UpdateMigrationAssetRequest) String

func (request UpdateMigrationAssetRequest) String() string

func (UpdateMigrationAssetRequest) ValidateEnumValue

func (request UpdateMigrationAssetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateMigrationAssetResponse

UpdateMigrationAssetResponse wrapper for the UpdateMigrationAsset operation

type UpdateMigrationAssetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The MigrationAsset instance
    MigrationAsset `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"`
}

func (UpdateMigrationAssetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateMigrationAssetResponse) String

func (response UpdateMigrationAssetResponse) String() string

type UpdateMigrationDetails

UpdateMigrationDetails The information to be updated.

type UpdateMigrationDetails struct {

    // Migration identifier
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Replication schedule identifier
    ReplicationScheduleId *string `mandatory:"false" json:"replicationScheduleId"`

    // Indicates whether migration is marked as complete.
    IsCompleted *bool `mandatory:"false" json:"isCompleted"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`
}

func (UpdateMigrationDetails) String

func (m UpdateMigrationDetails) String() string

func (UpdateMigrationDetails) ValidateEnumValue

func (m UpdateMigrationDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateMigrationPlanDetails

UpdateMigrationPlanDetails The information to be updated.

type UpdateMigrationPlanDetails struct {

    // Migration plan identifier
    DisplayName *string `mandatory:"false" json:"displayName"`

    // List of strategies for the resources to be migrated.
    Strategies []ResourceAssessmentStrategy `mandatory:"false" json:"strategies"`

    // List of target environments.
    TargetEnvironments []TargetEnvironment `mandatory:"false" json:"targetEnvironments"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`
}

func (UpdateMigrationPlanDetails) String

func (m UpdateMigrationPlanDetails) String() string

func (*UpdateMigrationPlanDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (UpdateMigrationPlanDetails) ValidateEnumValue

func (m UpdateMigrationPlanDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateMigrationPlanRequest

UpdateMigrationPlanRequest wrapper for the UpdateMigrationPlan operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/UpdateMigrationPlan.go.html to see an example of how to use UpdateMigrationPlanRequest.

type UpdateMigrationPlanRequest struct {

    // Unique migration plan identifier
    MigrationPlanId *string `mandatory:"true" contributesTo:"path" name:"migrationPlanId"`

    // The information to be updated.
    UpdateMigrationPlanDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before that 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
    // might 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"`

    // The client request ID for tracing.
    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
}

func (UpdateMigrationPlanRequest) BinaryRequestBody

func (request UpdateMigrationPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateMigrationPlanRequest) HTTPRequest

func (request UpdateMigrationPlanRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateMigrationPlanRequest) RetryPolicy

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

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

func (UpdateMigrationPlanRequest) String

func (request UpdateMigrationPlanRequest) String() string

func (UpdateMigrationPlanRequest) ValidateEnumValue

func (request UpdateMigrationPlanRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateMigrationPlanResponse

UpdateMigrationPlanResponse wrapper for the UpdateMigrationPlan operation

type UpdateMigrationPlanResponse 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"`
}

func (UpdateMigrationPlanResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateMigrationPlanResponse) String

func (response UpdateMigrationPlanResponse) String() string

type UpdateMigrationRequest

UpdateMigrationRequest wrapper for the UpdateMigration operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/UpdateMigration.go.html to see an example of how to use UpdateMigrationRequest.

type UpdateMigrationRequest struct {

    // Unique migration identifier
    MigrationId *string `mandatory:"true" contributesTo:"path" name:"migrationId"`

    // The information to be updated.
    UpdateMigrationDetails `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"`

    // The client request ID for tracing.
    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
}

func (UpdateMigrationRequest) BinaryRequestBody

func (request UpdateMigrationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateMigrationRequest) HTTPRequest

func (request UpdateMigrationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateMigrationRequest) RetryPolicy

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

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

func (UpdateMigrationRequest) String

func (request UpdateMigrationRequest) String() string

func (UpdateMigrationRequest) ValidateEnumValue

func (request UpdateMigrationRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateMigrationResponse

UpdateMigrationResponse wrapper for the UpdateMigration operation

type UpdateMigrationResponse 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"`
}

func (UpdateMigrationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateMigrationResponse) String

func (response UpdateMigrationResponse) String() string

type UpdateReplicationScheduleDetails

UpdateReplicationScheduleDetails Information about replication schedule to be updated.

type UpdateReplicationScheduleDetails struct {

    // A user-friendly name for a replication schedule. Does not have to be unique, and is mutable. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Recurrence specification for replication schedule execution.
    ExecutionRecurrences *string `mandatory:"false" json:"executionRecurrences"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`
}

func (UpdateReplicationScheduleDetails) String

func (m UpdateReplicationScheduleDetails) String() string

func (UpdateReplicationScheduleDetails) ValidateEnumValue

func (m UpdateReplicationScheduleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateReplicationScheduleRequest

UpdateReplicationScheduleRequest wrapper for the UpdateReplicationSchedule operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/UpdateReplicationSchedule.go.html to see an example of how to use UpdateReplicationScheduleRequest.

type UpdateReplicationScheduleRequest struct {

    // Unique replication schedule identifier in path
    ReplicationScheduleId *string `mandatory:"true" contributesTo:"path" name:"replicationScheduleId"`

    // The information to be updated.
    UpdateReplicationScheduleDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before that 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
    // might 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"`

    // The client request ID for tracing.
    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
}

func (UpdateReplicationScheduleRequest) BinaryRequestBody

func (request UpdateReplicationScheduleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateReplicationScheduleRequest) HTTPRequest

func (request UpdateReplicationScheduleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateReplicationScheduleRequest) RetryPolicy

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

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

func (UpdateReplicationScheduleRequest) String

func (request UpdateReplicationScheduleRequest) String() string

func (UpdateReplicationScheduleRequest) ValidateEnumValue

func (request UpdateReplicationScheduleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateReplicationScheduleResponse

UpdateReplicationScheduleResponse wrapper for the UpdateReplicationSchedule operation

type UpdateReplicationScheduleResponse 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"`
}

func (UpdateReplicationScheduleResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateReplicationScheduleResponse) String

func (response UpdateReplicationScheduleResponse) String() string

type UpdateTargetAssetDetails

UpdateTargetAssetDetails Details of the updated target asset.

type UpdateTargetAssetDetails interface {

    // A boolean indicating whether the asset should be migrated.
    GetIsExcludedFromExecution() *bool
}

type UpdateTargetAssetDetailsTypeEnum

UpdateTargetAssetDetailsTypeEnum Enum with underlying type: string

type UpdateTargetAssetDetailsTypeEnum string

Set of constants representing the allowable values for UpdateTargetAssetDetailsTypeEnum

const (
    UpdateTargetAssetDetailsTypeInstance UpdateTargetAssetDetailsTypeEnum = "INSTANCE"
)

func GetMappingUpdateTargetAssetDetailsTypeEnum

func GetMappingUpdateTargetAssetDetailsTypeEnum(val string) (UpdateTargetAssetDetailsTypeEnum, bool)

GetMappingUpdateTargetAssetDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateTargetAssetDetailsTypeEnumValues

func GetUpdateTargetAssetDetailsTypeEnumValues() []UpdateTargetAssetDetailsTypeEnum

GetUpdateTargetAssetDetailsTypeEnumValues Enumerates the set of values for UpdateTargetAssetDetailsTypeEnum

type UpdateTargetAssetRequest

UpdateTargetAssetRequest wrapper for the UpdateTargetAsset operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.64.0/cloudmigrations/UpdateTargetAsset.go.html to see an example of how to use UpdateTargetAssetRequest.

type UpdateTargetAssetRequest struct {

    // Unique target asset identifier
    TargetAssetId *string `mandatory:"true" contributesTo:"path" name:"targetAssetId"`

    // The information to be updated.
    UpdateTargetAssetDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or
    // server error without risk of executing that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before that 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
    // might 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"`

    // The client request ID for tracing.
    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
}

func (UpdateTargetAssetRequest) BinaryRequestBody

func (request UpdateTargetAssetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateTargetAssetRequest) HTTPRequest

func (request UpdateTargetAssetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTargetAssetRequest) RetryPolicy

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

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

func (UpdateTargetAssetRequest) String

func (request UpdateTargetAssetRequest) String() string

func (UpdateTargetAssetRequest) ValidateEnumValue

func (request UpdateTargetAssetRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateTargetAssetResponse

UpdateTargetAssetResponse wrapper for the UpdateTargetAsset operation

type UpdateTargetAssetResponse 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"`
}

func (UpdateTargetAssetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateTargetAssetResponse) String

func (response UpdateTargetAssetResponse) String() string

type UpdateVmTargetAssetDetails

UpdateVmTargetAssetDetails Description of the VM target asset.

type UpdateVmTargetAssetDetails struct {

    // A boolean indicating whether the asset should be migrated.
    IsExcludedFromExecution *bool `mandatory:"false" json:"isExcludedFromExecution"`

    // Performance of the block volumes.
    BlockVolumesPerformance *int `mandatory:"false" json:"blockVolumesPerformance"`

    // Microsoft license for VM configuration.
    MsLicense *string `mandatory:"false" json:"msLicense"`

    UserSpec *LaunchInstanceDetails `mandatory:"false" json:"userSpec"`

    // Preferred VM shape type that you provided.
    PreferredShapeType VmTargetAssetPreferredShapeTypeEnum `mandatory:"false" json:"preferredShapeType,omitempty"`
}

func (UpdateVmTargetAssetDetails) GetIsExcludedFromExecution

func (m UpdateVmTargetAssetDetails) GetIsExcludedFromExecution() *bool

GetIsExcludedFromExecution returns IsExcludedFromExecution

func (UpdateVmTargetAssetDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateVmTargetAssetDetails) String

func (m UpdateVmTargetAssetDetails) String() string

func (UpdateVmTargetAssetDetails) ValidateEnumValue

func (m UpdateVmTargetAssetDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateVmWareAssetSourceDetails

UpdateVmWareAssetSourceDetails Asset source update details.

type UpdateVmWareAssetSourceDetails struct {

    // A user-friendly name for the asset source. Does not have to be unique, and it's mutable.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets.
    AssetsCompartmentId *string `mandatory:"false" json:"assetsCompartmentId"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

    // Endpoint for VMware asset discovery and replication in the form of ```https://<host>:<port>/sdk```
    VcenterEndpoint *string `mandatory:"false" json:"vcenterEndpoint"`

    DiscoveryCredentials *AssetSourceCredentials `mandatory:"false" json:"discoveryCredentials"`

    ReplicationCredentials *AssetSourceCredentials `mandatory:"false" json:"replicationCredentials"`

    // Flag indicating whether historical metrics are collected for assets, originating from this asset source.
    AreHistoricalMetricsCollected *bool `mandatory:"false" json:"areHistoricalMetricsCollected"`

    // Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
    AreRealtimeMetricsCollected *bool `mandatory:"false" json:"areRealtimeMetricsCollected"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the discovery schedule that is going to be assigned to an asset source.
    DiscoveryScheduleId *string `mandatory:"false" json:"discoveryScheduleId"`
}

func (UpdateVmWareAssetSourceDetails) GetAssetsCompartmentId

func (m UpdateVmWareAssetSourceDetails) GetAssetsCompartmentId() *string

GetAssetsCompartmentId returns AssetsCompartmentId

func (UpdateVmWareAssetSourceDetails) GetDefinedTags

func (m UpdateVmWareAssetSourceDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateVmWareAssetSourceDetails) GetDisplayName

func (m UpdateVmWareAssetSourceDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateVmWareAssetSourceDetails) GetFreeformTags

func (m UpdateVmWareAssetSourceDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateVmWareAssetSourceDetails) GetSystemTags

func (m UpdateVmWareAssetSourceDetails) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (UpdateVmWareAssetSourceDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateVmWareAssetSourceDetails) String

func (m UpdateVmWareAssetSourceDetails) String() string

func (UpdateVmWareAssetSourceDetails) ValidateEnumValue

func (m UpdateVmWareAssetSourceDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VmTargetAsset

VmTargetAsset Description of the VM target asset.

type VmTargetAsset struct {

    // Unique identifier that is immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // OCID of the associated migration plan.
    MigrationPlanId *string `mandatory:"true" json:"migrationPlanId"`

    // A boolean indicating whether the asset should be migrated.
    IsExcludedFromExecution *bool `mandatory:"true" json:"isExcludedFromExecution"`

    EstimatedCost *CostEstimation `mandatory:"true" json:"estimatedCost"`

    // The time when the target asset was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time when the target asset was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The time when the assessment was done. An RFC3339 formatted datetime string.
    TimeAssessed *common.SDKTime `mandatory:"true" json:"timeAssessed"`

    // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // Compartment identifier
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // Created resource identifier
    CreatedResourceId *string `mandatory:"false" json:"createdResourceId"`

    // Messages about the compatibility issues.
    CompatibilityMessages []CompatibilityMessage `mandatory:"false" json:"compatibilityMessages"`

    MigrationAsset *MigrationAsset `mandatory:"false" json:"migrationAsset"`

    TestSpec *LaunchInstanceDetails `mandatory:"false" json:"testSpec"`

    // Performance of the block volumes.
    BlockVolumesPerformance *int `mandatory:"false" json:"blockVolumesPerformance"`

    // Microsoft license for VM configuration.
    MsLicense *string `mandatory:"false" json:"msLicense"`

    UserSpec *LaunchInstanceDetails `mandatory:"false" json:"userSpec"`

    RecommendedSpec *LaunchInstanceDetails `mandatory:"false" json:"recommendedSpec"`

    // Preferred VM shape type that you provide.
    PreferredShapeType VmTargetAssetPreferredShapeTypeEnum `mandatory:"true" json:"preferredShapeType"`

    // The current state of the target asset.
    LifecycleState TargetAssetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

func (VmTargetAsset) GetCompartmentId

func (m VmTargetAsset) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (VmTargetAsset) GetCompatibilityMessages

func (m VmTargetAsset) GetCompatibilityMessages() []CompatibilityMessage

GetCompatibilityMessages returns CompatibilityMessages

func (VmTargetAsset) GetCreatedResourceId

func (m VmTargetAsset) GetCreatedResourceId() *string

GetCreatedResourceId returns CreatedResourceId

func (VmTargetAsset) GetDisplayName

func (m VmTargetAsset) GetDisplayName() *string

GetDisplayName returns DisplayName

func (VmTargetAsset) GetEstimatedCost

func (m VmTargetAsset) GetEstimatedCost() *CostEstimation

GetEstimatedCost returns EstimatedCost

func (VmTargetAsset) GetId

func (m VmTargetAsset) GetId() *string

GetId returns Id

func (VmTargetAsset) GetIsExcludedFromExecution

func (m VmTargetAsset) GetIsExcludedFromExecution() *bool

GetIsExcludedFromExecution returns IsExcludedFromExecution

func (VmTargetAsset) GetLifecycleDetails

func (m VmTargetAsset) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (VmTargetAsset) GetLifecycleState

func (m VmTargetAsset) GetLifecycleState() TargetAssetLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (VmTargetAsset) GetMigrationAsset

func (m VmTargetAsset) GetMigrationAsset() *MigrationAsset

GetMigrationAsset returns MigrationAsset

func (VmTargetAsset) GetMigrationPlanId

func (m VmTargetAsset) GetMigrationPlanId() *string

GetMigrationPlanId returns MigrationPlanId

func (VmTargetAsset) GetTimeAssessed

func (m VmTargetAsset) GetTimeAssessed() *common.SDKTime

GetTimeAssessed returns TimeAssessed

func (VmTargetAsset) GetTimeCreated

func (m VmTargetAsset) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (VmTargetAsset) GetTimeUpdated

func (m VmTargetAsset) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (VmTargetAsset) MarshalJSON

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

MarshalJSON marshals to json representation

func (VmTargetAsset) String

func (m VmTargetAsset) String() string

func (VmTargetAsset) ValidateEnumValue

func (m VmTargetAsset) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VmTargetAssetPreferredShapeTypeEnum

VmTargetAssetPreferredShapeTypeEnum Enum with underlying type: string

type VmTargetAssetPreferredShapeTypeEnum string

Set of constants representing the allowable values for VmTargetAssetPreferredShapeTypeEnum

const (
    VmTargetAssetPreferredShapeTypeVm               VmTargetAssetPreferredShapeTypeEnum = "VM"
    VmTargetAssetPreferredShapeTypeVmIntel          VmTargetAssetPreferredShapeTypeEnum = "VM_INTEL"
    VmTargetAssetPreferredShapeTypeVmIntelStandard  VmTargetAssetPreferredShapeTypeEnum = "VM_INTEL_Standard"
    VmTargetAssetPreferredShapeTypeVmIntelDensio    VmTargetAssetPreferredShapeTypeEnum = "VM_INTEL_DensIO"
    VmTargetAssetPreferredShapeTypeVmIntelGpu       VmTargetAssetPreferredShapeTypeEnum = "VM_INTEL_GPU"
    VmTargetAssetPreferredShapeTypeVmIntelOptimized VmTargetAssetPreferredShapeTypeEnum = "VM_INTEL_Optimized"
    VmTargetAssetPreferredShapeTypeVmAmd            VmTargetAssetPreferredShapeTypeEnum = "VM_AMD"
    VmTargetAssetPreferredShapeTypeVmAmdStandard    VmTargetAssetPreferredShapeTypeEnum = "VM_AMD_Standard"
)

func GetMappingVmTargetAssetPreferredShapeTypeEnum

func GetMappingVmTargetAssetPreferredShapeTypeEnum(val string) (VmTargetAssetPreferredShapeTypeEnum, bool)

GetMappingVmTargetAssetPreferredShapeTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetVmTargetAssetPreferredShapeTypeEnumValues

func GetVmTargetAssetPreferredShapeTypeEnumValues() []VmTargetAssetPreferredShapeTypeEnum

GetVmTargetAssetPreferredShapeTypeEnumValues Enumerates the set of values for VmTargetAssetPreferredShapeTypeEnum

type VmTargetAssetSummary

VmTargetAssetSummary Summary of the VM target asset.

type VmTargetAssetSummary struct {

    // Unique identifier that is immutable on creation.
    Id *string `mandatory:"true" json:"id"`

    // OCID of the associated migration plan.
    MigrationPlanId *string `mandatory:"true" json:"migrationPlanId"`

    // A boolean indicating whether the asset should be migrated.
    IsExcludedFromExecution *bool `mandatory:"true" json:"isExcludedFromExecution"`

    EstimatedCost *CostEstimation `mandatory:"true" json:"estimatedCost"`

    // The time when the target asset was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time when the target asset was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The time when the assessment was done. An RFC3339 formatted datetime string.
    TimeAssessed *common.SDKTime `mandatory:"true" json:"timeAssessed"`

    UserSpec *LaunchInstanceDetails `mandatory:"true" json:"userSpec"`

    RecommendedSpec *LaunchInstanceDetails `mandatory:"true" json:"recommendedSpec"`

    // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Compartment identifier
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // Created resource identifier
    CreatedResourceId *string `mandatory:"false" json:"createdResourceId"`

    // Messages about compatibility issues.
    CompatibilityMessages []CompatibilityMessage `mandatory:"false" json:"compatibilityMessages"`

    // A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    MigrationAsset *MigrationAssetSummary `mandatory:"false" json:"migrationAsset"`

    // Performance of the block volumes.
    BlockVolumesPerformance *int `mandatory:"false" json:"blockVolumesPerformance"`

    // Microsoft license for VM configuration.
    MsLicense *string `mandatory:"false" json:"msLicense"`

    // The current state of the target asset.
    LifecycleState TargetAssetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The preferred VM shape type that you provide.
    PreferredShapeType VmTargetAssetPreferredShapeTypeEnum `mandatory:"true" json:"preferredShapeType"`
}

func (VmTargetAssetSummary) GetCompartmentId

func (m VmTargetAssetSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (VmTargetAssetSummary) GetCompatibilityMessages

func (m VmTargetAssetSummary) GetCompatibilityMessages() []CompatibilityMessage

GetCompatibilityMessages returns CompatibilityMessages

func (VmTargetAssetSummary) GetCreatedResourceId

func (m VmTargetAssetSummary) GetCreatedResourceId() *string

GetCreatedResourceId returns CreatedResourceId

func (VmTargetAssetSummary) GetDisplayName

func (m VmTargetAssetSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (VmTargetAssetSummary) GetEstimatedCost

func (m VmTargetAssetSummary) GetEstimatedCost() *CostEstimation

GetEstimatedCost returns EstimatedCost

func (VmTargetAssetSummary) GetId

func (m VmTargetAssetSummary) GetId() *string

GetId returns Id

func (VmTargetAssetSummary) GetIsExcludedFromExecution

func (m VmTargetAssetSummary) GetIsExcludedFromExecution() *bool

GetIsExcludedFromExecution returns IsExcludedFromExecution

func (VmTargetAssetSummary) GetLifecycleDetails

func (m VmTargetAssetSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (VmTargetAssetSummary) GetLifecycleState

func (m VmTargetAssetSummary) GetLifecycleState() TargetAssetLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (VmTargetAssetSummary) GetMigrationAsset

func (m VmTargetAssetSummary) GetMigrationAsset() *MigrationAssetSummary

GetMigrationAsset returns MigrationAsset

func (VmTargetAssetSummary) GetMigrationPlanId

func (m VmTargetAssetSummary) GetMigrationPlanId() *string

GetMigrationPlanId returns MigrationPlanId

func (VmTargetAssetSummary) GetTimeAssessed

func (m VmTargetAssetSummary) GetTimeAssessed() *common.SDKTime

GetTimeAssessed returns TimeAssessed

func (VmTargetAssetSummary) GetTimeCreated

func (m VmTargetAssetSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (VmTargetAssetSummary) GetTimeUpdated

func (m VmTargetAssetSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (VmTargetAssetSummary) MarshalJSON

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

MarshalJSON marshals to json representation

func (VmTargetAssetSummary) String

func (m VmTargetAssetSummary) String() string

func (VmTargetAssetSummary) ValidateEnumValue

func (m VmTargetAssetSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VmTargetEnvironment

VmTargetEnvironment Description of the VM target environment.

type VmTargetEnvironment struct {

    // OCID of the VM configuration VCN.
    Vcn *string `mandatory:"true" json:"vcn"`

    // OCID of the VM configuration subnet.
    Subnet *string `mandatory:"true" json:"subnet"`

    // Target compartment identifier
    TargetCompartmentId *string `mandatory:"false" json:"targetCompartmentId"`

    // Availability Domain of the VM configuration.
    AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

    // Fault domain of the VM configuration.
    FaultDomain *string `mandatory:"false" json:"faultDomain"`

    // OCID of the dedicated VM configuration host.
    DedicatedVmHost *string `mandatory:"false" json:"dedicatedVmHost"`

    // Microsoft license for the VM configuration.
    MsLicense *string `mandatory:"false" json:"msLicense"`

    // Preferred VM shape type provided by the customer.
    PreferredShapeType VmTargetAssetPreferredShapeTypeEnum `mandatory:"false" json:"preferredShapeType,omitempty"`
}

func (VmTargetEnvironment) GetTargetCompartmentId

func (m VmTargetEnvironment) GetTargetCompartmentId() *string

GetTargetCompartmentId returns TargetCompartmentId

func (VmTargetEnvironment) MarshalJSON

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

MarshalJSON marshals to json representation

func (VmTargetEnvironment) String

func (m VmTargetEnvironment) String() string

func (VmTargetEnvironment) ValidateEnumValue

func (m VmTargetEnvironment) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VmWareAssetSource

VmWareAssetSource Description of an asset source.

type VmWareAssetSource struct {

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

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

    // A user-friendly name for the asset source. Does not have to be unique, and it's mutable.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the environment.
    EnvironmentId *string `mandatory:"true" json:"environmentId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets.
    InventoryId *string `mandatory:"true" json:"inventoryId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets.
    AssetsCompartmentId *string `mandatory:"true" json:"assetsCompartmentId"`

    // The detailed state of the asset source.
    LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`

    // The time when the asset source was created in the RFC3339 format.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The point in time that the asset source was last updated in the RFC3339 format.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // Endpoint for VMware asset discovery and replication in the form of ```https://<host>:<port>/sdk```
    VcenterEndpoint *string `mandatory:"true" json:"vcenterEndpoint"`

    DiscoveryCredentials *AssetSourceCredentials `mandatory:"true" json:"discoveryCredentials"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of an attached discovery schedule.
    DiscoveryScheduleId *string `mandatory:"false" json:"discoveryScheduleId"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

    ReplicationCredentials *AssetSourceCredentials `mandatory:"false" json:"replicationCredentials"`

    // Flag indicating whether historical metrics are collected for assets, originating from this asset source.
    AreHistoricalMetricsCollected *bool `mandatory:"false" json:"areHistoricalMetricsCollected"`

    // Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
    AreRealtimeMetricsCollected *bool `mandatory:"false" json:"areRealtimeMetricsCollected"`

    // The current state of the asset source.
    LifecycleState AssetSourceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

func (VmWareAssetSource) GetAssetsCompartmentId

func (m VmWareAssetSource) GetAssetsCompartmentId() *string

GetAssetsCompartmentId returns AssetsCompartmentId

func (VmWareAssetSource) GetCompartmentId

func (m VmWareAssetSource) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (VmWareAssetSource) GetDefinedTags

func (m VmWareAssetSource) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (VmWareAssetSource) GetDiscoveryScheduleId

func (m VmWareAssetSource) GetDiscoveryScheduleId() *string

GetDiscoveryScheduleId returns DiscoveryScheduleId

func (VmWareAssetSource) GetDisplayName

func (m VmWareAssetSource) GetDisplayName() *string

GetDisplayName returns DisplayName

func (VmWareAssetSource) GetEnvironmentId

func (m VmWareAssetSource) GetEnvironmentId() *string

GetEnvironmentId returns EnvironmentId

func (VmWareAssetSource) GetFreeformTags

func (m VmWareAssetSource) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (VmWareAssetSource) GetId

func (m VmWareAssetSource) GetId() *string

GetId returns Id

func (VmWareAssetSource) GetInventoryId

func (m VmWareAssetSource) GetInventoryId() *string

GetInventoryId returns InventoryId

func (VmWareAssetSource) GetLifecycleDetails

func (m VmWareAssetSource) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (VmWareAssetSource) GetLifecycleState

func (m VmWareAssetSource) GetLifecycleState() AssetSourceLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (VmWareAssetSource) GetSystemTags

func (m VmWareAssetSource) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (VmWareAssetSource) GetTimeCreated

func (m VmWareAssetSource) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (VmWareAssetSource) GetTimeUpdated

func (m VmWareAssetSource) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (VmWareAssetSource) MarshalJSON

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

MarshalJSON marshals to json representation

func (VmWareAssetSource) String

func (m VmWareAssetSource) String() string

func (VmWareAssetSource) ValidateEnumValue

func (m VmWareAssetSource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VmWareAssetSourceSummary

VmWareAssetSourceSummary Description of an asset source.

type VmWareAssetSourceSummary struct {

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

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

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the environment.
    EnvironmentId *string `mandatory:"true" json:"environmentId"`

    // A user-friendly name for the asset source. Does not have to be unique, and it's mutable.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The detailed state of the asset source.
    LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the inventory that will contain created assets.
    InventoryId *string `mandatory:"true" json:"inventoryId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets.
    AssetsCompartmentId *string `mandatory:"true" json:"assetsCompartmentId"`

    // Endpoint for VMware asset discovery and replication in the form of ```https://<host>:<port>/sdk```
    VcenterEndpoint *string `mandatory:"true" json:"vcenterEndpoint"`

    // The time when the asset source was created in RFC3339 format.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The point in time that the asset source was last updated in RFC3339 format.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

    // The current state of the asset source.
    LifecycleState AssetSourceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

func (VmWareAssetSourceSummary) GetAssetsCompartmentId

func (m VmWareAssetSourceSummary) GetAssetsCompartmentId() *string

GetAssetsCompartmentId returns AssetsCompartmentId

func (VmWareAssetSourceSummary) GetCompartmentId

func (m VmWareAssetSourceSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (VmWareAssetSourceSummary) GetDefinedTags

func (m VmWareAssetSourceSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (VmWareAssetSourceSummary) GetDisplayName

func (m VmWareAssetSourceSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (VmWareAssetSourceSummary) GetEnvironmentId

func (m VmWareAssetSourceSummary) GetEnvironmentId() *string

GetEnvironmentId returns EnvironmentId

func (VmWareAssetSourceSummary) GetFreeformTags

func (m VmWareAssetSourceSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (VmWareAssetSourceSummary) GetId

func (m VmWareAssetSourceSummary) GetId() *string

GetId returns Id

func (VmWareAssetSourceSummary) GetInventoryId

func (m VmWareAssetSourceSummary) GetInventoryId() *string

GetInventoryId returns InventoryId

func (VmWareAssetSourceSummary) GetLifecycleDetails

func (m VmWareAssetSourceSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (VmWareAssetSourceSummary) GetLifecycleState

func (m VmWareAssetSourceSummary) GetLifecycleState() AssetSourceLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (VmWareAssetSourceSummary) GetSystemTags

func (m VmWareAssetSourceSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (VmWareAssetSourceSummary) GetTimeCreated

func (m VmWareAssetSourceSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (VmWareAssetSourceSummary) GetTimeUpdated

func (m VmWareAssetSourceSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (VmWareAssetSourceSummary) MarshalJSON

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

MarshalJSON marshals to json representation

func (VmWareAssetSourceSummary) String

func (m VmWareAssetSourceSummary) String() string

func (VmWareAssetSourceSummary) ValidateEnumValue

func (m VmWareAssetSourceSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type VolumeCostEstimation

VolumeCostEstimation Cost estimation for volume

type VolumeCostEstimation struct {

    // Gigabyte storage capacity
    CapacityGb *float32 `mandatory:"true" json:"capacityGb"`

    // Gigabyte storage capacity per month.
    TotalGbPerMonth *float32 `mandatory:"true" json:"totalGbPerMonth"`

    // Volume description
    Description *string `mandatory:"false" json:"description"`

    // Gigabyte storage capacity per month by subscription
    TotalGbPerMonthBySubscription *float32 `mandatory:"false" json:"totalGbPerMonthBySubscription"`
}

func (VolumeCostEstimation) String

func (m VolumeCostEstimation) String() string

func (VolumeCostEstimation) ValidateEnumValue

func (m VolumeCostEstimation) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequest

WorkRequest A description of a work request status.

type WorkRequest struct {

    // The type of the work request.
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

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

    // The ID of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment that contains the work request. Work requests should be scoped to
    // the same compartment as the resource that is affected by the work request. If the work request affects multiple resources,
    // and these resources are not in the same compartment, the service team can choose the primary
    // resource of the compartment to be used.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

    // The percentage of request completed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time when the request was created, as described in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time when the request started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time when the object was complete, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestError

WorkRequestError An error encountered while executing a work request.

type WorkRequestError struct {

    // A machine-usable code for the error that occured. Error codes are listed on
    // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
    Code *string `mandatory:"true" json:"code"`

    // A human-readable description of the issue encountered.
    Message *string `mandatory:"true" json:"message"`

    // The time when the error occured. An RFC3339 formatted datetime string.
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

func (m WorkRequestError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestErrorCollection

WorkRequestErrorCollection Results of the work request error search. Contains both work request error items and other information, such as metadata.

type WorkRequestErrorCollection struct {

    // List of work request error objects.
    Items []WorkRequestError `mandatory:"true" json:"items"`
}

func (WorkRequestErrorCollection) String

func (m WorkRequestErrorCollection) String() string

func (WorkRequestErrorCollection) ValidateEnumValue

func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntry

WorkRequestLogEntry A log message from the execution of a work request.

type WorkRequestLogEntry struct {

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

    // The time when the log message was written. An RFC3339 formatted datetime string.
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntryCollection

WorkRequestLogEntryCollection Results of the work request log search. Contains both work request log items and other information, such as metadata.

type WorkRequestLogEntryCollection struct {

    // List of work request log entries.
    Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

func (WorkRequestLogEntryCollection) String

func (m WorkRequestLogEntryCollection) String() string

func (WorkRequestLogEntryCollection) ValidateEnumValue

func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResource

WorkRequestResource A resource that is created and operated by a work request.

type WorkRequestResource struct {

    // The resource type that is affected by the work request.
    EntityType *string `mandatory:"true" json:"entityType"`

    // The way in which this resource is affected by the work is tracked in the work request.
    // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
    // work is complete for that resource. At this point, it transitions to CREATED, UPDATED,
    // or DELETED, respectively.
    ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`

    // The identifier of the resource that is affected by the work request.
    Identifier *string `mandatory:"true" json:"identifier"`

    // The URI path where you can do a GET operation to access the resource metadata.
    EntityUri *string `mandatory:"false" json:"entityUri"`
}

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

func (m WorkRequestResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestSummary

WorkRequestSummary A summary of the status of a work request.

type WorkRequestSummary struct {

    // The type of work request.
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

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

    // The ID of the work request.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment that contains the work request. Work requests should be scoped to
    // the same compartment as the resource that is affected by the work request. If the work request affects multiple resources,
    // and these resources are not in the same compartment, the service team can choose the primary
    // resource of the compartment to be used.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

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

    // The percentage of request completed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time when the request was created, as described in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time when the request started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time when the object was complete, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

    // Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility.
    // 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"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

func (m WorkRequestSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestSummaryCollection

WorkRequestSummaryCollection Results of the work request search. Contains both work request items and other information, such as metadata.

type WorkRequestSummaryCollection struct {

    // List of work request summary objects.
    Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

func (WorkRequestSummaryCollection) String

func (m WorkRequestSummaryCollection) String() string

func (WorkRequestSummaryCollection) ValidateEnumValue

func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly