dts

package
v65.73.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2024 License: Apache-2.0, UPL-1.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetApplianceExportJobLifecycleStateEnumStringValues

func GetApplianceExportJobLifecycleStateEnumStringValues() []string

GetApplianceExportJobLifecycleStateEnumStringValues Enumerates the set of values in String for ApplianceExportJobLifecycleStateEnum

func GetApplianceExportJobSummaryLifecycleStateEnumStringValues

func GetApplianceExportJobSummaryLifecycleStateEnumStringValues() []string

GetApplianceExportJobSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ApplianceExportJobSummaryLifecycleStateEnum

func GetCreateTransferJobDetailsDeviceTypeEnumStringValues

func GetCreateTransferJobDetailsDeviceTypeEnumStringValues() []string

GetCreateTransferJobDetailsDeviceTypeEnumStringValues Enumerates the set of values in String for CreateTransferJobDetailsDeviceTypeEnum

func GetListApplianceExportJobsLifecycleStateEnumStringValues

func GetListApplianceExportJobsLifecycleStateEnumStringValues() []string

GetListApplianceExportJobsLifecycleStateEnumStringValues Enumerates the set of values in String for ListApplianceExportJobsLifecycleStateEnum

func GetListTransferAppliancesLifecycleStateEnumStringValues

func GetListTransferAppliancesLifecycleStateEnumStringValues() []string

GetListTransferAppliancesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTransferAppliancesLifecycleStateEnum

func GetListTransferDevicesLifecycleStateEnumStringValues

func GetListTransferDevicesLifecycleStateEnumStringValues() []string

GetListTransferDevicesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTransferDevicesLifecycleStateEnum

func GetListTransferJobsLifecycleStateEnumStringValues

func GetListTransferJobsLifecycleStateEnumStringValues() []string

GetListTransferJobsLifecycleStateEnumStringValues Enumerates the set of values in String for ListTransferJobsLifecycleStateEnum

func GetListTransferPackagesLifecycleStateEnumStringValues

func GetListTransferPackagesLifecycleStateEnumStringValues() []string

GetListTransferPackagesLifecycleStateEnumStringValues Enumerates the set of values in String for ListTransferPackagesLifecycleStateEnum

func GetNewTransferDeviceLifecycleStateEnumStringValues

func GetNewTransferDeviceLifecycleStateEnumStringValues() []string

GetNewTransferDeviceLifecycleStateEnumStringValues Enumerates the set of values in String for NewTransferDeviceLifecycleStateEnum

func GetTransferApplianceEntitlementLifecycleStateEnumStringValues

func GetTransferApplianceEntitlementLifecycleStateEnumStringValues() []string

GetTransferApplianceEntitlementLifecycleStateEnumStringValues Enumerates the set of values in String for TransferApplianceEntitlementLifecycleStateEnum

func GetTransferApplianceLifecycleStateEnumStringValues

func GetTransferApplianceLifecycleStateEnumStringValues() []string

GetTransferApplianceLifecycleStateEnumStringValues Enumerates the set of values in String for TransferApplianceLifecycleStateEnum

func GetTransferApplianceSummaryLifecycleStateEnumStringValues

func GetTransferApplianceSummaryLifecycleStateEnumStringValues() []string

GetTransferApplianceSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for TransferApplianceSummaryLifecycleStateEnum

func GetTransferDeviceLifecycleStateEnumStringValues

func GetTransferDeviceLifecycleStateEnumStringValues() []string

GetTransferDeviceLifecycleStateEnumStringValues Enumerates the set of values in String for TransferDeviceLifecycleStateEnum

func GetTransferDeviceSummaryLifecycleStateEnumStringValues

func GetTransferDeviceSummaryLifecycleStateEnumStringValues() []string

GetTransferDeviceSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for TransferDeviceSummaryLifecycleStateEnum

func GetTransferJobDeviceTypeEnumStringValues

func GetTransferJobDeviceTypeEnumStringValues() []string

GetTransferJobDeviceTypeEnumStringValues Enumerates the set of values in String for TransferJobDeviceTypeEnum

func GetTransferJobLifecycleStateEnumStringValues

func GetTransferJobLifecycleStateEnumStringValues() []string

GetTransferJobLifecycleStateEnumStringValues Enumerates the set of values in String for TransferJobLifecycleStateEnum

func GetTransferJobSummaryDeviceTypeEnumStringValues

func GetTransferJobSummaryDeviceTypeEnumStringValues() []string

GetTransferJobSummaryDeviceTypeEnumStringValues Enumerates the set of values in String for TransferJobSummaryDeviceTypeEnum

func GetTransferJobSummaryLifecycleStateEnumStringValues

func GetTransferJobSummaryLifecycleStateEnumStringValues() []string

GetTransferJobSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for TransferJobSummaryLifecycleStateEnum

func GetTransferPackageLifecycleStateEnumStringValues

func GetTransferPackageLifecycleStateEnumStringValues() []string

GetTransferPackageLifecycleStateEnumStringValues Enumerates the set of values in String for TransferPackageLifecycleStateEnum

func GetTransferPackageSummaryLifecycleStateEnumStringValues

func GetTransferPackageSummaryLifecycleStateEnumStringValues() []string

GetTransferPackageSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for TransferPackageSummaryLifecycleStateEnum

func GetUpdateApplianceExportJobDetailsLifecycleStateEnumStringValues

func GetUpdateApplianceExportJobDetailsLifecycleStateEnumStringValues() []string

GetUpdateApplianceExportJobDetailsLifecycleStateEnumStringValues Enumerates the set of values in String for UpdateApplianceExportJobDetailsLifecycleStateEnum

func GetUpdateTransferApplianceDetailsLifecycleStateEnumStringValues

func GetUpdateTransferApplianceDetailsLifecycleStateEnumStringValues() []string

GetUpdateTransferApplianceDetailsLifecycleStateEnumStringValues Enumerates the set of values in String for UpdateTransferApplianceDetailsLifecycleStateEnum

func GetUpdateTransferDeviceDetailsLifecycleStateEnumStringValues

func GetUpdateTransferDeviceDetailsLifecycleStateEnumStringValues() []string

GetUpdateTransferDeviceDetailsLifecycleStateEnumStringValues Enumerates the set of values in String for UpdateTransferDeviceDetailsLifecycleStateEnum

func GetUpdateTransferJobDetailsDeviceTypeEnumStringValues

func GetUpdateTransferJobDetailsDeviceTypeEnumStringValues() []string

GetUpdateTransferJobDetailsDeviceTypeEnumStringValues Enumerates the set of values in String for UpdateTransferJobDetailsDeviceTypeEnum

func GetUpdateTransferJobDetailsLifecycleStateEnumStringValues

func GetUpdateTransferJobDetailsLifecycleStateEnumStringValues() []string

GetUpdateTransferJobDetailsLifecycleStateEnumStringValues Enumerates the set of values in String for UpdateTransferJobDetailsLifecycleStateEnum

func GetUpdateTransferPackageDetailsLifecycleStateEnumStringValues

func GetUpdateTransferPackageDetailsLifecycleStateEnumStringValues() []string

GetUpdateTransferPackageDetailsLifecycleStateEnumStringValues Enumerates the set of values in String for UpdateTransferPackageDetailsLifecycleStateEnum

Types

type ApplianceExportJob

type ApplianceExportJob struct {
	Id *string `mandatory:"true" json:"id"`

	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	BucketName *string `mandatory:"false" json:"bucketName"`

	DisplayName *string `mandatory:"false" json:"displayName"`

	CreationTime *common.SDKTime `mandatory:"false" json:"creationTime"`

	LifecycleState ApplianceExportJobLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A property that can contain details on the lifecycle.
	LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"`

	// Serial Number of the Appliance associated with this Export Job.
	ApplianceSerialNumber *string `mandatory:"false" json:"applianceSerialNumber"`

	// Passphrase associated with the Appliance.
	ApplianceDecryptionPassphrase *string `mandatory:"false" json:"applianceDecryptionPassphrase"`

	// Shipping Vendor selected to ship the Appliance associated with this job.
	ApplianceDeliveryVendor *string `mandatory:"false" json:"applianceDeliveryVendor"`

	// Tracking number associated with the shipment while shipping the Appliance to Customer.
	ApplianceDeliveryTrackingNumber *string `mandatory:"false" json:"applianceDeliveryTrackingNumber"`

	// Tracking number associated with the shipment while shipping the Appliance back to Oracle.
	ApplianceReturnDeliveryTrackingNumber *string `mandatory:"false" json:"applianceReturnDeliveryTrackingNumber"`

	// Unique number associated with the security tie used to seal the Appliance case.
	SendingSecurityTie *string `mandatory:"false" json:"sendingSecurityTie"`

	// Unique number associated with the return security tie used to seal the Appliance case.
	ReceivingSecurityTie *string `mandatory:"false" json:"receivingSecurityTie"`

	// List of objects with names matching this prefix would be part of this export job.
	Prefix *string `mandatory:"false" json:"prefix"`

	// The name of the first object in the range of objects that are expected to be part of this export job.
	RangeStart *string `mandatory:"false" json:"rangeStart"`

	// The name of the last object in the range of objects that are expected to be part of this export job.
	RangeEnd *string `mandatory:"false" json:"rangeEnd"`

	// Total number of objects that are exported in this job.
	NumberOfObjects *string `mandatory:"false" json:"numberOfObjects"`

	// Total size of objects in Bytes that are exported in this job.
	TotalSizeInBytes *string `mandatory:"false" json:"totalSizeInBytes"`

	// First object in the list of objects that are exported in this job.
	FirstObject *string `mandatory:"false" json:"firstObject"`

	// Last object in the list of objects that are exported in this job.
	LastObject *string `mandatory:"false" json:"lastObject"`

	// First object from which the next potential export job could start.
	NextObject *string `mandatory:"false" json:"nextObject"`

	// Url of the Manifest File associated with this export job.
	ManifestFile *string `mandatory:"false" json:"manifestFile"`

	// md5 digest of the manifest file.
	ManifestMd5 *string `mandatory:"false" json:"manifestMd5"`

	// Polices to grant Data Transfer Service to access objects in the Bucket
	BucketAccessPolicies []string `mandatory:"false" json:"bucketAccessPolicies"`

	ReturnShippingLabelUri *string `mandatory:"false" json:"returnShippingLabelUri"`

	// Expected return date from customer for the device, time portion should be zero.
	ExpectedReturnDate *common.SDKTime `mandatory:"false" json:"expectedReturnDate"`

	// Start time for the window to pickup the device from customer.
	PickupWindowStartTime *common.SDKTime `mandatory:"false" json:"pickupWindowStartTime"`

	// End time for the window to pickup the device from customer.
	PickupWindowEndTime *common.SDKTime `mandatory:"false" json:"pickupWindowEndTime"`

	CustomerShippingAddress *ShippingAddress `mandatory:"false" json:"customerShippingAddress"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

ApplianceExportJob The representation of ApplianceExportJob

func (ApplianceExportJob) String

func (m ApplianceExportJob) String() string

func (ApplianceExportJob) ValidateEnumValue

func (m ApplianceExportJob) 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 ApplianceExportJobClient

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

ApplianceExportJobClient a client for ApplianceExportJob

func NewApplianceExportJobClientWithConfigurationProvider

func NewApplianceExportJobClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ApplianceExportJobClient, err error)

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

func NewApplianceExportJobClientWithOboToken

func NewApplianceExportJobClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ApplianceExportJobClient, err error)

NewApplianceExportJobClientWithOboToken Creates a new default ApplianceExportJob 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 (ApplianceExportJobClient) ChangeApplianceExportJobCompartment

func (client ApplianceExportJobClient) ChangeApplianceExportJobCompartment(ctx context.Context, request ChangeApplianceExportJobCompartmentRequest) (response ChangeApplianceExportJobCompartmentResponse, err error)

ChangeApplianceExportJobCompartment Moves a ApplianceExportJob into a different compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/ChangeApplianceExportJobCompartment.go.html to see an example of how to use ChangeApplianceExportJobCompartment API.

func (*ApplianceExportJobClient) ConfigurationProvider

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

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

func (ApplianceExportJobClient) CreateApplianceExportJob

func (client ApplianceExportJobClient) CreateApplianceExportJob(ctx context.Context, request CreateApplianceExportJobRequest) (response CreateApplianceExportJobResponse, err error)

CreateApplianceExportJob Creates a new Appliance Export Job that corresponds with customer's logical dataset

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/CreateApplianceExportJob.go.html to see an example of how to use CreateApplianceExportJob API.

func (ApplianceExportJobClient) DeleteApplianceExportJob

func (client ApplianceExportJobClient) DeleteApplianceExportJob(ctx context.Context, request DeleteApplianceExportJobRequest) (response DeleteApplianceExportJobResponse, err error)

DeleteApplianceExportJob deletes a Appliance Export Job

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/DeleteApplianceExportJob.go.html to see an example of how to use DeleteApplianceExportJob API.

func (ApplianceExportJobClient) GetApplianceExportJob

func (client ApplianceExportJobClient) GetApplianceExportJob(ctx context.Context, request GetApplianceExportJobRequest) (response GetApplianceExportJobResponse, err error)

GetApplianceExportJob Describes a Appliance Export Job in detail

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/GetApplianceExportJob.go.html to see an example of how to use GetApplianceExportJob API.

func (ApplianceExportJobClient) ListApplianceExportJobs

func (client ApplianceExportJobClient) ListApplianceExportJobs(ctx context.Context, request ListApplianceExportJobsRequest) (response ListApplianceExportJobsResponse, err error)

ListApplianceExportJobs Lists Appliance Export Jobs in a given compartment

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/ListApplianceExportJobs.go.html to see an example of how to use ListApplianceExportJobs API.

func (*ApplianceExportJobClient) SetRegion

func (client *ApplianceExportJobClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ApplianceExportJobClient) UpdateApplianceExportJob

func (client ApplianceExportJobClient) UpdateApplianceExportJob(ctx context.Context, request UpdateApplianceExportJobRequest) (response UpdateApplianceExportJobResponse, err error)

UpdateApplianceExportJob Updates a Appliance Export Job that corresponds with customer's logical dataset.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/UpdateApplianceExportJob.go.html to see an example of how to use UpdateApplianceExportJob API.

type ApplianceExportJobLifecycleStateEnum

type ApplianceExportJobLifecycleStateEnum string

ApplianceExportJobLifecycleStateEnum Enum with underlying type: string

const (
	ApplianceExportJobLifecycleStateCreating   ApplianceExportJobLifecycleStateEnum = "CREATING"
	ApplianceExportJobLifecycleStateActive     ApplianceExportJobLifecycleStateEnum = "ACTIVE"
	ApplianceExportJobLifecycleStateInprogress ApplianceExportJobLifecycleStateEnum = "INPROGRESS"
	ApplianceExportJobLifecycleStateSucceeded  ApplianceExportJobLifecycleStateEnum = "SUCCEEDED"
	ApplianceExportJobLifecycleStateFailed     ApplianceExportJobLifecycleStateEnum = "FAILED"
	ApplianceExportJobLifecycleStateCancelled  ApplianceExportJobLifecycleStateEnum = "CANCELLED"
	ApplianceExportJobLifecycleStateDeleted    ApplianceExportJobLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ApplianceExportJobLifecycleStateEnum

func GetApplianceExportJobLifecycleStateEnumValues

func GetApplianceExportJobLifecycleStateEnumValues() []ApplianceExportJobLifecycleStateEnum

GetApplianceExportJobLifecycleStateEnumValues Enumerates the set of values for ApplianceExportJobLifecycleStateEnum

func GetMappingApplianceExportJobLifecycleStateEnum

func GetMappingApplianceExportJobLifecycleStateEnum(val string) (ApplianceExportJobLifecycleStateEnum, bool)

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

type ApplianceExportJobSummary

type ApplianceExportJobSummary struct {
	Id *string `mandatory:"false" json:"id"`

	BucketName *string `mandatory:"false" json:"bucketName"`

	DisplayName *string `mandatory:"false" json:"displayName"`

	CreationTime *common.SDKTime `mandatory:"false" json:"creationTime"`

	LifecycleState ApplianceExportJobSummaryLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A property that can contain details on the lifecycle.
	LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

ApplianceExportJobSummary The representation of ApplianceExportJobSummary

func (ApplianceExportJobSummary) String

func (m ApplianceExportJobSummary) String() string

func (ApplianceExportJobSummary) ValidateEnumValue

func (m ApplianceExportJobSummary) 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 ApplianceExportJobSummaryLifecycleStateEnum

type ApplianceExportJobSummaryLifecycleStateEnum string

ApplianceExportJobSummaryLifecycleStateEnum Enum with underlying type: string

const (
	ApplianceExportJobSummaryLifecycleStateCreating   ApplianceExportJobSummaryLifecycleStateEnum = "CREATING"
	ApplianceExportJobSummaryLifecycleStateActive     ApplianceExportJobSummaryLifecycleStateEnum = "ACTIVE"
	ApplianceExportJobSummaryLifecycleStateInprogress ApplianceExportJobSummaryLifecycleStateEnum = "INPROGRESS"
	ApplianceExportJobSummaryLifecycleStateSucceeded  ApplianceExportJobSummaryLifecycleStateEnum = "SUCCEEDED"
	ApplianceExportJobSummaryLifecycleStateFailed     ApplianceExportJobSummaryLifecycleStateEnum = "FAILED"
	ApplianceExportJobSummaryLifecycleStateCancelled  ApplianceExportJobSummaryLifecycleStateEnum = "CANCELLED"
	ApplianceExportJobSummaryLifecycleStateDeleted    ApplianceExportJobSummaryLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ApplianceExportJobSummaryLifecycleStateEnum

func GetApplianceExportJobSummaryLifecycleStateEnumValues

func GetApplianceExportJobSummaryLifecycleStateEnumValues() []ApplianceExportJobSummaryLifecycleStateEnum

GetApplianceExportJobSummaryLifecycleStateEnumValues Enumerates the set of values for ApplianceExportJobSummaryLifecycleStateEnum

func GetMappingApplianceExportJobSummaryLifecycleStateEnum

func GetMappingApplianceExportJobSummaryLifecycleStateEnum(val string) (ApplianceExportJobSummaryLifecycleStateEnum, bool)

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

type AttachDevicesDetails

type AttachDevicesDetails struct {

	// List of TransferDeviceLabel's
	DeviceLabels []string `mandatory:"false" json:"deviceLabels"`
}

AttachDevicesDetails The representation of AttachDevicesDetails

func (AttachDevicesDetails) String

func (m AttachDevicesDetails) String() string

func (AttachDevicesDetails) ValidateEnumValue

func (m AttachDevicesDetails) 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 AttachDevicesToTransferPackageRequest

type AttachDevicesToTransferPackageRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// Label of the Transfer Package
	TransferPackageLabel *string `mandatory:"true" contributesTo:"path" name:"transferPackageLabel"`

	// Labels of Transfer Devices to attach
	AttachDevicesDetails `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 then due to conflicting operations (e.g., if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

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

AttachDevicesToTransferPackageRequest wrapper for the AttachDevicesToTransferPackage operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/AttachDevicesToTransferPackage.go.html to see an example of how to use AttachDevicesToTransferPackageRequest.

func (AttachDevicesToTransferPackageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (AttachDevicesToTransferPackageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (AttachDevicesToTransferPackageRequest) RetryPolicy

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

func (AttachDevicesToTransferPackageRequest) String

func (AttachDevicesToTransferPackageRequest) ValidateEnumValue

func (request AttachDevicesToTransferPackageRequest) 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 AttachDevicesToTransferPackageResponse

type AttachDevicesToTransferPackageResponse struct {

	// The underlying http response
	RawResponse *http.Response

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

AttachDevicesToTransferPackageResponse wrapper for the AttachDevicesToTransferPackage operation

func (AttachDevicesToTransferPackageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (AttachDevicesToTransferPackageResponse) String

type ChangeApplianceExportJobCompartmentDetails

type ChangeApplianceExportJobCompartmentDetails struct {

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

ChangeApplianceExportJobCompartmentDetails The representation of ChangeApplianceExportJobCompartmentDetails

func (ChangeApplianceExportJobCompartmentDetails) String

func (ChangeApplianceExportJobCompartmentDetails) ValidateEnumValue

func (m ChangeApplianceExportJobCompartmentDetails) 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 ChangeApplianceExportJobCompartmentRequest

type ChangeApplianceExportJobCompartmentRequest struct {

	// ID of the Appliance Export Job
	ApplianceExportJobId *string `mandatory:"true" contributesTo:"path" name:"applianceExportJobId"`

	// CompartmentId of the destination compartment
	ChangeApplianceExportJobCompartmentDetails `contributesTo:"body"`

	// The entity tag to match. Optional, if set, the update will be successful only if the
	// object's tag matches the tag specified in the request.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

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

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

ChangeApplianceExportJobCompartmentRequest wrapper for the ChangeApplianceExportJobCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/ChangeApplianceExportJobCompartment.go.html to see an example of how to use ChangeApplianceExportJobCompartmentRequest.

func (ChangeApplianceExportJobCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeApplianceExportJobCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeApplianceExportJobCompartmentRequest) RetryPolicy

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

func (ChangeApplianceExportJobCompartmentRequest) String

func (ChangeApplianceExportJobCompartmentRequest) ValidateEnumValue

func (request ChangeApplianceExportJobCompartmentRequest) 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 ChangeApplianceExportJobCompartmentResponse

type ChangeApplianceExportJobCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeApplianceExportJobCompartmentResponse wrapper for the ChangeApplianceExportJobCompartment operation

func (ChangeApplianceExportJobCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeApplianceExportJobCompartmentResponse) String

type ChangeTransferJobCompartmentDetails

type ChangeTransferJobCompartmentDetails struct {

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

ChangeTransferJobCompartmentDetails The representation of ChangeTransferJobCompartmentDetails

func (ChangeTransferJobCompartmentDetails) String

func (ChangeTransferJobCompartmentDetails) ValidateEnumValue

func (m ChangeTransferJobCompartmentDetails) 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 ChangeTransferJobCompartmentRequest

type ChangeTransferJobCompartmentRequest struct {

	// ID of the Transfer Job
	TransferJobId *string `mandatory:"true" contributesTo:"path" name:"transferJobId"`

	// CompartmentId of the destination compartment
	ChangeTransferJobCompartmentDetails `contributesTo:"body"`

	// The entity tag to match. Optional, if set, the update will be successful only if the
	// object's tag matches the tag specified in the request.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

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

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

ChangeTransferJobCompartmentRequest wrapper for the ChangeTransferJobCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/ChangeTransferJobCompartment.go.html to see an example of how to use ChangeTransferJobCompartmentRequest.

func (ChangeTransferJobCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeTransferJobCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeTransferJobCompartmentRequest) RetryPolicy

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

func (ChangeTransferJobCompartmentRequest) String

func (ChangeTransferJobCompartmentRequest) ValidateEnumValue

func (request ChangeTransferJobCompartmentRequest) 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 ChangeTransferJobCompartmentResponse

type ChangeTransferJobCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

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

ChangeTransferJobCompartmentResponse wrapper for the ChangeTransferJobCompartment operation

func (ChangeTransferJobCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeTransferJobCompartmentResponse) String

func (response ChangeTransferJobCompartmentResponse) String() string

type CreateApplianceExportJobDetails

type CreateApplianceExportJobDetails struct {
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	BucketName *string `mandatory:"true" json:"bucketName"`

	DisplayName *string `mandatory:"true" json:"displayName"`

	CustomerShippingAddress *ShippingAddress `mandatory:"true" json:"customerShippingAddress"`

	// List of objects with names matching this prefix would be part of this export job.
	Prefix *string `mandatory:"false" json:"prefix"`

	// Object names returned by a list query must be greater or equal to this parameter.
	RangeStart *string `mandatory:"false" json:"rangeStart"`

	// Object names returned by a list query must be strictly less than this parameter.
	RangeEnd *string `mandatory:"false" json:"rangeEnd"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateApplianceExportJobDetails The representation of CreateApplianceExportJobDetails

func (CreateApplianceExportJobDetails) String

func (CreateApplianceExportJobDetails) ValidateEnumValue

func (m CreateApplianceExportJobDetails) 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 CreateApplianceExportJobRequest

type CreateApplianceExportJobRequest struct {

	// Creates a new Appliance Export Job
	CreateApplianceExportJobDetails `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 then due to conflicting operations (e.g., if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

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

CreateApplianceExportJobRequest wrapper for the CreateApplianceExportJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/CreateApplianceExportJob.go.html to see an example of how to use CreateApplianceExportJobRequest.

func (CreateApplianceExportJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateApplianceExportJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateApplianceExportJobRequest) RetryPolicy

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

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

func (CreateApplianceExportJobRequest) String

func (request CreateApplianceExportJobRequest) String() string

func (CreateApplianceExportJobRequest) ValidateEnumValue

func (request CreateApplianceExportJobRequest) 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 CreateApplianceExportJobResponse

type CreateApplianceExportJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

CreateApplianceExportJobResponse wrapper for the CreateApplianceExportJob operation

func (CreateApplianceExportJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateApplianceExportJobResponse) String

func (response CreateApplianceExportJobResponse) String() string

type CreateTransferApplianceAdminCredentialsRequest

type CreateTransferApplianceAdminCredentialsRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// Label of the Transfer Appliance
	TransferApplianceLabel *string `mandatory:"true" contributesTo:"path" name:"transferApplianceLabel"`

	AdminPublicKey TransferAppliancePublicKey `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 then due to conflicting operations (e.g., if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

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

CreateTransferApplianceAdminCredentialsRequest wrapper for the CreateTransferApplianceAdminCredentials operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/CreateTransferApplianceAdminCredentials.go.html to see an example of how to use CreateTransferApplianceAdminCredentialsRequest.

func (CreateTransferApplianceAdminCredentialsRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (CreateTransferApplianceAdminCredentialsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateTransferApplianceAdminCredentialsRequest) RetryPolicy

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

func (CreateTransferApplianceAdminCredentialsRequest) String

func (CreateTransferApplianceAdminCredentialsRequest) ValidateEnumValue

func (request CreateTransferApplianceAdminCredentialsRequest) 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 CreateTransferApplianceAdminCredentialsResponse

type CreateTransferApplianceAdminCredentialsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

CreateTransferApplianceAdminCredentialsResponse wrapper for the CreateTransferApplianceAdminCredentials operation

func (CreateTransferApplianceAdminCredentialsResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (CreateTransferApplianceAdminCredentialsResponse) String

type CreateTransferApplianceDetails

type CreateTransferApplianceDetails struct {
	CustomerShippingAddress *ShippingAddress `mandatory:"false" json:"customerShippingAddress"`

	// Minimum storage capacity of the device, in terabytes. Valid options are 50, 95 and 150.
	MinimumStorageCapacityInTerabytes *int `mandatory:"false" json:"minimumStorageCapacityInTerabytes"`
}

CreateTransferApplianceDetails The representation of CreateTransferApplianceDetails

func (CreateTransferApplianceDetails) String

func (CreateTransferApplianceDetails) ValidateEnumValue

func (m CreateTransferApplianceDetails) 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 CreateTransferApplianceEntitlementDetails

type CreateTransferApplianceEntitlementDetails struct {
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	DisplayName *string `mandatory:"false" json:"displayName"`

	RequestorName *string `mandatory:"false" json:"requestorName"`

	RequestorEmail *string `mandatory:"false" json:"requestorEmail"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateTransferApplianceEntitlementDetails The representation of CreateTransferApplianceEntitlementDetails

func (CreateTransferApplianceEntitlementDetails) String

func (CreateTransferApplianceEntitlementDetails) ValidateEnumValue

func (m CreateTransferApplianceEntitlementDetails) 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 CreateTransferApplianceEntitlementRequest

type CreateTransferApplianceEntitlementRequest struct {

	// Creates a Transfer Appliance Entitlement
	CreateTransferApplianceEntitlementDetails `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 then due to conflicting operations (e.g., if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

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

CreateTransferApplianceEntitlementRequest wrapper for the CreateTransferApplianceEntitlement operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/CreateTransferApplianceEntitlement.go.html to see an example of how to use CreateTransferApplianceEntitlementRequest.

func (CreateTransferApplianceEntitlementRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (CreateTransferApplianceEntitlementRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateTransferApplianceEntitlementRequest) RetryPolicy

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

func (CreateTransferApplianceEntitlementRequest) String

func (CreateTransferApplianceEntitlementRequest) ValidateEnumValue

func (request CreateTransferApplianceEntitlementRequest) 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 CreateTransferApplianceEntitlementResponse

type CreateTransferApplianceEntitlementResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

CreateTransferApplianceEntitlementResponse wrapper for the CreateTransferApplianceEntitlement operation

func (CreateTransferApplianceEntitlementResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateTransferApplianceEntitlementResponse) String

type CreateTransferApplianceRequest

type CreateTransferApplianceRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"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 then due to conflicting operations (e.g., if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Creates a New Transfer Appliance
	CreateTransferApplianceDetails `contributesTo:"body"`

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

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

CreateTransferApplianceRequest wrapper for the CreateTransferAppliance operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/CreateTransferAppliance.go.html to see an example of how to use CreateTransferApplianceRequest.

func (CreateTransferApplianceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateTransferApplianceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateTransferApplianceRequest) RetryPolicy

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

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

func (CreateTransferApplianceRequest) String

func (request CreateTransferApplianceRequest) String() string

func (CreateTransferApplianceRequest) ValidateEnumValue

func (request CreateTransferApplianceRequest) 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 CreateTransferApplianceResponse

type CreateTransferApplianceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

CreateTransferApplianceResponse wrapper for the CreateTransferAppliance operation

func (CreateTransferApplianceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateTransferApplianceResponse) String

func (response CreateTransferApplianceResponse) String() string

type CreateTransferDeviceDetails

type CreateTransferDeviceDetails struct {
	SerialNumber *string `mandatory:"false" json:"serialNumber"`

	IscsiIQN *string `mandatory:"false" json:"iscsiIQN"`
}

CreateTransferDeviceDetails The representation of CreateTransferDeviceDetails

func (CreateTransferDeviceDetails) String

func (CreateTransferDeviceDetails) ValidateEnumValue

func (m CreateTransferDeviceDetails) 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 CreateTransferDeviceRequest

type CreateTransferDeviceRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// Creates a New Transfer Device
	CreateTransferDeviceDetails `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 then due to conflicting operations (e.g., if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

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

CreateTransferDeviceRequest wrapper for the CreateTransferDevice operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/CreateTransferDevice.go.html to see an example of how to use CreateTransferDeviceRequest.

func (CreateTransferDeviceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateTransferDeviceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateTransferDeviceRequest) RetryPolicy

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

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

func (CreateTransferDeviceRequest) String

func (request CreateTransferDeviceRequest) String() string

func (CreateTransferDeviceRequest) ValidateEnumValue

func (request CreateTransferDeviceRequest) 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 CreateTransferDeviceResponse

type CreateTransferDeviceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

CreateTransferDeviceResponse wrapper for the CreateTransferDevice operation

func (CreateTransferDeviceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateTransferDeviceResponse) String

func (response CreateTransferDeviceResponse) String() string

type CreateTransferJobDetails

type CreateTransferJobDetails struct {
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	UploadBucketName *string `mandatory:"false" json:"uploadBucketName"`

	DisplayName *string `mandatory:"false" json:"displayName"`

	DeviceType CreateTransferJobDetailsDeviceTypeEnum `mandatory:"false" json:"deviceType,omitempty"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateTransferJobDetails The representation of CreateTransferJobDetails

func (CreateTransferJobDetails) String

func (m CreateTransferJobDetails) String() string

func (CreateTransferJobDetails) ValidateEnumValue

func (m CreateTransferJobDetails) 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 CreateTransferJobDetailsDeviceTypeEnum

type CreateTransferJobDetailsDeviceTypeEnum string

CreateTransferJobDetailsDeviceTypeEnum Enum with underlying type: string

const (
	CreateTransferJobDetailsDeviceTypeDisk      CreateTransferJobDetailsDeviceTypeEnum = "DISK"
	CreateTransferJobDetailsDeviceTypeAppliance CreateTransferJobDetailsDeviceTypeEnum = "APPLIANCE"
)

Set of constants representing the allowable values for CreateTransferJobDetailsDeviceTypeEnum

func GetCreateTransferJobDetailsDeviceTypeEnumValues

func GetCreateTransferJobDetailsDeviceTypeEnumValues() []CreateTransferJobDetailsDeviceTypeEnum

GetCreateTransferJobDetailsDeviceTypeEnumValues Enumerates the set of values for CreateTransferJobDetailsDeviceTypeEnum

func GetMappingCreateTransferJobDetailsDeviceTypeEnum

func GetMappingCreateTransferJobDetailsDeviceTypeEnum(val string) (CreateTransferJobDetailsDeviceTypeEnum, bool)

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

type CreateTransferJobRequest

type CreateTransferJobRequest struct {

	// Creates a New Transfer Job
	CreateTransferJobDetails `contributesTo:"body"`

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

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

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

CreateTransferJobRequest wrapper for the CreateTransferJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/CreateTransferJob.go.html to see an example of how to use CreateTransferJobRequest.

func (CreateTransferJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateTransferJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateTransferJobRequest) RetryPolicy

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

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

func (CreateTransferJobRequest) String

func (request CreateTransferJobRequest) String() string

func (CreateTransferJobRequest) ValidateEnumValue

func (request CreateTransferJobRequest) 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 CreateTransferJobResponse

type CreateTransferJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

CreateTransferJobResponse wrapper for the CreateTransferJob operation

func (CreateTransferJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateTransferJobResponse) String

func (response CreateTransferJobResponse) String() string

type CreateTransferPackageDetails

type CreateTransferPackageDetails struct {
	OriginalPackageDeliveryTrackingNumber *string `mandatory:"false" json:"originalPackageDeliveryTrackingNumber"`

	ReturnPackageDeliveryTrackingNumber *string `mandatory:"false" json:"returnPackageDeliveryTrackingNumber"`

	PackageDeliveryVendor *string `mandatory:"false" json:"packageDeliveryVendor"`
}

CreateTransferPackageDetails The representation of CreateTransferPackageDetails

func (CreateTransferPackageDetails) String

func (CreateTransferPackageDetails) ValidateEnumValue

func (m CreateTransferPackageDetails) 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 CreateTransferPackageRequest

type CreateTransferPackageRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"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 then due to conflicting operations (e.g., if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Creates a New Transfer Package
	CreateTransferPackageDetails `contributesTo:"body"`

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

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

CreateTransferPackageRequest wrapper for the CreateTransferPackage operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/CreateTransferPackage.go.html to see an example of how to use CreateTransferPackageRequest.

func (CreateTransferPackageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateTransferPackageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateTransferPackageRequest) RetryPolicy

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

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

func (CreateTransferPackageRequest) String

func (request CreateTransferPackageRequest) String() string

func (CreateTransferPackageRequest) ValidateEnumValue

func (request CreateTransferPackageRequest) 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 CreateTransferPackageResponse

type CreateTransferPackageResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

CreateTransferPackageResponse wrapper for the CreateTransferPackage operation

func (CreateTransferPackageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateTransferPackageResponse) String

func (response CreateTransferPackageResponse) String() string

type DeleteApplianceExportJobRequest

type DeleteApplianceExportJobRequest struct {

	// ID of the Appliance Export Job
	ApplianceExportJobId *string `mandatory:"true" contributesTo:"path" name:"applianceExportJobId"`

	// The entity tag to match. Optional, if set, the update will be successful only if the
	// object's tag matches the tag specified in the request.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

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

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

DeleteApplianceExportJobRequest wrapper for the DeleteApplianceExportJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/DeleteApplianceExportJob.go.html to see an example of how to use DeleteApplianceExportJobRequest.

func (DeleteApplianceExportJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteApplianceExportJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteApplianceExportJobRequest) RetryPolicy

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

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

func (DeleteApplianceExportJobRequest) String

func (request DeleteApplianceExportJobRequest) String() string

func (DeleteApplianceExportJobRequest) ValidateEnumValue

func (request DeleteApplianceExportJobRequest) 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 DeleteApplianceExportJobResponse

type DeleteApplianceExportJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteApplianceExportJobResponse wrapper for the DeleteApplianceExportJob operation

func (DeleteApplianceExportJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteApplianceExportJobResponse) String

func (response DeleteApplianceExportJobResponse) String() string

type DeleteTransferApplianceRequest

type DeleteTransferApplianceRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// Label of the Transfer Appliance
	TransferApplianceLabel *string `mandatory:"true" contributesTo:"path" name:"transferApplianceLabel"`

	// 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 then due to conflicting operations (e.g., if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

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

DeleteTransferApplianceRequest wrapper for the DeleteTransferAppliance operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/DeleteTransferAppliance.go.html to see an example of how to use DeleteTransferApplianceRequest.

func (DeleteTransferApplianceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteTransferApplianceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteTransferApplianceRequest) RetryPolicy

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

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

func (DeleteTransferApplianceRequest) String

func (request DeleteTransferApplianceRequest) String() string

func (DeleteTransferApplianceRequest) ValidateEnumValue

func (request DeleteTransferApplianceRequest) 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 DeleteTransferApplianceResponse

type DeleteTransferApplianceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteTransferApplianceResponse wrapper for the DeleteTransferAppliance operation

func (DeleteTransferApplianceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteTransferApplianceResponse) String

func (response DeleteTransferApplianceResponse) String() string

type DeleteTransferDeviceRequest

type DeleteTransferDeviceRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// Label of the Transfer Device
	TransferDeviceLabel *string `mandatory:"true" contributesTo:"path" name:"transferDeviceLabel"`

	// 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 then due to conflicting operations (e.g., if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

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

DeleteTransferDeviceRequest wrapper for the DeleteTransferDevice operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/DeleteTransferDevice.go.html to see an example of how to use DeleteTransferDeviceRequest.

func (DeleteTransferDeviceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteTransferDeviceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteTransferDeviceRequest) RetryPolicy

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

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

func (DeleteTransferDeviceRequest) String

func (request DeleteTransferDeviceRequest) String() string

func (DeleteTransferDeviceRequest) ValidateEnumValue

func (request DeleteTransferDeviceRequest) 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 DeleteTransferDeviceResponse

type DeleteTransferDeviceResponse struct {

	// The underlying http response
	RawResponse *http.Response

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteTransferDeviceResponse wrapper for the DeleteTransferDevice operation

func (DeleteTransferDeviceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteTransferDeviceResponse) String

func (response DeleteTransferDeviceResponse) String() string

type DeleteTransferJobRequest

type DeleteTransferJobRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"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 `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 then due to conflicting operations (e.g., if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

DeleteTransferJobRequest wrapper for the DeleteTransferJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/DeleteTransferJob.go.html to see an example of how to use DeleteTransferJobRequest.

func (DeleteTransferJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteTransferJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteTransferJobRequest) RetryPolicy

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

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

func (DeleteTransferJobRequest) String

func (request DeleteTransferJobRequest) String() string

func (DeleteTransferJobRequest) ValidateEnumValue

func (request DeleteTransferJobRequest) 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 DeleteTransferJobResponse

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

DeleteTransferJobResponse wrapper for the DeleteTransferJob operation

func (DeleteTransferJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteTransferJobResponse) String

func (response DeleteTransferJobResponse) String() string

type DeleteTransferPackageRequest

type DeleteTransferPackageRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// Label of the Transfer Package
	TransferPackageLabel *string `mandatory:"true" contributesTo:"path" name:"transferPackageLabel"`

	// 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 then due to conflicting operations (e.g., if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

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

DeleteTransferPackageRequest wrapper for the DeleteTransferPackage operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/DeleteTransferPackage.go.html to see an example of how to use DeleteTransferPackageRequest.

func (DeleteTransferPackageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteTransferPackageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteTransferPackageRequest) RetryPolicy

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

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

func (DeleteTransferPackageRequest) String

func (request DeleteTransferPackageRequest) String() string

func (DeleteTransferPackageRequest) ValidateEnumValue

func (request DeleteTransferPackageRequest) 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 DeleteTransferPackageResponse

type DeleteTransferPackageResponse struct {

	// The underlying http response
	RawResponse *http.Response

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteTransferPackageResponse wrapper for the DeleteTransferPackage operation

func (DeleteTransferPackageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteTransferPackageResponse) String

func (response DeleteTransferPackageResponse) String() string

type DetachDevicesDetails

type DetachDevicesDetails struct {

	// List of TransferDeviceLabel's
	DeviceLabels []string `mandatory:"false" json:"deviceLabels"`
}

DetachDevicesDetails The representation of DetachDevicesDetails

func (DetachDevicesDetails) String

func (m DetachDevicesDetails) String() string

func (DetachDevicesDetails) ValidateEnumValue

func (m DetachDevicesDetails) 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 DetachDevicesFromTransferPackageRequest

type DetachDevicesFromTransferPackageRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// Label of the Transfer Package
	TransferPackageLabel *string `mandatory:"true" contributesTo:"path" name:"transferPackageLabel"`

	// Labels of Transfer Devices to detach
	DetachDevicesDetails `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 then due to conflicting operations (e.g., if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

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

DetachDevicesFromTransferPackageRequest wrapper for the DetachDevicesFromTransferPackage operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/DetachDevicesFromTransferPackage.go.html to see an example of how to use DetachDevicesFromTransferPackageRequest.

func (DetachDevicesFromTransferPackageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DetachDevicesFromTransferPackageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DetachDevicesFromTransferPackageRequest) RetryPolicy

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

func (DetachDevicesFromTransferPackageRequest) String

func (DetachDevicesFromTransferPackageRequest) ValidateEnumValue

func (request DetachDevicesFromTransferPackageRequest) 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 DetachDevicesFromTransferPackageResponse

type DetachDevicesFromTransferPackageResponse struct {

	// The underlying http response
	RawResponse *http.Response

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

DetachDevicesFromTransferPackageResponse wrapper for the DetachDevicesFromTransferPackage operation

func (DetachDevicesFromTransferPackageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DetachDevicesFromTransferPackageResponse) String

type GetApplianceExportJobRequest

type GetApplianceExportJobRequest struct {

	// OCID of the Appliance Export Job
	ApplianceExportJobId *string `mandatory:"true" contributesTo:"path" name:"applianceExportJobId"`

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

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

GetApplianceExportJobRequest wrapper for the GetApplianceExportJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/GetApplianceExportJob.go.html to see an example of how to use GetApplianceExportJobRequest.

func (GetApplianceExportJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetApplianceExportJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetApplianceExportJobRequest) RetryPolicy

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

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

func (GetApplianceExportJobRequest) String

func (request GetApplianceExportJobRequest) String() string

func (GetApplianceExportJobRequest) ValidateEnumValue

func (request GetApplianceExportJobRequest) 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 GetApplianceExportJobResponse

type GetApplianceExportJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

GetApplianceExportJobResponse wrapper for the GetApplianceExportJob operation

func (GetApplianceExportJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetApplianceExportJobResponse) String

func (response GetApplianceExportJobResponse) String() string

type GetTransferApplianceCertificateAuthorityCertificateRequest

type GetTransferApplianceCertificateAuthorityCertificateRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// Label of the Transfer Appliance
	TransferApplianceLabel *string `mandatory:"true" contributesTo:"path" name:"transferApplianceLabel"`

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

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

GetTransferApplianceCertificateAuthorityCertificateRequest wrapper for the GetTransferApplianceCertificateAuthorityCertificate operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/GetTransferApplianceCertificateAuthorityCertificate.go.html to see an example of how to use GetTransferApplianceCertificateAuthorityCertificateRequest.

func (GetTransferApplianceCertificateAuthorityCertificateRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (GetTransferApplianceCertificateAuthorityCertificateRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetTransferApplianceCertificateAuthorityCertificateRequest) RetryPolicy

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

func (GetTransferApplianceCertificateAuthorityCertificateRequest) String

func (GetTransferApplianceCertificateAuthorityCertificateRequest) ValidateEnumValue

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 GetTransferApplianceCertificateAuthorityCertificateResponse

type GetTransferApplianceCertificateAuthorityCertificateResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

GetTransferApplianceCertificateAuthorityCertificateResponse wrapper for the GetTransferApplianceCertificateAuthorityCertificate operation

func (GetTransferApplianceCertificateAuthorityCertificateResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (GetTransferApplianceCertificateAuthorityCertificateResponse) String

type GetTransferApplianceEncryptionPassphraseRequest

type GetTransferApplianceEncryptionPassphraseRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// Label of the Transfer Appliance
	TransferApplianceLabel *string `mandatory:"true" contributesTo:"path" name:"transferApplianceLabel"`

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

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

GetTransferApplianceEncryptionPassphraseRequest wrapper for the GetTransferApplianceEncryptionPassphrase operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/GetTransferApplianceEncryptionPassphrase.go.html to see an example of how to use GetTransferApplianceEncryptionPassphraseRequest.

func (GetTransferApplianceEncryptionPassphraseRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (GetTransferApplianceEncryptionPassphraseRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetTransferApplianceEncryptionPassphraseRequest) RetryPolicy

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

func (GetTransferApplianceEncryptionPassphraseRequest) String

func (GetTransferApplianceEncryptionPassphraseRequest) ValidateEnumValue

func (request GetTransferApplianceEncryptionPassphraseRequest) 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 GetTransferApplianceEncryptionPassphraseResponse

type GetTransferApplianceEncryptionPassphraseResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

GetTransferApplianceEncryptionPassphraseResponse wrapper for the GetTransferApplianceEncryptionPassphrase operation

func (GetTransferApplianceEncryptionPassphraseResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (GetTransferApplianceEncryptionPassphraseResponse) String

type GetTransferApplianceEntitlementRequest

type GetTransferApplianceEntitlementRequest struct {

	// Id of the Transfer Appliance Entitlement
	Id *string `mandatory:"true" contributesTo:"path" name:"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 then due to conflicting operations (e.g., if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

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

GetTransferApplianceEntitlementRequest wrapper for the GetTransferApplianceEntitlement operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/GetTransferApplianceEntitlement.go.html to see an example of how to use GetTransferApplianceEntitlementRequest.

func (GetTransferApplianceEntitlementRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetTransferApplianceEntitlementRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetTransferApplianceEntitlementRequest) RetryPolicy

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

func (GetTransferApplianceEntitlementRequest) String

func (GetTransferApplianceEntitlementRequest) ValidateEnumValue

func (request GetTransferApplianceEntitlementRequest) 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 GetTransferApplianceEntitlementResponse

type GetTransferApplianceEntitlementResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetTransferApplianceEntitlementResponse wrapper for the GetTransferApplianceEntitlement operation

func (GetTransferApplianceEntitlementResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetTransferApplianceEntitlementResponse) String

type GetTransferApplianceRequest

type GetTransferApplianceRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// Label of the Transfer Appliance
	TransferApplianceLabel *string `mandatory:"true" contributesTo:"path" name:"transferApplianceLabel"`

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

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

GetTransferApplianceRequest wrapper for the GetTransferAppliance operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/GetTransferAppliance.go.html to see an example of how to use GetTransferApplianceRequest.

func (GetTransferApplianceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetTransferApplianceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetTransferApplianceRequest) RetryPolicy

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

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

func (GetTransferApplianceRequest) String

func (request GetTransferApplianceRequest) String() string

func (GetTransferApplianceRequest) ValidateEnumValue

func (request GetTransferApplianceRequest) 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 GetTransferApplianceResponse

type GetTransferApplianceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

GetTransferApplianceResponse wrapper for the GetTransferAppliance operation

func (GetTransferApplianceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetTransferApplianceResponse) String

func (response GetTransferApplianceResponse) String() string

type GetTransferDeviceRequest

type GetTransferDeviceRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// Label of the Transfer Device
	TransferDeviceLabel *string `mandatory:"true" contributesTo:"path" name:"transferDeviceLabel"`

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

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

GetTransferDeviceRequest wrapper for the GetTransferDevice operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/GetTransferDevice.go.html to see an example of how to use GetTransferDeviceRequest.

func (GetTransferDeviceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetTransferDeviceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetTransferDeviceRequest) RetryPolicy

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

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

func (GetTransferDeviceRequest) String

func (request GetTransferDeviceRequest) String() string

func (GetTransferDeviceRequest) ValidateEnumValue

func (request GetTransferDeviceRequest) 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 GetTransferDeviceResponse

type GetTransferDeviceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

GetTransferDeviceResponse wrapper for the GetTransferDevice operation

func (GetTransferDeviceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetTransferDeviceResponse) String

func (response GetTransferDeviceResponse) String() string

type GetTransferJobRequest

type GetTransferJobRequest struct {

	// OCID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"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 `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
}

GetTransferJobRequest wrapper for the GetTransferJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/GetTransferJob.go.html to see an example of how to use GetTransferJobRequest.

func (GetTransferJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetTransferJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetTransferJobRequest) RetryPolicy

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

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

func (GetTransferJobRequest) String

func (request GetTransferJobRequest) String() string

func (GetTransferJobRequest) ValidateEnumValue

func (request GetTransferJobRequest) 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 GetTransferJobResponse

type GetTransferJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

GetTransferJobResponse wrapper for the GetTransferJob operation

func (GetTransferJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetTransferJobResponse) String

func (response GetTransferJobResponse) String() string

type GetTransferPackageRequest

type GetTransferPackageRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// Label of the Transfer Package
	TransferPackageLabel *string `mandatory:"true" contributesTo:"path" name:"transferPackageLabel"`

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

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

GetTransferPackageRequest wrapper for the GetTransferPackage operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/GetTransferPackage.go.html to see an example of how to use GetTransferPackageRequest.

func (GetTransferPackageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetTransferPackageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetTransferPackageRequest) RetryPolicy

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

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

func (GetTransferPackageRequest) String

func (request GetTransferPackageRequest) String() string

func (GetTransferPackageRequest) ValidateEnumValue

func (request GetTransferPackageRequest) 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 GetTransferPackageResponse

type GetTransferPackageResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

GetTransferPackageResponse wrapper for the GetTransferPackage operation

func (GetTransferPackageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetTransferPackageResponse) String

func (response GetTransferPackageResponse) String() string

type ListApplianceExportJobsLifecycleStateEnum

type ListApplianceExportJobsLifecycleStateEnum string

ListApplianceExportJobsLifecycleStateEnum Enum with underlying type: string

const (
	ListApplianceExportJobsLifecycleStateCreating   ListApplianceExportJobsLifecycleStateEnum = "CREATING"
	ListApplianceExportJobsLifecycleStateActive     ListApplianceExportJobsLifecycleStateEnum = "ACTIVE"
	ListApplianceExportJobsLifecycleStateInprogress ListApplianceExportJobsLifecycleStateEnum = "INPROGRESS"
	ListApplianceExportJobsLifecycleStateSucceeded  ListApplianceExportJobsLifecycleStateEnum = "SUCCEEDED"
	ListApplianceExportJobsLifecycleStateFailed     ListApplianceExportJobsLifecycleStateEnum = "FAILED"
	ListApplianceExportJobsLifecycleStateCancelled  ListApplianceExportJobsLifecycleStateEnum = "CANCELLED"
	ListApplianceExportJobsLifecycleStateDeleted    ListApplianceExportJobsLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ListApplianceExportJobsLifecycleStateEnum

func GetListApplianceExportJobsLifecycleStateEnumValues

func GetListApplianceExportJobsLifecycleStateEnumValues() []ListApplianceExportJobsLifecycleStateEnum

GetListApplianceExportJobsLifecycleStateEnumValues Enumerates the set of values for ListApplianceExportJobsLifecycleStateEnum

func GetMappingListApplianceExportJobsLifecycleStateEnum

func GetMappingListApplianceExportJobsLifecycleStateEnum(val string) (ListApplianceExportJobsLifecycleStateEnum, bool)

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

type ListApplianceExportJobsRequest

type ListApplianceExportJobsRequest struct {

	// compartment id
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// filtering by lifecycleState
	LifecycleState ListApplianceExportJobsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// filtering by displayName
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"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 `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
}

ListApplianceExportJobsRequest wrapper for the ListApplianceExportJobs operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/ListApplianceExportJobs.go.html to see an example of how to use ListApplianceExportJobsRequest.

func (ListApplianceExportJobsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListApplianceExportJobsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListApplianceExportJobsRequest) RetryPolicy

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

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

func (ListApplianceExportJobsRequest) String

func (request ListApplianceExportJobsRequest) String() string

func (ListApplianceExportJobsRequest) ValidateEnumValue

func (request ListApplianceExportJobsRequest) 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 ListApplianceExportJobsResponse

type ListApplianceExportJobsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	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"`
}

ListApplianceExportJobsResponse wrapper for the ListApplianceExportJobs operation

func (ListApplianceExportJobsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListApplianceExportJobsResponse) String

func (response ListApplianceExportJobsResponse) String() string

type ListShippingVendorsRequest

type ListShippingVendorsRequest struct {

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

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

ListShippingVendorsRequest wrapper for the ListShippingVendors operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/ListShippingVendors.go.html to see an example of how to use ListShippingVendorsRequest.

func (ListShippingVendorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListShippingVendorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListShippingVendorsRequest) RetryPolicy

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

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

func (ListShippingVendorsRequest) String

func (request ListShippingVendorsRequest) String() string

func (ListShippingVendorsRequest) ValidateEnumValue

func (request ListShippingVendorsRequest) 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 ListShippingVendorsResponse

type ListShippingVendorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListShippingVendorsResponse wrapper for the ListShippingVendors operation

func (ListShippingVendorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListShippingVendorsResponse) String

func (response ListShippingVendorsResponse) String() string

type ListTransferApplianceEntitlementRequest

type ListTransferApplianceEntitlementRequest struct {

	// compartment id
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// filtering by Transfer Appliance Entitlement id
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// filtering by displayName
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

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

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

ListTransferApplianceEntitlementRequest wrapper for the ListTransferApplianceEntitlement operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/ListTransferApplianceEntitlement.go.html to see an example of how to use ListTransferApplianceEntitlementRequest.

func (ListTransferApplianceEntitlementRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListTransferApplianceEntitlementRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListTransferApplianceEntitlementRequest) RetryPolicy

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

func (ListTransferApplianceEntitlementRequest) String

func (ListTransferApplianceEntitlementRequest) ValidateEnumValue

func (request ListTransferApplianceEntitlementRequest) 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 ListTransferApplianceEntitlementResponse

type ListTransferApplianceEntitlementResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The []TransferApplianceEntitlementSummary instance
	Items []TransferApplianceEntitlementSummary `presentIn:"body"`

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListTransferApplianceEntitlementResponse wrapper for the ListTransferApplianceEntitlement operation

func (ListTransferApplianceEntitlementResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListTransferApplianceEntitlementResponse) String

type ListTransferAppliancesLifecycleStateEnum

type ListTransferAppliancesLifecycleStateEnum string

ListTransferAppliancesLifecycleStateEnum Enum with underlying type: string

const (
	ListTransferAppliancesLifecycleStateRequested               ListTransferAppliancesLifecycleStateEnum = "REQUESTED"
	ListTransferAppliancesLifecycleStateOraclePreparing         ListTransferAppliancesLifecycleStateEnum = "ORACLE_PREPARING"
	ListTransferAppliancesLifecycleStateShipping                ListTransferAppliancesLifecycleStateEnum = "SHIPPING"
	ListTransferAppliancesLifecycleStateDelivered               ListTransferAppliancesLifecycleStateEnum = "DELIVERED"
	ListTransferAppliancesLifecycleStatePreparing               ListTransferAppliancesLifecycleStateEnum = "PREPARING"
	ListTransferAppliancesLifecycleStateFinalized               ListTransferAppliancesLifecycleStateEnum = "FINALIZED"
	ListTransferAppliancesLifecycleStateReturnLabelRequested    ListTransferAppliancesLifecycleStateEnum = "RETURN_LABEL_REQUESTED"
	ListTransferAppliancesLifecycleStateReturnLabelGenerating   ListTransferAppliancesLifecycleStateEnum = "RETURN_LABEL_GENERATING"
	ListTransferAppliancesLifecycleStateReturnLabelAvailable    ListTransferAppliancesLifecycleStateEnum = "RETURN_LABEL_AVAILABLE"
	ListTransferAppliancesLifecycleStateReturnDelayed           ListTransferAppliancesLifecycleStateEnum = "RETURN_DELAYED"
	ListTransferAppliancesLifecycleStateReturnShipped           ListTransferAppliancesLifecycleStateEnum = "RETURN_SHIPPED"
	ListTransferAppliancesLifecycleStateReturnShippedCancelled  ListTransferAppliancesLifecycleStateEnum = "RETURN_SHIPPED_CANCELLED"
	ListTransferAppliancesLifecycleStateOracleReceived          ListTransferAppliancesLifecycleStateEnum = "ORACLE_RECEIVED"
	ListTransferAppliancesLifecycleStateOracleReceivedCancelled ListTransferAppliancesLifecycleStateEnum = "ORACLE_RECEIVED_CANCELLED"
	ListTransferAppliancesLifecycleStateProcessing              ListTransferAppliancesLifecycleStateEnum = "PROCESSING"
	ListTransferAppliancesLifecycleStateComplete                ListTransferAppliancesLifecycleStateEnum = "COMPLETE"
	ListTransferAppliancesLifecycleStateCustomerNeverReceived   ListTransferAppliancesLifecycleStateEnum = "CUSTOMER_NEVER_RECEIVED"
	ListTransferAppliancesLifecycleStateOracleNeverReceived     ListTransferAppliancesLifecycleStateEnum = "ORACLE_NEVER_RECEIVED"
	ListTransferAppliancesLifecycleStateCustomerLost            ListTransferAppliancesLifecycleStateEnum = "CUSTOMER_LOST"
	ListTransferAppliancesLifecycleStateCancelled               ListTransferAppliancesLifecycleStateEnum = "CANCELLED"
	ListTransferAppliancesLifecycleStateDeleted                 ListTransferAppliancesLifecycleStateEnum = "DELETED"
	ListTransferAppliancesLifecycleStateRejected                ListTransferAppliancesLifecycleStateEnum = "REJECTED"
	ListTransferAppliancesLifecycleStateError                   ListTransferAppliancesLifecycleStateEnum = "ERROR"
)

Set of constants representing the allowable values for ListTransferAppliancesLifecycleStateEnum

func GetListTransferAppliancesLifecycleStateEnumValues

func GetListTransferAppliancesLifecycleStateEnumValues() []ListTransferAppliancesLifecycleStateEnum

GetListTransferAppliancesLifecycleStateEnumValues Enumerates the set of values for ListTransferAppliancesLifecycleStateEnum

func GetMappingListTransferAppliancesLifecycleStateEnum

func GetMappingListTransferAppliancesLifecycleStateEnum(val string) (ListTransferAppliancesLifecycleStateEnum, bool)

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

type ListTransferAppliancesRequest

type ListTransferAppliancesRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// filtering by lifecycleState
	LifecycleState ListTransferAppliancesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

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

ListTransferAppliancesRequest wrapper for the ListTransferAppliances operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/ListTransferAppliances.go.html to see an example of how to use ListTransferAppliancesRequest.

func (ListTransferAppliancesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListTransferAppliancesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListTransferAppliancesRequest) RetryPolicy

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

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

func (ListTransferAppliancesRequest) String

func (request ListTransferAppliancesRequest) String() string

func (ListTransferAppliancesRequest) ValidateEnumValue

func (request ListTransferAppliancesRequest) 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 ListTransferAppliancesResponse

type ListTransferAppliancesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListTransferAppliancesResponse wrapper for the ListTransferAppliances operation

func (ListTransferAppliancesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListTransferAppliancesResponse) String

func (response ListTransferAppliancesResponse) String() string

type ListTransferDevicesLifecycleStateEnum

type ListTransferDevicesLifecycleStateEnum string

ListTransferDevicesLifecycleStateEnum Enum with underlying type: string

const (
	ListTransferDevicesLifecycleStatePreparing  ListTransferDevicesLifecycleStateEnum = "PREPARING"
	ListTransferDevicesLifecycleStateReady      ListTransferDevicesLifecycleStateEnum = "READY"
	ListTransferDevicesLifecycleStatePackaged   ListTransferDevicesLifecycleStateEnum = "PACKAGED"
	ListTransferDevicesLifecycleStateActive     ListTransferDevicesLifecycleStateEnum = "ACTIVE"
	ListTransferDevicesLifecycleStateProcessing ListTransferDevicesLifecycleStateEnum = "PROCESSING"
	ListTransferDevicesLifecycleStateComplete   ListTransferDevicesLifecycleStateEnum = "COMPLETE"
	ListTransferDevicesLifecycleStateMissing    ListTransferDevicesLifecycleStateEnum = "MISSING"
	ListTransferDevicesLifecycleStateError      ListTransferDevicesLifecycleStateEnum = "ERROR"
	ListTransferDevicesLifecycleStateDeleted    ListTransferDevicesLifecycleStateEnum = "DELETED"
	ListTransferDevicesLifecycleStateCancelled  ListTransferDevicesLifecycleStateEnum = "CANCELLED"
)

Set of constants representing the allowable values for ListTransferDevicesLifecycleStateEnum

func GetListTransferDevicesLifecycleStateEnumValues

func GetListTransferDevicesLifecycleStateEnumValues() []ListTransferDevicesLifecycleStateEnum

GetListTransferDevicesLifecycleStateEnumValues Enumerates the set of values for ListTransferDevicesLifecycleStateEnum

func GetMappingListTransferDevicesLifecycleStateEnum

func GetMappingListTransferDevicesLifecycleStateEnum(val string) (ListTransferDevicesLifecycleStateEnum, bool)

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

type ListTransferDevicesRequest

type ListTransferDevicesRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// filtering by lifecycleState
	LifecycleState ListTransferDevicesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// filtering by displayName
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

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

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

ListTransferDevicesRequest wrapper for the ListTransferDevices operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/ListTransferDevices.go.html to see an example of how to use ListTransferDevicesRequest.

func (ListTransferDevicesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListTransferDevicesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListTransferDevicesRequest) RetryPolicy

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

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

func (ListTransferDevicesRequest) String

func (request ListTransferDevicesRequest) String() string

func (ListTransferDevicesRequest) ValidateEnumValue

func (request ListTransferDevicesRequest) 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 ListTransferDevicesResponse

type ListTransferDevicesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListTransferDevicesResponse wrapper for the ListTransferDevices operation

func (ListTransferDevicesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListTransferDevicesResponse) String

func (response ListTransferDevicesResponse) String() string

type ListTransferJobsLifecycleStateEnum

type ListTransferJobsLifecycleStateEnum string

ListTransferJobsLifecycleStateEnum Enum with underlying type: string

const (
	ListTransferJobsLifecycleStateInitiated ListTransferJobsLifecycleStateEnum = "INITIATED"
	ListTransferJobsLifecycleStatePreparing ListTransferJobsLifecycleStateEnum = "PREPARING"
	ListTransferJobsLifecycleStateActive    ListTransferJobsLifecycleStateEnum = "ACTIVE"
	ListTransferJobsLifecycleStateDeleted   ListTransferJobsLifecycleStateEnum = "DELETED"
	ListTransferJobsLifecycleStateClosed    ListTransferJobsLifecycleStateEnum = "CLOSED"
)

Set of constants representing the allowable values for ListTransferJobsLifecycleStateEnum

func GetListTransferJobsLifecycleStateEnumValues

func GetListTransferJobsLifecycleStateEnumValues() []ListTransferJobsLifecycleStateEnum

GetListTransferJobsLifecycleStateEnumValues Enumerates the set of values for ListTransferJobsLifecycleStateEnum

func GetMappingListTransferJobsLifecycleStateEnum

func GetMappingListTransferJobsLifecycleStateEnum(val string) (ListTransferJobsLifecycleStateEnum, bool)

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

type ListTransferJobsRequest

type ListTransferJobsRequest struct {

	// compartment id
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// filtering by lifecycleState
	LifecycleState ListTransferJobsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// filtering by displayName
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of results per page, or items to return in a paginated
	// "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	// Example: `50`
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the `opc-next-page` response header from the previous "List"
	// call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"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 `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
}

ListTransferJobsRequest wrapper for the ListTransferJobs operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/ListTransferJobs.go.html to see an example of how to use ListTransferJobsRequest.

func (ListTransferJobsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListTransferJobsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListTransferJobsRequest) RetryPolicy

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

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

func (ListTransferJobsRequest) String

func (request ListTransferJobsRequest) String() string

func (ListTransferJobsRequest) ValidateEnumValue

func (request ListTransferJobsRequest) 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 ListTransferJobsResponse

type ListTransferJobsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	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"`
}

ListTransferJobsResponse wrapper for the ListTransferJobs operation

func (ListTransferJobsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListTransferJobsResponse) String

func (response ListTransferJobsResponse) String() string

type ListTransferPackagesLifecycleStateEnum

type ListTransferPackagesLifecycleStateEnum string

ListTransferPackagesLifecycleStateEnum Enum with underlying type: string

const (
	ListTransferPackagesLifecycleStatePreparing         ListTransferPackagesLifecycleStateEnum = "PREPARING"
	ListTransferPackagesLifecycleStateShipping          ListTransferPackagesLifecycleStateEnum = "SHIPPING"
	ListTransferPackagesLifecycleStateReceived          ListTransferPackagesLifecycleStateEnum = "RECEIVED"
	ListTransferPackagesLifecycleStateProcessing        ListTransferPackagesLifecycleStateEnum = "PROCESSING"
	ListTransferPackagesLifecycleStateProcessed         ListTransferPackagesLifecycleStateEnum = "PROCESSED"
	ListTransferPackagesLifecycleStateReturned          ListTransferPackagesLifecycleStateEnum = "RETURNED"
	ListTransferPackagesLifecycleStateDeleted           ListTransferPackagesLifecycleStateEnum = "DELETED"
	ListTransferPackagesLifecycleStateCancelled         ListTransferPackagesLifecycleStateEnum = "CANCELLED"
	ListTransferPackagesLifecycleStateCancelledReturned ListTransferPackagesLifecycleStateEnum = "CANCELLED_RETURNED"
)

Set of constants representing the allowable values for ListTransferPackagesLifecycleStateEnum

func GetListTransferPackagesLifecycleStateEnumValues

func GetListTransferPackagesLifecycleStateEnumValues() []ListTransferPackagesLifecycleStateEnum

GetListTransferPackagesLifecycleStateEnumValues Enumerates the set of values for ListTransferPackagesLifecycleStateEnum

func GetMappingListTransferPackagesLifecycleStateEnum

func GetMappingListTransferPackagesLifecycleStateEnum(val string) (ListTransferPackagesLifecycleStateEnum, bool)

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

type ListTransferPackagesRequest

type ListTransferPackagesRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// filtering by lifecycleState
	LifecycleState ListTransferPackagesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// filtering by displayName
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

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

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

ListTransferPackagesRequest wrapper for the ListTransferPackages operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/ListTransferPackages.go.html to see an example of how to use ListTransferPackagesRequest.

func (ListTransferPackagesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListTransferPackagesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListTransferPackagesRequest) RetryPolicy

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

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

func (ListTransferPackagesRequest) String

func (request ListTransferPackagesRequest) String() string

func (ListTransferPackagesRequest) ValidateEnumValue

func (request ListTransferPackagesRequest) 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 ListTransferPackagesResponse

type ListTransferPackagesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListTransferPackagesResponse wrapper for the ListTransferPackages operation

func (ListTransferPackagesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListTransferPackagesResponse) String

func (response ListTransferPackagesResponse) String() string

type MultipleTransferAppliances

type MultipleTransferAppliances struct {

	// List of TransferAppliance summary's
	TransferApplianceObjects []TransferApplianceSummary `mandatory:"false" json:"transferApplianceObjects"`
}

MultipleTransferAppliances The representation of MultipleTransferAppliances

func (MultipleTransferAppliances) String

func (MultipleTransferAppliances) ValidateEnumValue

func (m MultipleTransferAppliances) 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 MultipleTransferDevices

type MultipleTransferDevices struct {

	// List of TransferDeviceObject's
	TransferDeviceObjects []TransferDeviceSummary `mandatory:"false" json:"transferDeviceObjects"`
}

MultipleTransferDevices The representation of MultipleTransferDevices

func (MultipleTransferDevices) String

func (m MultipleTransferDevices) String() string

func (MultipleTransferDevices) ValidateEnumValue

func (m MultipleTransferDevices) 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 MultipleTransferPackages

type MultipleTransferPackages struct {

	// List of TransferPackage summary's
	TransferPackageObjects []TransferPackageSummary `mandatory:"false" json:"transferPackageObjects"`
}

MultipleTransferPackages The representation of MultipleTransferPackages

func (MultipleTransferPackages) String

func (m MultipleTransferPackages) String() string

func (MultipleTransferPackages) ValidateEnumValue

func (m MultipleTransferPackages) 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 NewTransferDevice

type NewTransferDevice struct {
	Label *string `mandatory:"true" json:"label"`

	SerialNumber *string `mandatory:"false" json:"serialNumber"`

	IscsiIQN *string `mandatory:"false" json:"iscsiIQN"`

	LifecycleState NewTransferDeviceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	EncryptionPassphrase *string `mandatory:"false" json:"encryptionPassphrase"`

	TransferJobId *string `mandatory:"false" json:"transferJobId"`

	CreationTime *common.SDKTime `mandatory:"false" json:"creationTime"`
}

NewTransferDevice The representation of NewTransferDevice

func (NewTransferDevice) String

func (m NewTransferDevice) String() string

func (NewTransferDevice) ValidateEnumValue

func (m NewTransferDevice) 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 NewTransferDeviceLifecycleStateEnum

type NewTransferDeviceLifecycleStateEnum string

NewTransferDeviceLifecycleStateEnum Enum with underlying type: string

const (
	NewTransferDeviceLifecycleStatePreparing NewTransferDeviceLifecycleStateEnum = "PREPARING"
)

Set of constants representing the allowable values for NewTransferDeviceLifecycleStateEnum

func GetMappingNewTransferDeviceLifecycleStateEnum

func GetMappingNewTransferDeviceLifecycleStateEnum(val string) (NewTransferDeviceLifecycleStateEnum, bool)

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

func GetNewTransferDeviceLifecycleStateEnumValues

func GetNewTransferDeviceLifecycleStateEnumValues() []NewTransferDeviceLifecycleStateEnum

GetNewTransferDeviceLifecycleStateEnumValues Enumerates the set of values for NewTransferDeviceLifecycleStateEnum

type ShippingAddress

type ShippingAddress struct {
	Addressee *string `mandatory:"true" json:"addressee"`

	Address1 *string `mandatory:"true" json:"address1"`

	CityOrLocality *string `mandatory:"true" json:"cityOrLocality"`

	StateOrRegion *string `mandatory:"true" json:"stateOrRegion"`

	Zipcode *string `mandatory:"true" json:"zipcode"`

	Country *string `mandatory:"true" json:"country"`

	CareOf *string `mandatory:"false" json:"careOf"`

	Address2 *string `mandatory:"false" json:"address2"`

	Address3 *string `mandatory:"false" json:"address3"`

	Address4 *string `mandatory:"false" json:"address4"`

	PhoneNumber *string `mandatory:"false" json:"phoneNumber"`

	Email *string `mandatory:"false" json:"email"`
}

ShippingAddress The representation of ShippingAddress

func (ShippingAddress) String

func (m ShippingAddress) String() string

func (ShippingAddress) ValidateEnumValue

func (m ShippingAddress) 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 ShippingVendors

type ShippingVendors struct {

	// List of available shipping vendors for package delivery
	Vendors []string `mandatory:"false" json:"vendors"`
}

ShippingVendors The representation of ShippingVendors

func (ShippingVendors) String

func (m ShippingVendors) String() string

func (ShippingVendors) ValidateEnumValue

func (m ShippingVendors) 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 ShippingVendorsClient

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

ShippingVendorsClient a client for ShippingVendors

func NewShippingVendorsClientWithConfigurationProvider

func NewShippingVendorsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ShippingVendorsClient, err error)

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

func NewShippingVendorsClientWithOboToken

func NewShippingVendorsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ShippingVendorsClient, err error)

NewShippingVendorsClientWithOboToken Creates a new default ShippingVendors 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 (*ShippingVendorsClient) ConfigurationProvider

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

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

func (ShippingVendorsClient) ListShippingVendors

func (client ShippingVendorsClient) ListShippingVendors(ctx context.Context, request ListShippingVendorsRequest) (response ListShippingVendorsResponse, err error)

ListShippingVendors Lists available shipping vendors for Transfer Package delivery

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/ListShippingVendors.go.html to see an example of how to use ListShippingVendors API.

func (*ShippingVendorsClient) SetRegion

func (client *ShippingVendorsClient) SetRegion(region string)

SetRegion overrides the region of this client.

type TransferAppliance

type TransferAppliance struct {

	// Unique alpha-numeric identifier for a transfer appliance auto generated during create.
	Label *string `mandatory:"true" json:"label"`

	LifecycleState TransferApplianceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	TransferJobId *string `mandatory:"false" json:"transferJobId"`

	SerialNumber *string `mandatory:"false" json:"serialNumber"`

	CreationTime *common.SDKTime `mandatory:"false" json:"creationTime"`

	CustomerReceivedTime *common.SDKTime `mandatory:"false" json:"customerReceivedTime"`

	CustomerReturnedTime *common.SDKTime `mandatory:"false" json:"customerReturnedTime"`

	NextBillingTime *common.SDKTime `mandatory:"false" json:"nextBillingTime"`

	DeliverySecurityTieId *string `mandatory:"false" json:"deliverySecurityTieId"`

	ReturnSecurityTieId *string `mandatory:"false" json:"returnSecurityTieId"`

	ApplianceDeliveryTrackingNumber *string `mandatory:"false" json:"applianceDeliveryTrackingNumber"`

	ApplianceReturnDeliveryTrackingNumber *string `mandatory:"false" json:"applianceReturnDeliveryTrackingNumber"`

	ApplianceDeliveryVendor *string `mandatory:"false" json:"applianceDeliveryVendor"`

	CustomerShippingAddress *ShippingAddress `mandatory:"false" json:"customerShippingAddress"`

	UploadStatusLogUri *string `mandatory:"false" json:"uploadStatusLogUri"`

	ReturnShippingLabelUri *string `mandatory:"false" json:"returnShippingLabelUri"`

	// Expected return date from customer for the device, time portion should be zero.
	ExpectedReturnDate *common.SDKTime `mandatory:"false" json:"expectedReturnDate"`

	// Start time for the window to pickup the device from customer.
	PickupWindowStartTime *common.SDKTime `mandatory:"false" json:"pickupWindowStartTime"`

	// End time for the window to pickup the device from customer.
	PickupWindowEndTime *common.SDKTime `mandatory:"false" json:"pickupWindowEndTime"`

	// Minimum storage capacity of the device, in terabytes. Valid options are 50, 95 and 150.
	MinimumStorageCapacityInTerabytes *int `mandatory:"false" json:"minimumStorageCapacityInTerabytes"`
}

TransferAppliance The representation of TransferAppliance

func (TransferAppliance) String

func (m TransferAppliance) String() string

func (TransferAppliance) ValidateEnumValue

func (m TransferAppliance) 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 TransferApplianceCertificate

type TransferApplianceCertificate struct {
	Certificate *string `mandatory:"false" json:"certificate"`
}

TransferApplianceCertificate The representation of TransferApplianceCertificate

func (TransferApplianceCertificate) String

func (TransferApplianceCertificate) ValidateEnumValue

func (m TransferApplianceCertificate) 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 TransferApplianceClient

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

TransferApplianceClient a client for TransferAppliance

func NewTransferApplianceClientWithConfigurationProvider

func NewTransferApplianceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client TransferApplianceClient, err error)

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

func NewTransferApplianceClientWithOboToken

func NewTransferApplianceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client TransferApplianceClient, err error)

NewTransferApplianceClientWithOboToken Creates a new default TransferAppliance 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 (*TransferApplianceClient) ConfigurationProvider

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

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

func (TransferApplianceClient) CreateTransferAppliance

func (client TransferApplianceClient) CreateTransferAppliance(ctx context.Context, request CreateTransferApplianceRequest) (response CreateTransferApplianceResponse, err error)

CreateTransferAppliance Create a new Transfer Appliance

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/CreateTransferAppliance.go.html to see an example of how to use CreateTransferAppliance API.

func (TransferApplianceClient) CreateTransferApplianceAdminCredentials

func (client TransferApplianceClient) CreateTransferApplianceAdminCredentials(ctx context.Context, request CreateTransferApplianceAdminCredentialsRequest) (response CreateTransferApplianceAdminCredentialsResponse, err error)

CreateTransferApplianceAdminCredentials Creates an X.509 certificate from a public key

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/CreateTransferApplianceAdminCredentials.go.html to see an example of how to use CreateTransferApplianceAdminCredentials API.

func (TransferApplianceClient) DeleteTransferAppliance

func (client TransferApplianceClient) DeleteTransferAppliance(ctx context.Context, request DeleteTransferApplianceRequest) (response DeleteTransferApplianceResponse, err error)

DeleteTransferAppliance deletes a transfer Appliance

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/DeleteTransferAppliance.go.html to see an example of how to use DeleteTransferAppliance API.

func (TransferApplianceClient) GetTransferAppliance

func (client TransferApplianceClient) GetTransferAppliance(ctx context.Context, request GetTransferApplianceRequest) (response GetTransferApplianceResponse, err error)

GetTransferAppliance Describes a transfer appliance in detail

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/GetTransferAppliance.go.html to see an example of how to use GetTransferAppliance API.

func (TransferApplianceClient) GetTransferApplianceCertificateAuthorityCertificate

GetTransferApplianceCertificateAuthorityCertificate Gets the x.509 certificate for the Transfer Appliance's dedicated Certificate Authority (CA)

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/GetTransferApplianceCertificateAuthorityCertificate.go.html to see an example of how to use GetTransferApplianceCertificateAuthorityCertificate API.

func (TransferApplianceClient) GetTransferApplianceEncryptionPassphrase

func (client TransferApplianceClient) GetTransferApplianceEncryptionPassphrase(ctx context.Context, request GetTransferApplianceEncryptionPassphraseRequest) (response GetTransferApplianceEncryptionPassphraseResponse, err error)

GetTransferApplianceEncryptionPassphrase Describes a transfer appliance encryptionPassphrase in detail

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/GetTransferApplianceEncryptionPassphrase.go.html to see an example of how to use GetTransferApplianceEncryptionPassphrase API.

func (TransferApplianceClient) ListTransferAppliances

func (client TransferApplianceClient) ListTransferAppliances(ctx context.Context, request ListTransferAppliancesRequest) (response ListTransferAppliancesResponse, err error)

ListTransferAppliances Lists Transfer Appliances associated with a transferJob

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/ListTransferAppliances.go.html to see an example of how to use ListTransferAppliances API.

func (*TransferApplianceClient) SetRegion

func (client *TransferApplianceClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (TransferApplianceClient) UpdateTransferAppliance

func (client TransferApplianceClient) UpdateTransferAppliance(ctx context.Context, request UpdateTransferApplianceRequest) (response UpdateTransferApplianceResponse, err error)

UpdateTransferAppliance Updates a Transfer Appliance

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/UpdateTransferAppliance.go.html to see an example of how to use UpdateTransferAppliance API.

type TransferApplianceEncryptionPassphrase

type TransferApplianceEncryptionPassphrase struct {
	EncryptionPassphrase *string `mandatory:"false" json:"encryptionPassphrase"`
}

TransferApplianceEncryptionPassphrase The representation of TransferApplianceEncryptionPassphrase

func (TransferApplianceEncryptionPassphrase) String

func (TransferApplianceEncryptionPassphrase) ValidateEnumValue

func (m TransferApplianceEncryptionPassphrase) 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 TransferApplianceEntitlement

type TransferApplianceEntitlement struct {
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	LifecycleState TransferApplianceEntitlementLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	Id *string `mandatory:"false" json:"id"`

	DisplayName *string `mandatory:"false" json:"displayName"`

	RequestorName *string `mandatory:"false" json:"requestorName"`

	RequestorEmail *string `mandatory:"false" json:"requestorEmail"`

	// A property that can contain details on the lifecycle.
	LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"`

	CreationTime *common.SDKTime `mandatory:"false" json:"creationTime"`

	UpdateTime *common.SDKTime `mandatory:"false" json:"updateTime"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

TransferApplianceEntitlement The representation of TransferApplianceEntitlement

func (TransferApplianceEntitlement) String

func (TransferApplianceEntitlement) ValidateEnumValue

func (m TransferApplianceEntitlement) 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 TransferApplianceEntitlementClient

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

TransferApplianceEntitlementClient a client for TransferApplianceEntitlement

func NewTransferApplianceEntitlementClientWithConfigurationProvider

func NewTransferApplianceEntitlementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client TransferApplianceEntitlementClient, err error)

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

func NewTransferApplianceEntitlementClientWithOboToken

func NewTransferApplianceEntitlementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client TransferApplianceEntitlementClient, err error)

NewTransferApplianceEntitlementClientWithOboToken Creates a new default TransferApplianceEntitlement 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 (*TransferApplianceEntitlementClient) ConfigurationProvider

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

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

func (TransferApplianceEntitlementClient) CreateTransferApplianceEntitlement

CreateTransferApplianceEntitlement Create the Entitlement to use a Transfer Appliance. It requires some offline process of review and signatures before request is granted.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/CreateTransferApplianceEntitlement.go.html to see an example of how to use CreateTransferApplianceEntitlement API.

func (TransferApplianceEntitlementClient) GetTransferApplianceEntitlement

GetTransferApplianceEntitlement Describes the Transfer Appliance Entitlement in detail

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/GetTransferApplianceEntitlement.go.html to see an example of how to use GetTransferApplianceEntitlement API.

func (TransferApplianceEntitlementClient) ListTransferApplianceEntitlement

ListTransferApplianceEntitlement Lists Transfer Transfer Appliance Entitlement

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/ListTransferApplianceEntitlement.go.html to see an example of how to use ListTransferApplianceEntitlement API.

func (*TransferApplianceEntitlementClient) SetRegion

func (client *TransferApplianceEntitlementClient) SetRegion(region string)

SetRegion overrides the region of this client.

type TransferApplianceEntitlementLifecycleStateEnum

type TransferApplianceEntitlementLifecycleStateEnum string

TransferApplianceEntitlementLifecycleStateEnum Enum with underlying type: string

const (
	TransferApplianceEntitlementLifecycleStateCreating TransferApplianceEntitlementLifecycleStateEnum = "CREATING"
	TransferApplianceEntitlementLifecycleStateActive   TransferApplianceEntitlementLifecycleStateEnum = "ACTIVE"
	TransferApplianceEntitlementLifecycleStateInactive TransferApplianceEntitlementLifecycleStateEnum = "INACTIVE"
	TransferApplianceEntitlementLifecycleStateDeleted  TransferApplianceEntitlementLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for TransferApplianceEntitlementLifecycleStateEnum

func GetMappingTransferApplianceEntitlementLifecycleStateEnum

func GetMappingTransferApplianceEntitlementLifecycleStateEnum(val string) (TransferApplianceEntitlementLifecycleStateEnum, bool)

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

func GetTransferApplianceEntitlementLifecycleStateEnumValues

func GetTransferApplianceEntitlementLifecycleStateEnumValues() []TransferApplianceEntitlementLifecycleStateEnum

GetTransferApplianceEntitlementLifecycleStateEnumValues Enumerates the set of values for TransferApplianceEntitlementLifecycleStateEnum

type TransferApplianceEntitlementSummary

type TransferApplianceEntitlementSummary struct {
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	LifecycleState TransferApplianceEntitlementLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	Id *string `mandatory:"false" json:"id"`

	DisplayName *string `mandatory:"false" json:"displayName"`

	RequestorName *string `mandatory:"false" json:"requestorName"`

	RequestorEmail *string `mandatory:"false" json:"requestorEmail"`

	// A property that can contain details on the lifecycle.
	LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

TransferApplianceEntitlementSummary The representation of TransferApplianceEntitlementSummary

func (TransferApplianceEntitlementSummary) String

func (TransferApplianceEntitlementSummary) ValidateEnumValue

func (m TransferApplianceEntitlementSummary) 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 TransferApplianceLifecycleStateEnum

type TransferApplianceLifecycleStateEnum string

TransferApplianceLifecycleStateEnum Enum with underlying type: string

const (
	TransferApplianceLifecycleStateRequested               TransferApplianceLifecycleStateEnum = "REQUESTED"
	TransferApplianceLifecycleStateOraclePreparing         TransferApplianceLifecycleStateEnum = "ORACLE_PREPARING"
	TransferApplianceLifecycleStateShipping                TransferApplianceLifecycleStateEnum = "SHIPPING"
	TransferApplianceLifecycleStateDelivered               TransferApplianceLifecycleStateEnum = "DELIVERED"
	TransferApplianceLifecycleStatePreparing               TransferApplianceLifecycleStateEnum = "PREPARING"
	TransferApplianceLifecycleStateFinalized               TransferApplianceLifecycleStateEnum = "FINALIZED"
	TransferApplianceLifecycleStateReturnLabelRequested    TransferApplianceLifecycleStateEnum = "RETURN_LABEL_REQUESTED"
	TransferApplianceLifecycleStateReturnLabelGenerating   TransferApplianceLifecycleStateEnum = "RETURN_LABEL_GENERATING"
	TransferApplianceLifecycleStateReturnLabelAvailable    TransferApplianceLifecycleStateEnum = "RETURN_LABEL_AVAILABLE"
	TransferApplianceLifecycleStateReturnDelayed           TransferApplianceLifecycleStateEnum = "RETURN_DELAYED"
	TransferApplianceLifecycleStateReturnShipped           TransferApplianceLifecycleStateEnum = "RETURN_SHIPPED"
	TransferApplianceLifecycleStateReturnShippedCancelled  TransferApplianceLifecycleStateEnum = "RETURN_SHIPPED_CANCELLED"
	TransferApplianceLifecycleStateOracleReceived          TransferApplianceLifecycleStateEnum = "ORACLE_RECEIVED"
	TransferApplianceLifecycleStateOracleReceivedCancelled TransferApplianceLifecycleStateEnum = "ORACLE_RECEIVED_CANCELLED"
	TransferApplianceLifecycleStateProcessing              TransferApplianceLifecycleStateEnum = "PROCESSING"
	TransferApplianceLifecycleStateComplete                TransferApplianceLifecycleStateEnum = "COMPLETE"
	TransferApplianceLifecycleStateCustomerNeverReceived   TransferApplianceLifecycleStateEnum = "CUSTOMER_NEVER_RECEIVED"
	TransferApplianceLifecycleStateOracleNeverReceived     TransferApplianceLifecycleStateEnum = "ORACLE_NEVER_RECEIVED"
	TransferApplianceLifecycleStateCustomerLost            TransferApplianceLifecycleStateEnum = "CUSTOMER_LOST"
	TransferApplianceLifecycleStateCancelled               TransferApplianceLifecycleStateEnum = "CANCELLED"
	TransferApplianceLifecycleStateDeleted                 TransferApplianceLifecycleStateEnum = "DELETED"
	TransferApplianceLifecycleStateRejected                TransferApplianceLifecycleStateEnum = "REJECTED"
	TransferApplianceLifecycleStateError                   TransferApplianceLifecycleStateEnum = "ERROR"
)

Set of constants representing the allowable values for TransferApplianceLifecycleStateEnum

func GetMappingTransferApplianceLifecycleStateEnum

func GetMappingTransferApplianceLifecycleStateEnum(val string) (TransferApplianceLifecycleStateEnum, bool)

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

func GetTransferApplianceLifecycleStateEnumValues

func GetTransferApplianceLifecycleStateEnumValues() []TransferApplianceLifecycleStateEnum

GetTransferApplianceLifecycleStateEnumValues Enumerates the set of values for TransferApplianceLifecycleStateEnum

type TransferAppliancePublicKey

type TransferAppliancePublicKey struct {
	PublicKey *string `mandatory:"false" json:"publicKey"`
}

TransferAppliancePublicKey The representation of TransferAppliancePublicKey

func (TransferAppliancePublicKey) String

func (TransferAppliancePublicKey) ValidateEnumValue

func (m TransferAppliancePublicKey) 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 TransferApplianceSummary

type TransferApplianceSummary struct {
	Label *string `mandatory:"false" json:"label"`

	LifecycleState TransferApplianceSummaryLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	SerialNumber *string `mandatory:"false" json:"serialNumber"`

	CreationTime *common.SDKTime `mandatory:"false" json:"creationTime"`
}

TransferApplianceSummary The representation of TransferApplianceSummary

func (TransferApplianceSummary) String

func (m TransferApplianceSummary) String() string

func (TransferApplianceSummary) ValidateEnumValue

func (m TransferApplianceSummary) 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 TransferApplianceSummaryLifecycleStateEnum

type TransferApplianceSummaryLifecycleStateEnum string

TransferApplianceSummaryLifecycleStateEnum Enum with underlying type: string

const (
	TransferApplianceSummaryLifecycleStateRequested               TransferApplianceSummaryLifecycleStateEnum = "REQUESTED"
	TransferApplianceSummaryLifecycleStateOraclePreparing         TransferApplianceSummaryLifecycleStateEnum = "ORACLE_PREPARING"
	TransferApplianceSummaryLifecycleStateShipping                TransferApplianceSummaryLifecycleStateEnum = "SHIPPING"
	TransferApplianceSummaryLifecycleStateDelivered               TransferApplianceSummaryLifecycleStateEnum = "DELIVERED"
	TransferApplianceSummaryLifecycleStatePreparing               TransferApplianceSummaryLifecycleStateEnum = "PREPARING"
	TransferApplianceSummaryLifecycleStateFinalized               TransferApplianceSummaryLifecycleStateEnum = "FINALIZED"
	TransferApplianceSummaryLifecycleStateReturnLabelRequested    TransferApplianceSummaryLifecycleStateEnum = "RETURN_LABEL_REQUESTED"
	TransferApplianceSummaryLifecycleStateReturnLabelGenerating   TransferApplianceSummaryLifecycleStateEnum = "RETURN_LABEL_GENERATING"
	TransferApplianceSummaryLifecycleStateReturnLabelAvailable    TransferApplianceSummaryLifecycleStateEnum = "RETURN_LABEL_AVAILABLE"
	TransferApplianceSummaryLifecycleStateReturnDelayed           TransferApplianceSummaryLifecycleStateEnum = "RETURN_DELAYED"
	TransferApplianceSummaryLifecycleStateReturnShipped           TransferApplianceSummaryLifecycleStateEnum = "RETURN_SHIPPED"
	TransferApplianceSummaryLifecycleStateReturnShippedCancelled  TransferApplianceSummaryLifecycleStateEnum = "RETURN_SHIPPED_CANCELLED"
	TransferApplianceSummaryLifecycleStateOracleReceived          TransferApplianceSummaryLifecycleStateEnum = "ORACLE_RECEIVED"
	TransferApplianceSummaryLifecycleStateOracleReceivedCancelled TransferApplianceSummaryLifecycleStateEnum = "ORACLE_RECEIVED_CANCELLED"
	TransferApplianceSummaryLifecycleStateProcessing              TransferApplianceSummaryLifecycleStateEnum = "PROCESSING"
	TransferApplianceSummaryLifecycleStateComplete                TransferApplianceSummaryLifecycleStateEnum = "COMPLETE"
	TransferApplianceSummaryLifecycleStateCustomerNeverReceived   TransferApplianceSummaryLifecycleStateEnum = "CUSTOMER_NEVER_RECEIVED"
	TransferApplianceSummaryLifecycleStateOracleNeverReceived     TransferApplianceSummaryLifecycleStateEnum = "ORACLE_NEVER_RECEIVED"
	TransferApplianceSummaryLifecycleStateCustomerLost            TransferApplianceSummaryLifecycleStateEnum = "CUSTOMER_LOST"
	TransferApplianceSummaryLifecycleStateCancelled               TransferApplianceSummaryLifecycleStateEnum = "CANCELLED"
	TransferApplianceSummaryLifecycleStateDeleted                 TransferApplianceSummaryLifecycleStateEnum = "DELETED"
	TransferApplianceSummaryLifecycleStateRejected                TransferApplianceSummaryLifecycleStateEnum = "REJECTED"
	TransferApplianceSummaryLifecycleStateError                   TransferApplianceSummaryLifecycleStateEnum = "ERROR"
)

Set of constants representing the allowable values for TransferApplianceSummaryLifecycleStateEnum

func GetMappingTransferApplianceSummaryLifecycleStateEnum

func GetMappingTransferApplianceSummaryLifecycleStateEnum(val string) (TransferApplianceSummaryLifecycleStateEnum, bool)

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

func GetTransferApplianceSummaryLifecycleStateEnumValues

func GetTransferApplianceSummaryLifecycleStateEnumValues() []TransferApplianceSummaryLifecycleStateEnum

GetTransferApplianceSummaryLifecycleStateEnumValues Enumerates the set of values for TransferApplianceSummaryLifecycleStateEnum

type TransferDevice

type TransferDevice struct {
	Label *string `mandatory:"true" json:"label"`

	SerialNumber *string `mandatory:"false" json:"serialNumber"`

	IscsiIQN *string `mandatory:"false" json:"iscsiIQN"`

	LifecycleState TransferDeviceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	TransferJobId *string `mandatory:"false" json:"transferJobId"`

	AttachedTransferPackageLabel *string `mandatory:"false" json:"attachedTransferPackageLabel"`

	CreationTime *common.SDKTime `mandatory:"false" json:"creationTime"`

	UploadStatusLogUri *string `mandatory:"false" json:"uploadStatusLogUri"`
}

TransferDevice The representation of TransferDevice

func (TransferDevice) String

func (m TransferDevice) String() string

func (TransferDevice) ValidateEnumValue

func (m TransferDevice) 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 TransferDeviceClient

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

TransferDeviceClient a client for TransferDevice

func NewTransferDeviceClientWithConfigurationProvider

func NewTransferDeviceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client TransferDeviceClient, err error)

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

func NewTransferDeviceClientWithOboToken

func NewTransferDeviceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client TransferDeviceClient, err error)

NewTransferDeviceClientWithOboToken Creates a new default TransferDevice 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 (*TransferDeviceClient) ConfigurationProvider

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

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

func (TransferDeviceClient) CreateTransferDevice

func (client TransferDeviceClient) CreateTransferDevice(ctx context.Context, request CreateTransferDeviceRequest) (response CreateTransferDeviceResponse, err error)

CreateTransferDevice Create a new Transfer Device

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/CreateTransferDevice.go.html to see an example of how to use CreateTransferDevice API.

func (TransferDeviceClient) DeleteTransferDevice

func (client TransferDeviceClient) DeleteTransferDevice(ctx context.Context, request DeleteTransferDeviceRequest) (response DeleteTransferDeviceResponse, err error)

DeleteTransferDevice deletes a transfer Device

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/DeleteTransferDevice.go.html to see an example of how to use DeleteTransferDevice API.

func (TransferDeviceClient) GetTransferDevice

func (client TransferDeviceClient) GetTransferDevice(ctx context.Context, request GetTransferDeviceRequest) (response GetTransferDeviceResponse, err error)

GetTransferDevice Describes a transfer package in detail

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/GetTransferDevice.go.html to see an example of how to use GetTransferDevice API.

func (TransferDeviceClient) ListTransferDevices

func (client TransferDeviceClient) ListTransferDevices(ctx context.Context, request ListTransferDevicesRequest) (response ListTransferDevicesResponse, err error)

ListTransferDevices Lists Transfer Devices associated with a transferJob

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/ListTransferDevices.go.html to see an example of how to use ListTransferDevices API.

func (*TransferDeviceClient) SetRegion

func (client *TransferDeviceClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (TransferDeviceClient) UpdateTransferDevice

func (client TransferDeviceClient) UpdateTransferDevice(ctx context.Context, request UpdateTransferDeviceRequest) (response UpdateTransferDeviceResponse, err error)

UpdateTransferDevice Updates a Transfer Device

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/UpdateTransferDevice.go.html to see an example of how to use UpdateTransferDevice API.

type TransferDeviceLifecycleStateEnum

type TransferDeviceLifecycleStateEnum string

TransferDeviceLifecycleStateEnum Enum with underlying type: string

const (
	TransferDeviceLifecycleStatePreparing  TransferDeviceLifecycleStateEnum = "PREPARING"
	TransferDeviceLifecycleStateReady      TransferDeviceLifecycleStateEnum = "READY"
	TransferDeviceLifecycleStatePackaged   TransferDeviceLifecycleStateEnum = "PACKAGED"
	TransferDeviceLifecycleStateActive     TransferDeviceLifecycleStateEnum = "ACTIVE"
	TransferDeviceLifecycleStateProcessing TransferDeviceLifecycleStateEnum = "PROCESSING"
	TransferDeviceLifecycleStateComplete   TransferDeviceLifecycleStateEnum = "COMPLETE"
	TransferDeviceLifecycleStateMissing    TransferDeviceLifecycleStateEnum = "MISSING"
	TransferDeviceLifecycleStateError      TransferDeviceLifecycleStateEnum = "ERROR"
	TransferDeviceLifecycleStateDeleted    TransferDeviceLifecycleStateEnum = "DELETED"
	TransferDeviceLifecycleStateCancelled  TransferDeviceLifecycleStateEnum = "CANCELLED"
)

Set of constants representing the allowable values for TransferDeviceLifecycleStateEnum

func GetMappingTransferDeviceLifecycleStateEnum

func GetMappingTransferDeviceLifecycleStateEnum(val string) (TransferDeviceLifecycleStateEnum, bool)

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

func GetTransferDeviceLifecycleStateEnumValues

func GetTransferDeviceLifecycleStateEnumValues() []TransferDeviceLifecycleStateEnum

GetTransferDeviceLifecycleStateEnumValues Enumerates the set of values for TransferDeviceLifecycleStateEnum

type TransferDeviceSummary

type TransferDeviceSummary struct {
	SerialNumber *string `mandatory:"false" json:"serialNumber"`

	IscsiIQN *string `mandatory:"false" json:"iscsiIQN"`

	Label *string `mandatory:"false" json:"label"`

	LifecycleState TransferDeviceSummaryLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	AttachedTransferPackageLabel *string `mandatory:"false" json:"attachedTransferPackageLabel"`

	CreationTime *common.SDKTime `mandatory:"false" json:"creationTime"`

	UploadStatusLogUri *string `mandatory:"false" json:"uploadStatusLogUri"`
}

TransferDeviceSummary The representation of TransferDeviceSummary

func (TransferDeviceSummary) String

func (m TransferDeviceSummary) String() string

func (TransferDeviceSummary) ValidateEnumValue

func (m TransferDeviceSummary) 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 TransferDeviceSummaryLifecycleStateEnum

type TransferDeviceSummaryLifecycleStateEnum string

TransferDeviceSummaryLifecycleStateEnum Enum with underlying type: string

const (
	TransferDeviceSummaryLifecycleStatePreparing  TransferDeviceSummaryLifecycleStateEnum = "PREPARING"
	TransferDeviceSummaryLifecycleStateReady      TransferDeviceSummaryLifecycleStateEnum = "READY"
	TransferDeviceSummaryLifecycleStatePackaged   TransferDeviceSummaryLifecycleStateEnum = "PACKAGED"
	TransferDeviceSummaryLifecycleStateActive     TransferDeviceSummaryLifecycleStateEnum = "ACTIVE"
	TransferDeviceSummaryLifecycleStateProcessing TransferDeviceSummaryLifecycleStateEnum = "PROCESSING"
	TransferDeviceSummaryLifecycleStateComplete   TransferDeviceSummaryLifecycleStateEnum = "COMPLETE"
	TransferDeviceSummaryLifecycleStateMissing    TransferDeviceSummaryLifecycleStateEnum = "MISSING"
	TransferDeviceSummaryLifecycleStateError      TransferDeviceSummaryLifecycleStateEnum = "ERROR"
	TransferDeviceSummaryLifecycleStateDeleted    TransferDeviceSummaryLifecycleStateEnum = "DELETED"
	TransferDeviceSummaryLifecycleStateCancelled  TransferDeviceSummaryLifecycleStateEnum = "CANCELLED"
)

Set of constants representing the allowable values for TransferDeviceSummaryLifecycleStateEnum

func GetMappingTransferDeviceSummaryLifecycleStateEnum

func GetMappingTransferDeviceSummaryLifecycleStateEnum(val string) (TransferDeviceSummaryLifecycleStateEnum, bool)

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

func GetTransferDeviceSummaryLifecycleStateEnumValues

func GetTransferDeviceSummaryLifecycleStateEnumValues() []TransferDeviceSummaryLifecycleStateEnum

GetTransferDeviceSummaryLifecycleStateEnumValues Enumerates the set of values for TransferDeviceSummaryLifecycleStateEnum

type TransferJob

type TransferJob struct {
	Id *string `mandatory:"true" json:"id"`

	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	UploadBucketName *string `mandatory:"false" json:"uploadBucketName"`

	DisplayName *string `mandatory:"false" json:"displayName"`

	Label *string `mandatory:"false" json:"label"`

	CreationTime *common.SDKTime `mandatory:"false" json:"creationTime"`

	DeviceType TransferJobDeviceTypeEnum `mandatory:"false" json:"deviceType,omitempty"`

	LifecycleState TransferJobLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Transfer Appliance labels associated with this transfer Job
	AttachedTransferApplianceLabels []string `mandatory:"false" json:"attachedTransferApplianceLabels"`

	// Transfer Package labels associated with this transfer Job
	AttachedTransferPackageLabels []string `mandatory:"false" json:"attachedTransferPackageLabels"`

	// Transfer Device labels associated with this transfer Job
	AttachedTransferDeviceLabels []string `mandatory:"false" json:"attachedTransferDeviceLabels"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

TransferJob The representation of TransferJob

func (TransferJob) String

func (m TransferJob) String() string

func (TransferJob) ValidateEnumValue

func (m TransferJob) 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 TransferJobClient

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

TransferJobClient a client for TransferJob

func NewTransferJobClientWithConfigurationProvider

func NewTransferJobClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client TransferJobClient, err error)

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

func NewTransferJobClientWithOboToken

func NewTransferJobClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client TransferJobClient, err error)

NewTransferJobClientWithOboToken Creates a new default TransferJob 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 (TransferJobClient) ChangeTransferJobCompartment

func (client TransferJobClient) ChangeTransferJobCompartment(ctx context.Context, request ChangeTransferJobCompartmentRequest) (response ChangeTransferJobCompartmentResponse, err error)

ChangeTransferJobCompartment Moves a TransferJob into a different compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/ChangeTransferJobCompartment.go.html to see an example of how to use ChangeTransferJobCompartment API.

func (*TransferJobClient) ConfigurationProvider

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

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

func (TransferJobClient) CreateTransferJob

func (client TransferJobClient) CreateTransferJob(ctx context.Context, request CreateTransferJobRequest) (response CreateTransferJobResponse, err error)

CreateTransferJob Create a new Transfer Job that corresponds with customer's logical dataset e.g. a DB or a filesystem.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/CreateTransferJob.go.html to see an example of how to use CreateTransferJob API.

func (TransferJobClient) DeleteTransferJob

func (client TransferJobClient) DeleteTransferJob(ctx context.Context, request DeleteTransferJobRequest) (response DeleteTransferJobResponse, err error)

DeleteTransferJob deletes a transfer job

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/DeleteTransferJob.go.html to see an example of how to use DeleteTransferJob API.

func (TransferJobClient) GetTransferJob

func (client TransferJobClient) GetTransferJob(ctx context.Context, request GetTransferJobRequest) (response GetTransferJobResponse, err error)

GetTransferJob Describes a transfer job in detail

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/GetTransferJob.go.html to see an example of how to use GetTransferJob API.

func (TransferJobClient) ListTransferJobs

func (client TransferJobClient) ListTransferJobs(ctx context.Context, request ListTransferJobsRequest) (response ListTransferJobsResponse, err error)

ListTransferJobs Lists Transfer Jobs in a given compartment

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/ListTransferJobs.go.html to see an example of how to use ListTransferJobs API.

func (*TransferJobClient) SetRegion

func (client *TransferJobClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (TransferJobClient) UpdateTransferJob

func (client TransferJobClient) UpdateTransferJob(ctx context.Context, request UpdateTransferJobRequest) (response UpdateTransferJobResponse, err error)

UpdateTransferJob Updates a Transfer Job that corresponds with customer's logical dataset e.g. a DB or a filesystem.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/UpdateTransferJob.go.html to see an example of how to use UpdateTransferJob API.

type TransferJobDeviceTypeEnum

type TransferJobDeviceTypeEnum string

TransferJobDeviceTypeEnum Enum with underlying type: string

const (
	TransferJobDeviceTypeDisk      TransferJobDeviceTypeEnum = "DISK"
	TransferJobDeviceTypeAppliance TransferJobDeviceTypeEnum = "APPLIANCE"
)

Set of constants representing the allowable values for TransferJobDeviceTypeEnum

func GetMappingTransferJobDeviceTypeEnum

func GetMappingTransferJobDeviceTypeEnum(val string) (TransferJobDeviceTypeEnum, bool)

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

func GetTransferJobDeviceTypeEnumValues

func GetTransferJobDeviceTypeEnumValues() []TransferJobDeviceTypeEnum

GetTransferJobDeviceTypeEnumValues Enumerates the set of values for TransferJobDeviceTypeEnum

type TransferJobLifecycleStateEnum

type TransferJobLifecycleStateEnum string

TransferJobLifecycleStateEnum Enum with underlying type: string

const (
	TransferJobLifecycleStateInitiated TransferJobLifecycleStateEnum = "INITIATED"
	TransferJobLifecycleStatePreparing TransferJobLifecycleStateEnum = "PREPARING"
	TransferJobLifecycleStateActive    TransferJobLifecycleStateEnum = "ACTIVE"
	TransferJobLifecycleStateDeleted   TransferJobLifecycleStateEnum = "DELETED"
	TransferJobLifecycleStateClosed    TransferJobLifecycleStateEnum = "CLOSED"
)

Set of constants representing the allowable values for TransferJobLifecycleStateEnum

func GetMappingTransferJobLifecycleStateEnum

func GetMappingTransferJobLifecycleStateEnum(val string) (TransferJobLifecycleStateEnum, bool)

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

func GetTransferJobLifecycleStateEnumValues

func GetTransferJobLifecycleStateEnumValues() []TransferJobLifecycleStateEnum

GetTransferJobLifecycleStateEnumValues Enumerates the set of values for TransferJobLifecycleStateEnum

type TransferJobSummary

type TransferJobSummary struct {
	Id *string `mandatory:"false" json:"id"`

	UploadBucketName *string `mandatory:"false" json:"uploadBucketName"`

	DisplayName *string `mandatory:"false" json:"displayName"`

	Label *string `mandatory:"false" json:"label"`

	DeviceType TransferJobSummaryDeviceTypeEnum `mandatory:"false" json:"deviceType,omitempty"`

	CreationTime *common.SDKTime `mandatory:"false" json:"creationTime"`

	LifecycleState TransferJobSummaryLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

TransferJobSummary The representation of TransferJobSummary

func (TransferJobSummary) String

func (m TransferJobSummary) String() string

func (TransferJobSummary) ValidateEnumValue

func (m TransferJobSummary) 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 TransferJobSummaryDeviceTypeEnum

type TransferJobSummaryDeviceTypeEnum string

TransferJobSummaryDeviceTypeEnum Enum with underlying type: string

const (
	TransferJobSummaryDeviceTypeDisk      TransferJobSummaryDeviceTypeEnum = "DISK"
	TransferJobSummaryDeviceTypeAppliance TransferJobSummaryDeviceTypeEnum = "APPLIANCE"
)

Set of constants representing the allowable values for TransferJobSummaryDeviceTypeEnum

func GetMappingTransferJobSummaryDeviceTypeEnum

func GetMappingTransferJobSummaryDeviceTypeEnum(val string) (TransferJobSummaryDeviceTypeEnum, bool)

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

func GetTransferJobSummaryDeviceTypeEnumValues

func GetTransferJobSummaryDeviceTypeEnumValues() []TransferJobSummaryDeviceTypeEnum

GetTransferJobSummaryDeviceTypeEnumValues Enumerates the set of values for TransferJobSummaryDeviceTypeEnum

type TransferJobSummaryLifecycleStateEnum

type TransferJobSummaryLifecycleStateEnum string

TransferJobSummaryLifecycleStateEnum Enum with underlying type: string

const (
	TransferJobSummaryLifecycleStateInitiated TransferJobSummaryLifecycleStateEnum = "INITIATED"
	TransferJobSummaryLifecycleStatePreparing TransferJobSummaryLifecycleStateEnum = "PREPARING"
	TransferJobSummaryLifecycleStateActive    TransferJobSummaryLifecycleStateEnum = "ACTIVE"
	TransferJobSummaryLifecycleStateDeleted   TransferJobSummaryLifecycleStateEnum = "DELETED"
	TransferJobSummaryLifecycleStateClosed    TransferJobSummaryLifecycleStateEnum = "CLOSED"
)

Set of constants representing the allowable values for TransferJobSummaryLifecycleStateEnum

func GetMappingTransferJobSummaryLifecycleStateEnum

func GetMappingTransferJobSummaryLifecycleStateEnum(val string) (TransferJobSummaryLifecycleStateEnum, bool)

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

func GetTransferJobSummaryLifecycleStateEnumValues

func GetTransferJobSummaryLifecycleStateEnumValues() []TransferJobSummaryLifecycleStateEnum

GetTransferJobSummaryLifecycleStateEnumValues Enumerates the set of values for TransferJobSummaryLifecycleStateEnum

type TransferPackage

type TransferPackage struct {
	Label *string `mandatory:"true" json:"label"`

	LifecycleState TransferPackageLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	TransferJobId *string `mandatory:"false" json:"transferJobId"`

	CreationTime *common.SDKTime `mandatory:"false" json:"creationTime"`

	OriginalPackageDeliveryTrackingNumber *string `mandatory:"false" json:"originalPackageDeliveryTrackingNumber"`

	ReturnPackageDeliveryTrackingNumber *string `mandatory:"false" json:"returnPackageDeliveryTrackingNumber"`

	PackageDeliveryVendor *string `mandatory:"false" json:"packageDeliveryVendor"`

	TransferSiteShippingAddress *string `mandatory:"false" json:"transferSiteShippingAddress"`

	// Transfer Devices attached to this Transfer Package
	AttachedTransferDeviceLabels []string `mandatory:"false" json:"attachedTransferDeviceLabels"`
}

TransferPackage The representation of TransferPackage

func (TransferPackage) String

func (m TransferPackage) String() string

func (TransferPackage) ValidateEnumValue

func (m TransferPackage) 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 TransferPackageClient

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

TransferPackageClient a client for TransferPackage

func NewTransferPackageClientWithConfigurationProvider

func NewTransferPackageClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client TransferPackageClient, err error)

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

func NewTransferPackageClientWithOboToken

func NewTransferPackageClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client TransferPackageClient, err error)

NewTransferPackageClientWithOboToken Creates a new default TransferPackage 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 (TransferPackageClient) AttachDevicesToTransferPackage

func (client TransferPackageClient) AttachDevicesToTransferPackage(ctx context.Context, request AttachDevicesToTransferPackageRequest) (response AttachDevicesToTransferPackageResponse, err error)

AttachDevicesToTransferPackage Attaches Devices to a Transfer Package

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/AttachDevicesToTransferPackage.go.html to see an example of how to use AttachDevicesToTransferPackage API.

func (*TransferPackageClient) ConfigurationProvider

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

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

func (TransferPackageClient) CreateTransferPackage

func (client TransferPackageClient) CreateTransferPackage(ctx context.Context, request CreateTransferPackageRequest) (response CreateTransferPackageResponse, err error)

CreateTransferPackage Create a new Transfer Package

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/CreateTransferPackage.go.html to see an example of how to use CreateTransferPackage API.

func (TransferPackageClient) DeleteTransferPackage

func (client TransferPackageClient) DeleteTransferPackage(ctx context.Context, request DeleteTransferPackageRequest) (response DeleteTransferPackageResponse, err error)

DeleteTransferPackage deletes a transfer Package

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/DeleteTransferPackage.go.html to see an example of how to use DeleteTransferPackage API.

func (TransferPackageClient) DetachDevicesFromTransferPackage

func (client TransferPackageClient) DetachDevicesFromTransferPackage(ctx context.Context, request DetachDevicesFromTransferPackageRequest) (response DetachDevicesFromTransferPackageResponse, err error)

DetachDevicesFromTransferPackage Detaches Devices from a Transfer Package

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/DetachDevicesFromTransferPackage.go.html to see an example of how to use DetachDevicesFromTransferPackage API.

func (TransferPackageClient) GetTransferPackage

func (client TransferPackageClient) GetTransferPackage(ctx context.Context, request GetTransferPackageRequest) (response GetTransferPackageResponse, err error)

GetTransferPackage Describes a transfer package in detail

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/GetTransferPackage.go.html to see an example of how to use GetTransferPackage API.

func (TransferPackageClient) ListTransferPackages

func (client TransferPackageClient) ListTransferPackages(ctx context.Context, request ListTransferPackagesRequest) (response ListTransferPackagesResponse, err error)

ListTransferPackages Lists Transfer Packages associated with a transferJob

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/ListTransferPackages.go.html to see an example of how to use ListTransferPackages API.

func (*TransferPackageClient) SetRegion

func (client *TransferPackageClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (TransferPackageClient) UpdateTransferPackage

func (client TransferPackageClient) UpdateTransferPackage(ctx context.Context, request UpdateTransferPackageRequest) (response UpdateTransferPackageResponse, err error)

UpdateTransferPackage Updates a Transfer Package

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/UpdateTransferPackage.go.html to see an example of how to use UpdateTransferPackage API.

type TransferPackageLifecycleStateEnum

type TransferPackageLifecycleStateEnum string

TransferPackageLifecycleStateEnum Enum with underlying type: string

const (
	TransferPackageLifecycleStatePreparing         TransferPackageLifecycleStateEnum = "PREPARING"
	TransferPackageLifecycleStateShipping          TransferPackageLifecycleStateEnum = "SHIPPING"
	TransferPackageLifecycleStateReceived          TransferPackageLifecycleStateEnum = "RECEIVED"
	TransferPackageLifecycleStateProcessing        TransferPackageLifecycleStateEnum = "PROCESSING"
	TransferPackageLifecycleStateProcessed         TransferPackageLifecycleStateEnum = "PROCESSED"
	TransferPackageLifecycleStateReturned          TransferPackageLifecycleStateEnum = "RETURNED"
	TransferPackageLifecycleStateDeleted           TransferPackageLifecycleStateEnum = "DELETED"
	TransferPackageLifecycleStateCancelled         TransferPackageLifecycleStateEnum = "CANCELLED"
	TransferPackageLifecycleStateCancelledReturned TransferPackageLifecycleStateEnum = "CANCELLED_RETURNED"
)

Set of constants representing the allowable values for TransferPackageLifecycleStateEnum

func GetMappingTransferPackageLifecycleStateEnum

func GetMappingTransferPackageLifecycleStateEnum(val string) (TransferPackageLifecycleStateEnum, bool)

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

func GetTransferPackageLifecycleStateEnumValues

func GetTransferPackageLifecycleStateEnumValues() []TransferPackageLifecycleStateEnum

GetTransferPackageLifecycleStateEnumValues Enumerates the set of values for TransferPackageLifecycleStateEnum

type TransferPackageSummary

type TransferPackageSummary struct {
	Label *string `mandatory:"false" json:"label"`

	LifecycleState TransferPackageSummaryLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	CreationTime *common.SDKTime `mandatory:"false" json:"creationTime"`
}

TransferPackageSummary The representation of TransferPackageSummary

func (TransferPackageSummary) String

func (m TransferPackageSummary) String() string

func (TransferPackageSummary) ValidateEnumValue

func (m TransferPackageSummary) 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 TransferPackageSummaryLifecycleStateEnum

type TransferPackageSummaryLifecycleStateEnum string

TransferPackageSummaryLifecycleStateEnum Enum with underlying type: string

const (
	TransferPackageSummaryLifecycleStatePreparing         TransferPackageSummaryLifecycleStateEnum = "PREPARING"
	TransferPackageSummaryLifecycleStateShipping          TransferPackageSummaryLifecycleStateEnum = "SHIPPING"
	TransferPackageSummaryLifecycleStateReceived          TransferPackageSummaryLifecycleStateEnum = "RECEIVED"
	TransferPackageSummaryLifecycleStateProcessing        TransferPackageSummaryLifecycleStateEnum = "PROCESSING"
	TransferPackageSummaryLifecycleStateProcessed         TransferPackageSummaryLifecycleStateEnum = "PROCESSED"
	TransferPackageSummaryLifecycleStateReturned          TransferPackageSummaryLifecycleStateEnum = "RETURNED"
	TransferPackageSummaryLifecycleStateDeleted           TransferPackageSummaryLifecycleStateEnum = "DELETED"
	TransferPackageSummaryLifecycleStateCancelled         TransferPackageSummaryLifecycleStateEnum = "CANCELLED"
	TransferPackageSummaryLifecycleStateCancelledReturned TransferPackageSummaryLifecycleStateEnum = "CANCELLED_RETURNED"
)

Set of constants representing the allowable values for TransferPackageSummaryLifecycleStateEnum

func GetMappingTransferPackageSummaryLifecycleStateEnum

func GetMappingTransferPackageSummaryLifecycleStateEnum(val string) (TransferPackageSummaryLifecycleStateEnum, bool)

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

func GetTransferPackageSummaryLifecycleStateEnumValues

func GetTransferPackageSummaryLifecycleStateEnumValues() []TransferPackageSummaryLifecycleStateEnum

GetTransferPackageSummaryLifecycleStateEnumValues Enumerates the set of values for TransferPackageSummaryLifecycleStateEnum

type UpdateApplianceExportJobDetails

type UpdateApplianceExportJobDetails struct {
	BucketName *string `mandatory:"false" json:"bucketName"`

	// List of objects with names matching this prefix would be part of this export job.
	Prefix *string `mandatory:"false" json:"prefix"`

	// Object names returned by a list query must be greater or equal to this parameter.
	RangeStart *string `mandatory:"false" json:"rangeStart"`

	// Object names returned by a list query must be strictly less than this parameter.
	RangeEnd *string `mandatory:"false" json:"rangeEnd"`

	DisplayName *string `mandatory:"false" json:"displayName"`

	LifecycleState UpdateApplianceExportJobDetailsLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// A property that can contain details on the lifecycle.
	LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"`

	// Manifest File associated with this export job.
	ManifestFile *string `mandatory:"false" json:"manifestFile"`

	// md5 digest of the manifest file.
	ManifestMd5 *string `mandatory:"false" json:"manifestMd5"`

	// Total number of objects that are exported in this job.
	NumberOfObjects *string `mandatory:"false" json:"numberOfObjects"`

	// Total size of objects in Bytes that are exported in this job.
	TotalSizeInBytes *string `mandatory:"false" json:"totalSizeInBytes"`

	// First object in the list of objects that are exported in this job.
	FirstObject *string `mandatory:"false" json:"firstObject"`

	// Last object in the list of objects that are exported in this job.
	LastObject *string `mandatory:"false" json:"lastObject"`

	// First object from which the next potential export job could start.
	NextObject *string `mandatory:"false" json:"nextObject"`

	// Expected return date from customer for the device, time portion should be zero.
	ExpectedReturnDate *common.SDKTime `mandatory:"false" json:"expectedReturnDate"`

	// Start time for the window to pickup the device from customer.
	PickupWindowStartTime *common.SDKTime `mandatory:"false" json:"pickupWindowStartTime"`

	// End time for the window to pickup the device from customer.
	PickupWindowEndTime *common.SDKTime `mandatory:"false" json:"pickupWindowEndTime"`

	CustomerShippingAddress *ShippingAddress `mandatory:"false" json:"customerShippingAddress"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateApplianceExportJobDetails The representation of UpdateApplianceExportJobDetails

func (UpdateApplianceExportJobDetails) String

func (UpdateApplianceExportJobDetails) ValidateEnumValue

func (m UpdateApplianceExportJobDetails) 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 UpdateApplianceExportJobDetailsLifecycleStateEnum

type UpdateApplianceExportJobDetailsLifecycleStateEnum string

UpdateApplianceExportJobDetailsLifecycleStateEnum Enum with underlying type: string

const (
	UpdateApplianceExportJobDetailsLifecycleStateCreating   UpdateApplianceExportJobDetailsLifecycleStateEnum = "CREATING"
	UpdateApplianceExportJobDetailsLifecycleStateActive     UpdateApplianceExportJobDetailsLifecycleStateEnum = "ACTIVE"
	UpdateApplianceExportJobDetailsLifecycleStateInprogress UpdateApplianceExportJobDetailsLifecycleStateEnum = "INPROGRESS"
	UpdateApplianceExportJobDetailsLifecycleStateSucceeded  UpdateApplianceExportJobDetailsLifecycleStateEnum = "SUCCEEDED"
	UpdateApplianceExportJobDetailsLifecycleStateFailed     UpdateApplianceExportJobDetailsLifecycleStateEnum = "FAILED"
	UpdateApplianceExportJobDetailsLifecycleStateCancelled  UpdateApplianceExportJobDetailsLifecycleStateEnum = "CANCELLED"
	UpdateApplianceExportJobDetailsLifecycleStateDeleted    UpdateApplianceExportJobDetailsLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for UpdateApplianceExportJobDetailsLifecycleStateEnum

func GetMappingUpdateApplianceExportJobDetailsLifecycleStateEnum

func GetMappingUpdateApplianceExportJobDetailsLifecycleStateEnum(val string) (UpdateApplianceExportJobDetailsLifecycleStateEnum, bool)

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

func GetUpdateApplianceExportJobDetailsLifecycleStateEnumValues

func GetUpdateApplianceExportJobDetailsLifecycleStateEnumValues() []UpdateApplianceExportJobDetailsLifecycleStateEnum

GetUpdateApplianceExportJobDetailsLifecycleStateEnumValues Enumerates the set of values for UpdateApplianceExportJobDetailsLifecycleStateEnum

type UpdateApplianceExportJobRequest

type UpdateApplianceExportJobRequest struct {

	// ID of the Appliance Export Job
	ApplianceExportJobId *string `mandatory:"true" contributesTo:"path" name:"applianceExportJobId"`

	// fields to update
	UpdateApplianceExportJobDetails `contributesTo:"body"`

	// The entity tag to match. Optional, if set, the update will be successful only if the
	// object's tag matches the tag specified in the request.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

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

UpdateApplianceExportJobRequest wrapper for the UpdateApplianceExportJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/UpdateApplianceExportJob.go.html to see an example of how to use UpdateApplianceExportJobRequest.

func (UpdateApplianceExportJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateApplianceExportJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateApplianceExportJobRequest) RetryPolicy

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

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

func (UpdateApplianceExportJobRequest) String

func (request UpdateApplianceExportJobRequest) String() string

func (UpdateApplianceExportJobRequest) ValidateEnumValue

func (request UpdateApplianceExportJobRequest) 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 UpdateApplianceExportJobResponse

type UpdateApplianceExportJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

UpdateApplianceExportJobResponse wrapper for the UpdateApplianceExportJob operation

func (UpdateApplianceExportJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateApplianceExportJobResponse) String

func (response UpdateApplianceExportJobResponse) String() string

type UpdateTransferApplianceDetails

type UpdateTransferApplianceDetails struct {
	LifecycleState UpdateTransferApplianceDetailsLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	CustomerShippingAddress *ShippingAddress `mandatory:"false" json:"customerShippingAddress"`

	// Expected return date from customer for the device, time portion should be zero.
	ExpectedReturnDate *common.SDKTime `mandatory:"false" json:"expectedReturnDate"`

	// Start time for the window to pickup the device from customer.
	PickupWindowStartTime *common.SDKTime `mandatory:"false" json:"pickupWindowStartTime"`

	// End time for the window to pickup the device from customer.
	PickupWindowEndTime *common.SDKTime `mandatory:"false" json:"pickupWindowEndTime"`

	// Minimum storage capacity of the device, in terabytes. Valid options are 50, 95 and 150.
	MinimumStorageCapacityInTerabytes *int `mandatory:"false" json:"minimumStorageCapacityInTerabytes"`
}

UpdateTransferApplianceDetails The representation of UpdateTransferApplianceDetails

func (UpdateTransferApplianceDetails) String

func (UpdateTransferApplianceDetails) ValidateEnumValue

func (m UpdateTransferApplianceDetails) 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 UpdateTransferApplianceDetailsLifecycleStateEnum

type UpdateTransferApplianceDetailsLifecycleStateEnum string

UpdateTransferApplianceDetailsLifecycleStateEnum Enum with underlying type: string

const (
	UpdateTransferApplianceDetailsLifecycleStatePreparing             UpdateTransferApplianceDetailsLifecycleStateEnum = "PREPARING"
	UpdateTransferApplianceDetailsLifecycleStateFinalized             UpdateTransferApplianceDetailsLifecycleStateEnum = "FINALIZED"
	UpdateTransferApplianceDetailsLifecycleStateReturnLabelRequested  UpdateTransferApplianceDetailsLifecycleStateEnum = "RETURN_LABEL_REQUESTED"
	UpdateTransferApplianceDetailsLifecycleStateReturnLabelGenerating UpdateTransferApplianceDetailsLifecycleStateEnum = "RETURN_LABEL_GENERATING"
	UpdateTransferApplianceDetailsLifecycleStateReturnLabelAvailable  UpdateTransferApplianceDetailsLifecycleStateEnum = "RETURN_LABEL_AVAILABLE"
	UpdateTransferApplianceDetailsLifecycleStateDeleted               UpdateTransferApplianceDetailsLifecycleStateEnum = "DELETED"
	UpdateTransferApplianceDetailsLifecycleStateCustomerNeverReceived UpdateTransferApplianceDetailsLifecycleStateEnum = "CUSTOMER_NEVER_RECEIVED"
	UpdateTransferApplianceDetailsLifecycleStateCancelled             UpdateTransferApplianceDetailsLifecycleStateEnum = "CANCELLED"
)

Set of constants representing the allowable values for UpdateTransferApplianceDetailsLifecycleStateEnum

func GetMappingUpdateTransferApplianceDetailsLifecycleStateEnum

func GetMappingUpdateTransferApplianceDetailsLifecycleStateEnum(val string) (UpdateTransferApplianceDetailsLifecycleStateEnum, bool)

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

func GetUpdateTransferApplianceDetailsLifecycleStateEnumValues

func GetUpdateTransferApplianceDetailsLifecycleStateEnumValues() []UpdateTransferApplianceDetailsLifecycleStateEnum

GetUpdateTransferApplianceDetailsLifecycleStateEnumValues Enumerates the set of values for UpdateTransferApplianceDetailsLifecycleStateEnum

type UpdateTransferApplianceRequest

type UpdateTransferApplianceRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// Label of the Transfer Appliance
	TransferApplianceLabel *string `mandatory:"true" contributesTo:"path" name:"transferApplianceLabel"`

	// fields to update
	UpdateTransferApplianceDetails `contributesTo:"body"`

	// The entity tag to match. Optional, if set, the update will be successful only if the
	// object's tag matches the tag specified in the request.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

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

UpdateTransferApplianceRequest wrapper for the UpdateTransferAppliance operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/UpdateTransferAppliance.go.html to see an example of how to use UpdateTransferApplianceRequest.

func (UpdateTransferApplianceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateTransferApplianceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateTransferApplianceRequest) RetryPolicy

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

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

func (UpdateTransferApplianceRequest) String

func (request UpdateTransferApplianceRequest) String() string

func (UpdateTransferApplianceRequest) ValidateEnumValue

func (request UpdateTransferApplianceRequest) 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 UpdateTransferApplianceResponse

type UpdateTransferApplianceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

UpdateTransferApplianceResponse wrapper for the UpdateTransferAppliance operation

func (UpdateTransferApplianceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateTransferApplianceResponse) String

func (response UpdateTransferApplianceResponse) String() string

type UpdateTransferDeviceDetails

type UpdateTransferDeviceDetails struct {
	LifecycleState UpdateTransferDeviceDetailsLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

UpdateTransferDeviceDetails The representation of UpdateTransferDeviceDetails

func (UpdateTransferDeviceDetails) String

func (UpdateTransferDeviceDetails) ValidateEnumValue

func (m UpdateTransferDeviceDetails) 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 UpdateTransferDeviceDetailsLifecycleStateEnum

type UpdateTransferDeviceDetailsLifecycleStateEnum string

UpdateTransferDeviceDetailsLifecycleStateEnum Enum with underlying type: string

const (
	UpdateTransferDeviceDetailsLifecycleStatePreparing UpdateTransferDeviceDetailsLifecycleStateEnum = "PREPARING"
	UpdateTransferDeviceDetailsLifecycleStateReady     UpdateTransferDeviceDetailsLifecycleStateEnum = "READY"
	UpdateTransferDeviceDetailsLifecycleStateCancelled UpdateTransferDeviceDetailsLifecycleStateEnum = "CANCELLED"
)

Set of constants representing the allowable values for UpdateTransferDeviceDetailsLifecycleStateEnum

func GetMappingUpdateTransferDeviceDetailsLifecycleStateEnum

func GetMappingUpdateTransferDeviceDetailsLifecycleStateEnum(val string) (UpdateTransferDeviceDetailsLifecycleStateEnum, bool)

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

func GetUpdateTransferDeviceDetailsLifecycleStateEnumValues

func GetUpdateTransferDeviceDetailsLifecycleStateEnumValues() []UpdateTransferDeviceDetailsLifecycleStateEnum

GetUpdateTransferDeviceDetailsLifecycleStateEnumValues Enumerates the set of values for UpdateTransferDeviceDetailsLifecycleStateEnum

type UpdateTransferDeviceRequest

type UpdateTransferDeviceRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// Label of the Transfer Device
	TransferDeviceLabel *string `mandatory:"true" contributesTo:"path" name:"transferDeviceLabel"`

	// fields to update
	UpdateTransferDeviceDetails `contributesTo:"body"`

	// The entity tag to match. Optional, if set, the update will be successful only if the
	// object's tag matches the tag specified in the request.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

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

UpdateTransferDeviceRequest wrapper for the UpdateTransferDevice operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/UpdateTransferDevice.go.html to see an example of how to use UpdateTransferDeviceRequest.

func (UpdateTransferDeviceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateTransferDeviceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateTransferDeviceRequest) RetryPolicy

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

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

func (UpdateTransferDeviceRequest) String

func (request UpdateTransferDeviceRequest) String() string

func (UpdateTransferDeviceRequest) ValidateEnumValue

func (request UpdateTransferDeviceRequest) 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 UpdateTransferDeviceResponse

type UpdateTransferDeviceResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

UpdateTransferDeviceResponse wrapper for the UpdateTransferDevice operation

func (UpdateTransferDeviceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateTransferDeviceResponse) String

func (response UpdateTransferDeviceResponse) String() string

type UpdateTransferJobDetails

type UpdateTransferJobDetails struct {
	LifecycleState UpdateTransferJobDetailsLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	DisplayName *string `mandatory:"false" json:"displayName"`

	DeviceType UpdateTransferJobDetailsDeviceTypeEnum `mandatory:"false" json:"deviceType,omitempty"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateTransferJobDetails The representation of UpdateTransferJobDetails

func (UpdateTransferJobDetails) String

func (m UpdateTransferJobDetails) String() string

func (UpdateTransferJobDetails) ValidateEnumValue

func (m UpdateTransferJobDetails) 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 UpdateTransferJobDetailsDeviceTypeEnum

type UpdateTransferJobDetailsDeviceTypeEnum string

UpdateTransferJobDetailsDeviceTypeEnum Enum with underlying type: string

const (
	UpdateTransferJobDetailsDeviceTypeDisk      UpdateTransferJobDetailsDeviceTypeEnum = "DISK"
	UpdateTransferJobDetailsDeviceTypeAppliance UpdateTransferJobDetailsDeviceTypeEnum = "APPLIANCE"
)

Set of constants representing the allowable values for UpdateTransferJobDetailsDeviceTypeEnum

func GetMappingUpdateTransferJobDetailsDeviceTypeEnum

func GetMappingUpdateTransferJobDetailsDeviceTypeEnum(val string) (UpdateTransferJobDetailsDeviceTypeEnum, bool)

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

func GetUpdateTransferJobDetailsDeviceTypeEnumValues

func GetUpdateTransferJobDetailsDeviceTypeEnumValues() []UpdateTransferJobDetailsDeviceTypeEnum

GetUpdateTransferJobDetailsDeviceTypeEnumValues Enumerates the set of values for UpdateTransferJobDetailsDeviceTypeEnum

type UpdateTransferJobDetailsLifecycleStateEnum

type UpdateTransferJobDetailsLifecycleStateEnum string

UpdateTransferJobDetailsLifecycleStateEnum Enum with underlying type: string

const (
	UpdateTransferJobDetailsLifecycleStateClosed UpdateTransferJobDetailsLifecycleStateEnum = "CLOSED"
)

Set of constants representing the allowable values for UpdateTransferJobDetailsLifecycleStateEnum

func GetMappingUpdateTransferJobDetailsLifecycleStateEnum

func GetMappingUpdateTransferJobDetailsLifecycleStateEnum(val string) (UpdateTransferJobDetailsLifecycleStateEnum, bool)

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

func GetUpdateTransferJobDetailsLifecycleStateEnumValues

func GetUpdateTransferJobDetailsLifecycleStateEnumValues() []UpdateTransferJobDetailsLifecycleStateEnum

GetUpdateTransferJobDetailsLifecycleStateEnumValues Enumerates the set of values for UpdateTransferJobDetailsLifecycleStateEnum

type UpdateTransferJobRequest

type UpdateTransferJobRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// fields to update
	UpdateTransferJobDetails `contributesTo:"body"`

	// The entity tag to match. Optional, if set, the update will be successful only if the
	// object's tag matches the tag specified in the request.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

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

UpdateTransferJobRequest wrapper for the UpdateTransferJob operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/UpdateTransferJob.go.html to see an example of how to use UpdateTransferJobRequest.

func (UpdateTransferJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateTransferJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateTransferJobRequest) RetryPolicy

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

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

func (UpdateTransferJobRequest) String

func (request UpdateTransferJobRequest) String() string

func (UpdateTransferJobRequest) ValidateEnumValue

func (request UpdateTransferJobRequest) 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 UpdateTransferJobResponse

type UpdateTransferJobResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

UpdateTransferJobResponse wrapper for the UpdateTransferJob operation

func (UpdateTransferJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateTransferJobResponse) String

func (response UpdateTransferJobResponse) String() string

type UpdateTransferPackageDetails

type UpdateTransferPackageDetails struct {
	OriginalPackageDeliveryTrackingNumber *string `mandatory:"false" json:"originalPackageDeliveryTrackingNumber"`

	ReturnPackageDeliveryTrackingNumber *string `mandatory:"false" json:"returnPackageDeliveryTrackingNumber"`

	PackageDeliveryVendor *string `mandatory:"false" json:"packageDeliveryVendor"`

	LifecycleState UpdateTransferPackageDetailsLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

UpdateTransferPackageDetails The representation of UpdateTransferPackageDetails

func (UpdateTransferPackageDetails) String

func (UpdateTransferPackageDetails) ValidateEnumValue

func (m UpdateTransferPackageDetails) 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 UpdateTransferPackageDetailsLifecycleStateEnum

type UpdateTransferPackageDetailsLifecycleStateEnum string

UpdateTransferPackageDetailsLifecycleStateEnum Enum with underlying type: string

const (
	UpdateTransferPackageDetailsLifecycleStateShipping  UpdateTransferPackageDetailsLifecycleStateEnum = "SHIPPING"
	UpdateTransferPackageDetailsLifecycleStateCancelled UpdateTransferPackageDetailsLifecycleStateEnum = "CANCELLED"
)

Set of constants representing the allowable values for UpdateTransferPackageDetailsLifecycleStateEnum

func GetMappingUpdateTransferPackageDetailsLifecycleStateEnum

func GetMappingUpdateTransferPackageDetailsLifecycleStateEnum(val string) (UpdateTransferPackageDetailsLifecycleStateEnum, bool)

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

func GetUpdateTransferPackageDetailsLifecycleStateEnumValues

func GetUpdateTransferPackageDetailsLifecycleStateEnumValues() []UpdateTransferPackageDetailsLifecycleStateEnum

GetUpdateTransferPackageDetailsLifecycleStateEnumValues Enumerates the set of values for UpdateTransferPackageDetailsLifecycleStateEnum

type UpdateTransferPackageRequest

type UpdateTransferPackageRequest struct {

	// ID of the Transfer Job
	Id *string `mandatory:"true" contributesTo:"path" name:"id"`

	// Label of the Transfer Package
	TransferPackageLabel *string `mandatory:"true" contributesTo:"path" name:"transferPackageLabel"`

	// fields to update
	UpdateTransferPackageDetails `contributesTo:"body"`

	// The entity tag to match. Optional, if set, the update will be successful only if the
	// object's tag matches the tag specified in the request.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

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

UpdateTransferPackageRequest wrapper for the UpdateTransferPackage operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dts/UpdateTransferPackage.go.html to see an example of how to use UpdateTransferPackageRequest.

func (UpdateTransferPackageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateTransferPackageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateTransferPackageRequest) RetryPolicy

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

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

func (UpdateTransferPackageRequest) String

func (request UpdateTransferPackageRequest) String() string

func (UpdateTransferPackageRequest) ValidateEnumValue

func (request UpdateTransferPackageRequest) 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 UpdateTransferPackageResponse

type UpdateTransferPackageResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

	Etag *string `presentIn:"header" name:"etag"`
}

UpdateTransferPackageResponse wrapper for the UpdateTransferPackage operation

func (UpdateTransferPackageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateTransferPackageResponse) String

func (response UpdateTransferPackageResponse) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL