...

Package batch

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

Overview ▾

Index ▾

func GetActionTypeEnumStringValues() []string
func GetBatchContextLifecycleStateEnumStringValues() []string
func GetBatchJobLifecycleStateEnumStringValues() []string
func GetBatchJobPoolLifecycleStateEnumStringValues() []string
func GetBatchTaskEnvironmentLifecycleStateEnumStringValues() []string
func GetBatchTaskEnvironmentVolumeTypeEnumStringValues() []string
func GetBatchTaskLifecycleStateEnumStringValues() []string
func GetBatchTaskProfileLifecycleStateEnumStringValues() []string
func GetBatchTaskSortByEnumStringValues() []string
func GetBatchTaskTypeEnumStringValues() []string
func GetCreateBatchTaskDetailsTypeEnumStringValues() []string
func GetCreateFleetDetailsTypeEnumStringValues() []string
func GetFleetAssignmentPolicyTypeEnumStringValues() []string
func GetFleetTypeEnumStringValues() []string
func GetListBatchContextsSortByEnumStringValues() []string
func GetListBatchContextsSortOrderEnumStringValues() []string
func GetListBatchJobPoolsSortByEnumStringValues() []string
func GetListBatchJobPoolsSortOrderEnumStringValues() []string
func GetListBatchJobTasksSortByEnumStringValues() []string
func GetListBatchJobTasksSortOrderEnumStringValues() []string
func GetListBatchJobsSortByEnumStringValues() []string
func GetListBatchJobsSortOrderEnumStringValues() []string
func GetListBatchTaskEnvironmentsSortByEnumStringValues() []string
func GetListBatchTaskEnvironmentsSortOrderEnumStringValues() []string
func GetListBatchTaskProfilesSortByEnumStringValues() []string
func GetListBatchTaskProfilesSortOrderEnumStringValues() []string
func GetListBatchTasksSortByEnumStringValues() []string
func GetListBatchTasksSortOrderEnumStringValues() []string
func GetListWorkRequestErrorsSortByEnumStringValues() []string
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
func GetListWorkRequestLogsSortByEnumStringValues() []string
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
func GetListWorkRequestsSortByEnumStringValues() []string
func GetListWorkRequestsSortOrderEnumStringValues() []string
func GetListWorkRequestsStatusEnumStringValues() []string
func GetLoggingConfigurationTypeEnumStringValues() []string
func GetOperationStatusEnumStringValues() []string
func GetOperationTypeEnumStringValues() []string
func GetSortByEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
func GetWorkRequestLogAndErrorSortByEnumStringValues() []string
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
func GetWorkRequestSortByEnumStringValues() []string
type ActionTypeEnum
    func GetActionTypeEnumValues() []ActionTypeEnum
    func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
type BatchComputingClient
    func NewBatchComputingClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client BatchComputingClient, err error)
    func NewBatchComputingClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client BatchComputingClient, err error)
    func (client BatchComputingClient) CancelBatchJob(ctx context.Context, request CancelBatchJobRequest) (response CancelBatchJobResponse, err error)
    func (client BatchComputingClient) ChangeBatchContextCompartment(ctx context.Context, request ChangeBatchContextCompartmentRequest) (response ChangeBatchContextCompartmentResponse, err error)
    func (client BatchComputingClient) ChangeBatchJobCompartment(ctx context.Context, request ChangeBatchJobCompartmentRequest) (response ChangeBatchJobCompartmentResponse, err error)
    func (client BatchComputingClient) ChangeBatchJobPoolCompartment(ctx context.Context, request ChangeBatchJobPoolCompartmentRequest) (response ChangeBatchJobPoolCompartmentResponse, err error)
    func (client BatchComputingClient) ChangeBatchTaskEnvironmentCompartment(ctx context.Context, request ChangeBatchTaskEnvironmentCompartmentRequest) (response ChangeBatchTaskEnvironmentCompartmentResponse, err error)
    func (client BatchComputingClient) ChangeBatchTaskProfileCompartment(ctx context.Context, request ChangeBatchTaskProfileCompartmentRequest) (response ChangeBatchTaskProfileCompartmentResponse, err error)
    func (client *BatchComputingClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client BatchComputingClient) CreateBatchContext(ctx context.Context, request CreateBatchContextRequest) (response CreateBatchContextResponse, err error)
    func (client BatchComputingClient) CreateBatchJob(ctx context.Context, request CreateBatchJobRequest) (response CreateBatchJobResponse, err error)
    func (client BatchComputingClient) CreateBatchJobPool(ctx context.Context, request CreateBatchJobPoolRequest) (response CreateBatchJobPoolResponse, err error)
    func (client BatchComputingClient) CreateBatchTaskEnvironment(ctx context.Context, request CreateBatchTaskEnvironmentRequest) (response CreateBatchTaskEnvironmentResponse, err error)
    func (client BatchComputingClient) CreateBatchTaskProfile(ctx context.Context, request CreateBatchTaskProfileRequest) (response CreateBatchTaskProfileResponse, err error)
    func (client BatchComputingClient) DeleteBatchContext(ctx context.Context, request DeleteBatchContextRequest) (response DeleteBatchContextResponse, err error)
    func (client BatchComputingClient) DeleteBatchJobPool(ctx context.Context, request DeleteBatchJobPoolRequest) (response DeleteBatchJobPoolResponse, err error)
    func (client BatchComputingClient) DeleteBatchTaskEnvironment(ctx context.Context, request DeleteBatchTaskEnvironmentRequest) (response DeleteBatchTaskEnvironmentResponse, err error)
    func (client BatchComputingClient) DeleteBatchTaskProfile(ctx context.Context, request DeleteBatchTaskProfileRequest) (response DeleteBatchTaskProfileResponse, err error)
    func (client BatchComputingClient) GetBatchContext(ctx context.Context, request GetBatchContextRequest) (response GetBatchContextResponse, err error)
    func (client BatchComputingClient) GetBatchJob(ctx context.Context, request GetBatchJobRequest) (response GetBatchJobResponse, err error)
    func (client BatchComputingClient) GetBatchJobPool(ctx context.Context, request GetBatchJobPoolRequest) (response GetBatchJobPoolResponse, err error)
    func (client BatchComputingClient) GetBatchTask(ctx context.Context, request GetBatchTaskRequest) (response GetBatchTaskResponse, err error)
    func (client BatchComputingClient) GetBatchTaskEnvironment(ctx context.Context, request GetBatchTaskEnvironmentRequest) (response GetBatchTaskEnvironmentResponse, err error)
    func (client BatchComputingClient) GetBatchTaskProfile(ctx context.Context, request GetBatchTaskProfileRequest) (response GetBatchTaskProfileResponse, err error)
    func (client BatchComputingClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client BatchComputingClient) ListBatchContextShapes(ctx context.Context, request ListBatchContextShapesRequest) (response ListBatchContextShapesResponse, err error)
    func (client BatchComputingClient) ListBatchContexts(ctx context.Context, request ListBatchContextsRequest) (response ListBatchContextsResponse, err error)
    func (client BatchComputingClient) ListBatchJobPools(ctx context.Context, request ListBatchJobPoolsRequest) (response ListBatchJobPoolsResponse, err error)
    func (client BatchComputingClient) ListBatchJobTasks(ctx context.Context, request ListBatchJobTasksRequest) (response ListBatchJobTasksResponse, err error)
    func (client BatchComputingClient) ListBatchJobs(ctx context.Context, request ListBatchJobsRequest) (response ListBatchJobsResponse, err error)
    func (client BatchComputingClient) ListBatchTaskEnvironments(ctx context.Context, request ListBatchTaskEnvironmentsRequest) (response ListBatchTaskEnvironmentsResponse, err error)
    func (client BatchComputingClient) ListBatchTaskProfiles(ctx context.Context, request ListBatchTaskProfilesRequest) (response ListBatchTaskProfilesResponse, err error)
    func (client BatchComputingClient) ListBatchTasks(ctx context.Context, request ListBatchTasksRequest) (response ListBatchTasksResponse, err error)
    func (client BatchComputingClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client BatchComputingClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client BatchComputingClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client BatchComputingClient) PauseBatchJob(ctx context.Context, request PauseBatchJobRequest) (response PauseBatchJobResponse, err error)
    func (client *BatchComputingClient) SetRegion(region string)
    func (client BatchComputingClient) StartBatchContext(ctx context.Context, request StartBatchContextRequest) (response StartBatchContextResponse, err error)
    func (client BatchComputingClient) StartBatchJobPool(ctx context.Context, request StartBatchJobPoolRequest) (response StartBatchJobPoolResponse, err error)
    func (client BatchComputingClient) StopBatchContext(ctx context.Context, request StopBatchContextRequest) (response StopBatchContextResponse, err error)
    func (client BatchComputingClient) StopBatchJobPool(ctx context.Context, request StopBatchJobPoolRequest) (response StopBatchJobPoolResponse, err error)
    func (client BatchComputingClient) UnpauseBatchJob(ctx context.Context, request UnpauseBatchJobRequest) (response UnpauseBatchJobResponse, err error)
    func (client BatchComputingClient) UpdateBatchContext(ctx context.Context, request UpdateBatchContextRequest) (response UpdateBatchContextResponse, err error)
    func (client BatchComputingClient) UpdateBatchJob(ctx context.Context, request UpdateBatchJobRequest) (response UpdateBatchJobResponse, err error)
    func (client BatchComputingClient) UpdateBatchJobPool(ctx context.Context, request UpdateBatchJobPoolRequest) (response UpdateBatchJobPoolResponse, err error)
    func (client BatchComputingClient) UpdateBatchTaskEnvironment(ctx context.Context, request UpdateBatchTaskEnvironmentRequest) (response UpdateBatchTaskEnvironmentResponse, err error)
    func (client BatchComputingClient) UpdateBatchTaskProfile(ctx context.Context, request UpdateBatchTaskProfileRequest) (response UpdateBatchTaskProfileResponse, err error)
type BatchContext
    func (m BatchContext) String() string
    func (m *BatchContext) UnmarshalJSON(data []byte) (e error)
    func (m BatchContext) ValidateEnumValue() (bool, error)
type BatchContextCollection
    func (m BatchContextCollection) String() string
    func (m BatchContextCollection) ValidateEnumValue() (bool, error)
type BatchContextLifecycleStateEnum
    func GetBatchContextLifecycleStateEnumValues() []BatchContextLifecycleStateEnum
    func GetMappingBatchContextLifecycleStateEnum(val string) (BatchContextLifecycleStateEnum, bool)
type BatchContextShapeCollection
    func (m BatchContextShapeCollection) String() string
    func (m BatchContextShapeCollection) ValidateEnumValue() (bool, error)
type BatchContextShapeSummary
    func (m BatchContextShapeSummary) String() string
    func (m BatchContextShapeSummary) ValidateEnumValue() (bool, error)
type BatchContextSummary
    func (m BatchContextSummary) String() string
    func (m BatchContextSummary) ValidateEnumValue() (bool, error)
type BatchJob
    func (m BatchJob) String() string
    func (m BatchJob) ValidateEnumValue() (bool, error)
type BatchJobCollection
    func (m BatchJobCollection) String() string
    func (m BatchJobCollection) ValidateEnumValue() (bool, error)
type BatchJobLifecycleStateEnum
    func GetBatchJobLifecycleStateEnumValues() []BatchJobLifecycleStateEnum
    func GetMappingBatchJobLifecycleStateEnum(val string) (BatchJobLifecycleStateEnum, bool)
type BatchJobPool
    func (m BatchJobPool) String() string
    func (m BatchJobPool) ValidateEnumValue() (bool, error)
type BatchJobPoolCollection
    func (m BatchJobPoolCollection) String() string
    func (m BatchJobPoolCollection) ValidateEnumValue() (bool, error)
type BatchJobPoolLifecycleStateEnum
    func GetBatchJobPoolLifecycleStateEnumValues() []BatchJobPoolLifecycleStateEnum
    func GetMappingBatchJobPoolLifecycleStateEnum(val string) (BatchJobPoolLifecycleStateEnum, bool)
type BatchJobPoolSummary
    func (m BatchJobPoolSummary) String() string
    func (m BatchJobPoolSummary) ValidateEnumValue() (bool, error)
type BatchJobSummary
    func (m BatchJobSummary) String() string
    func (m BatchJobSummary) ValidateEnumValue() (bool, error)
type BatchTask
type BatchTaskCollection
    func (m BatchTaskCollection) String() string
    func (m *BatchTaskCollection) UnmarshalJSON(data []byte) (e error)
    func (m BatchTaskCollection) ValidateEnumValue() (bool, error)
type BatchTaskEnvironment
    func (m BatchTaskEnvironment) String() string
    func (m *BatchTaskEnvironment) UnmarshalJSON(data []byte) (e error)
    func (m BatchTaskEnvironment) ValidateEnumValue() (bool, error)
type BatchTaskEnvironmentCollection
    func (m BatchTaskEnvironmentCollection) String() string
    func (m BatchTaskEnvironmentCollection) ValidateEnumValue() (bool, error)
type BatchTaskEnvironmentLifecycleStateEnum
    func GetBatchTaskEnvironmentLifecycleStateEnumValues() []BatchTaskEnvironmentLifecycleStateEnum
    func GetMappingBatchTaskEnvironmentLifecycleStateEnum(val string) (BatchTaskEnvironmentLifecycleStateEnum, bool)
type BatchTaskEnvironmentSummary
    func (m BatchTaskEnvironmentSummary) String() string
    func (m BatchTaskEnvironmentSummary) ValidateEnumValue() (bool, error)
type BatchTaskEnvironmentVolume
type BatchTaskEnvironmentVolumeTypeEnum
    func GetBatchTaskEnvironmentVolumeTypeEnumValues() []BatchTaskEnvironmentVolumeTypeEnum
    func GetMappingBatchTaskEnvironmentVolumeTypeEnum(val string) (BatchTaskEnvironmentVolumeTypeEnum, bool)
type BatchTaskLifecycleStateEnum
    func GetBatchTaskLifecycleStateEnumValues() []BatchTaskLifecycleStateEnum
    func GetMappingBatchTaskLifecycleStateEnum(val string) (BatchTaskLifecycleStateEnum, bool)
type BatchTaskProfile
    func (m BatchTaskProfile) String() string
    func (m BatchTaskProfile) ValidateEnumValue() (bool, error)
type BatchTaskProfileCollection
    func (m BatchTaskProfileCollection) String() string
    func (m BatchTaskProfileCollection) ValidateEnumValue() (bool, error)
type BatchTaskProfileLifecycleStateEnum
    func GetBatchTaskProfileLifecycleStateEnumValues() []BatchTaskProfileLifecycleStateEnum
    func GetMappingBatchTaskProfileLifecycleStateEnum(val string) (BatchTaskProfileLifecycleStateEnum, bool)
type BatchTaskProfileSummary
    func (m BatchTaskProfileSummary) String() string
    func (m BatchTaskProfileSummary) ValidateEnumValue() (bool, error)
type BatchTaskSortByEnum
    func GetBatchTaskSortByEnumValues() []BatchTaskSortByEnum
    func GetMappingBatchTaskSortByEnum(val string) (BatchTaskSortByEnum, bool)
type BatchTaskSummary
type BatchTaskTypeEnum
    func GetBatchTaskTypeEnumValues() []BatchTaskTypeEnum
    func GetMappingBatchTaskTypeEnum(val string) (BatchTaskTypeEnum, bool)
type BestFitFleetAssignmentPolicy
    func (m BestFitFleetAssignmentPolicy) MarshalJSON() (buff []byte, e error)
    func (m BestFitFleetAssignmentPolicy) String() string
    func (m BestFitFleetAssignmentPolicy) ValidateEnumValue() (bool, error)
type CancelBatchJobRequest
    func (request CancelBatchJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CancelBatchJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CancelBatchJobRequest) RetryPolicy() *common.RetryPolicy
    func (request CancelBatchJobRequest) String() string
    func (request CancelBatchJobRequest) ValidateEnumValue() (bool, error)
type CancelBatchJobResponse
    func (response CancelBatchJobResponse) HTTPResponse() *http.Response
    func (response CancelBatchJobResponse) String() string
type ChangeBatchContextCompartmentDetails
    func (m ChangeBatchContextCompartmentDetails) String() string
    func (m ChangeBatchContextCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeBatchContextCompartmentRequest
    func (request ChangeBatchContextCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeBatchContextCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeBatchContextCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeBatchContextCompartmentRequest) String() string
    func (request ChangeBatchContextCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeBatchContextCompartmentResponse
    func (response ChangeBatchContextCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeBatchContextCompartmentResponse) String() string
type ChangeBatchJobCompartmentDetails
    func (m ChangeBatchJobCompartmentDetails) String() string
    func (m ChangeBatchJobCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeBatchJobCompartmentRequest
    func (request ChangeBatchJobCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeBatchJobCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeBatchJobCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeBatchJobCompartmentRequest) String() string
    func (request ChangeBatchJobCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeBatchJobCompartmentResponse
    func (response ChangeBatchJobCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeBatchJobCompartmentResponse) String() string
type ChangeBatchJobPoolCompartmentDetails
    func (m ChangeBatchJobPoolCompartmentDetails) String() string
    func (m ChangeBatchJobPoolCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeBatchJobPoolCompartmentRequest
    func (request ChangeBatchJobPoolCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeBatchJobPoolCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeBatchJobPoolCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeBatchJobPoolCompartmentRequest) String() string
    func (request ChangeBatchJobPoolCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeBatchJobPoolCompartmentResponse
    func (response ChangeBatchJobPoolCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeBatchJobPoolCompartmentResponse) String() string
type ChangeBatchTaskEnvironmentCompartmentDetails
    func (m ChangeBatchTaskEnvironmentCompartmentDetails) String() string
    func (m ChangeBatchTaskEnvironmentCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeBatchTaskEnvironmentCompartmentRequest
    func (request ChangeBatchTaskEnvironmentCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeBatchTaskEnvironmentCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeBatchTaskEnvironmentCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeBatchTaskEnvironmentCompartmentRequest) String() string
    func (request ChangeBatchTaskEnvironmentCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeBatchTaskEnvironmentCompartmentResponse
    func (response ChangeBatchTaskEnvironmentCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeBatchTaskEnvironmentCompartmentResponse) String() string
type ChangeBatchTaskProfileCompartmentDetails
    func (m ChangeBatchTaskProfileCompartmentDetails) String() string
    func (m ChangeBatchTaskProfileCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeBatchTaskProfileCompartmentRequest
    func (request ChangeBatchTaskProfileCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeBatchTaskProfileCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeBatchTaskProfileCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeBatchTaskProfileCompartmentRequest) String() string
    func (request ChangeBatchTaskProfileCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeBatchTaskProfileCompartmentResponse
    func (response ChangeBatchTaskProfileCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeBatchTaskProfileCompartmentResponse) String() string
type ComputeTask
    func (m ComputeTask) GetDependencies() []string
    func (m ComputeTask) GetDescription() *string
    func (m ComputeTask) GetEntitlementClaims() []string
    func (m ComputeTask) GetEnvironmentVariables() []EnvironmentVariable
    func (m ComputeTask) GetId() *string
    func (m ComputeTask) GetLifecycleDetails() *string
    func (m ComputeTask) GetLifecycleState() BatchTaskLifecycleStateEnum
    func (m ComputeTask) GetName() *string
    func (m ComputeTask) MarshalJSON() (buff []byte, e error)
    func (m ComputeTask) String() string
    func (m *ComputeTask) UnmarshalJSON(data []byte) (e error)
    func (m ComputeTask) ValidateEnumValue() (bool, error)
type ComputeTaskSummary
    func (m ComputeTaskSummary) GetDescription() *string
    func (m ComputeTaskSummary) GetId() *string
    func (m ComputeTaskSummary) GetJobId() *string
    func (m ComputeTaskSummary) GetLifecycleDetails() *string
    func (m ComputeTaskSummary) GetLifecycleState() BatchTaskLifecycleStateEnum
    func (m ComputeTaskSummary) GetName() *string
    func (m ComputeTaskSummary) MarshalJSON() (buff []byte, e error)
    func (m ComputeTaskSummary) String() string
    func (m ComputeTaskSummary) ValidateEnumValue() (bool, error)
type CreateBatchContextDetails
    func (m CreateBatchContextDetails) String() string
    func (m *CreateBatchContextDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateBatchContextDetails) ValidateEnumValue() (bool, error)
type CreateBatchContextRequest
    func (request CreateBatchContextRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateBatchContextRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateBatchContextRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateBatchContextRequest) String() string
    func (request CreateBatchContextRequest) ValidateEnumValue() (bool, error)
type CreateBatchContextResponse
    func (response CreateBatchContextResponse) HTTPResponse() *http.Response
    func (response CreateBatchContextResponse) String() string
type CreateBatchJobDetails
    func (m CreateBatchJobDetails) String() string
    func (m *CreateBatchJobDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateBatchJobDetails) ValidateEnumValue() (bool, error)
type CreateBatchJobPoolDetails
    func (m CreateBatchJobPoolDetails) String() string
    func (m CreateBatchJobPoolDetails) ValidateEnumValue() (bool, error)
type CreateBatchJobPoolRequest
    func (request CreateBatchJobPoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateBatchJobPoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateBatchJobPoolRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateBatchJobPoolRequest) String() string
    func (request CreateBatchJobPoolRequest) ValidateEnumValue() (bool, error)
type CreateBatchJobPoolResponse
    func (response CreateBatchJobPoolResponse) HTTPResponse() *http.Response
    func (response CreateBatchJobPoolResponse) String() string
type CreateBatchJobRequest
    func (request CreateBatchJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateBatchJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateBatchJobRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateBatchJobRequest) String() string
    func (request CreateBatchJobRequest) ValidateEnumValue() (bool, error)
type CreateBatchJobResponse
    func (response CreateBatchJobResponse) HTTPResponse() *http.Response
    func (response CreateBatchJobResponse) String() string
type CreateBatchTaskDetails
type CreateBatchTaskDetailsTypeEnum
    func GetCreateBatchTaskDetailsTypeEnumValues() []CreateBatchTaskDetailsTypeEnum
    func GetMappingCreateBatchTaskDetailsTypeEnum(val string) (CreateBatchTaskDetailsTypeEnum, bool)
type CreateBatchTaskEnvironmentDetails
    func (m CreateBatchTaskEnvironmentDetails) String() string
    func (m *CreateBatchTaskEnvironmentDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateBatchTaskEnvironmentDetails) ValidateEnumValue() (bool, error)
type CreateBatchTaskEnvironmentRequest
    func (request CreateBatchTaskEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateBatchTaskEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateBatchTaskEnvironmentRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateBatchTaskEnvironmentRequest) String() string
    func (request CreateBatchTaskEnvironmentRequest) ValidateEnumValue() (bool, error)
type CreateBatchTaskEnvironmentResponse
    func (response CreateBatchTaskEnvironmentResponse) HTTPResponse() *http.Response
    func (response CreateBatchTaskEnvironmentResponse) String() string
type CreateBatchTaskProfileDetails
    func (m CreateBatchTaskProfileDetails) String() string
    func (m CreateBatchTaskProfileDetails) ValidateEnumValue() (bool, error)
type CreateBatchTaskProfileRequest
    func (request CreateBatchTaskProfileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateBatchTaskProfileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateBatchTaskProfileRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateBatchTaskProfileRequest) String() string
    func (request CreateBatchTaskProfileRequest) ValidateEnumValue() (bool, error)
type CreateBatchTaskProfileResponse
    func (response CreateBatchTaskProfileResponse) HTTPResponse() *http.Response
    func (response CreateBatchTaskProfileResponse) String() string
type CreateComputeTaskDetails
    func (m CreateComputeTaskDetails) GetDependencies() []string
    func (m CreateComputeTaskDetails) GetDescription() *string
    func (m CreateComputeTaskDetails) GetEntitlementClaims() []string
    func (m CreateComputeTaskDetails) GetEnvironmentVariables() []EnvironmentVariable
    func (m CreateComputeTaskDetails) GetName() *string
    func (m CreateComputeTaskDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateComputeTaskDetails) String() string
    func (m *CreateComputeTaskDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateComputeTaskDetails) ValidateEnumValue() (bool, error)
type CreateFleetDetails
type CreateFleetDetailsTypeEnum
    func GetCreateFleetDetailsTypeEnumValues() []CreateFleetDetailsTypeEnum
    func GetMappingCreateFleetDetailsTypeEnum(val string) (CreateFleetDetailsTypeEnum, bool)
type CreateNetworkDetails
    func (m CreateNetworkDetails) String() string
    func (m CreateNetworkDetails) ValidateEnumValue() (bool, error)
type CreateServiceManagedFleetDetails
    func (m CreateServiceManagedFleetDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateServiceManagedFleetDetails) String() string
    func (m CreateServiceManagedFleetDetails) ValidateEnumValue() (bool, error)
type DeleteBatchContextRequest
    func (request DeleteBatchContextRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteBatchContextRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteBatchContextRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteBatchContextRequest) String() string
    func (request DeleteBatchContextRequest) ValidateEnumValue() (bool, error)
type DeleteBatchContextResponse
    func (response DeleteBatchContextResponse) HTTPResponse() *http.Response
    func (response DeleteBatchContextResponse) String() string
type DeleteBatchJobPoolRequest
    func (request DeleteBatchJobPoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteBatchJobPoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteBatchJobPoolRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteBatchJobPoolRequest) String() string
    func (request DeleteBatchJobPoolRequest) ValidateEnumValue() (bool, error)
type DeleteBatchJobPoolResponse
    func (response DeleteBatchJobPoolResponse) HTTPResponse() *http.Response
    func (response DeleteBatchJobPoolResponse) String() string
type DeleteBatchTaskEnvironmentRequest
    func (request DeleteBatchTaskEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteBatchTaskEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteBatchTaskEnvironmentRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteBatchTaskEnvironmentRequest) String() string
    func (request DeleteBatchTaskEnvironmentRequest) ValidateEnumValue() (bool, error)
type DeleteBatchTaskEnvironmentResponse
    func (response DeleteBatchTaskEnvironmentResponse) HTTPResponse() *http.Response
    func (response DeleteBatchTaskEnvironmentResponse) String() string
type DeleteBatchTaskProfileRequest
    func (request DeleteBatchTaskProfileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteBatchTaskProfileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteBatchTaskProfileRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteBatchTaskProfileRequest) String() string
    func (request DeleteBatchTaskProfileRequest) ValidateEnumValue() (bool, error)
type DeleteBatchTaskProfileResponse
    func (response DeleteBatchTaskProfileResponse) HTTPResponse() *http.Response
    func (response DeleteBatchTaskProfileResponse) String() string
type EnvironmentVariable
    func (m EnvironmentVariable) String() string
    func (m EnvironmentVariable) ValidateEnumValue() (bool, error)
type Fleet
type FleetAssignmentPolicy
type FleetAssignmentPolicyTypeEnum
    func GetFleetAssignmentPolicyTypeEnumValues() []FleetAssignmentPolicyTypeEnum
    func GetMappingFleetAssignmentPolicyTypeEnum(val string) (FleetAssignmentPolicyTypeEnum, bool)
type FleetShape
    func (m FleetShape) String() string
    func (m FleetShape) ValidateEnumValue() (bool, error)
type FleetTypeEnum
    func GetFleetTypeEnumValues() []FleetTypeEnum
    func GetMappingFleetTypeEnum(val string) (FleetTypeEnum, bool)
type FlexFitFleetAssignmentPolicy
    func (m FlexFitFleetAssignmentPolicy) MarshalJSON() (buff []byte, e error)
    func (m FlexFitFleetAssignmentPolicy) String() string
    func (m FlexFitFleetAssignmentPolicy) ValidateEnumValue() (bool, error)
type GetBatchContextRequest
    func (request GetBatchContextRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetBatchContextRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetBatchContextRequest) RetryPolicy() *common.RetryPolicy
    func (request GetBatchContextRequest) String() string
    func (request GetBatchContextRequest) ValidateEnumValue() (bool, error)
type GetBatchContextResponse
    func (response GetBatchContextResponse) HTTPResponse() *http.Response
    func (response GetBatchContextResponse) String() string
type GetBatchJobPoolRequest
    func (request GetBatchJobPoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetBatchJobPoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetBatchJobPoolRequest) RetryPolicy() *common.RetryPolicy
    func (request GetBatchJobPoolRequest) String() string
    func (request GetBatchJobPoolRequest) ValidateEnumValue() (bool, error)
type GetBatchJobPoolResponse
    func (response GetBatchJobPoolResponse) HTTPResponse() *http.Response
    func (response GetBatchJobPoolResponse) String() string
type GetBatchJobRequest
    func (request GetBatchJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetBatchJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetBatchJobRequest) RetryPolicy() *common.RetryPolicy
    func (request GetBatchJobRequest) String() string
    func (request GetBatchJobRequest) ValidateEnumValue() (bool, error)
type GetBatchJobResponse
    func (response GetBatchJobResponse) HTTPResponse() *http.Response
    func (response GetBatchJobResponse) String() string
type GetBatchTaskEnvironmentRequest
    func (request GetBatchTaskEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetBatchTaskEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetBatchTaskEnvironmentRequest) RetryPolicy() *common.RetryPolicy
    func (request GetBatchTaskEnvironmentRequest) String() string
    func (request GetBatchTaskEnvironmentRequest) ValidateEnumValue() (bool, error)
type GetBatchTaskEnvironmentResponse
    func (response GetBatchTaskEnvironmentResponse) HTTPResponse() *http.Response
    func (response GetBatchTaskEnvironmentResponse) String() string
type GetBatchTaskProfileRequest
    func (request GetBatchTaskProfileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetBatchTaskProfileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetBatchTaskProfileRequest) RetryPolicy() *common.RetryPolicy
    func (request GetBatchTaskProfileRequest) String() string
    func (request GetBatchTaskProfileRequest) ValidateEnumValue() (bool, error)
type GetBatchTaskProfileResponse
    func (response GetBatchTaskProfileResponse) HTTPResponse() *http.Response
    func (response GetBatchTaskProfileResponse) String() string
type GetBatchTaskRequest
    func (request GetBatchTaskRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetBatchTaskRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetBatchTaskRequest) RetryPolicy() *common.RetryPolicy
    func (request GetBatchTaskRequest) String() string
    func (request GetBatchTaskRequest) ValidateEnumValue() (bool, error)
type GetBatchTaskResponse
    func (response GetBatchTaskResponse) HTTPResponse() *http.Response
    func (response GetBatchTaskResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
    func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type JobPriorityConfiguration
    func (m JobPriorityConfiguration) String() string
    func (m JobPriorityConfiguration) ValidateEnumValue() (bool, error)
type ListBatchContextShapesRequest
    func (request ListBatchContextShapesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListBatchContextShapesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListBatchContextShapesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListBatchContextShapesRequest) String() string
    func (request ListBatchContextShapesRequest) ValidateEnumValue() (bool, error)
type ListBatchContextShapesResponse
    func (response ListBatchContextShapesResponse) HTTPResponse() *http.Response
    func (response ListBatchContextShapesResponse) String() string
type ListBatchContextsRequest
    func (request ListBatchContextsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListBatchContextsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListBatchContextsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListBatchContextsRequest) String() string
    func (request ListBatchContextsRequest) ValidateEnumValue() (bool, error)
type ListBatchContextsResponse
    func (response ListBatchContextsResponse) HTTPResponse() *http.Response
    func (response ListBatchContextsResponse) String() string
type ListBatchContextsSortByEnum
    func GetListBatchContextsSortByEnumValues() []ListBatchContextsSortByEnum
    func GetMappingListBatchContextsSortByEnum(val string) (ListBatchContextsSortByEnum, bool)
type ListBatchContextsSortOrderEnum
    func GetListBatchContextsSortOrderEnumValues() []ListBatchContextsSortOrderEnum
    func GetMappingListBatchContextsSortOrderEnum(val string) (ListBatchContextsSortOrderEnum, bool)
type ListBatchJobPoolsRequest
    func (request ListBatchJobPoolsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListBatchJobPoolsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListBatchJobPoolsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListBatchJobPoolsRequest) String() string
    func (request ListBatchJobPoolsRequest) ValidateEnumValue() (bool, error)
type ListBatchJobPoolsResponse
    func (response ListBatchJobPoolsResponse) HTTPResponse() *http.Response
    func (response ListBatchJobPoolsResponse) String() string
type ListBatchJobPoolsSortByEnum
    func GetListBatchJobPoolsSortByEnumValues() []ListBatchJobPoolsSortByEnum
    func GetMappingListBatchJobPoolsSortByEnum(val string) (ListBatchJobPoolsSortByEnum, bool)
type ListBatchJobPoolsSortOrderEnum
    func GetListBatchJobPoolsSortOrderEnumValues() []ListBatchJobPoolsSortOrderEnum
    func GetMappingListBatchJobPoolsSortOrderEnum(val string) (ListBatchJobPoolsSortOrderEnum, bool)
type ListBatchJobTasksRequest
    func (request ListBatchJobTasksRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListBatchJobTasksRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListBatchJobTasksRequest) RetryPolicy() *common.RetryPolicy
    func (request ListBatchJobTasksRequest) String() string
    func (request ListBatchJobTasksRequest) ValidateEnumValue() (bool, error)
type ListBatchJobTasksResponse
    func (response ListBatchJobTasksResponse) HTTPResponse() *http.Response
    func (response ListBatchJobTasksResponse) String() string
type ListBatchJobTasksSortByEnum
    func GetListBatchJobTasksSortByEnumValues() []ListBatchJobTasksSortByEnum
    func GetMappingListBatchJobTasksSortByEnum(val string) (ListBatchJobTasksSortByEnum, bool)
type ListBatchJobTasksSortOrderEnum
    func GetListBatchJobTasksSortOrderEnumValues() []ListBatchJobTasksSortOrderEnum
    func GetMappingListBatchJobTasksSortOrderEnum(val string) (ListBatchJobTasksSortOrderEnum, bool)
type ListBatchJobsRequest
    func (request ListBatchJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListBatchJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListBatchJobsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListBatchJobsRequest) String() string
    func (request ListBatchJobsRequest) ValidateEnumValue() (bool, error)
type ListBatchJobsResponse
    func (response ListBatchJobsResponse) HTTPResponse() *http.Response
    func (response ListBatchJobsResponse) String() string
type ListBatchJobsSortByEnum
    func GetListBatchJobsSortByEnumValues() []ListBatchJobsSortByEnum
    func GetMappingListBatchJobsSortByEnum(val string) (ListBatchJobsSortByEnum, bool)
type ListBatchJobsSortOrderEnum
    func GetListBatchJobsSortOrderEnumValues() []ListBatchJobsSortOrderEnum
    func GetMappingListBatchJobsSortOrderEnum(val string) (ListBatchJobsSortOrderEnum, bool)
type ListBatchTaskEnvironmentsRequest
    func (request ListBatchTaskEnvironmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListBatchTaskEnvironmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListBatchTaskEnvironmentsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListBatchTaskEnvironmentsRequest) String() string
    func (request ListBatchTaskEnvironmentsRequest) ValidateEnumValue() (bool, error)
type ListBatchTaskEnvironmentsResponse
    func (response ListBatchTaskEnvironmentsResponse) HTTPResponse() *http.Response
    func (response ListBatchTaskEnvironmentsResponse) String() string
type ListBatchTaskEnvironmentsSortByEnum
    func GetListBatchTaskEnvironmentsSortByEnumValues() []ListBatchTaskEnvironmentsSortByEnum
    func GetMappingListBatchTaskEnvironmentsSortByEnum(val string) (ListBatchTaskEnvironmentsSortByEnum, bool)
type ListBatchTaskEnvironmentsSortOrderEnum
    func GetListBatchTaskEnvironmentsSortOrderEnumValues() []ListBatchTaskEnvironmentsSortOrderEnum
    func GetMappingListBatchTaskEnvironmentsSortOrderEnum(val string) (ListBatchTaskEnvironmentsSortOrderEnum, bool)
type ListBatchTaskProfilesRequest
    func (request ListBatchTaskProfilesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListBatchTaskProfilesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListBatchTaskProfilesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListBatchTaskProfilesRequest) String() string
    func (request ListBatchTaskProfilesRequest) ValidateEnumValue() (bool, error)
type ListBatchTaskProfilesResponse
    func (response ListBatchTaskProfilesResponse) HTTPResponse() *http.Response
    func (response ListBatchTaskProfilesResponse) String() string
type ListBatchTaskProfilesSortByEnum
    func GetListBatchTaskProfilesSortByEnumValues() []ListBatchTaskProfilesSortByEnum
    func GetMappingListBatchTaskProfilesSortByEnum(val string) (ListBatchTaskProfilesSortByEnum, bool)
type ListBatchTaskProfilesSortOrderEnum
    func GetListBatchTaskProfilesSortOrderEnumValues() []ListBatchTaskProfilesSortOrderEnum
    func GetMappingListBatchTaskProfilesSortOrderEnum(val string) (ListBatchTaskProfilesSortOrderEnum, bool)
type ListBatchTasksRequest
    func (request ListBatchTasksRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListBatchTasksRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListBatchTasksRequest) RetryPolicy() *common.RetryPolicy
    func (request ListBatchTasksRequest) String() string
    func (request ListBatchTasksRequest) ValidateEnumValue() (bool, error)
type ListBatchTasksResponse
    func (response ListBatchTasksResponse) HTTPResponse() *http.Response
    func (response ListBatchTasksResponse) String() string
type ListBatchTasksSortByEnum
    func GetListBatchTasksSortByEnumValues() []ListBatchTasksSortByEnum
    func GetMappingListBatchTasksSortByEnum(val string) (ListBatchTasksSortByEnum, bool)
type ListBatchTasksSortOrderEnum
    func GetListBatchTasksSortOrderEnumValues() []ListBatchTasksSortOrderEnum
    func GetMappingListBatchTasksSortOrderEnum(val string) (ListBatchTasksSortOrderEnum, bool)
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
    func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum
    func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
    func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
type ListWorkRequestErrorsSortOrderEnum
    func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
    func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
    func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum
    func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
    func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
type ListWorkRequestLogsSortOrderEnum
    func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
    func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
    func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum
    func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
    func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
type ListWorkRequestsSortOrderEnum
    func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
    func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
type ListWorkRequestsStatusEnum
    func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
    func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
type LoggingConfiguration
type LoggingConfigurationTypeEnum
    func GetLoggingConfigurationTypeEnumValues() []LoggingConfigurationTypeEnum
    func GetMappingLoggingConfigurationTypeEnum(val string) (LoggingConfigurationTypeEnum, bool)
type Network
    func (m Network) String() string
    func (m Network) ValidateEnumValue() (bool, error)
type NetworkSecurityGroup
    func (m NetworkSecurityGroup) String() string
    func (m NetworkSecurityGroup) ValidateEnumValue() (bool, error)
type NfsVolume
    func (m NfsVolume) MarshalJSON() (buff []byte, e error)
    func (m NfsVolume) String() string
    func (m NfsVolume) ValidateEnumValue() (bool, error)
type OciLoggingConfiguration
    func (m OciLoggingConfiguration) MarshalJSON() (buff []byte, e error)
    func (m OciLoggingConfiguration) String() string
    func (m OciLoggingConfiguration) ValidateEnumValue() (bool, error)
type OperationStatusEnum
    func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
    func GetOperationStatusEnumValues() []OperationStatusEnum
type OperationTypeEnum
    func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
    func GetOperationTypeEnumValues() []OperationTypeEnum
type PauseBatchJobDetails
    func (m PauseBatchJobDetails) String() string
    func (m PauseBatchJobDetails) ValidateEnumValue() (bool, error)
type PauseBatchJobRequest
    func (request PauseBatchJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request PauseBatchJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request PauseBatchJobRequest) RetryPolicy() *common.RetryPolicy
    func (request PauseBatchJobRequest) String() string
    func (request PauseBatchJobRequest) ValidateEnumValue() (bool, error)
type PauseBatchJobResponse
    func (response PauseBatchJobResponse) HTTPResponse() *http.Response
    func (response PauseBatchJobResponse) String() string
type PrivateIp
    func (m PrivateIp) String() string
    func (m PrivateIp) ValidateEnumValue() (bool, error)
type SecurityContext
    func (m SecurityContext) String() string
    func (m SecurityContext) ValidateEnumValue() (bool, error)
type ServiceManagedFleet
    func (m ServiceManagedFleet) MarshalJSON() (buff []byte, e error)
    func (m ServiceManagedFleet) String() string
    func (m ServiceManagedFleet) ValidateEnumValue() (bool, error)
type ShapeMemoryOptions
    func (m ShapeMemoryOptions) String() string
    func (m ShapeMemoryOptions) ValidateEnumValue() (bool, error)
type ShapeNetworkingBandwidthOptions
    func (m ShapeNetworkingBandwidthOptions) String() string
    func (m ShapeNetworkingBandwidthOptions) ValidateEnumValue() (bool, error)
type ShapeOcpuOptions
    func (m ShapeOcpuOptions) String() string
    func (m ShapeOcpuOptions) ValidateEnumValue() (bool, error)
type SortByEnum
    func GetMappingSortByEnum(val string) (SortByEnum, bool)
    func GetSortByEnumValues() []SortByEnum
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type StartBatchContextDetails
    func (m StartBatchContextDetails) String() string
    func (m StartBatchContextDetails) ValidateEnumValue() (bool, error)
type StartBatchContextRequest
    func (request StartBatchContextRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request StartBatchContextRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request StartBatchContextRequest) RetryPolicy() *common.RetryPolicy
    func (request StartBatchContextRequest) String() string
    func (request StartBatchContextRequest) ValidateEnumValue() (bool, error)
type StartBatchContextResponse
    func (response StartBatchContextResponse) HTTPResponse() *http.Response
    func (response StartBatchContextResponse) String() string
type StartBatchJobPoolDetails
    func (m StartBatchJobPoolDetails) String() string
    func (m StartBatchJobPoolDetails) ValidateEnumValue() (bool, error)
type StartBatchJobPoolRequest
    func (request StartBatchJobPoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request StartBatchJobPoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request StartBatchJobPoolRequest) RetryPolicy() *common.RetryPolicy
    func (request StartBatchJobPoolRequest) String() string
    func (request StartBatchJobPoolRequest) ValidateEnumValue() (bool, error)
type StartBatchJobPoolResponse
    func (response StartBatchJobPoolResponse) HTTPResponse() *http.Response
    func (response StartBatchJobPoolResponse) String() string
type StopBatchContextDetails
    func (m StopBatchContextDetails) String() string
    func (m StopBatchContextDetails) ValidateEnumValue() (bool, error)
type StopBatchContextRequest
    func (request StopBatchContextRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request StopBatchContextRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request StopBatchContextRequest) RetryPolicy() *common.RetryPolicy
    func (request StopBatchContextRequest) String() string
    func (request StopBatchContextRequest) ValidateEnumValue() (bool, error)
type StopBatchContextResponse
    func (response StopBatchContextResponse) HTTPResponse() *http.Response
    func (response StopBatchContextResponse) String() string
type StopBatchJobPoolDetails
    func (m StopBatchJobPoolDetails) String() string
    func (m StopBatchJobPoolDetails) ValidateEnumValue() (bool, error)
type StopBatchJobPoolRequest
    func (request StopBatchJobPoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request StopBatchJobPoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request StopBatchJobPoolRequest) RetryPolicy() *common.RetryPolicy
    func (request StopBatchJobPoolRequest) String() string
    func (request StopBatchJobPoolRequest) ValidateEnumValue() (bool, error)
type StopBatchJobPoolResponse
    func (response StopBatchJobPoolResponse) HTTPResponse() *http.Response
    func (response StopBatchJobPoolResponse) String() string
type Subnet
    func (m Subnet) String() string
    func (m Subnet) ValidateEnumValue() (bool, error)
type UnpauseBatchJobDetails
    func (m UnpauseBatchJobDetails) String() string
    func (m UnpauseBatchJobDetails) ValidateEnumValue() (bool, error)
type UnpauseBatchJobRequest
    func (request UnpauseBatchJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UnpauseBatchJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UnpauseBatchJobRequest) RetryPolicy() *common.RetryPolicy
    func (request UnpauseBatchJobRequest) String() string
    func (request UnpauseBatchJobRequest) ValidateEnumValue() (bool, error)
type UnpauseBatchJobResponse
    func (response UnpauseBatchJobResponse) HTTPResponse() *http.Response
    func (response UnpauseBatchJobResponse) String() string
type UpdateBatchContextDetails
    func (m UpdateBatchContextDetails) String() string
    func (m UpdateBatchContextDetails) ValidateEnumValue() (bool, error)
type UpdateBatchContextRequest
    func (request UpdateBatchContextRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateBatchContextRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateBatchContextRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateBatchContextRequest) String() string
    func (request UpdateBatchContextRequest) ValidateEnumValue() (bool, error)
type UpdateBatchContextResponse
    func (response UpdateBatchContextResponse) HTTPResponse() *http.Response
    func (response UpdateBatchContextResponse) String() string
type UpdateBatchJobDetails
    func (m UpdateBatchJobDetails) String() string
    func (m UpdateBatchJobDetails) ValidateEnumValue() (bool, error)
type UpdateBatchJobPoolDetails
    func (m UpdateBatchJobPoolDetails) String() string
    func (m UpdateBatchJobPoolDetails) ValidateEnumValue() (bool, error)
type UpdateBatchJobPoolRequest
    func (request UpdateBatchJobPoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateBatchJobPoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateBatchJobPoolRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateBatchJobPoolRequest) String() string
    func (request UpdateBatchJobPoolRequest) ValidateEnumValue() (bool, error)
type UpdateBatchJobPoolResponse
    func (response UpdateBatchJobPoolResponse) HTTPResponse() *http.Response
    func (response UpdateBatchJobPoolResponse) String() string
type UpdateBatchJobRequest
    func (request UpdateBatchJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateBatchJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateBatchJobRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateBatchJobRequest) String() string
    func (request UpdateBatchJobRequest) ValidateEnumValue() (bool, error)
type UpdateBatchJobResponse
    func (response UpdateBatchJobResponse) HTTPResponse() *http.Response
    func (response UpdateBatchJobResponse) String() string
type UpdateBatchTaskEnvironmentDetails
    func (m UpdateBatchTaskEnvironmentDetails) String() string
    func (m UpdateBatchTaskEnvironmentDetails) ValidateEnumValue() (bool, error)
type UpdateBatchTaskEnvironmentRequest
    func (request UpdateBatchTaskEnvironmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateBatchTaskEnvironmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateBatchTaskEnvironmentRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateBatchTaskEnvironmentRequest) String() string
    func (request UpdateBatchTaskEnvironmentRequest) ValidateEnumValue() (bool, error)
type UpdateBatchTaskEnvironmentResponse
    func (response UpdateBatchTaskEnvironmentResponse) HTTPResponse() *http.Response
    func (response UpdateBatchTaskEnvironmentResponse) String() string
type UpdateBatchTaskProfileDetails
    func (m UpdateBatchTaskProfileDetails) String() string
    func (m UpdateBatchTaskProfileDetails) ValidateEnumValue() (bool, error)
type UpdateBatchTaskProfileRequest
    func (request UpdateBatchTaskProfileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateBatchTaskProfileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateBatchTaskProfileRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateBatchTaskProfileRequest) String() string
    func (request UpdateBatchTaskProfileRequest) ValidateEnumValue() (bool, error)
type UpdateBatchTaskProfileResponse
    func (response UpdateBatchTaskProfileResponse) HTTPResponse() *http.Response
    func (response UpdateBatchTaskProfileResponse) String() string
type VirtualNetworkVnic
    func (m VirtualNetworkVnic) String() string
    func (m VirtualNetworkVnic) ValidateEnumValue() (bool, error)
type Vnic
    func (m Vnic) String() string
    func (m Vnic) ValidateEnumValue() (bool, error)
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestErrorCollection
    func (m WorkRequestErrorCollection) String() string
    func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
type WorkRequestLogAndErrorSortByEnum
    func GetMappingWorkRequestLogAndErrorSortByEnum(val string) (WorkRequestLogAndErrorSortByEnum, bool)
    func GetWorkRequestLogAndErrorSortByEnumValues() []WorkRequestLogAndErrorSortByEnum
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestLogEntryCollection
    func (m WorkRequestLogEntryCollection) String() string
    func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)
type WorkRequestResourceMetadataKeyEnum
    func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
    func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
type WorkRequestSortByEnum
    func GetMappingWorkRequestSortByEnum(val string) (WorkRequestSortByEnum, bool)
    func GetWorkRequestSortByEnumValues() []WorkRequestSortByEnum
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
    func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
type WorkRequestSummaryCollection
    func (m WorkRequestSummaryCollection) String() string
    func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

Package files

action_type.go batch_batchcomputing_client.go batch_context.go batch_context_collection.go batch_context_shape_collection.go batch_context_shape_summary.go batch_context_summary.go batch_job.go batch_job_collection.go batch_job_pool.go batch_job_pool_collection.go batch_job_pool_summary.go batch_job_summary.go batch_task.go batch_task_collection.go batch_task_environment.go batch_task_environment_collection.go batch_task_environment_summary.go batch_task_environment_volume.go batch_task_profile.go batch_task_profile_collection.go batch_task_profile_summary.go batch_task_sort_by.go batch_task_summary.go best_fit_fleet_assignment_policy.go cancel_batch_job_request_response.go change_batch_context_compartment_details.go change_batch_context_compartment_request_response.go change_batch_job_compartment_details.go change_batch_job_compartment_request_response.go change_batch_job_pool_compartment_details.go change_batch_job_pool_compartment_request_response.go change_batch_task_environment_compartment_details.go change_batch_task_environment_compartment_request_response.go change_batch_task_profile_compartment_details.go change_batch_task_profile_compartment_request_response.go compute_task.go compute_task_summary.go create_batch_context_details.go create_batch_context_request_response.go create_batch_job_details.go create_batch_job_pool_details.go create_batch_job_pool_request_response.go create_batch_job_request_response.go create_batch_task_details.go create_batch_task_environment_details.go create_batch_task_environment_request_response.go create_batch_task_profile_details.go create_batch_task_profile_request_response.go create_compute_task_details.go create_fleet_details.go create_network_details.go create_service_managed_fleet_details.go delete_batch_context_request_response.go delete_batch_job_pool_request_response.go delete_batch_task_environment_request_response.go delete_batch_task_profile_request_response.go environment_variable.go fleet.go fleet_assignment_policy.go fleet_shape.go flex_fit_fleet_assignment_policy.go get_batch_context_request_response.go get_batch_job_pool_request_response.go get_batch_job_request_response.go get_batch_task_environment_request_response.go get_batch_task_profile_request_response.go get_batch_task_request_response.go get_work_request_request_response.go job_priority_configuration.go list_batch_context_shapes_request_response.go list_batch_contexts_request_response.go list_batch_job_pools_request_response.go list_batch_job_tasks_request_response.go list_batch_jobs_request_response.go list_batch_task_environments_request_response.go list_batch_task_profiles_request_response.go list_batch_tasks_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go logging_configuration.go network.go network_security_group.go nfs_volume.go oci_logging_configuration.go operation_status.go operation_type.go pause_batch_job_details.go pause_batch_job_request_response.go private_ip.go security_context.go service_managed_fleet.go shape_memory_options.go shape_networking_bandwidth_options.go shape_ocpu_options.go sort_by.go sort_order.go start_batch_context_details.go start_batch_context_request_response.go start_batch_job_pool_details.go start_batch_job_pool_request_response.go stop_batch_context_details.go stop_batch_context_request_response.go stop_batch_job_pool_details.go stop_batch_job_pool_request_response.go subnet.go unpause_batch_job_details.go unpause_batch_job_request_response.go update_batch_context_details.go update_batch_context_request_response.go update_batch_job_details.go update_batch_job_pool_details.go update_batch_job_pool_request_response.go update_batch_job_request_response.go update_batch_task_environment_details.go update_batch_task_environment_request_response.go update_batch_task_profile_details.go update_batch_task_profile_request_response.go virtual_network_vnic.go vnic.go work_request.go work_request_error.go work_request_error_collection.go work_request_log_and_error_sort_by.go work_request_log_entry.go work_request_log_entry_collection.go work_request_resource.go work_request_resource_metadata_key.go work_request_sort_by.go work_request_summary.go work_request_summary_collection.go

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetBatchContextLifecycleStateEnumStringValues

func GetBatchContextLifecycleStateEnumStringValues() []string

GetBatchContextLifecycleStateEnumStringValues Enumerates the set of values in String for BatchContextLifecycleStateEnum

func GetBatchJobLifecycleStateEnumStringValues

func GetBatchJobLifecycleStateEnumStringValues() []string

GetBatchJobLifecycleStateEnumStringValues Enumerates the set of values in String for BatchJobLifecycleStateEnum

func GetBatchJobPoolLifecycleStateEnumStringValues

func GetBatchJobPoolLifecycleStateEnumStringValues() []string

GetBatchJobPoolLifecycleStateEnumStringValues Enumerates the set of values in String for BatchJobPoolLifecycleStateEnum

func GetBatchTaskEnvironmentLifecycleStateEnumStringValues

func GetBatchTaskEnvironmentLifecycleStateEnumStringValues() []string

GetBatchTaskEnvironmentLifecycleStateEnumStringValues Enumerates the set of values in String for BatchTaskEnvironmentLifecycleStateEnum

func GetBatchTaskEnvironmentVolumeTypeEnumStringValues

func GetBatchTaskEnvironmentVolumeTypeEnumStringValues() []string

GetBatchTaskEnvironmentVolumeTypeEnumStringValues Enumerates the set of values in String for BatchTaskEnvironmentVolumeTypeEnum

func GetBatchTaskLifecycleStateEnumStringValues

func GetBatchTaskLifecycleStateEnumStringValues() []string

GetBatchTaskLifecycleStateEnumStringValues Enumerates the set of values in String for BatchTaskLifecycleStateEnum

func GetBatchTaskProfileLifecycleStateEnumStringValues

func GetBatchTaskProfileLifecycleStateEnumStringValues() []string

GetBatchTaskProfileLifecycleStateEnumStringValues Enumerates the set of values in String for BatchTaskProfileLifecycleStateEnum

func GetBatchTaskSortByEnumStringValues

func GetBatchTaskSortByEnumStringValues() []string

GetBatchTaskSortByEnumStringValues Enumerates the set of values in String for BatchTaskSortByEnum

func GetBatchTaskTypeEnumStringValues

func GetBatchTaskTypeEnumStringValues() []string

GetBatchTaskTypeEnumStringValues Enumerates the set of values in String for BatchTaskTypeEnum

func GetCreateBatchTaskDetailsTypeEnumStringValues

func GetCreateBatchTaskDetailsTypeEnumStringValues() []string

GetCreateBatchTaskDetailsTypeEnumStringValues Enumerates the set of values in String for CreateBatchTaskDetailsTypeEnum

func GetCreateFleetDetailsTypeEnumStringValues

func GetCreateFleetDetailsTypeEnumStringValues() []string

GetCreateFleetDetailsTypeEnumStringValues Enumerates the set of values in String for CreateFleetDetailsTypeEnum

func GetFleetAssignmentPolicyTypeEnumStringValues

func GetFleetAssignmentPolicyTypeEnumStringValues() []string

GetFleetAssignmentPolicyTypeEnumStringValues Enumerates the set of values in String for FleetAssignmentPolicyTypeEnum

func GetFleetTypeEnumStringValues

func GetFleetTypeEnumStringValues() []string

GetFleetTypeEnumStringValues Enumerates the set of values in String for FleetTypeEnum

func GetListBatchContextsSortByEnumStringValues

func GetListBatchContextsSortByEnumStringValues() []string

GetListBatchContextsSortByEnumStringValues Enumerates the set of values in String for ListBatchContextsSortByEnum

func GetListBatchContextsSortOrderEnumStringValues

func GetListBatchContextsSortOrderEnumStringValues() []string

GetListBatchContextsSortOrderEnumStringValues Enumerates the set of values in String for ListBatchContextsSortOrderEnum

func GetListBatchJobPoolsSortByEnumStringValues

func GetListBatchJobPoolsSortByEnumStringValues() []string

GetListBatchJobPoolsSortByEnumStringValues Enumerates the set of values in String for ListBatchJobPoolsSortByEnum

func GetListBatchJobPoolsSortOrderEnumStringValues

func GetListBatchJobPoolsSortOrderEnumStringValues() []string

GetListBatchJobPoolsSortOrderEnumStringValues Enumerates the set of values in String for ListBatchJobPoolsSortOrderEnum

func GetListBatchJobTasksSortByEnumStringValues

func GetListBatchJobTasksSortByEnumStringValues() []string

GetListBatchJobTasksSortByEnumStringValues Enumerates the set of values in String for ListBatchJobTasksSortByEnum

func GetListBatchJobTasksSortOrderEnumStringValues

func GetListBatchJobTasksSortOrderEnumStringValues() []string

GetListBatchJobTasksSortOrderEnumStringValues Enumerates the set of values in String for ListBatchJobTasksSortOrderEnum

func GetListBatchJobsSortByEnumStringValues

func GetListBatchJobsSortByEnumStringValues() []string

GetListBatchJobsSortByEnumStringValues Enumerates the set of values in String for ListBatchJobsSortByEnum

func GetListBatchJobsSortOrderEnumStringValues

func GetListBatchJobsSortOrderEnumStringValues() []string

GetListBatchJobsSortOrderEnumStringValues Enumerates the set of values in String for ListBatchJobsSortOrderEnum

func GetListBatchTaskEnvironmentsSortByEnumStringValues

func GetListBatchTaskEnvironmentsSortByEnumStringValues() []string

GetListBatchTaskEnvironmentsSortByEnumStringValues Enumerates the set of values in String for ListBatchTaskEnvironmentsSortByEnum

func GetListBatchTaskEnvironmentsSortOrderEnumStringValues

func GetListBatchTaskEnvironmentsSortOrderEnumStringValues() []string

GetListBatchTaskEnvironmentsSortOrderEnumStringValues Enumerates the set of values in String for ListBatchTaskEnvironmentsSortOrderEnum

func GetListBatchTaskProfilesSortByEnumStringValues

func GetListBatchTaskProfilesSortByEnumStringValues() []string

GetListBatchTaskProfilesSortByEnumStringValues Enumerates the set of values in String for ListBatchTaskProfilesSortByEnum

func GetListBatchTaskProfilesSortOrderEnumStringValues

func GetListBatchTaskProfilesSortOrderEnumStringValues() []string

GetListBatchTaskProfilesSortOrderEnumStringValues Enumerates the set of values in String for ListBatchTaskProfilesSortOrderEnum

func GetListBatchTasksSortByEnumStringValues

func GetListBatchTasksSortByEnumStringValues() []string

GetListBatchTasksSortByEnumStringValues Enumerates the set of values in String for ListBatchTasksSortByEnum

func GetListBatchTasksSortOrderEnumStringValues

func GetListBatchTasksSortOrderEnumStringValues() []string

GetListBatchTasksSortOrderEnumStringValues Enumerates the set of values in String for ListBatchTasksSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetLoggingConfigurationTypeEnumStringValues

func GetLoggingConfigurationTypeEnumStringValues() []string

GetLoggingConfigurationTypeEnumStringValues Enumerates the set of values in String for LoggingConfigurationTypeEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetSortByEnumStringValues

func GetSortByEnumStringValues() []string

GetSortByEnumStringValues Enumerates the set of values in String for SortByEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetWorkRequestLogAndErrorSortByEnumStringValues

func GetWorkRequestLogAndErrorSortByEnumStringValues() []string

GetWorkRequestLogAndErrorSortByEnumStringValues Enumerates the set of values in String for WorkRequestLogAndErrorSortByEnum

func GetWorkRequestResourceMetadataKeyEnumStringValues

func GetWorkRequestResourceMetadataKeyEnumStringValues() []string

GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum

func GetWorkRequestSortByEnumStringValues

func GetWorkRequestSortByEnumStringValues() []string

GetWorkRequestSortByEnumStringValues Enumerates the set of values in String for WorkRequestSortByEnum

type ActionTypeEnum

ActionTypeEnum Enum with underlying type: string

type ActionTypeEnum string

Set of constants representing the allowable values for ActionTypeEnum

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

func GetActionTypeEnumValues

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

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

type BatchComputingClient

BatchComputingClient a client for BatchComputing

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

func NewBatchComputingClientWithConfigurationProvider

func NewBatchComputingClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client BatchComputingClient, err error)

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

func NewBatchComputingClientWithOboToken

func NewBatchComputingClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client BatchComputingClient, err error)

NewBatchComputingClientWithOboToken Creates a new default BatchComputing 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 (BatchComputingClient) CancelBatchJob

func (client BatchComputingClient) CancelBatchJob(ctx context.Context, request CancelBatchJobRequest) (response CancelBatchJobResponse, err error)

CancelBatchJob Cancels a batch job.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/CancelBatchJob.go.html to see an example of how to use CancelBatchJob API. A default retry strategy applies to this operation CancelBatchJob()

func (BatchComputingClient) ChangeBatchContextCompartment

func (client BatchComputingClient) ChangeBatchContextCompartment(ctx context.Context, request ChangeBatchContextCompartmentRequest) (response ChangeBatchContextCompartmentResponse, err error)

ChangeBatchContextCompartment Moves a batch context into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ChangeBatchContextCompartment.go.html to see an example of how to use ChangeBatchContextCompartment API. A default retry strategy applies to this operation ChangeBatchContextCompartment()

func (BatchComputingClient) ChangeBatchJobCompartment

func (client BatchComputingClient) ChangeBatchJobCompartment(ctx context.Context, request ChangeBatchJobCompartmentRequest) (response ChangeBatchJobCompartmentResponse, err error)

ChangeBatchJobCompartment Moves a batch job into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ChangeBatchJobCompartment.go.html to see an example of how to use ChangeBatchJobCompartment API. A default retry strategy applies to this operation ChangeBatchJobCompartment()

func (BatchComputingClient) ChangeBatchJobPoolCompartment

func (client BatchComputingClient) ChangeBatchJobPoolCompartment(ctx context.Context, request ChangeBatchJobPoolCompartmentRequest) (response ChangeBatchJobPoolCompartmentResponse, err error)

ChangeBatchJobPoolCompartment Moves a batch job pool into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ChangeBatchJobPoolCompartment.go.html to see an example of how to use ChangeBatchJobPoolCompartment API. A default retry strategy applies to this operation ChangeBatchJobPoolCompartment()

func (BatchComputingClient) ChangeBatchTaskEnvironmentCompartment

func (client BatchComputingClient) ChangeBatchTaskEnvironmentCompartment(ctx context.Context, request ChangeBatchTaskEnvironmentCompartmentRequest) (response ChangeBatchTaskEnvironmentCompartmentResponse, err error)

ChangeBatchTaskEnvironmentCompartment Moves a batch task environment into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ChangeBatchTaskEnvironmentCompartment.go.html to see an example of how to use ChangeBatchTaskEnvironmentCompartment API. A default retry strategy applies to this operation ChangeBatchTaskEnvironmentCompartment()

func (BatchComputingClient) ChangeBatchTaskProfileCompartment

func (client BatchComputingClient) ChangeBatchTaskProfileCompartment(ctx context.Context, request ChangeBatchTaskProfileCompartmentRequest) (response ChangeBatchTaskProfileCompartmentResponse, err error)

ChangeBatchTaskProfileCompartment Moves a batch task profile into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ChangeBatchTaskProfileCompartment.go.html to see an example of how to use ChangeBatchTaskProfileCompartment API. A default retry strategy applies to this operation ChangeBatchTaskProfileCompartment()

func (*BatchComputingClient) ConfigurationProvider

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

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

func (BatchComputingClient) CreateBatchContext

func (client BatchComputingClient) CreateBatchContext(ctx context.Context, request CreateBatchContextRequest) (response CreateBatchContextResponse, err error)

CreateBatchContext Creates a batch context.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/CreateBatchContext.go.html to see an example of how to use CreateBatchContext API. A default retry strategy applies to this operation CreateBatchContext()

func (BatchComputingClient) CreateBatchJob

func (client BatchComputingClient) CreateBatchJob(ctx context.Context, request CreateBatchJobRequest) (response CreateBatchJobResponse, err error)

CreateBatchJob Creates a batch job.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/CreateBatchJob.go.html to see an example of how to use CreateBatchJob API. A default retry strategy applies to this operation CreateBatchJob()

func (BatchComputingClient) CreateBatchJobPool

func (client BatchComputingClient) CreateBatchJobPool(ctx context.Context, request CreateBatchJobPoolRequest) (response CreateBatchJobPoolResponse, err error)

CreateBatchJobPool Creates a batch job pool.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/CreateBatchJobPool.go.html to see an example of how to use CreateBatchJobPool API. A default retry strategy applies to this operation CreateBatchJobPool()

func (BatchComputingClient) CreateBatchTaskEnvironment

func (client BatchComputingClient) CreateBatchTaskEnvironment(ctx context.Context, request CreateBatchTaskEnvironmentRequest) (response CreateBatchTaskEnvironmentResponse, err error)

CreateBatchTaskEnvironment Creates a batch task environment.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/CreateBatchTaskEnvironment.go.html to see an example of how to use CreateBatchTaskEnvironment API. A default retry strategy applies to this operation CreateBatchTaskEnvironment()

func (BatchComputingClient) CreateBatchTaskProfile

func (client BatchComputingClient) CreateBatchTaskProfile(ctx context.Context, request CreateBatchTaskProfileRequest) (response CreateBatchTaskProfileResponse, err error)

CreateBatchTaskProfile Creates a batch task profile.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/CreateBatchTaskProfile.go.html to see an example of how to use CreateBatchTaskProfile API. A default retry strategy applies to this operation CreateBatchTaskProfile()

func (BatchComputingClient) DeleteBatchContext

func (client BatchComputingClient) DeleteBatchContext(ctx context.Context, request DeleteBatchContextRequest) (response DeleteBatchContextResponse, err error)

DeleteBatchContext Deletes a batch context. All batch job pools associated with the batch context must be deleted beforehand.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/DeleteBatchContext.go.html to see an example of how to use DeleteBatchContext API. A default retry strategy applies to this operation DeleteBatchContext()

func (BatchComputingClient) DeleteBatchJobPool

func (client BatchComputingClient) DeleteBatchJobPool(ctx context.Context, request DeleteBatchJobPoolRequest) (response DeleteBatchJobPoolResponse, err error)

DeleteBatchJobPool Deletes a batch job pool. All batch jobs associated with the batch job pool must be canceled beforehand.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/DeleteBatchJobPool.go.html to see an example of how to use DeleteBatchJobPool API. A default retry strategy applies to this operation DeleteBatchJobPool()

func (BatchComputingClient) DeleteBatchTaskEnvironment

func (client BatchComputingClient) DeleteBatchTaskEnvironment(ctx context.Context, request DeleteBatchTaskEnvironmentRequest) (response DeleteBatchTaskEnvironmentResponse, err error)

DeleteBatchTaskEnvironment Deletes a batch task environment. All batch tasks associated with the batch task environment must be canceled beforehand.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/DeleteBatchTaskEnvironment.go.html to see an example of how to use DeleteBatchTaskEnvironment API. A default retry strategy applies to this operation DeleteBatchTaskEnvironment()

func (BatchComputingClient) DeleteBatchTaskProfile

func (client BatchComputingClient) DeleteBatchTaskProfile(ctx context.Context, request DeleteBatchTaskProfileRequest) (response DeleteBatchTaskProfileResponse, err error)

DeleteBatchTaskProfile Deletes a batch task profile. All batch tasks associated with the batch task profile must be canceled beforehand.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/DeleteBatchTaskProfile.go.html to see an example of how to use DeleteBatchTaskProfile API. A default retry strategy applies to this operation DeleteBatchTaskProfile()

func (BatchComputingClient) GetBatchContext

func (client BatchComputingClient) GetBatchContext(ctx context.Context, request GetBatchContextRequest) (response GetBatchContextResponse, err error)

GetBatchContext Gets information about a batch context.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/GetBatchContext.go.html to see an example of how to use GetBatchContext API. A default retry strategy applies to this operation GetBatchContext()

func (BatchComputingClient) GetBatchJob

func (client BatchComputingClient) GetBatchJob(ctx context.Context, request GetBatchJobRequest) (response GetBatchJobResponse, err error)

GetBatchJob Gets information about a batch job.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/GetBatchJob.go.html to see an example of how to use GetBatchJob API. A default retry strategy applies to this operation GetBatchJob()

func (BatchComputingClient) GetBatchJobPool

func (client BatchComputingClient) GetBatchJobPool(ctx context.Context, request GetBatchJobPoolRequest) (response GetBatchJobPoolResponse, err error)

GetBatchJobPool Gets information about a batch job pool.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/GetBatchJobPool.go.html to see an example of how to use GetBatchJobPool API. A default retry strategy applies to this operation GetBatchJobPool()

func (BatchComputingClient) GetBatchTask

func (client BatchComputingClient) GetBatchTask(ctx context.Context, request GetBatchTaskRequest) (response GetBatchTaskResponse, err error)

GetBatchTask Gets a specific batch task associated with a batch job by its name.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/GetBatchTask.go.html to see an example of how to use GetBatchTask API. A default retry strategy applies to this operation GetBatchTask()

func (BatchComputingClient) GetBatchTaskEnvironment

func (client BatchComputingClient) GetBatchTaskEnvironment(ctx context.Context, request GetBatchTaskEnvironmentRequest) (response GetBatchTaskEnvironmentResponse, err error)

GetBatchTaskEnvironment Gets information about a batch task environment.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/GetBatchTaskEnvironment.go.html to see an example of how to use GetBatchTaskEnvironment API. A default retry strategy applies to this operation GetBatchTaskEnvironment()

func (BatchComputingClient) GetBatchTaskProfile

func (client BatchComputingClient) GetBatchTaskProfile(ctx context.Context, request GetBatchTaskProfileRequest) (response GetBatchTaskProfileResponse, err error)

GetBatchTaskProfile Gets information about a batch task profile.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/GetBatchTaskProfile.go.html to see an example of how to use GetBatchTaskProfile API. A default retry strategy applies to this operation GetBatchTaskProfile()

func (BatchComputingClient) GetWorkRequest

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

GetWorkRequest Gets the details of a work request.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()

func (BatchComputingClient) ListBatchContextShapes

func (client BatchComputingClient) ListBatchContextShapes(ctx context.Context, request ListBatchContextShapesRequest) (response ListBatchContextShapesResponse, err error)

ListBatchContextShapes Lists the shapes allowed to be specified during batch context creation. Ordered by the shape name.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListBatchContextShapes.go.html to see an example of how to use ListBatchContextShapes API. A default retry strategy applies to this operation ListBatchContextShapes()

func (BatchComputingClient) ListBatchContexts

func (client BatchComputingClient) ListBatchContexts(ctx context.Context, request ListBatchContextsRequest) (response ListBatchContextsResponse, err error)

ListBatchContexts Lists the batch contexts by compartment or context OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can filter and sort them by various properties like lifecycle state, name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchContext to get the full details on a specific context

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListBatchContexts.go.html to see an example of how to use ListBatchContexts API. A default retry strategy applies to this operation ListBatchContexts()

func (BatchComputingClient) ListBatchJobPools

func (client BatchComputingClient) ListBatchJobPools(ctx context.Context, request ListBatchJobPoolsRequest) (response ListBatchJobPoolsResponse, err error)

ListBatchJobPools Lists the batch job pools by compartment or job pool OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can filter and sort them by various properties like lifecycle state, display name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchJobPool to get the full details on a specific context

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListBatchJobPools.go.html to see an example of how to use ListBatchJobPools API. A default retry strategy applies to this operation ListBatchJobPools()

func (BatchComputingClient) ListBatchJobTasks

func (client BatchComputingClient) ListBatchJobTasks(ctx context.Context, request ListBatchJobTasksRequest) (response ListBatchJobTasksResponse, err error)

ListBatchJobTasks Lists the batch tasks by batch job OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can filter and sort them by various properties like lifecycle state, name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchTask to get the full details on a specific context List is incomplete until jobs lifecycle is in_progress

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListBatchJobTasks.go.html to see an example of how to use ListBatchJobTasks API. A default retry strategy applies to this operation ListBatchJobTasks()

func (BatchComputingClient) ListBatchJobs

func (client BatchComputingClient) ListBatchJobs(ctx context.Context, request ListBatchJobsRequest) (response ListBatchJobsResponse, err error)

ListBatchJobs Lists the batch jobs by compartment or job OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can filter and sort them by various properties like lifecycle state, display name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchJob to get the full details on a specific context

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListBatchJobs.go.html to see an example of how to use ListBatchJobs API. A default retry strategy applies to this operation ListBatchJobs()

func (BatchComputingClient) ListBatchTaskEnvironments

func (client BatchComputingClient) ListBatchTaskEnvironments(ctx context.Context, request ListBatchTaskEnvironmentsRequest) (response ListBatchTaskEnvironmentsResponse, err error)

ListBatchTaskEnvironments Lists the task environments by compartment or environment OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can filter and sort them by various properties like lifecycle state, display name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchTaskEnvironment to get the full details on a specific context

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListBatchTaskEnvironments.go.html to see an example of how to use ListBatchTaskEnvironments API. A default retry strategy applies to this operation ListBatchTaskEnvironments()

func (BatchComputingClient) ListBatchTaskProfiles

func (client BatchComputingClient) ListBatchTaskProfiles(ctx context.Context, request ListBatchTaskProfilesRequest) (response ListBatchTaskProfilesResponse, err error)

ListBatchTaskProfiles Lists the task profiles by compartment or profile OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). You can filter and sort them by various properties like lifecycle state, name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchTaskProfile to get the full details on a specific context

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListBatchTaskProfiles.go.html to see an example of how to use ListBatchTaskProfiles API. A default retry strategy applies to this operation ListBatchTaskProfiles()

func (BatchComputingClient) ListBatchTasks

func (client BatchComputingClient) ListBatchTasks(ctx context.Context, request ListBatchTasksRequest) (response ListBatchTasksResponse, err error)

ListBatchTasks Lists the batch tasks associated with batch jobs.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListBatchTasks.go.html to see an example of how to use ListBatchTasks API. A default retry strategy applies to this operation ListBatchTasks()

func (BatchComputingClient) ListWorkRequestErrors

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

ListWorkRequestErrors Lists the errors for a work request.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()

func (BatchComputingClient) ListWorkRequestLogs

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

ListWorkRequestLogs Lists the logs for a work request.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()

func (BatchComputingClient) ListWorkRequests

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

ListWorkRequests Lists the work requests in a compartment.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()

func (BatchComputingClient) PauseBatchJob

func (client BatchComputingClient) PauseBatchJob(ctx context.Context, request PauseBatchJobRequest) (response PauseBatchJobResponse, err error)

PauseBatchJob Pauses the batch job and all its tasks.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/PauseBatchJob.go.html to see an example of how to use PauseBatchJob API. A default retry strategy applies to this operation PauseBatchJob()

func (*BatchComputingClient) SetRegion

func (client *BatchComputingClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (BatchComputingClient) StartBatchContext

func (client BatchComputingClient) StartBatchContext(ctx context.Context, request StartBatchContextRequest) (response StartBatchContextResponse, err error)

StartBatchContext Activates a batch context to accept new jobs.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/StartBatchContext.go.html to see an example of how to use StartBatchContext API. A default retry strategy applies to this operation StartBatchContext()

func (BatchComputingClient) StartBatchJobPool

func (client BatchComputingClient) StartBatchJobPool(ctx context.Context, request StartBatchJobPoolRequest) (response StartBatchJobPoolResponse, err error)

StartBatchJobPool Activates the batch job pool.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/StartBatchJobPool.go.html to see an example of how to use StartBatchJobPool API. A default retry strategy applies to this operation StartBatchJobPool()

func (BatchComputingClient) StopBatchContext

func (client BatchComputingClient) StopBatchContext(ctx context.Context, request StopBatchContextRequest) (response StopBatchContextResponse, err error)

StopBatchContext Stops a batch context from accepting new jobs.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/StopBatchContext.go.html to see an example of how to use StopBatchContext API. A default retry strategy applies to this operation StopBatchContext()

func (BatchComputingClient) StopBatchJobPool

func (client BatchComputingClient) StopBatchJobPool(ctx context.Context, request StopBatchJobPoolRequest) (response StopBatchJobPoolResponse, err error)

StopBatchJobPool Deactivates the batch job pool.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/StopBatchJobPool.go.html to see an example of how to use StopBatchJobPool API. A default retry strategy applies to this operation StopBatchJobPool()

func (BatchComputingClient) UnpauseBatchJob

func (client BatchComputingClient) UnpauseBatchJob(ctx context.Context, request UnpauseBatchJobRequest) (response UnpauseBatchJobResponse, err error)

UnpauseBatchJob Resumes the batch job and all its tasks.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/UnpauseBatchJob.go.html to see an example of how to use UnpauseBatchJob API. A default retry strategy applies to this operation UnpauseBatchJob()

func (BatchComputingClient) UpdateBatchContext

func (client BatchComputingClient) UpdateBatchContext(ctx context.Context, request UpdateBatchContextRequest) (response UpdateBatchContextResponse, err error)

UpdateBatchContext Updates a batch context.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/UpdateBatchContext.go.html to see an example of how to use UpdateBatchContext API. A default retry strategy applies to this operation UpdateBatchContext()

func (BatchComputingClient) UpdateBatchJob

func (client BatchComputingClient) UpdateBatchJob(ctx context.Context, request UpdateBatchJobRequest) (response UpdateBatchJobResponse, err error)

UpdateBatchJob Updates a batch job.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/UpdateBatchJob.go.html to see an example of how to use UpdateBatchJob API. A default retry strategy applies to this operation UpdateBatchJob()

func (BatchComputingClient) UpdateBatchJobPool

func (client BatchComputingClient) UpdateBatchJobPool(ctx context.Context, request UpdateBatchJobPoolRequest) (response UpdateBatchJobPoolResponse, err error)

UpdateBatchJobPool Updates a batch job pool.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/UpdateBatchJobPool.go.html to see an example of how to use UpdateBatchJobPool API. A default retry strategy applies to this operation UpdateBatchJobPool()

func (BatchComputingClient) UpdateBatchTaskEnvironment

func (client BatchComputingClient) UpdateBatchTaskEnvironment(ctx context.Context, request UpdateBatchTaskEnvironmentRequest) (response UpdateBatchTaskEnvironmentResponse, err error)

UpdateBatchTaskEnvironment Updates a batch task environment.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/UpdateBatchTaskEnvironment.go.html to see an example of how to use UpdateBatchTaskEnvironment API. A default retry strategy applies to this operation UpdateBatchTaskEnvironment()

func (BatchComputingClient) UpdateBatchTaskProfile

func (client BatchComputingClient) UpdateBatchTaskProfile(ctx context.Context, request UpdateBatchTaskProfileRequest) (response UpdateBatchTaskProfileResponse, err error)

UpdateBatchTaskProfile Updates a batch task profile.

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/UpdateBatchTaskProfile.go.html to see an example of how to use UpdateBatchTaskProfile API. A default retry strategy applies to this operation UpdateBatchTaskProfile()

type BatchContext

BatchContext Representation of a batch context and its configurations. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).

type BatchContext struct {

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

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

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

    // The date and time the batch context was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the batch context.
    LifecycleState BatchContextLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

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

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // List of job priority configurations related to the batch context.
    JobPriorityConfigurations []JobPriorityConfiguration `mandatory:"true" json:"jobPriorityConfigurations"`

    Network *Network `mandatory:"true" json:"network"`

    // List of fleet configurations related to the batch context.
    Fleets []Fleet `mandatory:"true" json:"fleets"`

    // Mapping of concurrent/shared resources used in job tasks to their limits.
    Entitlements map[string]int `mandatory:"true" json:"entitlements"`

    // Summarized information about the batch context.
    Description *string `mandatory:"false" json:"description"`

    // The date and time the batch context was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message that describes the current state in more detail. For example,   can be used to provide actionable information for a resource in the Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    LoggingConfiguration LoggingConfiguration `mandatory:"false" json:"loggingConfiguration"`
}

func (BatchContext) String

func (m BatchContext) String() string

func (*BatchContext) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (BatchContext) ValidateEnumValue

func (m BatchContext) 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 BatchContextCollection

BatchContextCollection Results of a batch context search. Contains both batch context summary items and other information, such as metadata.

type BatchContextCollection struct {

    // List of batch contexts.
    Items []BatchContextSummary `mandatory:"true" json:"items"`
}

func (BatchContextCollection) String

func (m BatchContextCollection) String() string

func (BatchContextCollection) ValidateEnumValue

func (m BatchContextCollection) 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 BatchContextLifecycleStateEnum

BatchContextLifecycleStateEnum Enum with underlying type: string

type BatchContextLifecycleStateEnum string

Set of constants representing the allowable values for BatchContextLifecycleStateEnum

const (
    BatchContextLifecycleStateCreating       BatchContextLifecycleStateEnum = "CREATING"
    BatchContextLifecycleStateActive         BatchContextLifecycleStateEnum = "ACTIVE"
    BatchContextLifecycleStateInactive       BatchContextLifecycleStateEnum = "INACTIVE"
    BatchContextLifecycleStateUpdating       BatchContextLifecycleStateEnum = "UPDATING"
    BatchContextLifecycleStateNeedsAttention BatchContextLifecycleStateEnum = "NEEDS_ATTENTION"
    BatchContextLifecycleStateDeleting       BatchContextLifecycleStateEnum = "DELETING"
    BatchContextLifecycleStateDeleted        BatchContextLifecycleStateEnum = "DELETED"
    BatchContextLifecycleStateFailed         BatchContextLifecycleStateEnum = "FAILED"
)

func GetBatchContextLifecycleStateEnumValues

func GetBatchContextLifecycleStateEnumValues() []BatchContextLifecycleStateEnum

GetBatchContextLifecycleStateEnumValues Enumerates the set of values for BatchContextLifecycleStateEnum

func GetMappingBatchContextLifecycleStateEnum

func GetMappingBatchContextLifecycleStateEnum(val string) (BatchContextLifecycleStateEnum, bool)

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

type BatchContextShapeCollection

BatchContextShapeCollection A collection of container instance shapes.

type BatchContextShapeCollection struct {

    // List of shapes.
    Items []BatchContextShapeSummary `mandatory:"true" json:"items"`
}

func (BatchContextShapeCollection) String

func (m BatchContextShapeCollection) String() string

func (BatchContextShapeCollection) ValidateEnumValue

func (m BatchContextShapeCollection) 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 BatchContextShapeSummary

BatchContextShapeSummary Details about a shape for a container instance.

type BatchContextShapeSummary struct {

    // The name identifying the shape.
    Name *string `mandatory:"true" json:"name"`

    // A short description of the container instance's processor (CPU).
    ProcessorDescription *string `mandatory:"true" json:"processorDescription"`

    MemoryOptions *ShapeMemoryOptions `mandatory:"false" json:"memoryOptions"`

    NetworkingBandwidthOptions *ShapeNetworkingBandwidthOptions `mandatory:"false" json:"networkingBandwidthOptions"`

    OcpuOptions *ShapeOcpuOptions `mandatory:"false" json:"ocpuOptions"`
}

func (BatchContextShapeSummary) String

func (m BatchContextShapeSummary) String() string

func (BatchContextShapeSummary) ValidateEnumValue

func (m BatchContextShapeSummary) 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 BatchContextSummary

BatchContextSummary Summary information about a batch context.

type BatchContextSummary struct {

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

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

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

    // The date and time the batch context was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the batch context.
    LifecycleState BatchContextLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

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

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // Summarized information about the batch context.
    Description *string `mandatory:"false" json:"description"`

    // The date and time the batch context was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message that describes the current state in more detail. For example,   can be used to provide actionable information for a resource in the Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

func (BatchContextSummary) String

func (m BatchContextSummary) String() string

func (BatchContextSummary) ValidateEnumValue

func (m BatchContextSummary) 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 BatchJob

BatchJob A batch job represents the execution unit that is invoked on a batch's pools of compute resources. A job is composed of one or more tasks, which are the executable commands. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).

type BatchJob struct {

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

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent batch job pool.
    BatchJobPoolId *string `mandatory:"true" json:"batchJobPoolId"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent batch context of the parent job pool.
    BatchContextId *string `mandatory:"true" json:"batchContextId"`

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

    // The date and time the batch job was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the batch job.
    LifecycleState BatchJobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

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

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // An optional description that provides additional context next to the displayName.
    Description *string `mandatory:"false" json:"description"`

    // A value calculated by the system based on the priority tags.
    Priority *int `mandatory:"false" json:"priority"`

    // A percentage value (0..100) of the job completion.
    ProgressPercentage *int `mandatory:"false" json:"progressPercentage"`

    // A more detailed textual representation of the job completion.
    ProgressDetails *string `mandatory:"false" json:"progressDetails"`

    // An environment variables to use for the job's tasks (can be overridden by task's environment variables).
    EnvironmentVariables []EnvironmentVariable `mandatory:"false" json:"environmentVariables"`

    // The date and time the batch job was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message that describes the current state of the batch job in more detail. For example,
    // can be used to provide actionable information for a resource in the Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

func (BatchJob) String

func (m BatchJob) String() string

func (BatchJob) ValidateEnumValue

func (m BatchJob) 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 BatchJobCollection

BatchJobCollection Results of a batch job search. Contains both batch job summary items and other information, such as metadata.

type BatchJobCollection struct {

    // List of batch jobs.
    Items []BatchJobSummary `mandatory:"true" json:"items"`
}

func (BatchJobCollection) String

func (m BatchJobCollection) String() string

func (BatchJobCollection) ValidateEnumValue

func (m BatchJobCollection) 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 BatchJobLifecycleStateEnum

BatchJobLifecycleStateEnum Enum with underlying type: string

type BatchJobLifecycleStateEnum string

Set of constants representing the allowable values for BatchJobLifecycleStateEnum

const (
    BatchJobLifecycleStateAccepted       BatchJobLifecycleStateEnum = "ACCEPTED"
    BatchJobLifecycleStateWaiting        BatchJobLifecycleStateEnum = "WAITING"
    BatchJobLifecycleStateInProgress     BatchJobLifecycleStateEnum = "IN_PROGRESS"
    BatchJobLifecycleStateSucceeded      BatchJobLifecycleStateEnum = "SUCCEEDED"
    BatchJobLifecycleStateNeedsAttention BatchJobLifecycleStateEnum = "NEEDS_ATTENTION"
    BatchJobLifecycleStateFailed         BatchJobLifecycleStateEnum = "FAILED"
    BatchJobLifecycleStateCanceling      BatchJobLifecycleStateEnum = "CANCELING"
    BatchJobLifecycleStateCanceled       BatchJobLifecycleStateEnum = "CANCELED"
)

func GetBatchJobLifecycleStateEnumValues

func GetBatchJobLifecycleStateEnumValues() []BatchJobLifecycleStateEnum

GetBatchJobLifecycleStateEnumValues Enumerates the set of values for BatchJobLifecycleStateEnum

func GetMappingBatchJobLifecycleStateEnum

func GetMappingBatchJobLifecycleStateEnum(val string) (BatchJobLifecycleStateEnum, bool)

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

type BatchJobPool

BatchJobPool A batch job pool represents an abstract group for jobs. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).

type BatchJobPool struct {

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

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

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

    // The OCID of batch context.
    BatchContextId *string `mandatory:"true" json:"batchContextId"`

    // The date and time the batch job pool was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the batch job pool.
    LifecycleState BatchJobPoolLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

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

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // Summarized information about the batch job pool.
    Description *string `mandatory:"false" json:"description"`

    // The date and time the batch job pool was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

func (BatchJobPool) String

func (m BatchJobPool) String() string

func (BatchJobPool) ValidateEnumValue

func (m BatchJobPool) 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 BatchJobPoolCollection

BatchJobPoolCollection Results of a batch job pool search. Contains both batch job pool summary items and other information, such as metadata.

type BatchJobPoolCollection struct {

    // List of batch job pools.
    Items []BatchJobPoolSummary `mandatory:"true" json:"items"`
}

func (BatchJobPoolCollection) String

func (m BatchJobPoolCollection) String() string

func (BatchJobPoolCollection) ValidateEnumValue

func (m BatchJobPoolCollection) 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 BatchJobPoolLifecycleStateEnum

BatchJobPoolLifecycleStateEnum Enum with underlying type: string

type BatchJobPoolLifecycleStateEnum string

Set of constants representing the allowable values for BatchJobPoolLifecycleStateEnum

const (
    BatchJobPoolLifecycleStateActive         BatchJobPoolLifecycleStateEnum = "ACTIVE"
    BatchJobPoolLifecycleStateInactive       BatchJobPoolLifecycleStateEnum = "INACTIVE"
    BatchJobPoolLifecycleStateUpdating       BatchJobPoolLifecycleStateEnum = "UPDATING"
    BatchJobPoolLifecycleStateNeedsAttention BatchJobPoolLifecycleStateEnum = "NEEDS_ATTENTION"
    BatchJobPoolLifecycleStateDeleted        BatchJobPoolLifecycleStateEnum = "DELETED"
)

func GetBatchJobPoolLifecycleStateEnumValues

func GetBatchJobPoolLifecycleStateEnumValues() []BatchJobPoolLifecycleStateEnum

GetBatchJobPoolLifecycleStateEnumValues Enumerates the set of values for BatchJobPoolLifecycleStateEnum

func GetMappingBatchJobPoolLifecycleStateEnum

func GetMappingBatchJobPoolLifecycleStateEnum(val string) (BatchJobPoolLifecycleStateEnum, bool)

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

type BatchJobPoolSummary

BatchJobPoolSummary Summary information about a batch job pool.

type BatchJobPoolSummary struct {

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

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

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

    // The OCID of batch context.
    BatchContextId *string `mandatory:"true" json:"batchContextId"`

    // The date and time the batch job pool was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the batch job pool.
    LifecycleState BatchJobPoolLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

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

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // Summarized information about the batch job pool.
    Description *string `mandatory:"false" json:"description"`

    // The date and time the batch job pool was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

func (BatchJobPoolSummary) String

func (m BatchJobPoolSummary) String() string

func (BatchJobPoolSummary) ValidateEnumValue

func (m BatchJobPoolSummary) 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 BatchJobSummary

BatchJobSummary Summary information about a batch job.

type BatchJobSummary struct {

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

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent batch job pool.
    BatchJobPoolId *string `mandatory:"true" json:"batchJobPoolId"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent batch context of the parent job pool.
    BatchContextId *string `mandatory:"true" json:"batchContextId"`

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

    // The date and time the batch job was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the batch job.
    LifecycleState BatchJobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

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

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // An optional description that provides additional context next to the displayName.
    Description *string `mandatory:"false" json:"description"`

    // A value calculated by the system based on the priority tags.
    Priority *int `mandatory:"false" json:"priority"`

    // A percentage value (0..100) of the job completion.
    ProgressPercentage *int `mandatory:"false" json:"progressPercentage"`

    // A more detailed textual representation of the job completion.
    ProgressDetails *string `mandatory:"false" json:"progressDetails"`

    // The date and time the batch job was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message that describes the current state of the batch job in more detail. For example,
    // can be used to provide actionable information for a resource in the Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

func (BatchJobSummary) String

func (m BatchJobSummary) String() string

func (BatchJobSummary) ValidateEnumValue

func (m BatchJobSummary) 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 BatchTask

BatchTask A batch task contains common properties for all types of job tasks.

type BatchTask interface {

    // The UUID of batch task.
    GetId() *string

    // The name of the batch task. It must be unique within its parent batch job.
    GetName() *string

    // A list of resources (for example licences) this task needs for its execution.
    GetEntitlementClaims() []string

    // A list of tasks from the same job this task depends on referenced by name.
    GetDependencies() []string

    // Environment variables to use for the task execution.
    GetEnvironmentVariables() []EnvironmentVariable

    // An optional description that provides additional context next to the displayName.
    GetDescription() *string

    // The current state of the batch task.
    GetLifecycleState() BatchTaskLifecycleStateEnum

    // A message that describes the current state of the batch task in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    GetLifecycleDetails() *string
}

type BatchTaskCollection

BatchTaskCollection Results of a batch task search. Contains both batch task summary items and other information, such as metadata.

type BatchTaskCollection struct {

    // List of batch task summaries.
    Items []BatchTaskSummary `mandatory:"true" json:"items"`
}

func (BatchTaskCollection) String

func (m BatchTaskCollection) String() string

func (*BatchTaskCollection) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (BatchTaskCollection) ValidateEnumValue

func (m BatchTaskCollection) 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 BatchTaskEnvironment

BatchTaskEnvironment A batch task environment resource defines the software that is used to execute tasks. It mainly contains a URL to a container image along with other configurations that are needed by the image. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).

type BatchTaskEnvironment struct {

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

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

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // If not specified or provided as null or empty string, it be generated as "<resourceType><timeCreated>", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskenvironment20250914115623.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The URL of the ocir image.
    ImageUrl *string `mandatory:"true" json:"imageUrl"`

    // List of volumes attached to the image.
    // The use cases of the volumes are but not limited to: read the input of the task and write the output.
    Volumes []BatchTaskEnvironmentVolume `mandatory:"true" json:"volumes"`

    // The current state of the batch task environment.
    LifecycleState BatchTaskEnvironmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The date and time the batch task environment was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

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

    // 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // The batch task environment description.
    Description *string `mandatory:"false" json:"description"`

    SecurityContext *SecurityContext `mandatory:"false" json:"securityContext"`

    // Container's working directory.
    WorkingDirectory *string `mandatory:"false" json:"workingDirectory"`

    // The date and time the batch task environment was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

func (BatchTaskEnvironment) String

func (m BatchTaskEnvironment) String() string

func (*BatchTaskEnvironment) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (BatchTaskEnvironment) ValidateEnumValue

func (m BatchTaskEnvironment) 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 BatchTaskEnvironmentCollection

BatchTaskEnvironmentCollection Results of a batch task environment search. Contains both batch task environment summary items and other information, such as metadata.

type BatchTaskEnvironmentCollection struct {

    // List of batch task environments.
    Items []BatchTaskEnvironmentSummary `mandatory:"true" json:"items"`
}

func (BatchTaskEnvironmentCollection) String

func (m BatchTaskEnvironmentCollection) String() string

func (BatchTaskEnvironmentCollection) ValidateEnumValue

func (m BatchTaskEnvironmentCollection) 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 BatchTaskEnvironmentLifecycleStateEnum

BatchTaskEnvironmentLifecycleStateEnum Enum with underlying type: string

type BatchTaskEnvironmentLifecycleStateEnum string

Set of constants representing the allowable values for BatchTaskEnvironmentLifecycleStateEnum

const (
    BatchTaskEnvironmentLifecycleStateActive  BatchTaskEnvironmentLifecycleStateEnum = "ACTIVE"
    BatchTaskEnvironmentLifecycleStateDeleted BatchTaskEnvironmentLifecycleStateEnum = "DELETED"
)

func GetBatchTaskEnvironmentLifecycleStateEnumValues

func GetBatchTaskEnvironmentLifecycleStateEnumValues() []BatchTaskEnvironmentLifecycleStateEnum

GetBatchTaskEnvironmentLifecycleStateEnumValues Enumerates the set of values for BatchTaskEnvironmentLifecycleStateEnum

func GetMappingBatchTaskEnvironmentLifecycleStateEnum

func GetMappingBatchTaskEnvironmentLifecycleStateEnum(val string) (BatchTaskEnvironmentLifecycleStateEnum, bool)

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

type BatchTaskEnvironmentSummary

BatchTaskEnvironmentSummary Summary information about a batch task environment.

type BatchTaskEnvironmentSummary struct {

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

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

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // If not specified or provided as null or empty string, it be generated as "<resourceType><timeCreated>", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskenvironment20250914115623.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The URL of the ocir image.
    ImageUrl *string `mandatory:"true" json:"imageUrl"`

    // The current state of the batch task environment.
    LifecycleState BatchTaskEnvironmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The date and time the batch task environment was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

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

    // 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // The batch task environment description.
    Description *string `mandatory:"false" json:"description"`

    SecurityContext *SecurityContext `mandatory:"false" json:"securityContext"`

    // Container's working directory.
    WorkingDirectory *string `mandatory:"false" json:"workingDirectory"`

    // The date and time the batch task environment was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

func (BatchTaskEnvironmentSummary) String

func (m BatchTaskEnvironmentSummary) String() string

func (BatchTaskEnvironmentSummary) ValidateEnumValue

func (m BatchTaskEnvironmentSummary) 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 BatchTaskEnvironmentVolume

BatchTaskEnvironmentVolume A base type for volume for batch task environment.

type BatchTaskEnvironmentVolume interface {
}

type BatchTaskEnvironmentVolumeTypeEnum

BatchTaskEnvironmentVolumeTypeEnum Enum with underlying type: string

type BatchTaskEnvironmentVolumeTypeEnum string

Set of constants representing the allowable values for BatchTaskEnvironmentVolumeTypeEnum

const (
    BatchTaskEnvironmentVolumeTypeNfs BatchTaskEnvironmentVolumeTypeEnum = "NFS"
)

func GetBatchTaskEnvironmentVolumeTypeEnumValues

func GetBatchTaskEnvironmentVolumeTypeEnumValues() []BatchTaskEnvironmentVolumeTypeEnum

GetBatchTaskEnvironmentVolumeTypeEnumValues Enumerates the set of values for BatchTaskEnvironmentVolumeTypeEnum

func GetMappingBatchTaskEnvironmentVolumeTypeEnum

func GetMappingBatchTaskEnvironmentVolumeTypeEnum(val string) (BatchTaskEnvironmentVolumeTypeEnum, bool)

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

type BatchTaskLifecycleStateEnum

BatchTaskLifecycleStateEnum Enum with underlying type: string

type BatchTaskLifecycleStateEnum string

Set of constants representing the allowable values for BatchTaskLifecycleStateEnum

const (
    BatchTaskLifecycleStateAccepted   BatchTaskLifecycleStateEnum = "ACCEPTED"
    BatchTaskLifecycleStateWaiting    BatchTaskLifecycleStateEnum = "WAITING"
    BatchTaskLifecycleStateInProgress BatchTaskLifecycleStateEnum = "IN_PROGRESS"
    BatchTaskLifecycleStateSucceeded  BatchTaskLifecycleStateEnum = "SUCCEEDED"
    BatchTaskLifecycleStateFailed     BatchTaskLifecycleStateEnum = "FAILED"
    BatchTaskLifecycleStateCanceling  BatchTaskLifecycleStateEnum = "CANCELING"
    BatchTaskLifecycleStateCanceled   BatchTaskLifecycleStateEnum = "CANCELED"
)

func GetBatchTaskLifecycleStateEnumValues

func GetBatchTaskLifecycleStateEnumValues() []BatchTaskLifecycleStateEnum

GetBatchTaskLifecycleStateEnumValues Enumerates the set of values for BatchTaskLifecycleStateEnum

func GetMappingBatchTaskLifecycleStateEnum

func GetMappingBatchTaskLifecycleStateEnum(val string) (BatchTaskLifecycleStateEnum, bool)

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

type BatchTaskProfile

BatchTaskProfile A batch task profile resource describes the minimum hardware requirements requested for a task. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).

type BatchTaskProfile struct {

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

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

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

    // The minimum required OCPUs.
    MinOcpus *int `mandatory:"true" json:"minOcpus"`

    // The minimum required memory.
    MinMemoryInGBs *int `mandatory:"true" json:"minMemoryInGBs"`

    // The current state of the batch task profile.
    LifecycleState BatchTaskProfileLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The date and time the batch task profile was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

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

    // 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // The batch task profile description.
    Description *string `mandatory:"false" json:"description"`

    // The date and time the batch task profile was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

func (BatchTaskProfile) String

func (m BatchTaskProfile) String() string

func (BatchTaskProfile) ValidateEnumValue

func (m BatchTaskProfile) 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 BatchTaskProfileCollection

BatchTaskProfileCollection Results of a batch task profile search. Contains both batch task profile summary items and other information, such as metadata.

type BatchTaskProfileCollection struct {

    // List of batch task profiles.
    Items []BatchTaskProfileSummary `mandatory:"true" json:"items"`
}

func (BatchTaskProfileCollection) String

func (m BatchTaskProfileCollection) String() string

func (BatchTaskProfileCollection) ValidateEnumValue

func (m BatchTaskProfileCollection) 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 BatchTaskProfileLifecycleStateEnum

BatchTaskProfileLifecycleStateEnum Enum with underlying type: string

type BatchTaskProfileLifecycleStateEnum string

Set of constants representing the allowable values for BatchTaskProfileLifecycleStateEnum

const (
    BatchTaskProfileLifecycleStateActive  BatchTaskProfileLifecycleStateEnum = "ACTIVE"
    BatchTaskProfileLifecycleStateDeleted BatchTaskProfileLifecycleStateEnum = "DELETED"
)

func GetBatchTaskProfileLifecycleStateEnumValues

func GetBatchTaskProfileLifecycleStateEnumValues() []BatchTaskProfileLifecycleStateEnum

GetBatchTaskProfileLifecycleStateEnumValues Enumerates the set of values for BatchTaskProfileLifecycleStateEnum

func GetMappingBatchTaskProfileLifecycleStateEnum

func GetMappingBatchTaskProfileLifecycleStateEnum(val string) (BatchTaskProfileLifecycleStateEnum, bool)

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

type BatchTaskProfileSummary

BatchTaskProfileSummary Summary information about a batch task profile.

type BatchTaskProfileSummary struct {

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

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

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

    // The current state of the batch task profile.
    LifecycleState BatchTaskProfileLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The date and time the batch task profile was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

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

    // 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // System tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // The batch task profile description.
    Description *string `mandatory:"false" json:"description"`

    // The minimum required OCPUs.
    MinOcpus *int `mandatory:"false" json:"minOcpus"`

    // The minimum required memory.
    MinMemoryInGBs *int `mandatory:"false" json:"minMemoryInGBs"`

    // The date and time the batch task profile was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // Example: `2016-08-25T21:10:29.600Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

func (BatchTaskProfileSummary) String

func (m BatchTaskProfileSummary) String() string

func (BatchTaskProfileSummary) ValidateEnumValue

func (m BatchTaskProfileSummary) 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 BatchTaskSortByEnum

BatchTaskSortByEnum Enum with underlying type: string

type BatchTaskSortByEnum string

Set of constants representing the allowable values for BatchTaskSortByEnum

const (
    BatchTaskSortByName BatchTaskSortByEnum = "name"
)

func GetBatchTaskSortByEnumValues

func GetBatchTaskSortByEnumValues() []BatchTaskSortByEnum

GetBatchTaskSortByEnumValues Enumerates the set of values for BatchTaskSortByEnum

func GetMappingBatchTaskSortByEnum

func GetMappingBatchTaskSortByEnum(val string) (BatchTaskSortByEnum, bool)

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

type BatchTaskSummary

BatchTaskSummary Summary information about a batch task.

type BatchTaskSummary interface {

    // The UUID of batch task.
    GetId() *string

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job to which this task belongs.
    GetJobId() *string

    // The name of the batch task. It must be unique within its parent batch job.
    GetName() *string

    // An optional description that provides additional context next to the displayName.
    GetDescription() *string

    // The current state of the batch task.
    GetLifecycleState() BatchTaskLifecycleStateEnum

    // A message that describes the current state of the batch task in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    GetLifecycleDetails() *string
}

type BatchTaskTypeEnum

BatchTaskTypeEnum Enum with underlying type: string

type BatchTaskTypeEnum string

Set of constants representing the allowable values for BatchTaskTypeEnum

const (
    BatchTaskTypeCompute BatchTaskTypeEnum = "COMPUTE"
)

func GetBatchTaskTypeEnumValues

func GetBatchTaskTypeEnumValues() []BatchTaskTypeEnum

GetBatchTaskTypeEnumValues Enumerates the set of values for BatchTaskTypeEnum

func GetMappingBatchTaskTypeEnum

func GetMappingBatchTaskTypeEnum(val string) (BatchTaskTypeEnum, bool)

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

type BestFitFleetAssignmentPolicy

BestFitFleetAssignmentPolicy The system will assign a task to the smallest sufficient fleet, with no flexibility for using larger fleets.

type BestFitFleetAssignmentPolicy struct {
}

func (BestFitFleetAssignmentPolicy) MarshalJSON

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

MarshalJSON marshals to json representation

func (BestFitFleetAssignmentPolicy) String

func (m BestFitFleetAssignmentPolicy) String() string

func (BestFitFleetAssignmentPolicy) ValidateEnumValue

func (m BestFitFleetAssignmentPolicy) 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 CancelBatchJobRequest

CancelBatchJobRequest wrapper for the CancelBatchJob operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/CancelBatchJob.go.html to see an example of how to use CancelBatchJobRequest.

type CancelBatchJobRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job.
    BatchJobId *string `mandatory:"true" contributesTo:"path" name:"batchJobId"`

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CancelBatchJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CancelBatchJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CancelBatchJobRequest) RetryPolicy

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

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

func (CancelBatchJobRequest) String

func (request CancelBatchJobRequest) String() string

func (CancelBatchJobRequest) ValidateEnumValue

func (request CancelBatchJobRequest) 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 CancelBatchJobResponse

CancelBatchJobResponse wrapper for the CancelBatchJob operation

type CancelBatchJobResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (CancelBatchJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CancelBatchJobResponse) String

func (response CancelBatchJobResponse) String() string

type ChangeBatchContextCompartmentDetails

ChangeBatchContextCompartmentDetails The configuration details for the move operation.

type ChangeBatchContextCompartmentDetails struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the batch context to.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeBatchContextCompartmentDetails) String

func (m ChangeBatchContextCompartmentDetails) String() string

func (ChangeBatchContextCompartmentDetails) ValidateEnumValue

func (m ChangeBatchContextCompartmentDetails) 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 ChangeBatchContextCompartmentRequest

ChangeBatchContextCompartmentRequest wrapper for the ChangeBatchContextCompartment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ChangeBatchContextCompartment.go.html to see an example of how to use ChangeBatchContextCompartmentRequest.

type ChangeBatchContextCompartmentRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch context.
    BatchContextId *string `mandatory:"true" contributesTo:"path" name:"batchContextId"`

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

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ChangeBatchContextCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeBatchContextCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeBatchContextCompartmentRequest) RetryPolicy

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

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

func (ChangeBatchContextCompartmentRequest) String

func (request ChangeBatchContextCompartmentRequest) String() string

func (ChangeBatchContextCompartmentRequest) ValidateEnumValue

func (request ChangeBatchContextCompartmentRequest) 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 ChangeBatchContextCompartmentResponse

ChangeBatchContextCompartmentResponse wrapper for the ChangeBatchContextCompartment operation

type ChangeBatchContextCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (ChangeBatchContextCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeBatchContextCompartmentResponse) String

func (response ChangeBatchContextCompartmentResponse) String() string

type ChangeBatchJobCompartmentDetails

ChangeBatchJobCompartmentDetails The configuration details for the move operation.

type ChangeBatchJobCompartmentDetails struct {

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

func (ChangeBatchJobCompartmentDetails) String

func (m ChangeBatchJobCompartmentDetails) String() string

func (ChangeBatchJobCompartmentDetails) ValidateEnumValue

func (m ChangeBatchJobCompartmentDetails) 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 ChangeBatchJobCompartmentRequest

ChangeBatchJobCompartmentRequest wrapper for the ChangeBatchJobCompartment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ChangeBatchJobCompartment.go.html to see an example of how to use ChangeBatchJobCompartmentRequest.

type ChangeBatchJobCompartmentRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job.
    BatchJobId *string `mandatory:"true" contributesTo:"path" name:"batchJobId"`

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

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ChangeBatchJobCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeBatchJobCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeBatchJobCompartmentRequest) RetryPolicy

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

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

func (ChangeBatchJobCompartmentRequest) String

func (request ChangeBatchJobCompartmentRequest) String() string

func (ChangeBatchJobCompartmentRequest) ValidateEnumValue

func (request ChangeBatchJobCompartmentRequest) 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 ChangeBatchJobCompartmentResponse

ChangeBatchJobCompartmentResponse wrapper for the ChangeBatchJobCompartment operation

type ChangeBatchJobCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (ChangeBatchJobCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeBatchJobCompartmentResponse) String

func (response ChangeBatchJobCompartmentResponse) String() string

type ChangeBatchJobPoolCompartmentDetails

ChangeBatchJobPoolCompartmentDetails The configuration details for the move operation.

type ChangeBatchJobPoolCompartmentDetails struct {

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

func (ChangeBatchJobPoolCompartmentDetails) String

func (m ChangeBatchJobPoolCompartmentDetails) String() string

func (ChangeBatchJobPoolCompartmentDetails) ValidateEnumValue

func (m ChangeBatchJobPoolCompartmentDetails) 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 ChangeBatchJobPoolCompartmentRequest

ChangeBatchJobPoolCompartmentRequest wrapper for the ChangeBatchJobPoolCompartment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ChangeBatchJobPoolCompartment.go.html to see an example of how to use ChangeBatchJobPoolCompartmentRequest.

type ChangeBatchJobPoolCompartmentRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job pool.
    BatchJobPoolId *string `mandatory:"true" contributesTo:"path" name:"batchJobPoolId"`

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

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ChangeBatchJobPoolCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeBatchJobPoolCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeBatchJobPoolCompartmentRequest) RetryPolicy

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

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

func (ChangeBatchJobPoolCompartmentRequest) String

func (request ChangeBatchJobPoolCompartmentRequest) String() string

func (ChangeBatchJobPoolCompartmentRequest) ValidateEnumValue

func (request ChangeBatchJobPoolCompartmentRequest) 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 ChangeBatchJobPoolCompartmentResponse

ChangeBatchJobPoolCompartmentResponse wrapper for the ChangeBatchJobPoolCompartment operation

type ChangeBatchJobPoolCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (ChangeBatchJobPoolCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeBatchJobPoolCompartmentResponse) String

func (response ChangeBatchJobPoolCompartmentResponse) String() string

type ChangeBatchTaskEnvironmentCompartmentDetails

ChangeBatchTaskEnvironmentCompartmentDetails The configuration details for the move operation.

type ChangeBatchTaskEnvironmentCompartmentDetails struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the batch task environment to.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeBatchTaskEnvironmentCompartmentDetails) String

func (m ChangeBatchTaskEnvironmentCompartmentDetails) String() string

func (ChangeBatchTaskEnvironmentCompartmentDetails) ValidateEnumValue

func (m ChangeBatchTaskEnvironmentCompartmentDetails) 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 ChangeBatchTaskEnvironmentCompartmentRequest

ChangeBatchTaskEnvironmentCompartmentRequest wrapper for the ChangeBatchTaskEnvironmentCompartment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ChangeBatchTaskEnvironmentCompartment.go.html to see an example of how to use ChangeBatchTaskEnvironmentCompartmentRequest.

type ChangeBatchTaskEnvironmentCompartmentRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch task environment.
    BatchTaskEnvironmentId *string `mandatory:"true" contributesTo:"path" name:"batchTaskEnvironmentId"`

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

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ChangeBatchTaskEnvironmentCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeBatchTaskEnvironmentCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeBatchTaskEnvironmentCompartmentRequest) RetryPolicy

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

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

func (ChangeBatchTaskEnvironmentCompartmentRequest) String

func (request ChangeBatchTaskEnvironmentCompartmentRequest) String() string

func (ChangeBatchTaskEnvironmentCompartmentRequest) ValidateEnumValue

func (request ChangeBatchTaskEnvironmentCompartmentRequest) 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 ChangeBatchTaskEnvironmentCompartmentResponse

ChangeBatchTaskEnvironmentCompartmentResponse wrapper for the ChangeBatchTaskEnvironmentCompartment operation

type ChangeBatchTaskEnvironmentCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (ChangeBatchTaskEnvironmentCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeBatchTaskEnvironmentCompartmentResponse) String

func (response ChangeBatchTaskEnvironmentCompartmentResponse) String() string

type ChangeBatchTaskProfileCompartmentDetails

ChangeBatchTaskProfileCompartmentDetails The configuration details for the move operation.

type ChangeBatchTaskProfileCompartmentDetails struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the batch task profile to.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeBatchTaskProfileCompartmentDetails) String

func (m ChangeBatchTaskProfileCompartmentDetails) String() string

func (ChangeBatchTaskProfileCompartmentDetails) ValidateEnumValue

func (m ChangeBatchTaskProfileCompartmentDetails) 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 ChangeBatchTaskProfileCompartmentRequest

ChangeBatchTaskProfileCompartmentRequest wrapper for the ChangeBatchTaskProfileCompartment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ChangeBatchTaskProfileCompartment.go.html to see an example of how to use ChangeBatchTaskProfileCompartmentRequest.

type ChangeBatchTaskProfileCompartmentRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch task profile.
    BatchTaskProfileId *string `mandatory:"true" contributesTo:"path" name:"batchTaskProfileId"`

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

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ChangeBatchTaskProfileCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeBatchTaskProfileCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeBatchTaskProfileCompartmentRequest) RetryPolicy

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

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

func (ChangeBatchTaskProfileCompartmentRequest) String

func (request ChangeBatchTaskProfileCompartmentRequest) String() string

func (ChangeBatchTaskProfileCompartmentRequest) ValidateEnumValue

func (request ChangeBatchTaskProfileCompartmentRequest) 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 ChangeBatchTaskProfileCompartmentResponse

ChangeBatchTaskProfileCompartmentResponse wrapper for the ChangeBatchTaskProfileCompartment operation

type ChangeBatchTaskProfileCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (ChangeBatchTaskProfileCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeBatchTaskProfileCompartmentResponse) String

func (response ChangeBatchTaskProfileCompartmentResponse) String() string

type ComputeTask

ComputeTask compute task represents a single executable command together with its dependencies and resources.

type ComputeTask struct {

    // The UUID of batch task.
    Id *string `mandatory:"true" json:"id"`

    // The name of the batch task. It must be unique within its parent batch job.
    Name *string `mandatory:"true" json:"name"`

    // A list of resources (for example licences) this task needs for its execution.
    EntitlementClaims []string `mandatory:"true" json:"entitlementClaims"`

    // A list of tasks from the same job this task depends on referenced by name.
    Dependencies []string `mandatory:"true" json:"dependencies"`

    // Environment variables to use for the task execution.
    EnvironmentVariables []EnvironmentVariable `mandatory:"true" json:"environmentVariables"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the BatchTaskEnvironment.
    BatchTaskEnvironmentId *string `mandatory:"true" json:"batchTaskEnvironmentId"`

    // An optional description that provides additional context next to the displayName.
    Description *string `mandatory:"false" json:"description"`

    // A message that describes the current state of the batch task in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch task profile used for this task.
    BatchTaskProfileId *string `mandatory:"false" json:"batchTaskProfileId"`

    // An executable command to start the processing of this task.
    Command []string `mandatory:"false" json:"command"`

    // Task arguments.
    Arguments []string `mandatory:"false" json:"arguments"`

    FleetAssignmentPolicy FleetAssignmentPolicy `mandatory:"false" json:"fleetAssignmentPolicy"`

    // The current state of the batch task.
    LifecycleState BatchTaskLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

func (ComputeTask) GetDependencies

func (m ComputeTask) GetDependencies() []string

GetDependencies returns Dependencies

func (ComputeTask) GetDescription

func (m ComputeTask) GetDescription() *string

GetDescription returns Description

func (ComputeTask) GetEntitlementClaims

func (m ComputeTask) GetEntitlementClaims() []string

GetEntitlementClaims returns EntitlementClaims

func (ComputeTask) GetEnvironmentVariables

func (m ComputeTask) GetEnvironmentVariables() []EnvironmentVariable

GetEnvironmentVariables returns EnvironmentVariables

func (ComputeTask) GetId

func (m ComputeTask) GetId() *string

GetId returns Id

func (ComputeTask) GetLifecycleDetails

func (m ComputeTask) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (ComputeTask) GetLifecycleState

func (m ComputeTask) GetLifecycleState() BatchTaskLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (ComputeTask) GetName

func (m ComputeTask) GetName() *string

GetName returns Name

func (ComputeTask) MarshalJSON

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

MarshalJSON marshals to json representation

func (ComputeTask) String

func (m ComputeTask) String() string

func (*ComputeTask) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (ComputeTask) ValidateEnumValue

func (m ComputeTask) 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 ComputeTaskSummary

ComputeTaskSummary Summary information about a compute task.

type ComputeTaskSummary struct {

    // The UUID of batch task.
    Id *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job to which this task belongs.
    JobId *string `mandatory:"true" json:"jobId"`

    // The name of the batch task. It must be unique within its parent batch job.
    Name *string `mandatory:"true" json:"name"`

    // An optional description that provides additional context next to the displayName.
    Description *string `mandatory:"false" json:"description"`

    // A message that describes the current state of the batch task in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The current state of the batch task.
    LifecycleState BatchTaskLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

func (ComputeTaskSummary) GetDescription

func (m ComputeTaskSummary) GetDescription() *string

GetDescription returns Description

func (ComputeTaskSummary) GetId

func (m ComputeTaskSummary) GetId() *string

GetId returns Id

func (ComputeTaskSummary) GetJobId

func (m ComputeTaskSummary) GetJobId() *string

GetJobId returns JobId

func (ComputeTaskSummary) GetLifecycleDetails

func (m ComputeTaskSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (ComputeTaskSummary) GetLifecycleState

func (m ComputeTaskSummary) GetLifecycleState() BatchTaskLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (ComputeTaskSummary) GetName

func (m ComputeTaskSummary) GetName() *string

GetName returns Name

func (ComputeTaskSummary) MarshalJSON

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

MarshalJSON marshals to json representation

func (ComputeTaskSummary) String

func (m ComputeTaskSummary) String() string

func (ComputeTaskSummary) ValidateEnumValue

func (m ComputeTaskSummary) 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 CreateBatchContextDetails

CreateBatchContextDetails The data to create a batch context. If the value for a collection is absent or is explicitly provided as null, it will be converted to an empty value, i.e. "[]" or "{}" in json notation. This applies to nested collections as well.

type CreateBatchContextDetails struct {

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

    Network *CreateNetworkDetails `mandatory:"true" json:"network"`

    // List of fleet configurations related to the batch context.
    Fleets []CreateFleetDetails `mandatory:"true" json:"fleets"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // If not specified or provided as null or empty string, it will be generated as "<resourceType><timeCreated>", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchcontext20250914115623.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Summarized information about the batch context.
    Description *string `mandatory:"false" json:"description"`

    // 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.oracle.com/iaas/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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // List of job priority configurations related to the batch context.
    JobPriorityConfigurations []JobPriorityConfiguration `mandatory:"false" json:"jobPriorityConfigurations"`

    // Mapping of concurrent/shared resources used in job tasks to their limits.
    Entitlements map[string]int `mandatory:"false" json:"entitlements"`

    LoggingConfiguration LoggingConfiguration `mandatory:"false" json:"loggingConfiguration"`
}

func (CreateBatchContextDetails) String

func (m CreateBatchContextDetails) String() string

func (*CreateBatchContextDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateBatchContextDetails) ValidateEnumValue

func (m CreateBatchContextDetails) 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 CreateBatchContextRequest

CreateBatchContextRequest wrapper for the CreateBatchContext operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/CreateBatchContext.go.html to see an example of how to use CreateBatchContextRequest.

type CreateBatchContextRequest struct {

    // Details for the new batch context.
    CreateBatchContextDetails `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 running that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and removed from the system, then a retry of the original creation request
    // might 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.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CreateBatchContextRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateBatchContextRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateBatchContextRequest) RetryPolicy

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

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

func (CreateBatchContextRequest) String

func (request CreateBatchContextRequest) String() string

func (CreateBatchContextRequest) ValidateEnumValue

func (request CreateBatchContextRequest) 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 CreateBatchContextResponse

CreateBatchContextResponse wrapper for the CreateBatchContext operation

type CreateBatchContextResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // URL for the created batch context. The batch context OCID is generated after this request is sent.
    Location *string `presentIn:"header" name:"location"`

    // Same as location.
    ContentLocation *string `presentIn:"header" name:"content-location"`

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (CreateBatchContextResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateBatchContextResponse) String

func (response CreateBatchContextResponse) String() string

type CreateBatchJobDetails

CreateBatchJobDetails The data to create a batch job. If the value for a collection is absent or is explicitly provided as null, it will be converted to an empty value, i.e. "[]" or "{}" in json notation. This applies to nested collections as well.

type CreateBatchJobDetails struct {

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent batch job pool.
    BatchJobPoolId *string `mandatory:"true" json:"batchJobPoolId"`

    // A list of tasks to be executed within this job.
    // Maximum number of tasks a job can have in total, across all nested levels, is 1000.
    Tasks []CreateBatchTaskDetails `mandatory:"true" json:"tasks"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // If not specified or provided as null or empty string, it will be generated as "<resourceType><timeCreated>", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchjob20250914115623.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // An optional description that provides additional context next to the displayName.
    Description *string `mandatory:"false" json:"description"`

    // An environment variables to use for the job's tasks (can be overridden by task's environment variables).
    EnvironmentVariables []EnvironmentVariable `mandatory:"false" json:"environmentVariables"`

    // 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.oracle.com/iaas/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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateBatchJobDetails) String

func (m CreateBatchJobDetails) String() string

func (*CreateBatchJobDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateBatchJobDetails) ValidateEnumValue

func (m CreateBatchJobDetails) 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 CreateBatchJobPoolDetails

CreateBatchJobPoolDetails The data to create a batch job pool. If the value for a collection is absent or is explicitly provided as null, it will be converted to an empty value, i.e. "[]" or "{}" in json notation. This applies to nested collections as well.

type CreateBatchJobPoolDetails struct {

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

    // The OCID of batch context.
    BatchContextId *string `mandatory:"true" json:"batchContextId"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // If not specified or provided as null or empty string, it be generated as "<resourceType><timeCreated>", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchjobpool20250914115623.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Summarized information about the batch job pool.
    Description *string `mandatory:"false" json:"description"`

    // 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.oracle.com/iaas/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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateBatchJobPoolDetails) String

func (m CreateBatchJobPoolDetails) String() string

func (CreateBatchJobPoolDetails) ValidateEnumValue

func (m CreateBatchJobPoolDetails) 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 CreateBatchJobPoolRequest

CreateBatchJobPoolRequest wrapper for the CreateBatchJobPool operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/CreateBatchJobPool.go.html to see an example of how to use CreateBatchJobPoolRequest.

type CreateBatchJobPoolRequest struct {

    // Details for the new batch job pool.
    CreateBatchJobPoolDetails `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 running that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and removed from the system, then a retry of the original creation request
    // might 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.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CreateBatchJobPoolRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateBatchJobPoolRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateBatchJobPoolRequest) RetryPolicy

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

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

func (CreateBatchJobPoolRequest) String

func (request CreateBatchJobPoolRequest) String() string

func (CreateBatchJobPoolRequest) ValidateEnumValue

func (request CreateBatchJobPoolRequest) 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 CreateBatchJobPoolResponse

CreateBatchJobPoolResponse wrapper for the CreateBatchJobPool operation

type CreateBatchJobPoolResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (CreateBatchJobPoolResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateBatchJobPoolResponse) String

func (response CreateBatchJobPoolResponse) String() string

type CreateBatchJobRequest

CreateBatchJobRequest wrapper for the CreateBatchJob operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/CreateBatchJob.go.html to see an example of how to use CreateBatchJobRequest.

type CreateBatchJobRequest struct {

    // Details for the new batch job.
    CreateBatchJobDetails `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 running that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and removed from the system, then a retry of the original creation request
    // might 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.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CreateBatchJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateBatchJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateBatchJobRequest) RetryPolicy

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

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

func (CreateBatchJobRequest) String

func (request CreateBatchJobRequest) String() string

func (CreateBatchJobRequest) ValidateEnumValue

func (request CreateBatchJobRequest) 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 CreateBatchJobResponse

CreateBatchJobResponse wrapper for the CreateBatchJob operation

type CreateBatchJobResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // URL for the created batch job. The batch job OCID is generated after this request is sent.
    Location *string `presentIn:"header" name:"location"`

    // Same as location.
    ContentLocation *string `presentIn:"header" name:"content-location"`

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (CreateBatchJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateBatchJobResponse) String

func (response CreateBatchJobResponse) String() string

type CreateBatchTaskDetails

CreateBatchTaskDetails A batch task contains common properties for all types of job tasks.

type CreateBatchTaskDetails interface {

    // The name of the batch task. It must be unique within its parent batch job.
    GetName() *string

    // An optional description that provides additional context next to the displayName.
    GetDescription() *string

    // A list of resources (for example licences) this task needs for its execution.
    GetEntitlementClaims() []string

    // A list of tasks from the same job this task depends on referenced by name.
    GetDependencies() []string

    // Environment variables to use for the task execution.
    GetEnvironmentVariables() []EnvironmentVariable
}

type CreateBatchTaskDetailsTypeEnum

CreateBatchTaskDetailsTypeEnum Enum with underlying type: string

type CreateBatchTaskDetailsTypeEnum string

Set of constants representing the allowable values for CreateBatchTaskDetailsTypeEnum

const (
    CreateBatchTaskDetailsTypeCompute CreateBatchTaskDetailsTypeEnum = "COMPUTE"
)

func GetCreateBatchTaskDetailsTypeEnumValues

func GetCreateBatchTaskDetailsTypeEnumValues() []CreateBatchTaskDetailsTypeEnum

GetCreateBatchTaskDetailsTypeEnumValues Enumerates the set of values for CreateBatchTaskDetailsTypeEnum

func GetMappingCreateBatchTaskDetailsTypeEnum

func GetMappingCreateBatchTaskDetailsTypeEnum(val string) (CreateBatchTaskDetailsTypeEnum, bool)

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

type CreateBatchTaskEnvironmentDetails

CreateBatchTaskEnvironmentDetails The data to create a batch task environment. If the value for a collection is absent or is explicitly provided as null, it will be converted to an empty value, i.e. "[]" or "{}" in json notation. This applies to nested collections as well.

type CreateBatchTaskEnvironmentDetails struct {

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

    // The URL of the ocir image.
    ImageUrl *string `mandatory:"true" json:"imageUrl"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // If not specified or provided as null or empty string, it be generated as "<resourceType><timeCreated>", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskenvironment20250914115623.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The batch task environment description.
    Description *string `mandatory:"false" json:"description"`

    SecurityContext *SecurityContext `mandatory:"false" json:"securityContext"`

    // Container's working directory.
    WorkingDirectory *string `mandatory:"false" json:"workingDirectory"`

    // List of volumes attached to the image.
    // The use cases of the volumes are but not limited to: read the input of the task and write the output.
    Volumes []BatchTaskEnvironmentVolume `mandatory:"false" json:"volumes"`

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

    // 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

func (CreateBatchTaskEnvironmentDetails) String

func (m CreateBatchTaskEnvironmentDetails) String() string

func (*CreateBatchTaskEnvironmentDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateBatchTaskEnvironmentDetails) ValidateEnumValue

func (m CreateBatchTaskEnvironmentDetails) 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 CreateBatchTaskEnvironmentRequest

CreateBatchTaskEnvironmentRequest wrapper for the CreateBatchTaskEnvironment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/CreateBatchTaskEnvironment.go.html to see an example of how to use CreateBatchTaskEnvironmentRequest.

type CreateBatchTaskEnvironmentRequest struct {

    // Details for the new batch task environment.
    CreateBatchTaskEnvironmentDetails `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 running that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and removed from the system, then a retry of the original creation request
    // might 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.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CreateBatchTaskEnvironmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateBatchTaskEnvironmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateBatchTaskEnvironmentRequest) RetryPolicy

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

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

func (CreateBatchTaskEnvironmentRequest) String

func (request CreateBatchTaskEnvironmentRequest) String() string

func (CreateBatchTaskEnvironmentRequest) ValidateEnumValue

func (request CreateBatchTaskEnvironmentRequest) 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 CreateBatchTaskEnvironmentResponse

CreateBatchTaskEnvironmentResponse wrapper for the CreateBatchTaskEnvironment operation

type CreateBatchTaskEnvironmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (CreateBatchTaskEnvironmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateBatchTaskEnvironmentResponse) String

func (response CreateBatchTaskEnvironmentResponse) String() string

type CreateBatchTaskProfileDetails

CreateBatchTaskProfileDetails The data to create a batch task profile. If the value for a collection is absent or is explicitly provided as null, it will be converted to an empty value, i.e. "[]" or "{}" in json notation. This applies to nested collections as well.

type CreateBatchTaskProfileDetails struct {

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

    // The minimum required OCPUs.
    MinOcpus *int `mandatory:"true" json:"minOcpus"`

    // The minimum required memory.
    MinMemoryInGBs *int `mandatory:"true" json:"minMemoryInGBs"`

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // If not specified or provided as null or empty string, it be generated as "<resourceType><timeCreated>", where timeCreated corresponds with the resource creation time in ISO 8601 basic format, i.e. omitting separating punctuation, at second-level precision and no UTC offset. Example: batchtaskprofile20250914115623.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The batch task profile description.
    Description *string `mandatory:"false" json:"description"`

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

    // 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

func (CreateBatchTaskProfileDetails) String

func (m CreateBatchTaskProfileDetails) String() string

func (CreateBatchTaskProfileDetails) ValidateEnumValue

func (m CreateBatchTaskProfileDetails) 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 CreateBatchTaskProfileRequest

CreateBatchTaskProfileRequest wrapper for the CreateBatchTaskProfile operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/CreateBatchTaskProfile.go.html to see an example of how to use CreateBatchTaskProfileRequest.

type CreateBatchTaskProfileRequest struct {

    // Details for the new batch task profile.
    CreateBatchTaskProfileDetails `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 running that same action again. Retry tokens expire after 24
    // hours, but can be invalidated before then due to conflicting operations. For example, if a resource
    // has been deleted and removed from the system, then a retry of the original creation request
    // might 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.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CreateBatchTaskProfileRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateBatchTaskProfileRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateBatchTaskProfileRequest) RetryPolicy

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

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

func (CreateBatchTaskProfileRequest) String

func (request CreateBatchTaskProfileRequest) String() string

func (CreateBatchTaskProfileRequest) ValidateEnumValue

func (request CreateBatchTaskProfileRequest) 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 CreateBatchTaskProfileResponse

CreateBatchTaskProfileResponse wrapper for the CreateBatchTaskProfile operation

type CreateBatchTaskProfileResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (CreateBatchTaskProfileResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateBatchTaskProfileResponse) String

func (response CreateBatchTaskProfileResponse) String() string

type CreateComputeTaskDetails

CreateComputeTaskDetails compute task represents a single executable command together with its dependencies and resources.

type CreateComputeTaskDetails struct {

    // The name of the batch task. It must be unique within its parent batch job.
    Name *string `mandatory:"true" json:"name"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the BatchTaskEnvironment.
    BatchTaskEnvironmentId *string `mandatory:"true" json:"batchTaskEnvironmentId"`

    // An optional description that provides additional context next to the displayName.
    Description *string `mandatory:"false" json:"description"`

    // A list of resources (for example licences) this task needs for its execution.
    EntitlementClaims []string `mandatory:"false" json:"entitlementClaims"`

    // A list of tasks from the same job this task depends on referenced by name.
    Dependencies []string `mandatory:"false" json:"dependencies"`

    // Environment variables to use for the task execution.
    EnvironmentVariables []EnvironmentVariable `mandatory:"false" json:"environmentVariables"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch task profile used for this task.
    BatchTaskProfileId *string `mandatory:"false" json:"batchTaskProfileId"`

    // An executable command to start the processing of this task.
    Command []string `mandatory:"false" json:"command"`

    // Task arguments.
    Arguments []string `mandatory:"false" json:"arguments"`

    FleetAssignmentPolicy FleetAssignmentPolicy `mandatory:"false" json:"fleetAssignmentPolicy"`
}

func (CreateComputeTaskDetails) GetDependencies

func (m CreateComputeTaskDetails) GetDependencies() []string

GetDependencies returns Dependencies

func (CreateComputeTaskDetails) GetDescription

func (m CreateComputeTaskDetails) GetDescription() *string

GetDescription returns Description

func (CreateComputeTaskDetails) GetEntitlementClaims

func (m CreateComputeTaskDetails) GetEntitlementClaims() []string

GetEntitlementClaims returns EntitlementClaims

func (CreateComputeTaskDetails) GetEnvironmentVariables

func (m CreateComputeTaskDetails) GetEnvironmentVariables() []EnvironmentVariable

GetEnvironmentVariables returns EnvironmentVariables

func (CreateComputeTaskDetails) GetName

func (m CreateComputeTaskDetails) GetName() *string

GetName returns Name

func (CreateComputeTaskDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateComputeTaskDetails) String

func (m CreateComputeTaskDetails) String() string

func (*CreateComputeTaskDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateComputeTaskDetails) ValidateEnumValue

func (m CreateComputeTaskDetails) 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 CreateFleetDetails

CreateFleetDetails Fleet configuration of the batch context.

type CreateFleetDetails interface {
}

type CreateFleetDetailsTypeEnum

CreateFleetDetailsTypeEnum Enum with underlying type: string

type CreateFleetDetailsTypeEnum string

Set of constants representing the allowable values for CreateFleetDetailsTypeEnum

const (
    CreateFleetDetailsTypeServiceManagedFleet CreateFleetDetailsTypeEnum = "SERVICE_MANAGED_FLEET"
)

func GetCreateFleetDetailsTypeEnumValues

func GetCreateFleetDetailsTypeEnumValues() []CreateFleetDetailsTypeEnum

GetCreateFleetDetailsTypeEnumValues Enumerates the set of values for CreateFleetDetailsTypeEnum

func GetMappingCreateFleetDetailsTypeEnum

func GetMappingCreateFleetDetailsTypeEnum(val string) (CreateFleetDetailsTypeEnum, bool)

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

type CreateNetworkDetails

CreateNetworkDetails Network configuration of the batch context.

type CreateNetworkDetails struct {

    // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of associated subnet.
    SubnetId *string `mandatory:"true" json:"subnetId"`

    // A list of OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of associated network security groups.
    NsgIds []string `mandatory:"false" json:"nsgIds"`
}

func (CreateNetworkDetails) String

func (m CreateNetworkDetails) String() string

func (CreateNetworkDetails) ValidateEnumValue

func (m CreateNetworkDetails) 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 CreateServiceManagedFleetDetails

CreateServiceManagedFleetDetails Service managed Fleet configuration of the batch context.

type CreateServiceManagedFleetDetails struct {

    // Name of the service managed fleet.
    Name *string `mandatory:"true" json:"name"`

    Shape *FleetShape `mandatory:"true" json:"shape"`

    // Maximum number of concurrent tasks for the service managed fleet.
    MaxConcurrentTasks *int `mandatory:"true" json:"maxConcurrentTasks"`
}

func (CreateServiceManagedFleetDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateServiceManagedFleetDetails) String

func (m CreateServiceManagedFleetDetails) String() string

func (CreateServiceManagedFleetDetails) ValidateEnumValue

func (m CreateServiceManagedFleetDetails) 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 DeleteBatchContextRequest

DeleteBatchContextRequest wrapper for the DeleteBatchContext operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/DeleteBatchContext.go.html to see an example of how to use DeleteBatchContextRequest.

type DeleteBatchContextRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch context.
    BatchContextId *string `mandatory:"true" contributesTo:"path" name:"batchContextId"`

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (DeleteBatchContextRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteBatchContextRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteBatchContextRequest) RetryPolicy

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

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

func (DeleteBatchContextRequest) String

func (request DeleteBatchContextRequest) String() string

func (DeleteBatchContextRequest) ValidateEnumValue

func (request DeleteBatchContextRequest) 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 DeleteBatchContextResponse

DeleteBatchContextResponse wrapper for the DeleteBatchContext operation

type DeleteBatchContextResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (DeleteBatchContextResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteBatchContextResponse) String

func (response DeleteBatchContextResponse) String() string

type DeleteBatchJobPoolRequest

DeleteBatchJobPoolRequest wrapper for the DeleteBatchJobPool operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/DeleteBatchJobPool.go.html to see an example of how to use DeleteBatchJobPoolRequest.

type DeleteBatchJobPoolRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job pool.
    BatchJobPoolId *string `mandatory:"true" contributesTo:"path" name:"batchJobPoolId"`

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (DeleteBatchJobPoolRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteBatchJobPoolRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteBatchJobPoolRequest) RetryPolicy

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

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

func (DeleteBatchJobPoolRequest) String

func (request DeleteBatchJobPoolRequest) String() string

func (DeleteBatchJobPoolRequest) ValidateEnumValue

func (request DeleteBatchJobPoolRequest) 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 DeleteBatchJobPoolResponse

DeleteBatchJobPoolResponse wrapper for the DeleteBatchJobPool operation

type DeleteBatchJobPoolResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (DeleteBatchJobPoolResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteBatchJobPoolResponse) String

func (response DeleteBatchJobPoolResponse) String() string

type DeleteBatchTaskEnvironmentRequest

DeleteBatchTaskEnvironmentRequest wrapper for the DeleteBatchTaskEnvironment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/DeleteBatchTaskEnvironment.go.html to see an example of how to use DeleteBatchTaskEnvironmentRequest.

type DeleteBatchTaskEnvironmentRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch task environment.
    BatchTaskEnvironmentId *string `mandatory:"true" contributesTo:"path" name:"batchTaskEnvironmentId"`

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (DeleteBatchTaskEnvironmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteBatchTaskEnvironmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteBatchTaskEnvironmentRequest) RetryPolicy

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

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

func (DeleteBatchTaskEnvironmentRequest) String

func (request DeleteBatchTaskEnvironmentRequest) String() string

func (DeleteBatchTaskEnvironmentRequest) ValidateEnumValue

func (request DeleteBatchTaskEnvironmentRequest) 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 DeleteBatchTaskEnvironmentResponse

DeleteBatchTaskEnvironmentResponse wrapper for the DeleteBatchTaskEnvironment operation

type DeleteBatchTaskEnvironmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (DeleteBatchTaskEnvironmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteBatchTaskEnvironmentResponse) String

func (response DeleteBatchTaskEnvironmentResponse) String() string

type DeleteBatchTaskProfileRequest

DeleteBatchTaskProfileRequest wrapper for the DeleteBatchTaskProfile operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/DeleteBatchTaskProfile.go.html to see an example of how to use DeleteBatchTaskProfileRequest.

type DeleteBatchTaskProfileRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch task profile.
    BatchTaskProfileId *string `mandatory:"true" contributesTo:"path" name:"batchTaskProfileId"`

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (DeleteBatchTaskProfileRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteBatchTaskProfileRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteBatchTaskProfileRequest) RetryPolicy

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

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

func (DeleteBatchTaskProfileRequest) String

func (request DeleteBatchTaskProfileRequest) String() string

func (DeleteBatchTaskProfileRequest) ValidateEnumValue

func (request DeleteBatchTaskProfileRequest) 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 DeleteBatchTaskProfileResponse

DeleteBatchTaskProfileResponse wrapper for the DeleteBatchTaskProfile operation

type DeleteBatchTaskProfileResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

func (DeleteBatchTaskProfileResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteBatchTaskProfileResponse) String

func (response DeleteBatchTaskProfileResponse) String() string

type EnvironmentVariable

EnvironmentVariable OS environment variable.

type EnvironmentVariable struct {

    // The name of the environment variable.
    Name *string `mandatory:"true" json:"name"`

    // The value of the environment variable.
    Value *string `mandatory:"true" json:"value"`
}

func (EnvironmentVariable) String

func (m EnvironmentVariable) String() string

func (EnvironmentVariable) ValidateEnumValue

func (m EnvironmentVariable) 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 Fleet

Fleet Fleet configuration of the batch context.

type Fleet interface {
}

type FleetAssignmentPolicy

FleetAssignmentPolicy A fleet assignment policy provides instructions to the system as to how a task should be assigned to a fleet, given it's minimum hardware requirements.

type FleetAssignmentPolicy interface {
}

type FleetAssignmentPolicyTypeEnum

FleetAssignmentPolicyTypeEnum Enum with underlying type: string

type FleetAssignmentPolicyTypeEnum string

Set of constants representing the allowable values for FleetAssignmentPolicyTypeEnum

const (
    FleetAssignmentPolicyTypeBestFit FleetAssignmentPolicyTypeEnum = "BEST_FIT"
    FleetAssignmentPolicyTypeFlexFit FleetAssignmentPolicyTypeEnum = "FLEX_FIT"
)

func GetFleetAssignmentPolicyTypeEnumValues

func GetFleetAssignmentPolicyTypeEnumValues() []FleetAssignmentPolicyTypeEnum

GetFleetAssignmentPolicyTypeEnumValues Enumerates the set of values for FleetAssignmentPolicyTypeEnum

func GetMappingFleetAssignmentPolicyTypeEnum

func GetMappingFleetAssignmentPolicyTypeEnum(val string) (FleetAssignmentPolicyTypeEnum, bool)

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

type FleetShape

FleetShape Shape of the fleet. Describes hardware resources of each node in the fleet.

type FleetShape struct {

    // The name of the shape.
    ShapeName *string `mandatory:"true" json:"shapeName"`

    // Number of OCPUs required by the shape.
    Ocpus *int `mandatory:"true" json:"ocpus"`

    // Amount of memory in GBs required by the shape.
    MemoryInGBs *int `mandatory:"true" json:"memoryInGBs"`
}

func (FleetShape) String

func (m FleetShape) String() string

func (FleetShape) ValidateEnumValue

func (m FleetShape) 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 FleetTypeEnum

FleetTypeEnum Enum with underlying type: string

type FleetTypeEnum string

Set of constants representing the allowable values for FleetTypeEnum

const (
    FleetTypeServiceManagedFleet FleetTypeEnum = "SERVICE_MANAGED_FLEET"
)

func GetFleetTypeEnumValues

func GetFleetTypeEnumValues() []FleetTypeEnum

GetFleetTypeEnumValues Enumerates the set of values for FleetTypeEnum

func GetMappingFleetTypeEnum

func GetMappingFleetTypeEnum(val string) (FleetTypeEnum, bool)

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

type FlexFitFleetAssignmentPolicy

FlexFitFleetAssignmentPolicy Similar to best-fit, but with the ability for the system to use larger fleets if the smallest sufficient fleet is not available, up to a specified max shaped fleet, based on a user-configured threshold value.

type FlexFitFleetAssignmentPolicy struct {

    // Specifies how much larger a fleet's nodes (shape) can be to still be considered for a task.
    // If threshold is not supplied the task will use any sufficient node available regards to minimum hardware requirements.
    Threshold *float32 `mandatory:"false" json:"threshold"`
}

func (FlexFitFleetAssignmentPolicy) MarshalJSON

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

MarshalJSON marshals to json representation

func (FlexFitFleetAssignmentPolicy) String

func (m FlexFitFleetAssignmentPolicy) String() string

func (FlexFitFleetAssignmentPolicy) ValidateEnumValue

func (m FlexFitFleetAssignmentPolicy) 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 GetBatchContextRequest

GetBatchContextRequest wrapper for the GetBatchContext operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/GetBatchContext.go.html to see an example of how to use GetBatchContextRequest.

type GetBatchContextRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch context.
    BatchContextId *string `mandatory:"true" contributesTo:"path" name:"batchContextId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetBatchContextRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetBatchContextRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetBatchContextRequest) RetryPolicy

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

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

func (GetBatchContextRequest) String

func (request GetBatchContextRequest) String() string

func (GetBatchContextRequest) ValidateEnumValue

func (request GetBatchContextRequest) 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 GetBatchContextResponse

GetBatchContextResponse wrapper for the GetBatchContext operation

type GetBatchContextResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetBatchContextResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetBatchContextResponse) String

func (response GetBatchContextResponse) String() string

type GetBatchJobPoolRequest

GetBatchJobPoolRequest wrapper for the GetBatchJobPool operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/GetBatchJobPool.go.html to see an example of how to use GetBatchJobPoolRequest.

type GetBatchJobPoolRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job pool.
    BatchJobPoolId *string `mandatory:"true" contributesTo:"path" name:"batchJobPoolId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetBatchJobPoolRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetBatchJobPoolRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetBatchJobPoolRequest) RetryPolicy

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

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

func (GetBatchJobPoolRequest) String

func (request GetBatchJobPoolRequest) String() string

func (GetBatchJobPoolRequest) ValidateEnumValue

func (request GetBatchJobPoolRequest) 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 GetBatchJobPoolResponse

GetBatchJobPoolResponse wrapper for the GetBatchJobPool operation

type GetBatchJobPoolResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetBatchJobPoolResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetBatchJobPoolResponse) String

func (response GetBatchJobPoolResponse) String() string

type GetBatchJobRequest

GetBatchJobRequest wrapper for the GetBatchJob operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/GetBatchJob.go.html to see an example of how to use GetBatchJobRequest.

type GetBatchJobRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job.
    BatchJobId *string `mandatory:"true" contributesTo:"path" name:"batchJobId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetBatchJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetBatchJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetBatchJobRequest) RetryPolicy

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

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

func (GetBatchJobRequest) String

func (request GetBatchJobRequest) String() string

func (GetBatchJobRequest) ValidateEnumValue

func (request GetBatchJobRequest) 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 GetBatchJobResponse

GetBatchJobResponse wrapper for the GetBatchJob operation

type GetBatchJobResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetBatchJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetBatchJobResponse) String

func (response GetBatchJobResponse) String() string

type GetBatchTaskEnvironmentRequest

GetBatchTaskEnvironmentRequest wrapper for the GetBatchTaskEnvironment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/GetBatchTaskEnvironment.go.html to see an example of how to use GetBatchTaskEnvironmentRequest.

type GetBatchTaskEnvironmentRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch task environment.
    BatchTaskEnvironmentId *string `mandatory:"true" contributesTo:"path" name:"batchTaskEnvironmentId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetBatchTaskEnvironmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetBatchTaskEnvironmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetBatchTaskEnvironmentRequest) RetryPolicy

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

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

func (GetBatchTaskEnvironmentRequest) String

func (request GetBatchTaskEnvironmentRequest) String() string

func (GetBatchTaskEnvironmentRequest) ValidateEnumValue

func (request GetBatchTaskEnvironmentRequest) 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 GetBatchTaskEnvironmentResponse

GetBatchTaskEnvironmentResponse wrapper for the GetBatchTaskEnvironment operation

type GetBatchTaskEnvironmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetBatchTaskEnvironmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetBatchTaskEnvironmentResponse) String

func (response GetBatchTaskEnvironmentResponse) String() string

type GetBatchTaskProfileRequest

GetBatchTaskProfileRequest wrapper for the GetBatchTaskProfile operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/GetBatchTaskProfile.go.html to see an example of how to use GetBatchTaskProfileRequest.

type GetBatchTaskProfileRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch task profile.
    BatchTaskProfileId *string `mandatory:"true" contributesTo:"path" name:"batchTaskProfileId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetBatchTaskProfileRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetBatchTaskProfileRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetBatchTaskProfileRequest) RetryPolicy

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

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

func (GetBatchTaskProfileRequest) String

func (request GetBatchTaskProfileRequest) String() string

func (GetBatchTaskProfileRequest) ValidateEnumValue

func (request GetBatchTaskProfileRequest) 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 GetBatchTaskProfileResponse

GetBatchTaskProfileResponse wrapper for the GetBatchTaskProfile operation

type GetBatchTaskProfileResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (GetBatchTaskProfileResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetBatchTaskProfileResponse) String

func (response GetBatchTaskProfileResponse) String() string

type GetBatchTaskRequest

GetBatchTaskRequest wrapper for the GetBatchTask operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/GetBatchTask.go.html to see an example of how to use GetBatchTaskRequest.

type GetBatchTaskRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job.
    BatchJobId *string `mandatory:"true" contributesTo:"path" name:"batchJobId"`

    // The name of the batch task.
    TaskName *string `mandatory:"true" contributesTo:"path" name:"taskName"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetBatchTaskRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetBatchTaskRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetBatchTaskRequest) RetryPolicy

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

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

func (GetBatchTaskRequest) String

func (request GetBatchTaskRequest) String() string

func (GetBatchTaskRequest) ValidateEnumValue

func (request GetBatchTaskRequest) 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 GetBatchTaskResponse

GetBatchTaskResponse wrapper for the GetBatchTask operation

type GetBatchTaskResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (GetBatchTaskResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetBatchTaskResponse) String

func (response GetBatchTaskResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

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

type GetWorkRequestRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

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

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

type GetWorkRequestResponse

GetWorkRequestResponse wrapper for the GetWorkRequest operation

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type JobPriorityConfiguration

JobPriorityConfiguration Job priority configuration to instruct the service on how to use priority tags.

type JobPriorityConfiguration struct {

    // Name of the corresponding tag namespace.
    TagNamespace *string `mandatory:"true" json:"tagNamespace"`

    // Name of the tag key.
    TagKey *string `mandatory:"true" json:"tagKey"`

    // Weight associated with the tag key. Percentage point is the unit of measurement.
    Weight *int `mandatory:"true" json:"weight"`

    // Mapping of tag value to its priority.
    Values map[string]int `mandatory:"true" json:"values"`
}

func (JobPriorityConfiguration) String

func (m JobPriorityConfiguration) String() string

func (JobPriorityConfiguration) ValidateEnumValue

func (m JobPriorityConfiguration) 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 ListBatchContextShapesRequest

ListBatchContextShapesRequest wrapper for the ListBatchContextShapes operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListBatchContextShapes.go.html to see an example of how to use ListBatchContextShapesRequest.

type ListBatchContextShapesRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The name of the availability domain.
    AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

    // 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    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.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.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ListBatchContextShapesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListBatchContextShapesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListBatchContextShapesRequest) RetryPolicy

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

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

func (ListBatchContextShapesRequest) String

func (request ListBatchContextShapesRequest) String() string

func (ListBatchContextShapesRequest) ValidateEnumValue

func (request ListBatchContextShapesRequest) 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 ListBatchContextShapesResponse

ListBatchContextShapesResponse wrapper for the ListBatchContextShapes operation

type ListBatchContextShapesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of BatchContextShapeCollection instances
    BatchContextShapeCollection `presentIn:"body"`

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

    // For 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListBatchContextShapesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListBatchContextShapesResponse) String

func (response ListBatchContextShapesResponse) String() string

type ListBatchContextsRequest

ListBatchContextsRequest wrapper for the ListBatchContexts operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListBatchContexts.go.html to see an example of how to use ListBatchContextsRequest.

type ListBatchContextsRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // A filter to return only resources that match the given lifecycle state. The
    // state value is case-insensitive.
    LifecycleState BatchContextLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch context.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field to sort by. You can provide only one sort order. Default order for `timeCreated`
    // is descending. Default order for `displayName` is ascending.
    SortBy ListBatchContextsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ListBatchContextsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListBatchContextsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListBatchContextsRequest) RetryPolicy

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

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

func (ListBatchContextsRequest) String

func (request ListBatchContextsRequest) String() string

func (ListBatchContextsRequest) ValidateEnumValue

func (request ListBatchContextsRequest) 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 ListBatchContextsResponse

ListBatchContextsResponse wrapper for the ListBatchContexts operation

type ListBatchContextsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of BatchContextCollection instances
    BatchContextCollection `presentIn:"body"`

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

    // For 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListBatchContextsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListBatchContextsResponse) String

func (response ListBatchContextsResponse) String() string

type ListBatchContextsSortByEnum

ListBatchContextsSortByEnum Enum with underlying type: string

type ListBatchContextsSortByEnum string

Set of constants representing the allowable values for ListBatchContextsSortByEnum

const (
    ListBatchContextsSortByTimecreated ListBatchContextsSortByEnum = "timeCreated"
    ListBatchContextsSortByDisplayname ListBatchContextsSortByEnum = "displayName"
)

func GetListBatchContextsSortByEnumValues

func GetListBatchContextsSortByEnumValues() []ListBatchContextsSortByEnum

GetListBatchContextsSortByEnumValues Enumerates the set of values for ListBatchContextsSortByEnum

func GetMappingListBatchContextsSortByEnum

func GetMappingListBatchContextsSortByEnum(val string) (ListBatchContextsSortByEnum, bool)

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

type ListBatchContextsSortOrderEnum

ListBatchContextsSortOrderEnum Enum with underlying type: string

type ListBatchContextsSortOrderEnum string

Set of constants representing the allowable values for ListBatchContextsSortOrderEnum

const (
    ListBatchContextsSortOrderAsc  ListBatchContextsSortOrderEnum = "ASC"
    ListBatchContextsSortOrderDesc ListBatchContextsSortOrderEnum = "DESC"
)

func GetListBatchContextsSortOrderEnumValues

func GetListBatchContextsSortOrderEnumValues() []ListBatchContextsSortOrderEnum

GetListBatchContextsSortOrderEnumValues Enumerates the set of values for ListBatchContextsSortOrderEnum

func GetMappingListBatchContextsSortOrderEnum

func GetMappingListBatchContextsSortOrderEnum(val string) (ListBatchContextsSortOrderEnum, bool)

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

type ListBatchJobPoolsRequest

ListBatchJobPoolsRequest wrapper for the ListBatchJobPools operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListBatchJobPools.go.html to see an example of how to use ListBatchJobPoolsRequest.

type ListBatchJobPoolsRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // A filter to return only resources that match the given lifecycle state. The
    // state value is case-insensitive.
    LifecycleState BatchJobPoolLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job pool.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch context.
    BatchContextId *string `mandatory:"false" contributesTo:"query" name:"batchContextId"`

    // 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field to sort by. You can provide only one sort order. Default order for `timeCreated`
    // is descending. Default order for `displayName` is ascending.
    SortBy ListBatchJobPoolsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ListBatchJobPoolsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListBatchJobPoolsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListBatchJobPoolsRequest) RetryPolicy

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

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

func (ListBatchJobPoolsRequest) String

func (request ListBatchJobPoolsRequest) String() string

func (ListBatchJobPoolsRequest) ValidateEnumValue

func (request ListBatchJobPoolsRequest) 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 ListBatchJobPoolsResponse

ListBatchJobPoolsResponse wrapper for the ListBatchJobPools operation

type ListBatchJobPoolsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of BatchJobPoolCollection instances
    BatchJobPoolCollection `presentIn:"body"`

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

    // For 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListBatchJobPoolsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListBatchJobPoolsResponse) String

func (response ListBatchJobPoolsResponse) String() string

type ListBatchJobPoolsSortByEnum

ListBatchJobPoolsSortByEnum Enum with underlying type: string

type ListBatchJobPoolsSortByEnum string

Set of constants representing the allowable values for ListBatchJobPoolsSortByEnum

const (
    ListBatchJobPoolsSortByTimecreated ListBatchJobPoolsSortByEnum = "timeCreated"
    ListBatchJobPoolsSortByDisplayname ListBatchJobPoolsSortByEnum = "displayName"
)

func GetListBatchJobPoolsSortByEnumValues

func GetListBatchJobPoolsSortByEnumValues() []ListBatchJobPoolsSortByEnum

GetListBatchJobPoolsSortByEnumValues Enumerates the set of values for ListBatchJobPoolsSortByEnum

func GetMappingListBatchJobPoolsSortByEnum

func GetMappingListBatchJobPoolsSortByEnum(val string) (ListBatchJobPoolsSortByEnum, bool)

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

type ListBatchJobPoolsSortOrderEnum

ListBatchJobPoolsSortOrderEnum Enum with underlying type: string

type ListBatchJobPoolsSortOrderEnum string

Set of constants representing the allowable values for ListBatchJobPoolsSortOrderEnum

const (
    ListBatchJobPoolsSortOrderAsc  ListBatchJobPoolsSortOrderEnum = "ASC"
    ListBatchJobPoolsSortOrderDesc ListBatchJobPoolsSortOrderEnum = "DESC"
)

func GetListBatchJobPoolsSortOrderEnumValues

func GetListBatchJobPoolsSortOrderEnumValues() []ListBatchJobPoolsSortOrderEnum

GetListBatchJobPoolsSortOrderEnumValues Enumerates the set of values for ListBatchJobPoolsSortOrderEnum

func GetMappingListBatchJobPoolsSortOrderEnum

func GetMappingListBatchJobPoolsSortOrderEnum(val string) (ListBatchJobPoolsSortOrderEnum, bool)

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

type ListBatchJobTasksRequest

ListBatchJobTasksRequest wrapper for the ListBatchJobTasks operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListBatchJobTasks.go.html to see an example of how to use ListBatchJobTasksRequest.

type ListBatchJobTasksRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job.
    BatchJobId *string `mandatory:"true" contributesTo:"path" name:"batchJobId"`

    // A filter to return only resources that match the given lifecycle state. The
    // state value is case-insensitive.
    LifecycleState BatchTaskLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // The name of the task.
    Name *string `mandatory:"false" contributesTo:"query" name:"name"`

    // 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field to sort by. You can provide only one sort order. Default order for `name` is ascending.
    SortBy ListBatchJobTasksSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ListBatchJobTasksRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListBatchJobTasksRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListBatchJobTasksRequest) RetryPolicy

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

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

func (ListBatchJobTasksRequest) String

func (request ListBatchJobTasksRequest) String() string

func (ListBatchJobTasksRequest) ValidateEnumValue

func (request ListBatchJobTasksRequest) 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 ListBatchJobTasksResponse

ListBatchJobTasksResponse wrapper for the ListBatchJobTasks operation

type ListBatchJobTasksResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of BatchTaskCollection instances
    BatchTaskCollection `presentIn:"body"`

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

    // For 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListBatchJobTasksResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListBatchJobTasksResponse) String

func (response ListBatchJobTasksResponse) String() string

type ListBatchJobTasksSortByEnum

ListBatchJobTasksSortByEnum Enum with underlying type: string

type ListBatchJobTasksSortByEnum string

Set of constants representing the allowable values for ListBatchJobTasksSortByEnum

const (
    ListBatchJobTasksSortByName ListBatchJobTasksSortByEnum = "name"
)

func GetListBatchJobTasksSortByEnumValues

func GetListBatchJobTasksSortByEnumValues() []ListBatchJobTasksSortByEnum

GetListBatchJobTasksSortByEnumValues Enumerates the set of values for ListBatchJobTasksSortByEnum

func GetMappingListBatchJobTasksSortByEnum

func GetMappingListBatchJobTasksSortByEnum(val string) (ListBatchJobTasksSortByEnum, bool)

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

type ListBatchJobTasksSortOrderEnum

ListBatchJobTasksSortOrderEnum Enum with underlying type: string

type ListBatchJobTasksSortOrderEnum string

Set of constants representing the allowable values for ListBatchJobTasksSortOrderEnum

const (
    ListBatchJobTasksSortOrderAsc  ListBatchJobTasksSortOrderEnum = "ASC"
    ListBatchJobTasksSortOrderDesc ListBatchJobTasksSortOrderEnum = "DESC"
)

func GetListBatchJobTasksSortOrderEnumValues

func GetListBatchJobTasksSortOrderEnumValues() []ListBatchJobTasksSortOrderEnum

GetListBatchJobTasksSortOrderEnumValues Enumerates the set of values for ListBatchJobTasksSortOrderEnum

func GetMappingListBatchJobTasksSortOrderEnum

func GetMappingListBatchJobTasksSortOrderEnum(val string) (ListBatchJobTasksSortOrderEnum, bool)

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

type ListBatchJobsRequest

ListBatchJobsRequest wrapper for the ListBatchJobs operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListBatchJobs.go.html to see an example of how to use ListBatchJobsRequest.

type ListBatchJobsRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // A filter to return only resources that match the given lifecycle state. The
    // state value is case-insensitive.
    LifecycleState BatchJobLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job pool.
    BatchJobPoolId *string `mandatory:"false" contributesTo:"query" name:"batchJobPoolId"`

    // 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field to sort by. You can provide only one sort order. Default order for `timeCreated`
    // is descending. Default order for `displayName` is ascending.
    SortBy ListBatchJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ListBatchJobsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListBatchJobsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListBatchJobsRequest) RetryPolicy

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

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

func (ListBatchJobsRequest) String

func (request ListBatchJobsRequest) String() string

func (ListBatchJobsRequest) ValidateEnumValue

func (request ListBatchJobsRequest) 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 ListBatchJobsResponse

ListBatchJobsResponse wrapper for the ListBatchJobs operation

type ListBatchJobsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of BatchJobCollection instances
    BatchJobCollection `presentIn:"body"`

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

    // For 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListBatchJobsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListBatchJobsResponse) String

func (response ListBatchJobsResponse) String() string

type ListBatchJobsSortByEnum

ListBatchJobsSortByEnum Enum with underlying type: string

type ListBatchJobsSortByEnum string

Set of constants representing the allowable values for ListBatchJobsSortByEnum

const (
    ListBatchJobsSortByTimecreated ListBatchJobsSortByEnum = "timeCreated"
    ListBatchJobsSortByDisplayname ListBatchJobsSortByEnum = "displayName"
)

func GetListBatchJobsSortByEnumValues

func GetListBatchJobsSortByEnumValues() []ListBatchJobsSortByEnum

GetListBatchJobsSortByEnumValues Enumerates the set of values for ListBatchJobsSortByEnum

func GetMappingListBatchJobsSortByEnum

func GetMappingListBatchJobsSortByEnum(val string) (ListBatchJobsSortByEnum, bool)

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

type ListBatchJobsSortOrderEnum

ListBatchJobsSortOrderEnum Enum with underlying type: string

type ListBatchJobsSortOrderEnum string

Set of constants representing the allowable values for ListBatchJobsSortOrderEnum

const (
    ListBatchJobsSortOrderAsc  ListBatchJobsSortOrderEnum = "ASC"
    ListBatchJobsSortOrderDesc ListBatchJobsSortOrderEnum = "DESC"
)

func GetListBatchJobsSortOrderEnumValues

func GetListBatchJobsSortOrderEnumValues() []ListBatchJobsSortOrderEnum

GetListBatchJobsSortOrderEnumValues Enumerates the set of values for ListBatchJobsSortOrderEnum

func GetMappingListBatchJobsSortOrderEnum

func GetMappingListBatchJobsSortOrderEnum(val string) (ListBatchJobsSortOrderEnum, bool)

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

type ListBatchTaskEnvironmentsRequest

ListBatchTaskEnvironmentsRequest wrapper for the ListBatchTaskEnvironments operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListBatchTaskEnvironments.go.html to see an example of how to use ListBatchTaskEnvironmentsRequest.

type ListBatchTaskEnvironmentsRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // A filter to return only resources that match the given lifecycle state. The
    // state value is case-insensitive.
    LifecycleState BatchTaskEnvironmentLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch task environment.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field to sort by. You can provide only one sort order. Default order for `timeCreated`
    // is descending. Default order for `displayName` is ascending.
    SortBy ListBatchTaskEnvironmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ListBatchTaskEnvironmentsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListBatchTaskEnvironmentsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListBatchTaskEnvironmentsRequest) RetryPolicy

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

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

func (ListBatchTaskEnvironmentsRequest) String

func (request ListBatchTaskEnvironmentsRequest) String() string

func (ListBatchTaskEnvironmentsRequest) ValidateEnumValue

func (request ListBatchTaskEnvironmentsRequest) 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 ListBatchTaskEnvironmentsResponse

ListBatchTaskEnvironmentsResponse wrapper for the ListBatchTaskEnvironments operation

type ListBatchTaskEnvironmentsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of BatchTaskEnvironmentCollection instances
    BatchTaskEnvironmentCollection `presentIn:"body"`

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

    // For 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListBatchTaskEnvironmentsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListBatchTaskEnvironmentsResponse) String

func (response ListBatchTaskEnvironmentsResponse) String() string

type ListBatchTaskEnvironmentsSortByEnum

ListBatchTaskEnvironmentsSortByEnum Enum with underlying type: string

type ListBatchTaskEnvironmentsSortByEnum string

Set of constants representing the allowable values for ListBatchTaskEnvironmentsSortByEnum

const (
    ListBatchTaskEnvironmentsSortByTimecreated ListBatchTaskEnvironmentsSortByEnum = "timeCreated"
    ListBatchTaskEnvironmentsSortByDisplayname ListBatchTaskEnvironmentsSortByEnum = "displayName"
)

func GetListBatchTaskEnvironmentsSortByEnumValues

func GetListBatchTaskEnvironmentsSortByEnumValues() []ListBatchTaskEnvironmentsSortByEnum

GetListBatchTaskEnvironmentsSortByEnumValues Enumerates the set of values for ListBatchTaskEnvironmentsSortByEnum

func GetMappingListBatchTaskEnvironmentsSortByEnum

func GetMappingListBatchTaskEnvironmentsSortByEnum(val string) (ListBatchTaskEnvironmentsSortByEnum, bool)

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

type ListBatchTaskEnvironmentsSortOrderEnum

ListBatchTaskEnvironmentsSortOrderEnum Enum with underlying type: string

type ListBatchTaskEnvironmentsSortOrderEnum string

Set of constants representing the allowable values for ListBatchTaskEnvironmentsSortOrderEnum

const (
    ListBatchTaskEnvironmentsSortOrderAsc  ListBatchTaskEnvironmentsSortOrderEnum = "ASC"
    ListBatchTaskEnvironmentsSortOrderDesc ListBatchTaskEnvironmentsSortOrderEnum = "DESC"
)

func GetListBatchTaskEnvironmentsSortOrderEnumValues

func GetListBatchTaskEnvironmentsSortOrderEnumValues() []ListBatchTaskEnvironmentsSortOrderEnum

GetListBatchTaskEnvironmentsSortOrderEnumValues Enumerates the set of values for ListBatchTaskEnvironmentsSortOrderEnum

func GetMappingListBatchTaskEnvironmentsSortOrderEnum

func GetMappingListBatchTaskEnvironmentsSortOrderEnum(val string) (ListBatchTaskEnvironmentsSortOrderEnum, bool)

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

type ListBatchTaskProfilesRequest

ListBatchTaskProfilesRequest wrapper for the ListBatchTaskProfiles operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListBatchTaskProfiles.go.html to see an example of how to use ListBatchTaskProfilesRequest.

type ListBatchTaskProfilesRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // A filter to return only resources that match the given lifecycle state. The
    // state value is case-insensitive.
    LifecycleState BatchTaskProfileLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch task profile.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field to sort by. You can provide only one sort order. Default order for `timeCreated`
    // is descending. Default order for `displayName` is ascending.
    SortBy ListBatchTaskProfilesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ListBatchTaskProfilesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListBatchTaskProfilesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListBatchTaskProfilesRequest) RetryPolicy

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

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

func (ListBatchTaskProfilesRequest) String

func (request ListBatchTaskProfilesRequest) String() string

func (ListBatchTaskProfilesRequest) ValidateEnumValue

func (request ListBatchTaskProfilesRequest) 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 ListBatchTaskProfilesResponse

ListBatchTaskProfilesResponse wrapper for the ListBatchTaskProfiles operation

type ListBatchTaskProfilesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of BatchTaskProfileCollection instances
    BatchTaskProfileCollection `presentIn:"body"`

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

    // For 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListBatchTaskProfilesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListBatchTaskProfilesResponse) String

func (response ListBatchTaskProfilesResponse) String() string

type ListBatchTaskProfilesSortByEnum

ListBatchTaskProfilesSortByEnum Enum with underlying type: string

type ListBatchTaskProfilesSortByEnum string

Set of constants representing the allowable values for ListBatchTaskProfilesSortByEnum

const (
    ListBatchTaskProfilesSortByTimecreated ListBatchTaskProfilesSortByEnum = "timeCreated"
    ListBatchTaskProfilesSortByDisplayname ListBatchTaskProfilesSortByEnum = "displayName"
)

func GetListBatchTaskProfilesSortByEnumValues

func GetListBatchTaskProfilesSortByEnumValues() []ListBatchTaskProfilesSortByEnum

GetListBatchTaskProfilesSortByEnumValues Enumerates the set of values for ListBatchTaskProfilesSortByEnum

func GetMappingListBatchTaskProfilesSortByEnum

func GetMappingListBatchTaskProfilesSortByEnum(val string) (ListBatchTaskProfilesSortByEnum, bool)

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

type ListBatchTaskProfilesSortOrderEnum

ListBatchTaskProfilesSortOrderEnum Enum with underlying type: string

type ListBatchTaskProfilesSortOrderEnum string

Set of constants representing the allowable values for ListBatchTaskProfilesSortOrderEnum

const (
    ListBatchTaskProfilesSortOrderAsc  ListBatchTaskProfilesSortOrderEnum = "ASC"
    ListBatchTaskProfilesSortOrderDesc ListBatchTaskProfilesSortOrderEnum = "DESC"
)

func GetListBatchTaskProfilesSortOrderEnumValues

func GetListBatchTaskProfilesSortOrderEnumValues() []ListBatchTaskProfilesSortOrderEnum

GetListBatchTaskProfilesSortOrderEnumValues Enumerates the set of values for ListBatchTaskProfilesSortOrderEnum

func GetMappingListBatchTaskProfilesSortOrderEnum

func GetMappingListBatchTaskProfilesSortOrderEnum(val string) (ListBatchTaskProfilesSortOrderEnum, bool)

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

type ListBatchTasksRequest

ListBatchTasksRequest wrapper for the ListBatchTasks operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListBatchTasks.go.html to see an example of how to use ListBatchTasksRequest.

type ListBatchTasksRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job.
    BatchJobId *string `mandatory:"false" contributesTo:"query" name:"batchJobId"`

    // A filter to return only resources that match the given lifecycle state. The
    // state value is case-insensitive.
    LifecycleState BatchTaskLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // The name of the task.
    Name *string `mandatory:"false" contributesTo:"query" name:"name"`

    // 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The field to sort by. You can provide only one sort order. Default order for `name` is ascending.
    SortBy ListBatchTasksSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ListBatchTasksRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListBatchTasksRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListBatchTasksRequest) RetryPolicy

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

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

func (ListBatchTasksRequest) String

func (request ListBatchTasksRequest) String() string

func (ListBatchTasksRequest) ValidateEnumValue

func (request ListBatchTasksRequest) 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 ListBatchTasksResponse

ListBatchTasksResponse wrapper for the ListBatchTasks operation

type ListBatchTasksResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of BatchTaskCollection instances
    BatchTaskCollection `presentIn:"body"`

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

    // For 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListBatchTasksResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListBatchTasksResponse) String

func (response ListBatchTasksResponse) String() string

type ListBatchTasksSortByEnum

ListBatchTasksSortByEnum Enum with underlying type: string

type ListBatchTasksSortByEnum string

Set of constants representing the allowable values for ListBatchTasksSortByEnum

const (
    ListBatchTasksSortByName ListBatchTasksSortByEnum = "name"
)

func GetListBatchTasksSortByEnumValues

func GetListBatchTasksSortByEnumValues() []ListBatchTasksSortByEnum

GetListBatchTasksSortByEnumValues Enumerates the set of values for ListBatchTasksSortByEnum

func GetMappingListBatchTasksSortByEnum

func GetMappingListBatchTasksSortByEnum(val string) (ListBatchTasksSortByEnum, bool)

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

type ListBatchTasksSortOrderEnum

ListBatchTasksSortOrderEnum Enum with underlying type: string

type ListBatchTasksSortOrderEnum string

Set of constants representing the allowable values for ListBatchTasksSortOrderEnum

const (
    ListBatchTasksSortOrderAsc  ListBatchTasksSortOrderEnum = "ASC"
    ListBatchTasksSortOrderDesc ListBatchTasksSortOrderEnum = "DESC"
)

func GetListBatchTasksSortOrderEnumValues

func GetListBatchTasksSortOrderEnumValues() []ListBatchTasksSortOrderEnum

GetListBatchTasksSortOrderEnumValues Enumerates the set of values for ListBatchTasksSortOrderEnum

func GetMappingListBatchTasksSortOrderEnum

func GetMappingListBatchTasksSortOrderEnum(val string) (ListBatchTasksSortOrderEnum, bool)

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

type ListWorkRequestErrorsRequest

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

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

type ListWorkRequestErrorsRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

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

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

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

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

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

type ListWorkRequestErrorsResponse

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

type ListWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestErrorCollection instances
    WorkRequestErrorCollection `presentIn:"body"`

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

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

type ListWorkRequestErrorsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

const (
    ListWorkRequestErrorsSortByTimecreated ListWorkRequestErrorsSortByEnum = "timeCreated"
)

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

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

type ListWorkRequestErrorsSortOrderEnum

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

type ListWorkRequestErrorsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

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

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

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

type ListWorkRequestLogsRequest

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

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

type ListWorkRequestLogsRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

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

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

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

func (ListWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

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

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

type ListWorkRequestLogsResponse

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

type ListWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestLogEntryCollection instances
    WorkRequestLogEntryCollection `presentIn:"body"`

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

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

ListWorkRequestLogsSortByEnum Enum with underlying type: string

type ListWorkRequestLogsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

const (
    ListWorkRequestLogsSortByTimecreated ListWorkRequestLogsSortByEnum = "timeCreated"
)

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

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

type ListWorkRequestLogsSortOrderEnum

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

type ListWorkRequestLogsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

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

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

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

type ListWorkRequestsRequest

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

type ListWorkRequestsRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"`

    // A filter to return only the resources that match the given lifecycle state.
    Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource affected by the work request.
    ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

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

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

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

func (ListWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

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

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

type ListWorkRequestsResponse

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

type ListWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestSummaryCollection instances
    WorkRequestSummaryCollection `presentIn:"body"`

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

    // For 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

ListWorkRequestsSortByEnum Enum with underlying type: string

type ListWorkRequestsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

const (
    ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

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

type ListWorkRequestsSortOrderEnum

ListWorkRequestsSortOrderEnum Enum with underlying type: string

type ListWorkRequestsSortOrderEnum string

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

const (
    ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
    ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

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

type ListWorkRequestsStatusEnum

ListWorkRequestsStatusEnum Enum with underlying type: string

type ListWorkRequestsStatusEnum string

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

const (
    ListWorkRequestsStatusAccepted       ListWorkRequestsStatusEnum = "ACCEPTED"
    ListWorkRequestsStatusInProgress     ListWorkRequestsStatusEnum = "IN_PROGRESS"
    ListWorkRequestsStatusWaiting        ListWorkRequestsStatusEnum = "WAITING"
    ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION"
    ListWorkRequestsStatusFailed         ListWorkRequestsStatusEnum = "FAILED"
    ListWorkRequestsStatusSucceeded      ListWorkRequestsStatusEnum = "SUCCEEDED"
    ListWorkRequestsStatusCanceling      ListWorkRequestsStatusEnum = "CANCELING"
    ListWorkRequestsStatusCanceled       ListWorkRequestsStatusEnum = "CANCELED"
)

func GetListWorkRequestsStatusEnumValues

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

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

type LoggingConfiguration

LoggingConfiguration Logging configuration for batch context.

type LoggingConfiguration interface {
}

type LoggingConfigurationTypeEnum

LoggingConfigurationTypeEnum Enum with underlying type: string

type LoggingConfigurationTypeEnum string

Set of constants representing the allowable values for LoggingConfigurationTypeEnum

const (
    LoggingConfigurationTypeOciLogging LoggingConfigurationTypeEnum = "OCI_LOGGING"
)

func GetLoggingConfigurationTypeEnumValues

func GetLoggingConfigurationTypeEnumValues() []LoggingConfigurationTypeEnum

GetLoggingConfigurationTypeEnumValues Enumerates the set of values for LoggingConfigurationTypeEnum

func GetMappingLoggingConfigurationTypeEnum

func GetMappingLoggingConfigurationTypeEnum(val string) (LoggingConfigurationTypeEnum, bool)

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

type Network

Network Network configuration of the batch context.

type Network struct {

    // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of associated subnet.
    SubnetId *string `mandatory:"true" json:"subnetId"`

    // A list of OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of associated network security groups.
    NsgIds []string `mandatory:"true" json:"nsgIds"`

    // A list of private endpoint's VNICs.
    Vnics []Vnic `mandatory:"true" json:"vnics"`
}

func (Network) String

func (m Network) String() string

func (Network) ValidateEnumValue

func (m Network) 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 NetworkSecurityGroup

NetworkSecurityGroup VirtualNetwork service NetworkSecurityGroup

type NetworkSecurityGroup struct {
}

func (NetworkSecurityGroup) String

func (m NetworkSecurityGroup) String() string

func (NetworkSecurityGroup) ValidateEnumValue

func (m NetworkSecurityGroup) 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 NfsVolume

NfsVolume A description of a NFS type of batch task environment volume.

type NfsVolume struct {

    // The name of the NfsVolume.
    Name *string `mandatory:"true" json:"name"`

    // The FQDN of the NFS server to connect to.
    MountTargetFqdn *string `mandatory:"true" json:"mountTargetFqdn"`

    // The path to the directory on the NFS server to be mounted.
    MountTargetExportPath *string `mandatory:"true" json:"mountTargetExportPath"`

    // The local path to mount the NFS share to.
    LocalMountDirectoryPath *string `mandatory:"true" json:"localMountDirectoryPath"`
}

func (NfsVolume) MarshalJSON

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

MarshalJSON marshals to json representation

func (NfsVolume) String

func (m NfsVolume) String() string

func (NfsVolume) ValidateEnumValue

func (m NfsVolume) 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 OciLoggingConfiguration

OciLoggingConfiguration Logging configuration for OCI Logging service.

type OciLoggingConfiguration struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group.
    LogGroupId *string `mandatory:"true" json:"logGroupId"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log.
    LogId *string `mandatory:"true" json:"logId"`
}

func (OciLoggingConfiguration) MarshalJSON

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

MarshalJSON marshals to json representation

func (OciLoggingConfiguration) String

func (m OciLoggingConfiguration) String() string

func (OciLoggingConfiguration) ValidateEnumValue

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

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

type OperationStatusEnum

OperationStatusEnum Enum with underlying type: string

type OperationStatusEnum string

Set of constants representing the allowable values for OperationStatusEnum

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

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

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

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

OperationTypeEnum Enum with underlying type: string

type OperationTypeEnum string

Set of constants representing the allowable values for OperationTypeEnum

const (
    OperationTypeCreateBatchContext       OperationTypeEnum = "CREATE_BATCH_CONTEXT"
    OperationTypeUpdateBatchContext       OperationTypeEnum = "UPDATE_BATCH_CONTEXT"
    OperationTypeDeleteBatchContext       OperationTypeEnum = "DELETE_BATCH_CONTEXT"
    OperationTypeStartBatchContext        OperationTypeEnum = "START_BATCH_CONTEXT"
    OperationTypeStopBatchContext         OperationTypeEnum = "STOP_BATCH_CONTEXT"
    OperationTypeMoveBatchContext         OperationTypeEnum = "MOVE_BATCH_CONTEXT"
    OperationTypeCreateBatchJob           OperationTypeEnum = "CREATE_BATCH_JOB"
    OperationTypeUpdateBatchJob           OperationTypeEnum = "UPDATE_BATCH_JOB"
    OperationTypeDeleteBatchJob           OperationTypeEnum = "DELETE_BATCH_JOB"
    OperationTypeMoveBatchJob             OperationTypeEnum = "MOVE_BATCH_JOB"
    OperationTypePauseBatchJob            OperationTypeEnum = "PAUSE_BATCH_JOB"
    OperationTypeUnpauseBatchJob          OperationTypeEnum = "UNPAUSE_BATCH_JOB"
    OperationTypeMoveBatchJobPool         OperationTypeEnum = "MOVE_BATCH_JOB_POOL"
    OperationTypeUpdateBatchJobPool       OperationTypeEnum = "UPDATE_BATCH_JOB_POOL"
    OperationTypeStartBatchJobPool        OperationTypeEnum = "START_BATCH_JOB_POOL"
    OperationTypeStopBatchJobPool         OperationTypeEnum = "STOP_BATCH_JOB_POOL"
    OperationTypeMoveBatchTaskEnvironment OperationTypeEnum = "MOVE_BATCH_TASK_ENVIRONMENT"
    OperationTypeMoveBatchTaskProfile     OperationTypeEnum = "MOVE_BATCH_TASK_PROFILE"
    OperationTypeInternal                 OperationTypeEnum = "INTERNAL"
)

func GetMappingOperationTypeEnum

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

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

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type PauseBatchJobDetails

PauseBatchJobDetails Information needed to pause the batch job.

type PauseBatchJobDetails struct {
}

func (PauseBatchJobDetails) String

func (m PauseBatchJobDetails) String() string

func (PauseBatchJobDetails) ValidateEnumValue

func (m PauseBatchJobDetails) 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 PauseBatchJobRequest

PauseBatchJobRequest wrapper for the PauseBatchJob operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/PauseBatchJob.go.html to see an example of how to use PauseBatchJobRequest.

type PauseBatchJobRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job.
    BatchJobId *string `mandatory:"true" contributesTo:"path" name:"batchJobId"`

    // Information needed to pause the batch job.
    PauseBatchJobDetails `contributesTo:"body"`

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (PauseBatchJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (PauseBatchJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (PauseBatchJobRequest) RetryPolicy

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

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

func (PauseBatchJobRequest) String

func (request PauseBatchJobRequest) String() string

func (PauseBatchJobRequest) ValidateEnumValue

func (request PauseBatchJobRequest) 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 PauseBatchJobResponse

PauseBatchJobResponse wrapper for the PauseBatchJob operation

type PauseBatchJobResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (PauseBatchJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (PauseBatchJobResponse) String

func (response PauseBatchJobResponse) String() string

type PrivateIp

PrivateIp VirtualNetwork service PrivateIp

type PrivateIp struct {
}

func (PrivateIp) String

func (m PrivateIp) String() string

func (PrivateIp) ValidateEnumValue

func (m PrivateIp) 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 SecurityContext

SecurityContext Security context for container runtime configuration. See also docs (https://docs.oracle.com/en-us/iaas/api/#/en/container-instances/20210415/datatypes/LinuxSecurityContext).

type SecurityContext struct {

    // User ID for running processes inside the container.
    RunAsUser *int `mandatory:"false" json:"runAsUser"`

    // Group ID for running processes inside the container.
    RunAsGroup *int `mandatory:"false" json:"runAsGroup"`

    // A special supplemental group ID that applies to all containers in a pod.
    FsGroup *int `mandatory:"false" json:"fsGroup"`
}

func (SecurityContext) String

func (m SecurityContext) String() string

func (SecurityContext) ValidateEnumValue

func (m SecurityContext) 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 ServiceManagedFleet

ServiceManagedFleet Service managed Fleet configuration of the batch context.

type ServiceManagedFleet struct {

    // Name of the service managed fleet.
    Name *string `mandatory:"true" json:"name"`

    Shape *FleetShape `mandatory:"true" json:"shape"`

    // Maximum number of concurrent tasks for the service managed fleet.
    MaxConcurrentTasks *int `mandatory:"true" json:"maxConcurrentTasks"`

    // Current state of the service manage fleet configuration.
    State *string `mandatory:"false" json:"state"`

    // A message that describes the current state of the service manage fleet configuration in more detail.
    Details *string `mandatory:"false" json:"details"`
}

func (ServiceManagedFleet) MarshalJSON

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

MarshalJSON marshals to json representation

func (ServiceManagedFleet) String

func (m ServiceManagedFleet) String() string

func (ServiceManagedFleet) ValidateEnumValue

func (m ServiceManagedFleet) 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 ShapeMemoryOptions

ShapeMemoryOptions The amount of memory available for container instances that use this shape.

type ShapeMemoryOptions struct {

    // The default amount of memory per OCPU available for this shape (GB).
    DefaultPerOcpuInGBs *float32 `mandatory:"true" json:"defaultPerOcpuInGBs"`

    // The maximum amount of memory (GB).
    MaxInGBs *float32 `mandatory:"true" json:"maxInGBs"`

    // For a flexible shape, the maximum amount of memory per OCPU available for this shape (GB).
    MaxPerOcpuInGBs *float32 `mandatory:"true" json:"maxPerOcpuInGBs"`

    // The minimum amount of memory (GB).
    MinInGBs *float32 `mandatory:"true" json:"minInGBs"`

    // The minimum amount of memory per OCPU available for this shape (GB).
    MinPerOcpuInGBs *float32 `mandatory:"true" json:"minPerOcpuInGBs"`
}

func (ShapeMemoryOptions) String

func (m ShapeMemoryOptions) String() string

func (ShapeMemoryOptions) ValidateEnumValue

func (m ShapeMemoryOptions) 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 ShapeNetworkingBandwidthOptions

ShapeNetworkingBandwidthOptions For a flexible shape, the amount of networking bandwidth available for container instances that use this shape.

type ShapeNetworkingBandwidthOptions struct {

    // The default amount of networking bandwidth per OCPU, in gigabits per second.
    DefaultPerOcpuInGbps *float32 `mandatory:"true" json:"defaultPerOcpuInGbps"`

    // The maximum amount of networking bandwidth, in gigabits per second.
    MaxInGbps *float32 `mandatory:"true" json:"maxInGbps"`

    // The minimum amount of networking bandwidth, in gigabits per second.
    MinInGbps *float32 `mandatory:"true" json:"minInGbps"`
}

func (ShapeNetworkingBandwidthOptions) String

func (m ShapeNetworkingBandwidthOptions) String() string

func (ShapeNetworkingBandwidthOptions) ValidateEnumValue

func (m ShapeNetworkingBandwidthOptions) 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 ShapeOcpuOptions

ShapeOcpuOptions For a flexible shape, the number of OCPUs available for container instances that use this shape.

type ShapeOcpuOptions struct {

    // The maximum number of OCPUs.
    MaxOcpus *float32 `mandatory:"true" json:"maxOcpus"`

    // The minimum number of OCPUs.
    MinOcpus *float32 `mandatory:"true" json:"minOcpus"`
}

func (ShapeOcpuOptions) String

func (m ShapeOcpuOptions) String() string

func (ShapeOcpuOptions) ValidateEnumValue

func (m ShapeOcpuOptions) 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 SortByEnum

SortByEnum Enum with underlying type: string

type SortByEnum string

Set of constants representing the allowable values for SortByEnum

const (
    SortByTimeCreated SortByEnum = "timeCreated"
    SortByDisplayName SortByEnum = "displayName"
)

func GetMappingSortByEnum

func GetMappingSortByEnum(val string) (SortByEnum, bool)

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

func GetSortByEnumValues

func GetSortByEnumValues() []SortByEnum

GetSortByEnumValues Enumerates the set of values for SortByEnum

type SortOrderEnum

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

const (
    SortOrderAsc  SortOrderEnum = "ASC"
    SortOrderDesc SortOrderEnum = "DESC"
)

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

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

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type StartBatchContextDetails

StartBatchContextDetails Information needed to start the batch context.

type StartBatchContextDetails struct {
}

func (StartBatchContextDetails) String

func (m StartBatchContextDetails) String() string

func (StartBatchContextDetails) ValidateEnumValue

func (m StartBatchContextDetails) 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 StartBatchContextRequest

StartBatchContextRequest wrapper for the StartBatchContext operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/StartBatchContext.go.html to see an example of how to use StartBatchContextRequest.

type StartBatchContextRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch context.
    BatchContextId *string `mandatory:"true" contributesTo:"path" name:"batchContextId"`

    // Information needed to start the batch context.
    StartBatchContextDetails `contributesTo:"body"`

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (StartBatchContextRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (StartBatchContextRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (StartBatchContextRequest) RetryPolicy

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

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

func (StartBatchContextRequest) String

func (request StartBatchContextRequest) String() string

func (StartBatchContextRequest) ValidateEnumValue

func (request StartBatchContextRequest) 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 StartBatchContextResponse

StartBatchContextResponse wrapper for the StartBatchContext operation

type StartBatchContextResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (StartBatchContextResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (StartBatchContextResponse) String

func (response StartBatchContextResponse) String() string

type StartBatchJobPoolDetails

StartBatchJobPoolDetails Information needed to start the batch job pool.

type StartBatchJobPoolDetails struct {
}

func (StartBatchJobPoolDetails) String

func (m StartBatchJobPoolDetails) String() string

func (StartBatchJobPoolDetails) ValidateEnumValue

func (m StartBatchJobPoolDetails) 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 StartBatchJobPoolRequest

StartBatchJobPoolRequest wrapper for the StartBatchJobPool operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/StartBatchJobPool.go.html to see an example of how to use StartBatchJobPoolRequest.

type StartBatchJobPoolRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job pool.
    BatchJobPoolId *string `mandatory:"true" contributesTo:"path" name:"batchJobPoolId"`

    // Information needed to start the batch job pool.
    StartBatchJobPoolDetails `contributesTo:"body"`

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (StartBatchJobPoolRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (StartBatchJobPoolRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (StartBatchJobPoolRequest) RetryPolicy

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

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

func (StartBatchJobPoolRequest) String

func (request StartBatchJobPoolRequest) String() string

func (StartBatchJobPoolRequest) ValidateEnumValue

func (request StartBatchJobPoolRequest) 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 StartBatchJobPoolResponse

StartBatchJobPoolResponse wrapper for the StartBatchJobPool operation

type StartBatchJobPoolResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (StartBatchJobPoolResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (StartBatchJobPoolResponse) String

func (response StartBatchJobPoolResponse) String() string

type StopBatchContextDetails

StopBatchContextDetails Information needed to stop the batch context.

type StopBatchContextDetails struct {
}

func (StopBatchContextDetails) String

func (m StopBatchContextDetails) String() string

func (StopBatchContextDetails) ValidateEnumValue

func (m StopBatchContextDetails) 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 StopBatchContextRequest

StopBatchContextRequest wrapper for the StopBatchContext operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/StopBatchContext.go.html to see an example of how to use StopBatchContextRequest.

type StopBatchContextRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch context.
    BatchContextId *string `mandatory:"true" contributesTo:"path" name:"batchContextId"`

    // Information needed to stop the batch context.
    StopBatchContextDetails `contributesTo:"body"`

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (StopBatchContextRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (StopBatchContextRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (StopBatchContextRequest) RetryPolicy

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

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

func (StopBatchContextRequest) String

func (request StopBatchContextRequest) String() string

func (StopBatchContextRequest) ValidateEnumValue

func (request StopBatchContextRequest) 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 StopBatchContextResponse

StopBatchContextResponse wrapper for the StopBatchContext operation

type StopBatchContextResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (StopBatchContextResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (StopBatchContextResponse) String

func (response StopBatchContextResponse) String() string

type StopBatchJobPoolDetails

StopBatchJobPoolDetails Information needed to stop the batch job pool.

type StopBatchJobPoolDetails struct {
}

func (StopBatchJobPoolDetails) String

func (m StopBatchJobPoolDetails) String() string

func (StopBatchJobPoolDetails) ValidateEnumValue

func (m StopBatchJobPoolDetails) 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 StopBatchJobPoolRequest

StopBatchJobPoolRequest wrapper for the StopBatchJobPool operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/StopBatchJobPool.go.html to see an example of how to use StopBatchJobPoolRequest.

type StopBatchJobPoolRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job pool.
    BatchJobPoolId *string `mandatory:"true" contributesTo:"path" name:"batchJobPoolId"`

    // Information needed to stop the batch job pool.
    StopBatchJobPoolDetails `contributesTo:"body"`

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (StopBatchJobPoolRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (StopBatchJobPoolRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (StopBatchJobPoolRequest) RetryPolicy

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

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

func (StopBatchJobPoolRequest) String

func (request StopBatchJobPoolRequest) String() string

func (StopBatchJobPoolRequest) ValidateEnumValue

func (request StopBatchJobPoolRequest) 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 StopBatchJobPoolResponse

StopBatchJobPoolResponse wrapper for the StopBatchJobPool operation

type StopBatchJobPoolResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (StopBatchJobPoolResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (StopBatchJobPoolResponse) String

func (response StopBatchJobPoolResponse) String() string

type Subnet

Subnet VirtualNetwork service Subnet

type Subnet struct {
}

func (Subnet) String

func (m Subnet) String() string

func (Subnet) ValidateEnumValue

func (m Subnet) 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 UnpauseBatchJobDetails

UnpauseBatchJobDetails Information needed to unpause the batch job.

type UnpauseBatchJobDetails struct {
}

func (UnpauseBatchJobDetails) String

func (m UnpauseBatchJobDetails) String() string

func (UnpauseBatchJobDetails) ValidateEnumValue

func (m UnpauseBatchJobDetails) 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 UnpauseBatchJobRequest

UnpauseBatchJobRequest wrapper for the UnpauseBatchJob operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/UnpauseBatchJob.go.html to see an example of how to use UnpauseBatchJobRequest.

type UnpauseBatchJobRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job.
    BatchJobId *string `mandatory:"true" contributesTo:"path" name:"batchJobId"`

    // Information needed to unpause the batch job.
    UnpauseBatchJobDetails `contributesTo:"body"`

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UnpauseBatchJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UnpauseBatchJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UnpauseBatchJobRequest) RetryPolicy

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

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

func (UnpauseBatchJobRequest) String

func (request UnpauseBatchJobRequest) String() string

func (UnpauseBatchJobRequest) ValidateEnumValue

func (request UnpauseBatchJobRequest) 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 UnpauseBatchJobResponse

UnpauseBatchJobResponse wrapper for the UnpauseBatchJob operation

type UnpauseBatchJobResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (UnpauseBatchJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UnpauseBatchJobResponse) String

func (response UnpauseBatchJobResponse) String() string

type UpdateBatchContextDetails

UpdateBatchContextDetails The data to update a batch context. If the value of a collection is explicitly provided as null, it will be converted to an empty value, i.e. "[]" or "{}" in json notation. This applies to nested collections as well.

type UpdateBatchContextDetails struct {

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // Can't be set to null.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Summarized information about the batch context.
    Description *string `mandatory:"false" json:"description"`

    // 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.oracle.com/iaas/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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // List of job priority configurations related to the batch context.
    JobPriorityConfigurations []JobPriorityConfiguration `mandatory:"false" json:"jobPriorityConfigurations"`

    // Mapping of concurrent/shared resources used in job tasks to their limits.
    Entitlements map[string]int `mandatory:"false" json:"entitlements"`
}

func (UpdateBatchContextDetails) String

func (m UpdateBatchContextDetails) String() string

func (UpdateBatchContextDetails) ValidateEnumValue

func (m UpdateBatchContextDetails) 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 UpdateBatchContextRequest

UpdateBatchContextRequest wrapper for the UpdateBatchContext operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/UpdateBatchContext.go.html to see an example of how to use UpdateBatchContextRequest.

type UpdateBatchContextRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch context.
    BatchContextId *string `mandatory:"true" contributesTo:"path" name:"batchContextId"`

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

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UpdateBatchContextRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateBatchContextRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateBatchContextRequest) RetryPolicy

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

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

func (UpdateBatchContextRequest) String

func (request UpdateBatchContextRequest) String() string

func (UpdateBatchContextRequest) ValidateEnumValue

func (request UpdateBatchContextRequest) 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 UpdateBatchContextResponse

UpdateBatchContextResponse wrapper for the UpdateBatchContext operation

type UpdateBatchContextResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (UpdateBatchContextResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateBatchContextResponse) String

func (response UpdateBatchContextResponse) String() string

type UpdateBatchJobDetails

UpdateBatchJobDetails The data to update a batch job. If the value of a collection is explicitly provided as null, it will be converted to an empty value, i.e. "[]" or "{}" in json notation. This applies to nested collections as well.

type UpdateBatchJobDetails struct {

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // Can't be set to null.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // An optional description that provides additional context next to the displayName.
    Description *string `mandatory:"false" json:"description"`

    // 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.oracle.com/iaas/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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateBatchJobDetails) String

func (m UpdateBatchJobDetails) String() string

func (UpdateBatchJobDetails) ValidateEnumValue

func (m UpdateBatchJobDetails) 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 UpdateBatchJobPoolDetails

UpdateBatchJobPoolDetails The data to update a batch job pool. If the value of a collection is explicitly provided as null, it will be converted to an empty value, i.e. "[]" or "{}" in json notation. This applies to nested collections as well.

type UpdateBatchJobPoolDetails struct {

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // Can't be set to null.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Summarized information about the batch job pool.
    Description *string `mandatory:"false" json:"description"`

    // 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.oracle.com/iaas/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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateBatchJobPoolDetails) String

func (m UpdateBatchJobPoolDetails) String() string

func (UpdateBatchJobPoolDetails) ValidateEnumValue

func (m UpdateBatchJobPoolDetails) 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 UpdateBatchJobPoolRequest

UpdateBatchJobPoolRequest wrapper for the UpdateBatchJobPool operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/UpdateBatchJobPool.go.html to see an example of how to use UpdateBatchJobPoolRequest.

type UpdateBatchJobPoolRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job pool.
    BatchJobPoolId *string `mandatory:"true" contributesTo:"path" name:"batchJobPoolId"`

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

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UpdateBatchJobPoolRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateBatchJobPoolRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateBatchJobPoolRequest) RetryPolicy

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

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

func (UpdateBatchJobPoolRequest) String

func (request UpdateBatchJobPoolRequest) String() string

func (UpdateBatchJobPoolRequest) ValidateEnumValue

func (request UpdateBatchJobPoolRequest) 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 UpdateBatchJobPoolResponse

UpdateBatchJobPoolResponse wrapper for the UpdateBatchJobPool operation

type UpdateBatchJobPoolResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (UpdateBatchJobPoolResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateBatchJobPoolResponse) String

func (response UpdateBatchJobPoolResponse) String() string

type UpdateBatchJobRequest

UpdateBatchJobRequest wrapper for the UpdateBatchJob operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/UpdateBatchJob.go.html to see an example of how to use UpdateBatchJobRequest.

type UpdateBatchJobRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch job.
    BatchJobId *string `mandatory:"true" contributesTo:"path" name:"batchJobId"`

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

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UpdateBatchJobRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateBatchJobRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateBatchJobRequest) RetryPolicy

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

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

func (UpdateBatchJobRequest) String

func (request UpdateBatchJobRequest) String() string

func (UpdateBatchJobRequest) ValidateEnumValue

func (request UpdateBatchJobRequest) 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 UpdateBatchJobResponse

UpdateBatchJobResponse wrapper for the UpdateBatchJob operation

type UpdateBatchJobResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    // Use GetWorkRequest with this ID to track the status of the request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

func (UpdateBatchJobResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateBatchJobResponse) String

func (response UpdateBatchJobResponse) String() string

type UpdateBatchTaskEnvironmentDetails

UpdateBatchTaskEnvironmentDetails The data to update a batch task environment. If the value of a collection is explicitly provided as null, it will be converted to an empty value, i.e. "[]" or "{}" in json notation. This applies to nested collections as well.

type UpdateBatchTaskEnvironmentDetails struct {

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // Can't be set to null.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The batch task environment description.
    Description *string `mandatory:"false" json:"description"`

    // 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.oracle.com/iaas/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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateBatchTaskEnvironmentDetails) String

func (m UpdateBatchTaskEnvironmentDetails) String() string

func (UpdateBatchTaskEnvironmentDetails) ValidateEnumValue

func (m UpdateBatchTaskEnvironmentDetails) 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 UpdateBatchTaskEnvironmentRequest

UpdateBatchTaskEnvironmentRequest wrapper for the UpdateBatchTaskEnvironment operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/UpdateBatchTaskEnvironment.go.html to see an example of how to use UpdateBatchTaskEnvironmentRequest.

type UpdateBatchTaskEnvironmentRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch task environment.
    BatchTaskEnvironmentId *string `mandatory:"true" contributesTo:"path" name:"batchTaskEnvironmentId"`

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

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UpdateBatchTaskEnvironmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateBatchTaskEnvironmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateBatchTaskEnvironmentRequest) RetryPolicy

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

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

func (UpdateBatchTaskEnvironmentRequest) String

func (request UpdateBatchTaskEnvironmentRequest) String() string

func (UpdateBatchTaskEnvironmentRequest) ValidateEnumValue

func (request UpdateBatchTaskEnvironmentRequest) 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 UpdateBatchTaskEnvironmentResponse

UpdateBatchTaskEnvironmentResponse wrapper for the UpdateBatchTaskEnvironment operation

type UpdateBatchTaskEnvironmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (UpdateBatchTaskEnvironmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateBatchTaskEnvironmentResponse) String

func (response UpdateBatchTaskEnvironmentResponse) String() string

type UpdateBatchTaskProfileDetails

UpdateBatchTaskProfileDetails The data to update a batch task profile. If the value of a collection is explicitly provided as null, it will be converted to an empty value, i.e. "[]" or "{}" in json notation. This applies to nested collections as well.

type UpdateBatchTaskProfileDetails struct {

    // A user-friendly name. Does not have to be unique, and it's changeable.
    // Can't be set to null.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The batch task profile description.
    Description *string `mandatory:"false" json:"description"`

    // 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.oracle.com/iaas/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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateBatchTaskProfileDetails) String

func (m UpdateBatchTaskProfileDetails) String() string

func (UpdateBatchTaskProfileDetails) ValidateEnumValue

func (m UpdateBatchTaskProfileDetails) 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 UpdateBatchTaskProfileRequest

UpdateBatchTaskProfileRequest wrapper for the UpdateBatchTaskProfile operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/batch/UpdateBatchTaskProfile.go.html to see an example of how to use UpdateBatchTaskProfileRequest.

type UpdateBatchTaskProfileRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the batch task profile.
    BatchTaskProfileId *string `mandatory:"true" contributesTo:"path" name:"batchTaskProfileId"`

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

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

    // Unique Oracle-assigned identifier for the request. If you need to contact
    // Oracle about a particular request, please provide the request ID.
    // The only valid characters for request IDs are letters, numbers,
    // underscore, and dash.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UpdateBatchTaskProfileRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateBatchTaskProfileRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateBatchTaskProfileRequest) RetryPolicy

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

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

func (UpdateBatchTaskProfileRequest) String

func (request UpdateBatchTaskProfileRequest) String() string

func (UpdateBatchTaskProfileRequest) ValidateEnumValue

func (request UpdateBatchTaskProfileRequest) 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 UpdateBatchTaskProfileResponse

UpdateBatchTaskProfileResponse wrapper for the UpdateBatchTaskProfile operation

type UpdateBatchTaskProfileResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

func (UpdateBatchTaskProfileResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateBatchTaskProfileResponse) String

func (response UpdateBatchTaskProfileResponse) String() string

type VirtualNetworkVnic

VirtualNetworkVnic VirtualNetwork service Vnic

type VirtualNetworkVnic struct {
}

func (VirtualNetworkVnic) String

func (m VirtualNetworkVnic) String() string

func (VirtualNetworkVnic) ValidateEnumValue

func (m VirtualNetworkVnic) 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 Vnic

Vnic Private endpoint's VNIC.

type Vnic struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint's VNIC,
    // which resides in the customer's VCN.
    Id *string `mandatory:"true" json:"id"`

    // A list of private IP addresses (in the customer's VCN) that represent access points for the service.
    SourceIps []string `mandatory:"true" json:"sourceIps"`
}

func (Vnic) String

func (m Vnic) String() string

func (Vnic) ValidateEnumValue

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

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

type WorkRequest

WorkRequest An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation, the service creates a work request. A work request is an activity log that lets you track each step in the operation's progress. Each work request has an OCID that lets you interact with it programmatically and use it for automation.

type WorkRequest struct {

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

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

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

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

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

    // Shows the progress of the operation tracked by the work request, as a percentage of the total work
    // that must be performed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the work request was created, in the format defined by
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the work request was started, in the format defined by
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the work request was finished, in the format defined by
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

    // The date and time the work request was updated, in the format defined by
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

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

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

type WorkRequestError

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

type WorkRequestError struct {

    // A machine-usable code for the error that occurred. For a list of error codes, see
    // API Errors (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm).
    Code *string `mandatory:"true" json:"code"`

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

    // The date and time the error occurred, in the format defined by
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

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

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

type WorkRequestErrorCollection

WorkRequestErrorCollection A list of work request errors. Can contain both errors and other information, such as metadata.

type WorkRequestErrorCollection struct {

    // A list of work request errors.
    Items []WorkRequestError `mandatory:"true" json:"items"`
}

func (WorkRequestErrorCollection) String

func (m WorkRequestErrorCollection) String() string

func (WorkRequestErrorCollection) ValidateEnumValue

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

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

type WorkRequestLogAndErrorSortByEnum

WorkRequestLogAndErrorSortByEnum Enum with underlying type: string

type WorkRequestLogAndErrorSortByEnum string

Set of constants representing the allowable values for WorkRequestLogAndErrorSortByEnum

const (
    WorkRequestLogAndErrorSortByTimeCreated WorkRequestLogAndErrorSortByEnum = "timeCreated"
)

func GetMappingWorkRequestLogAndErrorSortByEnum

func GetMappingWorkRequestLogAndErrorSortByEnum(val string) (WorkRequestLogAndErrorSortByEnum, bool)

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

func GetWorkRequestLogAndErrorSortByEnumValues

func GetWorkRequestLogAndErrorSortByEnumValues() []WorkRequestLogAndErrorSortByEnum

GetWorkRequestLogAndErrorSortByEnumValues Enumerates the set of values for WorkRequestLogAndErrorSortByEnum

type WorkRequestLogEntry

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

type WorkRequestLogEntry struct {

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

    // The date and time the log message was written, in the format defined by
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

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

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

type WorkRequestLogEntryCollection

WorkRequestLogEntryCollection A list of work request logs. Can contain both logs and other information, such as metadata.

type WorkRequestLogEntryCollection struct {

    // A list of work request log entries.
    Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

func (WorkRequestLogEntryCollection) String

func (m WorkRequestLogEntryCollection) String() string

func (WorkRequestLogEntryCollection) ValidateEnumValue

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

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

type WorkRequestResource

WorkRequestResource A resource created or operated on by a work request.

type WorkRequestResource struct {

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

    // The way in which this resource is affected by the operation tracked in the work request.
    // A resource being created, updated, or deleted remains in the IN_PROGRESS state until
    // work is complete for that resource, at which point it transitions to CREATED, UPDATED,
    // or DELETED, respectively.
    ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`

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

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

    // Additional information that helps to explain the resource.
    Metadata map[string]string `mandatory:"false" json:"metadata"`
}

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

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

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

type WorkRequestResourceMetadataKeyEnum

WorkRequestResourceMetadataKeyEnum Enum with underlying type: string

type WorkRequestResourceMetadataKeyEnum string

Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum

const (
    WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)

func GetMappingWorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)

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

func GetWorkRequestResourceMetadataKeyEnumValues

func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum

GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum

type WorkRequestSortByEnum

WorkRequestSortByEnum Enum with underlying type: string

type WorkRequestSortByEnum string

Set of constants representing the allowable values for WorkRequestSortByEnum

const (
    WorkRequestSortByTimeAccepted WorkRequestSortByEnum = "timeAccepted"
)

func GetMappingWorkRequestSortByEnum

func GetMappingWorkRequestSortByEnum(val string) (WorkRequestSortByEnum, bool)

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

func GetWorkRequestSortByEnumValues

func GetWorkRequestSortByEnumValues() []WorkRequestSortByEnum

GetWorkRequestSortByEnumValues Enumerates the set of values for WorkRequestSortByEnum

type WorkRequestSummary

WorkRequestSummary Summary information about an asynchronous work request.

type WorkRequestSummary struct {

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

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

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

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

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

    // Shows the progress of the operation tracked by the work request, as a percentage of the total work
    // that must be performed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the work request was created, in the format defined by
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the work request was started, in the format defined by
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the work request was finished, in the format defined by
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

    // The date and time the work request was updated, in the format defined by
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

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

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

type WorkRequestSummaryCollection

WorkRequestSummaryCollection A list of work requests. Can contain both work requests and other information, such as metadata.

type WorkRequestSummaryCollection struct {

    // A list of work requests.
    Items []WorkRequestSummary `mandatory:"true" json:"items"`
}

func (WorkRequestSummaryCollection) String

func (m WorkRequestSummaryCollection) String() string

func (WorkRequestSummaryCollection) ValidateEnumValue

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

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