...

Package datacc

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

Overview ▾

Index ▾

func GetActionTypeEnumStringValues() []string
func GetBasePatchingModeEnumStringValues() []string
func GetInfrastructureLifecycleStateEnumStringValues() []string
func GetInfrastructureServerLifecycleStateEnumStringValues() []string
func GetInfrastructureTypeEnumStringValues() []string
func GetListInfrastructuresSortByEnumStringValues() []string
func GetListInfrastructuresSortOrderEnumStringValues() []string
func GetListMaintenanceExecutionsLifecycleStateEnumStringValues() []string
func GetListMaintenanceExecutionsMaintenanceSubtypeEnumStringValues() []string
func GetListMaintenanceExecutionsMaintenanceTypeEnumStringValues() []string
func GetListMaintenanceExecutionsSortByEnumStringValues() []string
func GetListMaintenanceExecutionsSortOrderEnumStringValues() []string
func GetListMaintenanceExecutionsTargetResourceTypeEnumStringValues() []string
func GetListMaintenanceExecutionsTypeEnumStringValues() []string
func GetListMaintenanceRunsLifecycleStateEnumStringValues() []string
func GetListMaintenanceRunsMaintenanceSubtypeEnumStringValues() []string
func GetListMaintenanceRunsMaintenanceTypeEnumStringValues() []string
func GetListMaintenanceRunsSortByEnumStringValues() []string
func GetListMaintenanceRunsSortOrderEnumStringValues() []string
func GetListMaintenanceRunsTargetResourceTypeEnumStringValues() []string
func GetListVmClusterNetworksSortByEnumStringValues() []string
func GetListVmClusterNetworksSortOrderEnumStringValues() []string
func GetListVmClusterNetworksVmNetworkConsumerTypeEnumStringValues() []string
func GetListVmInstancesSortByEnumStringValues() []string
func GetListVmInstancesSortOrderEnumStringValues() []string
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
func GetMaintenancePreferenceEnumStringValues() []string
func GetMaintenanceRunLifecycleStateEnumStringValues() []string
func GetMaintenanceSubtypeEnumEnumStringValues() []string
func GetMaintenanceTypeEnumEnumStringValues() []string
func GetMaintenanceWindowDaysOfWeekEnumStringValues() []string
func GetMaintenanceWindowMonthsEnumStringValues() []string
func GetNetworkBondingInterfaceEnumEnumStringValues() []string
func GetNetworkBondingModeEnumStringValues() []string
func GetOperationStatusEnumStringValues() []string
func GetOperationTypeEnumStringValues() []string
func GetPatchingModeEnumEnumStringValues() []string
func GetPatchingStatusEnumEnumStringValues() []string
func GetShapeEnumEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
func GetStorageDiskRedundancyEnumStringValues() []string
func GetStorageTypeEnumStringValues() []string
func GetSystemModelEnumEnumStringValues() []string
func GetTargetResourceTypeEnumEnumStringValues() []string
func GetTypeEnumEnumStringValues() []string
func GetVmClusterNetworkLifecycleStateEnumStringValues() []string
func GetVmClusterNetworkTypeEnumStringValues() []string
func GetVmInstanceLifecycleStateEnumStringValues() []string
func GetVmNetworkConsumerTypeEnumStringValues() []string
type AcfsCapacityDetails
    func (m AcfsCapacityDetails) String() string
    func (m AcfsCapacityDetails) ValidateEnumValue() (bool, error)
type ActionTypeEnum
    func GetActionTypeEnumValues() []ActionTypeEnum
    func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
type ActivateInfrastructureDetails
    func (m ActivateInfrastructureDetails) String() string
    func (m ActivateInfrastructureDetails) ValidateEnumValue() (bool, error)
type ActivateInfrastructureRequest
    func (request ActivateInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ActivateInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ActivateInfrastructureRequest) RetryPolicy() *common.RetryPolicy
    func (request ActivateInfrastructureRequest) String() string
    func (request ActivateInfrastructureRequest) ValidateEnumValue() (bool, error)
type ActivateInfrastructureResponse
    func (response ActivateInfrastructureResponse) HTTPResponse() *http.Response
    func (response ActivateInfrastructureResponse) String() string
type BasePatchingModeEnum
    func GetBasePatchingModeEnumValues() []BasePatchingModeEnum
    func GetMappingBasePatchingModeEnum(val string) (BasePatchingModeEnum, bool)
type BaseinfraClient
    func NewBaseinfraClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client BaseinfraClient, err error)
    func NewBaseinfraClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client BaseinfraClient, err error)
    func (client BaseinfraClient) ActivateInfrastructure(ctx context.Context, request ActivateInfrastructureRequest) (response ActivateInfrastructureResponse, err error)
    func (client BaseinfraClient) ChangeInfrastructureCompartment(ctx context.Context, request ChangeInfrastructureCompartmentRequest) (response ChangeInfrastructureCompartmentResponse, err error)
    func (client BaseinfraClient) ChangeVmClusterNetworkCompartment(ctx context.Context, request ChangeVmClusterNetworkCompartmentRequest) (response ChangeVmClusterNetworkCompartmentResponse, err error)
    func (client BaseinfraClient) ChangeVmInstanceCompartment(ctx context.Context, request ChangeVmInstanceCompartmentRequest) (response ChangeVmInstanceCompartmentResponse, err error)
    func (client *BaseinfraClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client BaseinfraClient) CreateInfrastructure(ctx context.Context, request CreateInfrastructureRequest) (response CreateInfrastructureResponse, err error)
    func (client BaseinfraClient) CreateVmClusterNetwork(ctx context.Context, request CreateVmClusterNetworkRequest) (response CreateVmClusterNetworkResponse, err error)
    func (client BaseinfraClient) CreateVmInstance(ctx context.Context, request CreateVmInstanceRequest) (response CreateVmInstanceResponse, err error)
    func (client BaseinfraClient) DeleteInfrastructure(ctx context.Context, request DeleteInfrastructureRequest) (response DeleteInfrastructureResponse, err error)
    func (client BaseinfraClient) DeleteVmClusterNetwork(ctx context.Context, request DeleteVmClusterNetworkRequest) (response DeleteVmClusterNetworkResponse, err error)
    func (client BaseinfraClient) DeleteVmInstance(ctx context.Context, request DeleteVmInstanceRequest) (response DeleteVmInstanceResponse, err error)
    func (client BaseinfraClient) DownloadInfrastructureConfigFile(ctx context.Context, request DownloadInfrastructureConfigFileRequest) (response DownloadInfrastructureConfigFileResponse, err error)
    func (client BaseinfraClient) DownloadInfrastructureValidationScript(ctx context.Context, request DownloadInfrastructureValidationScriptRequest) (response DownloadInfrastructureValidationScriptResponse, err error)
    func (client BaseinfraClient) GenerateRecommendedVmClusterNetwork(ctx context.Context, request GenerateRecommendedVmClusterNetworkRequest) (response GenerateRecommendedVmClusterNetworkResponse, err error)
    func (client BaseinfraClient) GetInfrastructure(ctx context.Context, request GetInfrastructureRequest) (response GetInfrastructureResponse, err error)
    func (client BaseinfraClient) GetInfrastructureScaleOption(ctx context.Context, request GetInfrastructureScaleOptionRequest) (response GetInfrastructureScaleOptionResponse, err error)
    func (client BaseinfraClient) GetMaintenanceExecution(ctx context.Context, request GetMaintenanceExecutionRequest) (response GetMaintenanceExecutionResponse, err error)
    func (client BaseinfraClient) GetMaintenanceRun(ctx context.Context, request GetMaintenanceRunRequest) (response GetMaintenanceRunResponse, err error)
    func (client BaseinfraClient) GetVmClusterNetwork(ctx context.Context, request GetVmClusterNetworkRequest) (response GetVmClusterNetworkResponse, err error)
    func (client BaseinfraClient) GetVmInstance(ctx context.Context, request GetVmInstanceRequest) (response GetVmInstanceResponse, err error)
    func (client BaseinfraClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client BaseinfraClient) ListInfrastructures(ctx context.Context, request ListInfrastructuresRequest) (response ListInfrastructuresResponse, err error)
    func (client BaseinfraClient) ListMaintenanceExecutions(ctx context.Context, request ListMaintenanceExecutionsRequest) (response ListMaintenanceExecutionsResponse, err error)
    func (client BaseinfraClient) ListMaintenanceRuns(ctx context.Context, request ListMaintenanceRunsRequest) (response ListMaintenanceRunsResponse, err error)
    func (client BaseinfraClient) ListVmClusterNetworks(ctx context.Context, request ListVmClusterNetworksRequest) (response ListVmClusterNetworksResponse, err error)
    func (client BaseinfraClient) ListVmInstances(ctx context.Context, request ListVmInstancesRequest) (response ListVmInstancesResponse, err error)
    func (client BaseinfraClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client BaseinfraClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client BaseinfraClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client BaseinfraClient) MigrateVmInstance(ctx context.Context, request MigrateVmInstanceRequest) (response MigrateVmInstanceResponse, err error)
    func (client BaseinfraClient) RescheduleMaintenanceRun(ctx context.Context, request RescheduleMaintenanceRunRequest) (response RescheduleMaintenanceRunResponse, err error)
    func (client BaseinfraClient) RestartVmInstance(ctx context.Context, request RestartVmInstanceRequest) (response RestartVmInstanceResponse, err error)
    func (client BaseinfraClient) ScaleInfrastructureStorage(ctx context.Context, request ScaleInfrastructureStorageRequest) (response ScaleInfrastructureStorageResponse, err error)
    func (client BaseinfraClient) ScaleVmInstance(ctx context.Context, request ScaleVmInstanceRequest) (response ScaleVmInstanceResponse, err error)
    func (client *BaseinfraClient) SetRegion(region string)
    func (client BaseinfraClient) StartVmInstance(ctx context.Context, request StartVmInstanceRequest) (response StartVmInstanceResponse, err error)
    func (client BaseinfraClient) StopVmInstance(ctx context.Context, request StopVmInstanceRequest) (response StopVmInstanceResponse, err error)
    func (client BaseinfraClient) UpdateInfrastructure(ctx context.Context, request UpdateInfrastructureRequest) (response UpdateInfrastructureResponse, err error)
    func (client BaseinfraClient) UpdateMaintenanceRun(ctx context.Context, request UpdateMaintenanceRunRequest) (response UpdateMaintenanceRunResponse, err error)
    func (client BaseinfraClient) UpdateVmClusterNetwork(ctx context.Context, request UpdateVmClusterNetworkRequest) (response UpdateVmClusterNetworkResponse, err error)
    func (client BaseinfraClient) UpdateVmInstance(ctx context.Context, request UpdateVmInstanceRequest) (response UpdateVmInstanceResponse, err error)
    func (client BaseinfraClient) ValidateInfrastructure(ctx context.Context, request ValidateInfrastructureRequest) (response ValidateInfrastructureResponse, err error)
    func (client BaseinfraClient) ValidateVmClusterNetwork(ctx context.Context, request ValidateVmClusterNetworkRequest) (response ValidateVmClusterNetworkResponse, err error)
type ChangeInfrastructureCompartmentDetails
    func (m ChangeInfrastructureCompartmentDetails) String() string
    func (m ChangeInfrastructureCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeInfrastructureCompartmentRequest
    func (request ChangeInfrastructureCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeInfrastructureCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeInfrastructureCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeInfrastructureCompartmentRequest) String() string
    func (request ChangeInfrastructureCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeInfrastructureCompartmentResponse
    func (response ChangeInfrastructureCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeInfrastructureCompartmentResponse) String() string
type ChangeVmClusterNetworkCompartmentDetails
    func (m ChangeVmClusterNetworkCompartmentDetails) String() string
    func (m ChangeVmClusterNetworkCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeVmClusterNetworkCompartmentRequest
    func (request ChangeVmClusterNetworkCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeVmClusterNetworkCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeVmClusterNetworkCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeVmClusterNetworkCompartmentRequest) String() string
    func (request ChangeVmClusterNetworkCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeVmClusterNetworkCompartmentResponse
    func (response ChangeVmClusterNetworkCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeVmClusterNetworkCompartmentResponse) String() string
type ChangeVmInstanceCompartmentDetails
    func (m ChangeVmInstanceCompartmentDetails) String() string
    func (m ChangeVmInstanceCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeVmInstanceCompartmentRequest
    func (request ChangeVmInstanceCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeVmInstanceCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeVmInstanceCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeVmInstanceCompartmentRequest) String() string
    func (request ChangeVmInstanceCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeVmInstanceCompartmentResponse
    func (response ChangeVmInstanceCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeVmInstanceCompartmentResponse) String() string
type ComputeCapacityDetails
    func (m ComputeCapacityDetails) String() string
    func (m ComputeCapacityDetails) ValidateEnumValue() (bool, error)
type CreateInfrastructureDetails
    func (m CreateInfrastructureDetails) String() string
    func (m CreateInfrastructureDetails) ValidateEnumValue() (bool, error)
type CreateInfrastructureRequest
    func (request CreateInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateInfrastructureRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateInfrastructureRequest) String() string
    func (request CreateInfrastructureRequest) ValidateEnumValue() (bool, error)
type CreateInfrastructureResponse
    func (response CreateInfrastructureResponse) HTTPResponse() *http.Response
    func (response CreateInfrastructureResponse) String() string
type CreateVmClusterNetworkDetails
    func (m CreateVmClusterNetworkDetails) String() string
    func (m CreateVmClusterNetworkDetails) ValidateEnumValue() (bool, error)
type CreateVmClusterNetworkRequest
    func (request CreateVmClusterNetworkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateVmClusterNetworkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateVmClusterNetworkRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateVmClusterNetworkRequest) String() string
    func (request CreateVmClusterNetworkRequest) ValidateEnumValue() (bool, error)
type CreateVmClusterNetworkResponse
    func (response CreateVmClusterNetworkResponse) HTTPResponse() *http.Response
    func (response CreateVmClusterNetworkResponse) String() string
type CreateVmInstanceDetails
    func (m CreateVmInstanceDetails) String() string
    func (m CreateVmInstanceDetails) ValidateEnumValue() (bool, error)
type CreateVmInstanceRequest
    func (request CreateVmInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateVmInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateVmInstanceRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateVmInstanceRequest) String() string
    func (request CreateVmInstanceRequest) ValidateEnumValue() (bool, error)
type CreateVmInstanceResponse
    func (response CreateVmInstanceResponse) HTTPResponse() *http.Response
    func (response CreateVmInstanceResponse) String() string
type DeleteInfrastructureRequest
    func (request DeleteInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteInfrastructureRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteInfrastructureRequest) String() string
    func (request DeleteInfrastructureRequest) ValidateEnumValue() (bool, error)
type DeleteInfrastructureResponse
    func (response DeleteInfrastructureResponse) HTTPResponse() *http.Response
    func (response DeleteInfrastructureResponse) String() string
type DeleteVmClusterNetworkRequest
    func (request DeleteVmClusterNetworkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteVmClusterNetworkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteVmClusterNetworkRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteVmClusterNetworkRequest) String() string
    func (request DeleteVmClusterNetworkRequest) ValidateEnumValue() (bool, error)
type DeleteVmClusterNetworkResponse
    func (response DeleteVmClusterNetworkResponse) HTTPResponse() *http.Response
    func (response DeleteVmClusterNetworkResponse) String() string
type DeleteVmInstanceRequest
    func (request DeleteVmInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteVmInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteVmInstanceRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteVmInstanceRequest) String() string
    func (request DeleteVmInstanceRequest) ValidateEnumValue() (bool, error)
type DeleteVmInstanceResponse
    func (response DeleteVmInstanceResponse) HTTPResponse() *http.Response
    func (response DeleteVmInstanceResponse) String() string
type DiskGroupCapacityDetails
    func (m DiskGroupCapacityDetails) String() string
    func (m DiskGroupCapacityDetails) ValidateEnumValue() (bool, error)
type DownloadInfrastructureConfigFileRequest
    func (request DownloadInfrastructureConfigFileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DownloadInfrastructureConfigFileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DownloadInfrastructureConfigFileRequest) RetryPolicy() *common.RetryPolicy
    func (request DownloadInfrastructureConfigFileRequest) String() string
    func (request DownloadInfrastructureConfigFileRequest) ValidateEnumValue() (bool, error)
type DownloadInfrastructureConfigFileResponse
    func (response DownloadInfrastructureConfigFileResponse) HTTPResponse() *http.Response
    func (response DownloadInfrastructureConfigFileResponse) String() string
type DownloadInfrastructureValidationScriptRequest
    func (request DownloadInfrastructureValidationScriptRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DownloadInfrastructureValidationScriptRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DownloadInfrastructureValidationScriptRequest) RetryPolicy() *common.RetryPolicy
    func (request DownloadInfrastructureValidationScriptRequest) String() string
    func (request DownloadInfrastructureValidationScriptRequest) ValidateEnumValue() (bool, error)
type DownloadInfrastructureValidationScriptResponse
    func (response DownloadInfrastructureValidationScriptResponse) HTTPResponse() *http.Response
    func (response DownloadInfrastructureValidationScriptResponse) String() string
type GenerateRecommendedVmClusterNetworkDetails
    func (m GenerateRecommendedVmClusterNetworkDetails) String() string
    func (m GenerateRecommendedVmClusterNetworkDetails) ValidateEnumValue() (bool, error)
type GenerateRecommendedVmClusterNetworkRequest
    func (request GenerateRecommendedVmClusterNetworkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GenerateRecommendedVmClusterNetworkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GenerateRecommendedVmClusterNetworkRequest) RetryPolicy() *common.RetryPolicy
    func (request GenerateRecommendedVmClusterNetworkRequest) String() string
    func (request GenerateRecommendedVmClusterNetworkRequest) ValidateEnumValue() (bool, error)
type GenerateRecommendedVmClusterNetworkResponse
    func (response GenerateRecommendedVmClusterNetworkResponse) HTTPResponse() *http.Response
    func (response GenerateRecommendedVmClusterNetworkResponse) String() string
type GetInfrastructureRequest
    func (request GetInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetInfrastructureRequest) RetryPolicy() *common.RetryPolicy
    func (request GetInfrastructureRequest) String() string
    func (request GetInfrastructureRequest) ValidateEnumValue() (bool, error)
type GetInfrastructureResponse
    func (response GetInfrastructureResponse) HTTPResponse() *http.Response
    func (response GetInfrastructureResponse) String() string
type GetInfrastructureScaleOptionRequest
    func (request GetInfrastructureScaleOptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetInfrastructureScaleOptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetInfrastructureScaleOptionRequest) RetryPolicy() *common.RetryPolicy
    func (request GetInfrastructureScaleOptionRequest) String() string
    func (request GetInfrastructureScaleOptionRequest) ValidateEnumValue() (bool, error)
type GetInfrastructureScaleOptionResponse
    func (response GetInfrastructureScaleOptionResponse) HTTPResponse() *http.Response
    func (response GetInfrastructureScaleOptionResponse) String() string
type GetMaintenanceExecutionRequest
    func (request GetMaintenanceExecutionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetMaintenanceExecutionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetMaintenanceExecutionRequest) RetryPolicy() *common.RetryPolicy
    func (request GetMaintenanceExecutionRequest) String() string
    func (request GetMaintenanceExecutionRequest) ValidateEnumValue() (bool, error)
type GetMaintenanceExecutionResponse
    func (response GetMaintenanceExecutionResponse) HTTPResponse() *http.Response
    func (response GetMaintenanceExecutionResponse) String() string
type GetMaintenanceRunRequest
    func (request GetMaintenanceRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetMaintenanceRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetMaintenanceRunRequest) RetryPolicy() *common.RetryPolicy
    func (request GetMaintenanceRunRequest) String() string
    func (request GetMaintenanceRunRequest) ValidateEnumValue() (bool, error)
type GetMaintenanceRunResponse
    func (response GetMaintenanceRunResponse) HTTPResponse() *http.Response
    func (response GetMaintenanceRunResponse) String() string
type GetVmClusterNetworkRequest
    func (request GetVmClusterNetworkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetVmClusterNetworkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetVmClusterNetworkRequest) RetryPolicy() *common.RetryPolicy
    func (request GetVmClusterNetworkRequest) String() string
    func (request GetVmClusterNetworkRequest) ValidateEnumValue() (bool, error)
type GetVmClusterNetworkResponse
    func (response GetVmClusterNetworkResponse) HTTPResponse() *http.Response
    func (response GetVmClusterNetworkResponse) String() string
type GetVmInstanceRequest
    func (request GetVmInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetVmInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetVmInstanceRequest) RetryPolicy() *common.RetryPolicy
    func (request GetVmInstanceRequest) String() string
    func (request GetVmInstanceRequest) ValidateEnumValue() (bool, error)
type GetVmInstanceResponse
    func (response GetVmInstanceResponse) HTTPResponse() *http.Response
    func (response GetVmInstanceResponse) 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 InfoVmNetworkDetails
    func (m InfoVmNetworkDetails) String() string
    func (m InfoVmNetworkDetails) ValidateEnumValue() (bool, error)
type Infrastructure
    func (m Infrastructure) String() string
    func (m Infrastructure) ValidateEnumValue() (bool, error)
type InfrastructureCollection
    func (m InfrastructureCollection) String() string
    func (m InfrastructureCollection) ValidateEnumValue() (bool, error)
type InfrastructureContact
    func (m InfrastructureContact) String() string
    func (m InfrastructureContact) ValidateEnumValue() (bool, error)
type InfrastructureLifecycleStateEnum
    func GetInfrastructureLifecycleStateEnumValues() []InfrastructureLifecycleStateEnum
    func GetMappingInfrastructureLifecycleStateEnum(val string) (InfrastructureLifecycleStateEnum, bool)
type InfrastructureScaleOption
    func (m InfrastructureScaleOption) String() string
    func (m InfrastructureScaleOption) ValidateEnumValue() (bool, error)
type InfrastructureServer
    func (m InfrastructureServer) String() string
    func (m InfrastructureServer) ValidateEnumValue() (bool, error)
type InfrastructureServerLifecycleStateEnum
    func GetInfrastructureServerLifecycleStateEnumValues() []InfrastructureServerLifecycleStateEnum
    func GetMappingInfrastructureServerLifecycleStateEnum(val string) (InfrastructureServerLifecycleStateEnum, bool)
type InfrastructureSummary
    func (m InfrastructureSummary) String() string
    func (m InfrastructureSummary) ValidateEnumValue() (bool, error)
type InfrastructureTypeEnum
    func GetInfrastructureTypeEnumValues() []InfrastructureTypeEnum
    func GetMappingInfrastructureTypeEnum(val string) (InfrastructureTypeEnum, bool)
type ListInfrastructuresRequest
    func (request ListInfrastructuresRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListInfrastructuresRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListInfrastructuresRequest) RetryPolicy() *common.RetryPolicy
    func (request ListInfrastructuresRequest) String() string
    func (request ListInfrastructuresRequest) ValidateEnumValue() (bool, error)
type ListInfrastructuresResponse
    func (response ListInfrastructuresResponse) HTTPResponse() *http.Response
    func (response ListInfrastructuresResponse) String() string
type ListInfrastructuresSortByEnum
    func GetListInfrastructuresSortByEnumValues() []ListInfrastructuresSortByEnum
    func GetMappingListInfrastructuresSortByEnum(val string) (ListInfrastructuresSortByEnum, bool)
type ListInfrastructuresSortOrderEnum
    func GetListInfrastructuresSortOrderEnumValues() []ListInfrastructuresSortOrderEnum
    func GetMappingListInfrastructuresSortOrderEnum(val string) (ListInfrastructuresSortOrderEnum, bool)
type ListMaintenanceExecutionsLifecycleStateEnum
    func GetListMaintenanceExecutionsLifecycleStateEnumValues() []ListMaintenanceExecutionsLifecycleStateEnum
    func GetMappingListMaintenanceExecutionsLifecycleStateEnum(val string) (ListMaintenanceExecutionsLifecycleStateEnum, bool)
type ListMaintenanceExecutionsMaintenanceSubtypeEnum
    func GetListMaintenanceExecutionsMaintenanceSubtypeEnumValues() []ListMaintenanceExecutionsMaintenanceSubtypeEnum
    func GetMappingListMaintenanceExecutionsMaintenanceSubtypeEnum(val string) (ListMaintenanceExecutionsMaintenanceSubtypeEnum, bool)
type ListMaintenanceExecutionsMaintenanceTypeEnum
    func GetListMaintenanceExecutionsMaintenanceTypeEnumValues() []ListMaintenanceExecutionsMaintenanceTypeEnum
    func GetMappingListMaintenanceExecutionsMaintenanceTypeEnum(val string) (ListMaintenanceExecutionsMaintenanceTypeEnum, bool)
type ListMaintenanceExecutionsRequest
    func (request ListMaintenanceExecutionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListMaintenanceExecutionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListMaintenanceExecutionsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListMaintenanceExecutionsRequest) String() string
    func (request ListMaintenanceExecutionsRequest) ValidateEnumValue() (bool, error)
type ListMaintenanceExecutionsResponse
    func (response ListMaintenanceExecutionsResponse) HTTPResponse() *http.Response
    func (response ListMaintenanceExecutionsResponse) String() string
type ListMaintenanceExecutionsSortByEnum
    func GetListMaintenanceExecutionsSortByEnumValues() []ListMaintenanceExecutionsSortByEnum
    func GetMappingListMaintenanceExecutionsSortByEnum(val string) (ListMaintenanceExecutionsSortByEnum, bool)
type ListMaintenanceExecutionsSortOrderEnum
    func GetListMaintenanceExecutionsSortOrderEnumValues() []ListMaintenanceExecutionsSortOrderEnum
    func GetMappingListMaintenanceExecutionsSortOrderEnum(val string) (ListMaintenanceExecutionsSortOrderEnum, bool)
type ListMaintenanceExecutionsTargetResourceTypeEnum
    func GetListMaintenanceExecutionsTargetResourceTypeEnumValues() []ListMaintenanceExecutionsTargetResourceTypeEnum
    func GetMappingListMaintenanceExecutionsTargetResourceTypeEnum(val string) (ListMaintenanceExecutionsTargetResourceTypeEnum, bool)
type ListMaintenanceExecutionsTypeEnum
    func GetListMaintenanceExecutionsTypeEnumValues() []ListMaintenanceExecutionsTypeEnum
    func GetMappingListMaintenanceExecutionsTypeEnum(val string) (ListMaintenanceExecutionsTypeEnum, bool)
type ListMaintenanceRunsLifecycleStateEnum
    func GetListMaintenanceRunsLifecycleStateEnumValues() []ListMaintenanceRunsLifecycleStateEnum
    func GetMappingListMaintenanceRunsLifecycleStateEnum(val string) (ListMaintenanceRunsLifecycleStateEnum, bool)
type ListMaintenanceRunsMaintenanceSubtypeEnum
    func GetListMaintenanceRunsMaintenanceSubtypeEnumValues() []ListMaintenanceRunsMaintenanceSubtypeEnum
    func GetMappingListMaintenanceRunsMaintenanceSubtypeEnum(val string) (ListMaintenanceRunsMaintenanceSubtypeEnum, bool)
type ListMaintenanceRunsMaintenanceTypeEnum
    func GetListMaintenanceRunsMaintenanceTypeEnumValues() []ListMaintenanceRunsMaintenanceTypeEnum
    func GetMappingListMaintenanceRunsMaintenanceTypeEnum(val string) (ListMaintenanceRunsMaintenanceTypeEnum, bool)
type ListMaintenanceRunsRequest
    func (request ListMaintenanceRunsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListMaintenanceRunsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListMaintenanceRunsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListMaintenanceRunsRequest) String() string
    func (request ListMaintenanceRunsRequest) ValidateEnumValue() (bool, error)
type ListMaintenanceRunsResponse
    func (response ListMaintenanceRunsResponse) HTTPResponse() *http.Response
    func (response ListMaintenanceRunsResponse) String() string
type ListMaintenanceRunsSortByEnum
    func GetListMaintenanceRunsSortByEnumValues() []ListMaintenanceRunsSortByEnum
    func GetMappingListMaintenanceRunsSortByEnum(val string) (ListMaintenanceRunsSortByEnum, bool)
type ListMaintenanceRunsSortOrderEnum
    func GetListMaintenanceRunsSortOrderEnumValues() []ListMaintenanceRunsSortOrderEnum
    func GetMappingListMaintenanceRunsSortOrderEnum(val string) (ListMaintenanceRunsSortOrderEnum, bool)
type ListMaintenanceRunsTargetResourceTypeEnum
    func GetListMaintenanceRunsTargetResourceTypeEnumValues() []ListMaintenanceRunsTargetResourceTypeEnum
    func GetMappingListMaintenanceRunsTargetResourceTypeEnum(val string) (ListMaintenanceRunsTargetResourceTypeEnum, bool)
type ListVmClusterNetworksRequest
    func (request ListVmClusterNetworksRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListVmClusterNetworksRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListVmClusterNetworksRequest) RetryPolicy() *common.RetryPolicy
    func (request ListVmClusterNetworksRequest) String() string
    func (request ListVmClusterNetworksRequest) ValidateEnumValue() (bool, error)
type ListVmClusterNetworksResponse
    func (response ListVmClusterNetworksResponse) HTTPResponse() *http.Response
    func (response ListVmClusterNetworksResponse) String() string
type ListVmClusterNetworksSortByEnum
    func GetListVmClusterNetworksSortByEnumValues() []ListVmClusterNetworksSortByEnum
    func GetMappingListVmClusterNetworksSortByEnum(val string) (ListVmClusterNetworksSortByEnum, bool)
type ListVmClusterNetworksSortOrderEnum
    func GetListVmClusterNetworksSortOrderEnumValues() []ListVmClusterNetworksSortOrderEnum
    func GetMappingListVmClusterNetworksSortOrderEnum(val string) (ListVmClusterNetworksSortOrderEnum, bool)
type ListVmClusterNetworksVmNetworkConsumerTypeEnum
    func GetListVmClusterNetworksVmNetworkConsumerTypeEnumValues() []ListVmClusterNetworksVmNetworkConsumerTypeEnum
    func GetMappingListVmClusterNetworksVmNetworkConsumerTypeEnum(val string) (ListVmClusterNetworksVmNetworkConsumerTypeEnum, bool)
type ListVmInstancesRequest
    func (request ListVmInstancesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListVmInstancesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListVmInstancesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListVmInstancesRequest) String() string
    func (request ListVmInstancesRequest) ValidateEnumValue() (bool, error)
type ListVmInstancesResponse
    func (response ListVmInstancesResponse) HTTPResponse() *http.Response
    func (response ListVmInstancesResponse) String() string
type ListVmInstancesSortByEnum
    func GetListVmInstancesSortByEnumValues() []ListVmInstancesSortByEnum
    func GetMappingListVmInstancesSortByEnum(val string) (ListVmInstancesSortByEnum, bool)
type ListVmInstancesSortOrderEnum
    func GetListVmInstancesSortOrderEnumValues() []ListVmInstancesSortOrderEnum
    func GetMappingListVmInstancesSortOrderEnum(val string) (ListVmInstancesSortOrderEnum, 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 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 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 MaintenanceExecution
    func (m MaintenanceExecution) String() string
    func (m MaintenanceExecution) ValidateEnumValue() (bool, error)
type MaintenanceExecutionCollection
    func (m MaintenanceExecutionCollection) String() string
    func (m MaintenanceExecutionCollection) ValidateEnumValue() (bool, error)
type MaintenanceExecutionSummary
    func (m MaintenanceExecutionSummary) String() string
    func (m MaintenanceExecutionSummary) ValidateEnumValue() (bool, error)
type MaintenancePreferenceEnum
    func GetMaintenancePreferenceEnumValues() []MaintenancePreferenceEnum
    func GetMappingMaintenancePreferenceEnum(val string) (MaintenancePreferenceEnum, bool)
type MaintenanceRun
    func (m MaintenanceRun) String() string
    func (m MaintenanceRun) ValidateEnumValue() (bool, error)
type MaintenanceRunCollection
    func (m MaintenanceRunCollection) String() string
    func (m MaintenanceRunCollection) ValidateEnumValue() (bool, error)
type MaintenanceRunLifecycleStateEnum
    func GetMaintenanceRunLifecycleStateEnumValues() []MaintenanceRunLifecycleStateEnum
    func GetMappingMaintenanceRunLifecycleStateEnum(val string) (MaintenanceRunLifecycleStateEnum, bool)
type MaintenanceRunSummary
    func (m MaintenanceRunSummary) String() string
    func (m MaintenanceRunSummary) ValidateEnumValue() (bool, error)
type MaintenanceSubtypeEnumEnum
    func GetMaintenanceSubtypeEnumEnumValues() []MaintenanceSubtypeEnumEnum
    func GetMappingMaintenanceSubtypeEnumEnum(val string) (MaintenanceSubtypeEnumEnum, bool)
type MaintenanceTypeEnumEnum
    func GetMaintenanceTypeEnumEnumValues() []MaintenanceTypeEnumEnum
    func GetMappingMaintenanceTypeEnumEnum(val string) (MaintenanceTypeEnumEnum, bool)
type MaintenanceWindow
    func (m MaintenanceWindow) String() string
    func (m MaintenanceWindow) ValidateEnumValue() (bool, error)
type MaintenanceWindowDaysOfWeekEnum
    func GetMaintenanceWindowDaysOfWeekEnumValues() []MaintenanceWindowDaysOfWeekEnum
    func GetMappingMaintenanceWindowDaysOfWeekEnum(val string) (MaintenanceWindowDaysOfWeekEnum, bool)
type MaintenanceWindowMonthsEnum
    func GetMaintenanceWindowMonthsEnumValues() []MaintenanceWindowMonthsEnum
    func GetMappingMaintenanceWindowMonthsEnum(val string) (MaintenanceWindowMonthsEnum, bool)
type MigrateVmInstanceRequest
    func (request MigrateVmInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request MigrateVmInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request MigrateVmInstanceRequest) RetryPolicy() *common.RetryPolicy
    func (request MigrateVmInstanceRequest) String() string
    func (request MigrateVmInstanceRequest) ValidateEnumValue() (bool, error)
type MigrateVmInstanceResponse
    func (response MigrateVmInstanceResponse) HTTPResponse() *http.Response
    func (response MigrateVmInstanceResponse) String() string
type NetworkBondingInterfaceEnumEnum
    func GetMappingNetworkBondingInterfaceEnumEnum(val string) (NetworkBondingInterfaceEnumEnum, bool)
    func GetNetworkBondingInterfaceEnumEnumValues() []NetworkBondingInterfaceEnumEnum
type NetworkBondingModeEnum
    func GetMappingNetworkBondingModeEnum(val string) (NetworkBondingModeEnum, bool)
    func GetNetworkBondingModeEnumValues() []NetworkBondingModeEnum
type NodeDetails
    func (m NodeDetails) String() string
    func (m NodeDetails) 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 PatchingModeEnumEnum
    func GetMappingPatchingModeEnumEnum(val string) (PatchingModeEnumEnum, bool)
    func GetPatchingModeEnumEnumValues() []PatchingModeEnumEnum
type PatchingStatusEnumEnum
    func GetMappingPatchingStatusEnumEnum(val string) (PatchingStatusEnumEnum, bool)
    func GetPatchingStatusEnumEnumValues() []PatchingStatusEnumEnum
type RescheduleMaintenanceRunDetails
    func (m RescheduleMaintenanceRunDetails) String() string
    func (m RescheduleMaintenanceRunDetails) ValidateEnumValue() (bool, error)
type RescheduleMaintenanceRunRequest
    func (request RescheduleMaintenanceRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RescheduleMaintenanceRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RescheduleMaintenanceRunRequest) RetryPolicy() *common.RetryPolicy
    func (request RescheduleMaintenanceRunRequest) String() string
    func (request RescheduleMaintenanceRunRequest) ValidateEnumValue() (bool, error)
type RescheduleMaintenanceRunResponse
    func (response RescheduleMaintenanceRunResponse) HTTPResponse() *http.Response
    func (response RescheduleMaintenanceRunResponse) String() string
type RestartVmInstanceRequest
    func (request RestartVmInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RestartVmInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RestartVmInstanceRequest) RetryPolicy() *common.RetryPolicy
    func (request RestartVmInstanceRequest) String() string
    func (request RestartVmInstanceRequest) ValidateEnumValue() (bool, error)
type RestartVmInstanceResponse
    func (response RestartVmInstanceResponse) HTTPResponse() *http.Response
    func (response RestartVmInstanceResponse) String() string
type ScaleInfrastructureStorageDetails
    func (m ScaleInfrastructureStorageDetails) String() string
    func (m ScaleInfrastructureStorageDetails) ValidateEnumValue() (bool, error)
type ScaleInfrastructureStorageRequest
    func (request ScaleInfrastructureStorageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ScaleInfrastructureStorageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ScaleInfrastructureStorageRequest) RetryPolicy() *common.RetryPolicy
    func (request ScaleInfrastructureStorageRequest) String() string
    func (request ScaleInfrastructureStorageRequest) ValidateEnumValue() (bool, error)
type ScaleInfrastructureStorageResponse
    func (response ScaleInfrastructureStorageResponse) HTTPResponse() *http.Response
    func (response ScaleInfrastructureStorageResponse) String() string
type ScaleVmInstanceDetails
    func (m ScaleVmInstanceDetails) String() string
    func (m ScaleVmInstanceDetails) ValidateEnumValue() (bool, error)
type ScaleVmInstanceRequest
    func (request ScaleVmInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ScaleVmInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ScaleVmInstanceRequest) RetryPolicy() *common.RetryPolicy
    func (request ScaleVmInstanceRequest) String() string
    func (request ScaleVmInstanceRequest) ValidateEnumValue() (bool, error)
type ScaleVmInstanceResponse
    func (response ScaleVmInstanceResponse) HTTPResponse() *http.Response
    func (response ScaleVmInstanceResponse) String() string
type ScanDetails
    func (m ScanDetails) String() string
    func (m ScanDetails) ValidateEnumValue() (bool, error)
type ShapeEnumEnum
    func GetMappingShapeEnumEnum(val string) (ShapeEnumEnum, bool)
    func GetShapeEnumEnumValues() []ShapeEnumEnum
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type StartVmInstanceRequest
    func (request StartVmInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request StartVmInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request StartVmInstanceRequest) RetryPolicy() *common.RetryPolicy
    func (request StartVmInstanceRequest) String() string
    func (request StartVmInstanceRequest) ValidateEnumValue() (bool, error)
type StartVmInstanceResponse
    func (response StartVmInstanceResponse) HTTPResponse() *http.Response
    func (response StartVmInstanceResponse) String() string
type StopVmInstanceRequest
    func (request StopVmInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request StopVmInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request StopVmInstanceRequest) RetryPolicy() *common.RetryPolicy
    func (request StopVmInstanceRequest) String() string
    func (request StopVmInstanceRequest) ValidateEnumValue() (bool, error)
type StopVmInstanceResponse
    func (response StopVmInstanceResponse) HTTPResponse() *http.Response
    func (response StopVmInstanceResponse) String() string
type StorageCapacityDetails
    func (m StorageCapacityDetails) String() string
    func (m StorageCapacityDetails) ValidateEnumValue() (bool, error)
type StorageDiskRedundancyEnum
    func GetMappingStorageDiskRedundancyEnum(val string) (StorageDiskRedundancyEnum, bool)
    func GetStorageDiskRedundancyEnumValues() []StorageDiskRedundancyEnum
type StorageTypeEnum
    func GetMappingStorageTypeEnum(val string) (StorageTypeEnum, bool)
    func GetStorageTypeEnumValues() []StorageTypeEnum
type SystemModelEnumEnum
    func GetMappingSystemModelEnumEnum(val string) (SystemModelEnumEnum, bool)
    func GetSystemModelEnumEnumValues() []SystemModelEnumEnum
type SystemStorageCapacityDetails
    func (m SystemStorageCapacityDetails) String() string
    func (m SystemStorageCapacityDetails) ValidateEnumValue() (bool, error)
type TargetResourceTypeEnumEnum
    func GetMappingTargetResourceTypeEnumEnum(val string) (TargetResourceTypeEnumEnum, bool)
    func GetTargetResourceTypeEnumEnumValues() []TargetResourceTypeEnumEnum
type TypeEnumEnum
    func GetMappingTypeEnumEnum(val string) (TypeEnumEnum, bool)
    func GetTypeEnumEnumValues() []TypeEnumEnum
type UpdateInfrastructureDetails
    func (m UpdateInfrastructureDetails) String() string
    func (m UpdateInfrastructureDetails) ValidateEnumValue() (bool, error)
type UpdateInfrastructureRequest
    func (request UpdateInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateInfrastructureRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateInfrastructureRequest) String() string
    func (request UpdateInfrastructureRequest) ValidateEnumValue() (bool, error)
type UpdateInfrastructureResponse
    func (response UpdateInfrastructureResponse) HTTPResponse() *http.Response
    func (response UpdateInfrastructureResponse) String() string
type UpdateMaintenanceRunDetails
    func (m UpdateMaintenanceRunDetails) String() string
    func (m UpdateMaintenanceRunDetails) ValidateEnumValue() (bool, error)
type UpdateMaintenanceRunRequest
    func (request UpdateMaintenanceRunRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateMaintenanceRunRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateMaintenanceRunRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateMaintenanceRunRequest) String() string
    func (request UpdateMaintenanceRunRequest) ValidateEnumValue() (bool, error)
type UpdateMaintenanceRunResponse
    func (response UpdateMaintenanceRunResponse) HTTPResponse() *http.Response
    func (response UpdateMaintenanceRunResponse) String() string
type UpdateVmClusterNetworkDetails
    func (m UpdateVmClusterNetworkDetails) String() string
    func (m UpdateVmClusterNetworkDetails) ValidateEnumValue() (bool, error)
type UpdateVmClusterNetworkRequest
    func (request UpdateVmClusterNetworkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateVmClusterNetworkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateVmClusterNetworkRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateVmClusterNetworkRequest) String() string
    func (request UpdateVmClusterNetworkRequest) ValidateEnumValue() (bool, error)
type UpdateVmClusterNetworkResponse
    func (response UpdateVmClusterNetworkResponse) HTTPResponse() *http.Response
    func (response UpdateVmClusterNetworkResponse) String() string
type UpdateVmInstanceDetails
    func (m UpdateVmInstanceDetails) String() string
    func (m UpdateVmInstanceDetails) ValidateEnumValue() (bool, error)
type UpdateVmInstanceRequest
    func (request UpdateVmInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateVmInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateVmInstanceRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateVmInstanceRequest) String() string
    func (request UpdateVmInstanceRequest) ValidateEnumValue() (bool, error)
type UpdateVmInstanceResponse
    func (response UpdateVmInstanceResponse) HTTPResponse() *http.Response
    func (response UpdateVmInstanceResponse) String() string
type ValidateInfrastructureDetails
    func (m ValidateInfrastructureDetails) String() string
    func (m ValidateInfrastructureDetails) ValidateEnumValue() (bool, error)
type ValidateInfrastructureRequest
    func (request ValidateInfrastructureRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ValidateInfrastructureRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ValidateInfrastructureRequest) RetryPolicy() *common.RetryPolicy
    func (request ValidateInfrastructureRequest) String() string
    func (request ValidateInfrastructureRequest) ValidateEnumValue() (bool, error)
type ValidateInfrastructureResponse
    func (response ValidateInfrastructureResponse) HTTPResponse() *http.Response
    func (response ValidateInfrastructureResponse) String() string
type ValidateVmClusterNetworkRequest
    func (request ValidateVmClusterNetworkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ValidateVmClusterNetworkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ValidateVmClusterNetworkRequest) RetryPolicy() *common.RetryPolicy
    func (request ValidateVmClusterNetworkRequest) String() string
    func (request ValidateVmClusterNetworkRequest) ValidateEnumValue() (bool, error)
type ValidateVmClusterNetworkResponse
    func (response ValidateVmClusterNetworkResponse) HTTPResponse() *http.Response
    func (response ValidateVmClusterNetworkResponse) String() string
type VmClusterNetwork
    func (m VmClusterNetwork) String() string
    func (m VmClusterNetwork) ValidateEnumValue() (bool, error)
type VmClusterNetworkCollection
    func (m VmClusterNetworkCollection) String() string
    func (m VmClusterNetworkCollection) ValidateEnumValue() (bool, error)
type VmClusterNetworkLifecycleStateEnum
    func GetMappingVmClusterNetworkLifecycleStateEnum(val string) (VmClusterNetworkLifecycleStateEnum, bool)
    func GetVmClusterNetworkLifecycleStateEnumValues() []VmClusterNetworkLifecycleStateEnum
type VmClusterNetworkSummary
    func (m VmClusterNetworkSummary) String() string
    func (m VmClusterNetworkSummary) ValidateEnumValue() (bool, error)
type VmClusterNetworkTypeEnum
    func GetMappingVmClusterNetworkTypeEnum(val string) (VmClusterNetworkTypeEnum, bool)
    func GetVmClusterNetworkTypeEnumValues() []VmClusterNetworkTypeEnum
type VmInstance
    func (m VmInstance) String() string
    func (m VmInstance) ValidateEnumValue() (bool, error)
type VmInstanceCollection
    func (m VmInstanceCollection) String() string
    func (m VmInstanceCollection) ValidateEnumValue() (bool, error)
type VmInstanceLifecycleStateEnum
    func GetMappingVmInstanceLifecycleStateEnum(val string) (VmInstanceLifecycleStateEnum, bool)
    func GetVmInstanceLifecycleStateEnumValues() []VmInstanceLifecycleStateEnum
type VmInstanceSummary
    func (m VmInstanceSummary) String() string
    func (m VmInstanceSummary) ValidateEnumValue() (bool, error)
type VmNetworkConsumerTypeEnum
    func GetMappingVmNetworkConsumerTypeEnum(val string) (VmNetworkConsumerTypeEnum, bool)
    func GetVmNetworkConsumerTypeEnumValues() []VmNetworkConsumerTypeEnum
type VmNetworkDetails
    func (m VmNetworkDetails) String() string
    func (m VmNetworkDetails) ValidateEnumValue() (bool, error)
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestCollection
    func (m WorkRequestCollection) String() string
    func (m WorkRequestCollection) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestErrorCollection
    func (m WorkRequestErrorCollection) String() string
    func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestLogEntryCollection
    func (m WorkRequestLogEntryCollection) String() string
    func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)

Package files

acfs_capacity_details.go action_type.go activate_infrastructure_details.go activate_infrastructure_request_response.go base_patching_mode.go change_infrastructure_compartment_details.go change_infrastructure_compartment_request_response.go change_vm_cluster_network_compartment_details.go change_vm_cluster_network_compartment_request_response.go change_vm_instance_compartment_details.go change_vm_instance_compartment_request_response.go compute_capacity_details.go create_infrastructure_details.go create_infrastructure_request_response.go create_vm_cluster_network_details.go create_vm_cluster_network_request_response.go create_vm_instance_details.go create_vm_instance_request_response.go datacc_baseinfra_client.go delete_infrastructure_request_response.go delete_vm_cluster_network_request_response.go delete_vm_instance_request_response.go disk_group_capacity_details.go download_infrastructure_config_file_request_response.go download_infrastructure_validation_script_request_response.go generate_recommended_vm_cluster_network_details.go generate_recommended_vm_cluster_network_request_response.go get_infrastructure_request_response.go get_infrastructure_scale_option_request_response.go get_maintenance_execution_request_response.go get_maintenance_run_request_response.go get_vm_cluster_network_request_response.go get_vm_instance_request_response.go get_work_request_request_response.go info_vm_network_details.go infrastructure.go infrastructure_collection.go infrastructure_contact.go infrastructure_lifecycle_state.go infrastructure_scale_option.go infrastructure_server.go infrastructure_server_lifecycle_state.go infrastructure_summary.go infrastructure_type.go list_infrastructures_request_response.go list_maintenance_executions_request_response.go list_maintenance_runs_request_response.go list_vm_cluster_networks_request_response.go list_vm_instances_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go maintenance_execution.go maintenance_execution_collection.go maintenance_execution_summary.go maintenance_preference.go maintenance_run.go maintenance_run_collection.go maintenance_run_lifecycle_state.go maintenance_run_summary.go maintenance_subtype_enum.go maintenance_type_enum.go maintenance_window.go migrate_vm_instance_request_response.go network_bonding_interface_enum.go network_bonding_mode.go node_details.go operation_status.go operation_type.go patching_mode_enum.go patching_status_enum.go reschedule_maintenance_run_details.go reschedule_maintenance_run_request_response.go restart_vm_instance_request_response.go scale_infrastructure_storage_details.go scale_infrastructure_storage_request_response.go scale_vm_instance_details.go scale_vm_instance_request_response.go scan_details.go shape_enum.go sort_order.go start_vm_instance_request_response.go stop_vm_instance_request_response.go storage_capacity_details.go storage_disk_redundancy.go storage_type.go system_model_enum.go system_storage_capacity_details.go target_resource_type_enum.go type_enum.go update_infrastructure_details.go update_infrastructure_request_response.go update_maintenance_run_details.go update_maintenance_run_request_response.go update_vm_cluster_network_details.go update_vm_cluster_network_request_response.go update_vm_instance_details.go update_vm_instance_request_response.go validate_infrastructure_details.go validate_infrastructure_request_response.go validate_vm_cluster_network_request_response.go vm_cluster_network.go vm_cluster_network_collection.go vm_cluster_network_lifecycle_state.go vm_cluster_network_summary.go vm_cluster_network_type.go vm_instance.go vm_instance_collection.go vm_instance_lifecycle_state.go vm_instance_summary.go vm_network_consumer_type.go vm_network_details.go work_request.go work_request_collection.go work_request_error.go work_request_error_collection.go work_request_log_entry.go work_request_log_entry_collection.go work_request_resource.go

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetBasePatchingModeEnumStringValues

func GetBasePatchingModeEnumStringValues() []string

GetBasePatchingModeEnumStringValues Enumerates the set of values in String for BasePatchingModeEnum

func GetInfrastructureLifecycleStateEnumStringValues

func GetInfrastructureLifecycleStateEnumStringValues() []string

GetInfrastructureLifecycleStateEnumStringValues Enumerates the set of values in String for InfrastructureLifecycleStateEnum

func GetInfrastructureServerLifecycleStateEnumStringValues

func GetInfrastructureServerLifecycleStateEnumStringValues() []string

GetInfrastructureServerLifecycleStateEnumStringValues Enumerates the set of values in String for InfrastructureServerLifecycleStateEnum

func GetInfrastructureTypeEnumStringValues

func GetInfrastructureTypeEnumStringValues() []string

GetInfrastructureTypeEnumStringValues Enumerates the set of values in String for InfrastructureTypeEnum

func GetListInfrastructuresSortByEnumStringValues

func GetListInfrastructuresSortByEnumStringValues() []string

GetListInfrastructuresSortByEnumStringValues Enumerates the set of values in String for ListInfrastructuresSortByEnum

func GetListInfrastructuresSortOrderEnumStringValues

func GetListInfrastructuresSortOrderEnumStringValues() []string

GetListInfrastructuresSortOrderEnumStringValues Enumerates the set of values in String for ListInfrastructuresSortOrderEnum

func GetListMaintenanceExecutionsLifecycleStateEnumStringValues

func GetListMaintenanceExecutionsLifecycleStateEnumStringValues() []string

GetListMaintenanceExecutionsLifecycleStateEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsLifecycleStateEnum

func GetListMaintenanceExecutionsMaintenanceSubtypeEnumStringValues

func GetListMaintenanceExecutionsMaintenanceSubtypeEnumStringValues() []string

GetListMaintenanceExecutionsMaintenanceSubtypeEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsMaintenanceSubtypeEnum

func GetListMaintenanceExecutionsMaintenanceTypeEnumStringValues

func GetListMaintenanceExecutionsMaintenanceTypeEnumStringValues() []string

GetListMaintenanceExecutionsMaintenanceTypeEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsMaintenanceTypeEnum

func GetListMaintenanceExecutionsSortByEnumStringValues

func GetListMaintenanceExecutionsSortByEnumStringValues() []string

GetListMaintenanceExecutionsSortByEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsSortByEnum

func GetListMaintenanceExecutionsSortOrderEnumStringValues

func GetListMaintenanceExecutionsSortOrderEnumStringValues() []string

GetListMaintenanceExecutionsSortOrderEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsSortOrderEnum

func GetListMaintenanceExecutionsTargetResourceTypeEnumStringValues

func GetListMaintenanceExecutionsTargetResourceTypeEnumStringValues() []string

GetListMaintenanceExecutionsTargetResourceTypeEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsTargetResourceTypeEnum

func GetListMaintenanceExecutionsTypeEnumStringValues

func GetListMaintenanceExecutionsTypeEnumStringValues() []string

GetListMaintenanceExecutionsTypeEnumStringValues Enumerates the set of values in String for ListMaintenanceExecutionsTypeEnum

func GetListMaintenanceRunsLifecycleStateEnumStringValues

func GetListMaintenanceRunsLifecycleStateEnumStringValues() []string

GetListMaintenanceRunsLifecycleStateEnumStringValues Enumerates the set of values in String for ListMaintenanceRunsLifecycleStateEnum

func GetListMaintenanceRunsMaintenanceSubtypeEnumStringValues

func GetListMaintenanceRunsMaintenanceSubtypeEnumStringValues() []string

GetListMaintenanceRunsMaintenanceSubtypeEnumStringValues Enumerates the set of values in String for ListMaintenanceRunsMaintenanceSubtypeEnum

func GetListMaintenanceRunsMaintenanceTypeEnumStringValues

func GetListMaintenanceRunsMaintenanceTypeEnumStringValues() []string

GetListMaintenanceRunsMaintenanceTypeEnumStringValues Enumerates the set of values in String for ListMaintenanceRunsMaintenanceTypeEnum

func GetListMaintenanceRunsSortByEnumStringValues

func GetListMaintenanceRunsSortByEnumStringValues() []string

GetListMaintenanceRunsSortByEnumStringValues Enumerates the set of values in String for ListMaintenanceRunsSortByEnum

func GetListMaintenanceRunsSortOrderEnumStringValues

func GetListMaintenanceRunsSortOrderEnumStringValues() []string

GetListMaintenanceRunsSortOrderEnumStringValues Enumerates the set of values in String for ListMaintenanceRunsSortOrderEnum

func GetListMaintenanceRunsTargetResourceTypeEnumStringValues

func GetListMaintenanceRunsTargetResourceTypeEnumStringValues() []string

GetListMaintenanceRunsTargetResourceTypeEnumStringValues Enumerates the set of values in String for ListMaintenanceRunsTargetResourceTypeEnum

func GetListVmClusterNetworksSortByEnumStringValues

func GetListVmClusterNetworksSortByEnumStringValues() []string

GetListVmClusterNetworksSortByEnumStringValues Enumerates the set of values in String for ListVmClusterNetworksSortByEnum

func GetListVmClusterNetworksSortOrderEnumStringValues

func GetListVmClusterNetworksSortOrderEnumStringValues() []string

GetListVmClusterNetworksSortOrderEnumStringValues Enumerates the set of values in String for ListVmClusterNetworksSortOrderEnum

func GetListVmClusterNetworksVmNetworkConsumerTypeEnumStringValues

func GetListVmClusterNetworksVmNetworkConsumerTypeEnumStringValues() []string

GetListVmClusterNetworksVmNetworkConsumerTypeEnumStringValues Enumerates the set of values in String for ListVmClusterNetworksVmNetworkConsumerTypeEnum

func GetListVmInstancesSortByEnumStringValues

func GetListVmInstancesSortByEnumStringValues() []string

GetListVmInstancesSortByEnumStringValues Enumerates the set of values in String for ListVmInstancesSortByEnum

func GetListVmInstancesSortOrderEnumStringValues

func GetListVmInstancesSortOrderEnumStringValues() []string

GetListVmInstancesSortOrderEnumStringValues Enumerates the set of values in String for ListVmInstancesSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetMaintenancePreferenceEnumStringValues

func GetMaintenancePreferenceEnumStringValues() []string

GetMaintenancePreferenceEnumStringValues Enumerates the set of values in String for MaintenancePreferenceEnum

func GetMaintenanceRunLifecycleStateEnumStringValues

func GetMaintenanceRunLifecycleStateEnumStringValues() []string

GetMaintenanceRunLifecycleStateEnumStringValues Enumerates the set of values in String for MaintenanceRunLifecycleStateEnum

func GetMaintenanceSubtypeEnumEnumStringValues

func GetMaintenanceSubtypeEnumEnumStringValues() []string

GetMaintenanceSubtypeEnumEnumStringValues Enumerates the set of values in String for MaintenanceSubtypeEnumEnum

func GetMaintenanceTypeEnumEnumStringValues

func GetMaintenanceTypeEnumEnumStringValues() []string

GetMaintenanceTypeEnumEnumStringValues Enumerates the set of values in String for MaintenanceTypeEnumEnum

func GetMaintenanceWindowDaysOfWeekEnumStringValues

func GetMaintenanceWindowDaysOfWeekEnumStringValues() []string

GetMaintenanceWindowDaysOfWeekEnumStringValues Enumerates the set of values in String for MaintenanceWindowDaysOfWeekEnum

func GetMaintenanceWindowMonthsEnumStringValues

func GetMaintenanceWindowMonthsEnumStringValues() []string

GetMaintenanceWindowMonthsEnumStringValues Enumerates the set of values in String for MaintenanceWindowMonthsEnum

func GetNetworkBondingInterfaceEnumEnumStringValues

func GetNetworkBondingInterfaceEnumEnumStringValues() []string

GetNetworkBondingInterfaceEnumEnumStringValues Enumerates the set of values in String for NetworkBondingInterfaceEnumEnum

func GetNetworkBondingModeEnumStringValues

func GetNetworkBondingModeEnumStringValues() []string

GetNetworkBondingModeEnumStringValues Enumerates the set of values in String for NetworkBondingModeEnum

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 GetPatchingModeEnumEnumStringValues

func GetPatchingModeEnumEnumStringValues() []string

GetPatchingModeEnumEnumStringValues Enumerates the set of values in String for PatchingModeEnumEnum

func GetPatchingStatusEnumEnumStringValues

func GetPatchingStatusEnumEnumStringValues() []string

GetPatchingStatusEnumEnumStringValues Enumerates the set of values in String for PatchingStatusEnumEnum

func GetShapeEnumEnumStringValues

func GetShapeEnumEnumStringValues() []string

GetShapeEnumEnumStringValues Enumerates the set of values in String for ShapeEnumEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetStorageDiskRedundancyEnumStringValues

func GetStorageDiskRedundancyEnumStringValues() []string

GetStorageDiskRedundancyEnumStringValues Enumerates the set of values in String for StorageDiskRedundancyEnum

func GetStorageTypeEnumStringValues

func GetStorageTypeEnumStringValues() []string

GetStorageTypeEnumStringValues Enumerates the set of values in String for StorageTypeEnum

func GetSystemModelEnumEnumStringValues

func GetSystemModelEnumEnumStringValues() []string

GetSystemModelEnumEnumStringValues Enumerates the set of values in String for SystemModelEnumEnum

func GetTargetResourceTypeEnumEnumStringValues

func GetTargetResourceTypeEnumEnumStringValues() []string

GetTargetResourceTypeEnumEnumStringValues Enumerates the set of values in String for TargetResourceTypeEnumEnum

func GetTypeEnumEnumStringValues

func GetTypeEnumEnumStringValues() []string

GetTypeEnumEnumStringValues Enumerates the set of values in String for TypeEnumEnum

func GetVmClusterNetworkLifecycleStateEnumStringValues

func GetVmClusterNetworkLifecycleStateEnumStringValues() []string

GetVmClusterNetworkLifecycleStateEnumStringValues Enumerates the set of values in String for VmClusterNetworkLifecycleStateEnum

func GetVmClusterNetworkTypeEnumStringValues

func GetVmClusterNetworkTypeEnumStringValues() []string

GetVmClusterNetworkTypeEnumStringValues Enumerates the set of values in String for VmClusterNetworkTypeEnum

func GetVmInstanceLifecycleStateEnumStringValues

func GetVmInstanceLifecycleStateEnumStringValues() []string

GetVmInstanceLifecycleStateEnumStringValues Enumerates the set of values in String for VmInstanceLifecycleStateEnum

func GetVmNetworkConsumerTypeEnumStringValues

func GetVmNetworkConsumerTypeEnumStringValues() []string

GetVmNetworkConsumerTypeEnumStringValues Enumerates the set of values in String for VmNetworkConsumerTypeEnum

type AcfsCapacityDetails

AcfsCapacityDetails The amount of storage (in GB) in the DATA disk group that is currently utilized for creating local storage for VM Clusters and application VMs.

type AcfsCapacityDetails struct {

    // The total amount of logical disk space available, in gigabytes (GB).
    TotalSpaceInGbs *float64 `mandatory:"false" json:"totalSpaceInGbs"`

    // The total amount of logical disk space that is currently available for use, in gigabytes (GB).
    FreeSpaceInGbs *float64 `mandatory:"false" json:"freeSpaceInGbs"`
}

func (AcfsCapacityDetails) String

func (m AcfsCapacityDetails) String() string

func (AcfsCapacityDetails) ValidateEnumValue

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

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

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"
    ActionTypeFailed         ActionTypeEnum = "FAILED"
    ActionTypeRelated        ActionTypeEnum = "RELATED"
    ActionTypeCanceledCreate ActionTypeEnum = "CANCELED_CREATE"
    ActionTypeCanceledUpdate ActionTypeEnum = "CANCELED_UPDATE"
    ActionTypeCanceledDelete ActionTypeEnum = "CANCELED_DELETE"
)

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 ActivateInfrastructureDetails

ActivateInfrastructureDetails The activation details for the Database Infrastructure.

type ActivateInfrastructureDetails struct {

    // The activation zip file.
    ActivationZipFile []byte `mandatory:"true" json:"activationZipFile"`
}

func (ActivateInfrastructureDetails) String

func (m ActivateInfrastructureDetails) String() string

func (ActivateInfrastructureDetails) ValidateEnumValue

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

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

type ActivateInfrastructureRequest

ActivateInfrastructureRequest wrapper for the ActivateInfrastructure operation

See also

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

type ActivateInfrastructureRequest struct {

    // The activation details for the Database Infrastructure.
    ActivateInfrastructureDetails `contributesTo:"body"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"true" contributesTo:"path" name:"infrastructureId"`

    // 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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // The client request identifier.
    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 (ActivateInfrastructureRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ActivateInfrastructureRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ActivateInfrastructureRequest) RetryPolicy

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

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

func (ActivateInfrastructureRequest) String

func (request ActivateInfrastructureRequest) String() string

func (ActivateInfrastructureRequest) ValidateEnumValue

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

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

type ActivateInfrastructureResponse

ActivateInfrastructureResponse wrapper for the ActivateInfrastructure operation

type ActivateInfrastructureResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

    // The full URI of the resource.
    Location *string `presentIn:"header" name:"location"`
}

func (ActivateInfrastructureResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ActivateInfrastructureResponse) String

func (response ActivateInfrastructureResponse) String() string

type BasePatchingModeEnum

BasePatchingModeEnum Enum with underlying type: string

type BasePatchingModeEnum string

Set of constants representing the allowable values for BasePatchingModeEnum

const (
    BasePatchingModeRolling    BasePatchingModeEnum = "ROLLING"
    BasePatchingModeNonrolling BasePatchingModeEnum = "NONROLLING"
)

func GetBasePatchingModeEnumValues

func GetBasePatchingModeEnumValues() []BasePatchingModeEnum

GetBasePatchingModeEnumValues Enumerates the set of values for BasePatchingModeEnum

func GetMappingBasePatchingModeEnum

func GetMappingBasePatchingModeEnum(val string) (BasePatchingModeEnum, bool)

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

type BaseinfraClient

BaseinfraClient a client for Baseinfra

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

func NewBaseinfraClientWithConfigurationProvider

func NewBaseinfraClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client BaseinfraClient, err error)

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

func NewBaseinfraClientWithOboToken

func NewBaseinfraClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client BaseinfraClient, err error)

NewBaseinfraClientWithOboToken Creates a new default Baseinfra 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 (BaseinfraClient) ActivateInfrastructure

func (client BaseinfraClient) ActivateInfrastructure(ctx context.Context, request ActivateInfrastructureRequest) (response ActivateInfrastructureResponse, err error)

ActivateInfrastructure Activate an Database Infrastructure using the specified details.

See also

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

func (BaseinfraClient) ChangeInfrastructureCompartment

func (client BaseinfraClient) ChangeInfrastructureCompartment(ctx context.Context, request ChangeInfrastructureCompartmentRequest) (response ChangeInfrastructureCompartmentResponse, err error)

ChangeInfrastructureCompartment Change the Database Infrastructure Cloud@Customer Compartment to the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (BaseinfraClient) ChangeVmClusterNetworkCompartment

func (client BaseinfraClient) ChangeVmClusterNetworkCompartment(ctx context.Context, request ChangeVmClusterNetworkCompartmentRequest) (response ChangeVmClusterNetworkCompartmentResponse, err error)

ChangeVmClusterNetworkCompartment Change the VM cluster network Compartment to the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (BaseinfraClient) ChangeVmInstanceCompartment

func (client BaseinfraClient) ChangeVmInstanceCompartment(ctx context.Context, request ChangeVmInstanceCompartmentRequest) (response ChangeVmInstanceCompartmentResponse, err error)

ChangeVmInstanceCompartment Change the VM instance on Database Infrastructure Compartment to the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (*BaseinfraClient) ConfigurationProvider

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

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

func (BaseinfraClient) CreateInfrastructure

func (client BaseinfraClient) CreateInfrastructure(ctx context.Context, request CreateInfrastructureRequest) (response CreateInfrastructureResponse, err error)

CreateInfrastructure Create a Database Infrastructure using the specified details.

See also

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

func (BaseinfraClient) CreateVmClusterNetwork

func (client BaseinfraClient) CreateVmClusterNetwork(ctx context.Context, request CreateVmClusterNetworkRequest) (response CreateVmClusterNetworkResponse, err error)

CreateVmClusterNetwork Create an VM cluster on Database Infrastructure network using the specified details.

See also

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

func (BaseinfraClient) CreateVmInstance

func (client BaseinfraClient) CreateVmInstance(ctx context.Context, request CreateVmInstanceRequest) (response CreateVmInstanceResponse, err error)

CreateVmInstance Create an VM instance on Database Infrastructure using the specified details.

See also

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

func (BaseinfraClient) DeleteInfrastructure

func (client BaseinfraClient) DeleteInfrastructure(ctx context.Context, request DeleteInfrastructureRequest) (response DeleteInfrastructureResponse, err error)

DeleteInfrastructure Delete the Database Infrastructure that has the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). It must be called once the resource usage is complete.

See also

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

func (BaseinfraClient) DeleteVmClusterNetwork

func (client BaseinfraClient) DeleteVmClusterNetwork(ctx context.Context, request DeleteVmClusterNetworkRequest) (response DeleteVmClusterNetworkResponse, err error)

DeleteVmClusterNetwork Delete the VM cluster network on Database Infrastructure that has the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). It must be called once the resource usage is complete.

See also

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

func (BaseinfraClient) DeleteVmInstance

func (client BaseinfraClient) DeleteVmInstance(ctx context.Context, request DeleteVmInstanceRequest) (response DeleteVmInstanceResponse, err error)

DeleteVmInstance Delete the VM instance on Database Infrastructure that has the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). It must be called once the resource usage is complete.

See also

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

func (BaseinfraClient) DownloadInfrastructureConfigFile

func (client BaseinfraClient) DownloadInfrastructureConfigFile(ctx context.Context, request DownloadInfrastructureConfigFileRequest) (response DownloadInfrastructureConfigFileResponse, err error)

DownloadInfrastructureConfigFile Downloads the configuration file for the specified Database Infrastructure Cloud@Customer.

See also

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

func (BaseinfraClient) DownloadInfrastructureValidationScript

func (client BaseinfraClient) DownloadInfrastructureValidationScript(ctx context.Context, request DownloadInfrastructureValidationScriptRequest) (response DownloadInfrastructureValidationScriptResponse, err error)

DownloadInfrastructureValidationScript Downloads the validation script for the specified Database Infrastructure Cloud@Customer.

See also

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

func (BaseinfraClient) GenerateRecommendedVmClusterNetwork

func (client BaseinfraClient) GenerateRecommendedVmClusterNetwork(ctx context.Context, request GenerateRecommendedVmClusterNetworkRequest) (response GenerateRecommendedVmClusterNetworkResponse, err error)

GenerateRecommendedVmClusterNetwork Generates an VM cluster network configuration using the specified details.

See also

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

func (BaseinfraClient) GetInfrastructure

func (client BaseinfraClient) GetInfrastructure(ctx context.Context, request GetInfrastructureRequest) (response GetInfrastructureResponse, err error)

GetInfrastructure Obtain the Database Infrastructure that has the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (BaseinfraClient) GetInfrastructureScaleOption

func (client BaseinfraClient) GetInfrastructureScaleOption(ctx context.Context, request GetInfrastructureScaleOptionRequest) (response GetInfrastructureScaleOptionResponse, err error)

GetInfrastructureScaleOption Get the available scale options for the infrastructure that has the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (BaseinfraClient) GetMaintenanceExecution

func (client BaseinfraClient) GetMaintenanceExecution(ctx context.Context, request GetMaintenanceExecutionRequest) (response GetMaintenanceExecutionResponse, err error)

GetMaintenanceExecution Gets information about the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (BaseinfraClient) GetMaintenanceRun

func (client BaseinfraClient) GetMaintenanceRun(ctx context.Context, request GetMaintenanceRunRequest) (response GetMaintenanceRunResponse, err error)

GetMaintenanceRun Gets information about the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (BaseinfraClient) GetVmClusterNetwork

func (client BaseinfraClient) GetVmClusterNetwork(ctx context.Context, request GetVmClusterNetworkRequest) (response GetVmClusterNetworkResponse, err error)

GetVmClusterNetwork Obtain the VM cluster network on Database Infrastructure that has the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (BaseinfraClient) GetVmInstance

func (client BaseinfraClient) GetVmInstance(ctx context.Context, request GetVmInstanceRequest) (response GetVmInstanceResponse, err error)

GetVmInstance Obtain the VM instance on Database Infrastructure that has the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (BaseinfraClient) GetWorkRequest

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

GetWorkRequest Get the status of the work request having the specified work request OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (BaseinfraClient) ListInfrastructures

func (client BaseinfraClient) ListInfrastructures(ctx context.Context, request ListInfrastructuresRequest) (response ListInfrastructuresResponse, err error)

ListInfrastructures Obtain a list of Database Infrastructures.

See also

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

func (BaseinfraClient) ListMaintenanceExecutions

func (client BaseinfraClient) ListMaintenanceExecutions(ctx context.Context, request ListMaintenanceExecutionsRequest) (response ListMaintenanceExecutionsResponse, err error)

ListMaintenanceExecutions Gets a list of the maintenance executions in the specified compartment.

See also

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

func (BaseinfraClient) ListMaintenanceRuns

func (client BaseinfraClient) ListMaintenanceRuns(ctx context.Context, request ListMaintenanceRunsRequest) (response ListMaintenanceRunsResponse, err error)

ListMaintenanceRuns Gets a list of the maintenance runs in the specified compartment.

See also

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

func (BaseinfraClient) ListVmClusterNetworks

func (client BaseinfraClient) ListVmClusterNetworks(ctx context.Context, request ListVmClusterNetworksRequest) (response ListVmClusterNetworksResponse, err error)

ListVmClusterNetworks Obtain a list of VM cluster networks on Database Infrastructure.

See also

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

func (BaseinfraClient) ListVmInstances

func (client BaseinfraClient) ListVmInstances(ctx context.Context, request ListVmInstancesRequest) (response ListVmInstancesResponse, err error)

ListVmInstances Obtain a list of VM instances.

See also

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

func (BaseinfraClient) ListWorkRequestErrors

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

ListWorkRequestErrors View the list of errors for the work request that have the specified work request OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (BaseinfraClient) ListWorkRequestLogs

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

ListWorkRequestLogs View the log entries for the work request that have the specified work request OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (BaseinfraClient) ListWorkRequests

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

ListWorkRequests View a list of work request details in the specified compartment.

See also

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

func (BaseinfraClient) MigrateVmInstance

func (client BaseinfraClient) MigrateVmInstance(ctx context.Context, request MigrateVmInstanceRequest) (response MigrateVmInstanceResponse, err error)

MigrateVmInstance Migrate the VM instance on Database Infrastructure that has the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (BaseinfraClient) RescheduleMaintenanceRun

func (client BaseinfraClient) RescheduleMaintenanceRun(ctx context.Context, request RescheduleMaintenanceRunRequest) (response RescheduleMaintenanceRunResponse, err error)

RescheduleMaintenanceRun Reschedules the specified maintenance run by providing a new `timeScheduled` value. Only maintenance runs in eligible states may be rescheduled.

See also

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

func (BaseinfraClient) RestartVmInstance

func (client BaseinfraClient) RestartVmInstance(ctx context.Context, request RestartVmInstanceRequest) (response RestartVmInstanceResponse, err error)

RestartVmInstance Restart the VM instance on Database Infrastructure that has the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (BaseinfraClient) ScaleInfrastructureStorage

func (client BaseinfraClient) ScaleInfrastructureStorage(ctx context.Context, request ScaleInfrastructureStorageRequest) (response ScaleInfrastructureStorageResponse, err error)

ScaleInfrastructureStorage Scale storage for the specified infrastructure using the specified details.

See also

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

func (BaseinfraClient) ScaleVmInstance

func (client BaseinfraClient) ScaleVmInstance(ctx context.Context, request ScaleVmInstanceRequest) (response ScaleVmInstanceResponse, err error)

ScaleVmInstance Scale the VM instance on Database Infrastructure that has the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (*BaseinfraClient) SetRegion

func (client *BaseinfraClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (BaseinfraClient) StartVmInstance

func (client BaseinfraClient) StartVmInstance(ctx context.Context, request StartVmInstanceRequest) (response StartVmInstanceResponse, err error)

StartVmInstance Start the VM instance on Database Infrastructure that has the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (BaseinfraClient) StopVmInstance

func (client BaseinfraClient) StopVmInstance(ctx context.Context, request StopVmInstanceRequest) (response StopVmInstanceResponse, err error)

StopVmInstance Stop the VM instance on Database Infrastructure that has the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (BaseinfraClient) UpdateInfrastructure

func (client BaseinfraClient) UpdateInfrastructure(ctx context.Context, request UpdateInfrastructureRequest) (response UpdateInfrastructureResponse, err error)

UpdateInfrastructure Update the Database Infrastructure that has the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (BaseinfraClient) UpdateMaintenanceRun

func (client BaseinfraClient) UpdateMaintenanceRun(ctx context.Context, request UpdateMaintenanceRunRequest) (response UpdateMaintenanceRunResponse, err error)

UpdateMaintenanceRun Update maintenance run attributes.

See also

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

func (BaseinfraClient) UpdateVmClusterNetwork

func (client BaseinfraClient) UpdateVmClusterNetwork(ctx context.Context, request UpdateVmClusterNetworkRequest) (response UpdateVmClusterNetworkResponse, err error)

UpdateVmClusterNetwork Update the VM cluster network on Database Infrastructure that has the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (BaseinfraClient) UpdateVmInstance

func (client BaseinfraClient) UpdateVmInstance(ctx context.Context, request UpdateVmInstanceRequest) (response UpdateVmInstanceResponse, err error)

UpdateVmInstance Update the VM instance on Database Infrastructure that has the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).

See also

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

func (BaseinfraClient) ValidateInfrastructure

func (client BaseinfraClient) ValidateInfrastructure(ctx context.Context, request ValidateInfrastructureRequest) (response ValidateInfrastructureResponse, err error)

ValidateInfrastructure Validate an Database Infrastructure using the specified details.

See also

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

func (BaseinfraClient) ValidateVmClusterNetwork

func (client BaseinfraClient) ValidateVmClusterNetwork(ctx context.Context, request ValidateVmClusterNetworkRequest) (response ValidateVmClusterNetworkResponse, err error)

ValidateVmClusterNetwork Validates an VM cluster network on Database Infrastructure.

See also

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

type ChangeInfrastructureCompartmentDetails

ChangeInfrastructureCompartmentDetails Updated compartment details.

type ChangeInfrastructureCompartmentDetails struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which the Database Infrastructure Cloud@Customer is moving.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeInfrastructureCompartmentDetails) String

func (m ChangeInfrastructureCompartmentDetails) String() string

func (ChangeInfrastructureCompartmentDetails) ValidateEnumValue

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

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

type ChangeInfrastructureCompartmentRequest

ChangeInfrastructureCompartmentRequest wrapper for the ChangeInfrastructureCompartment operation

See also

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

type ChangeInfrastructureCompartmentRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"true" contributesTo:"path" name:"infrastructureId"`

    // Updated Compartment details.
    ChangeInfrastructureCompartmentDetails `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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // The client request identifier.
    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 (ChangeInfrastructureCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeInfrastructureCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeInfrastructureCompartmentRequest) RetryPolicy

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

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

func (ChangeInfrastructureCompartmentRequest) String

func (request ChangeInfrastructureCompartmentRequest) String() string

func (ChangeInfrastructureCompartmentRequest) ValidateEnumValue

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

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

type ChangeInfrastructureCompartmentResponse

ChangeInfrastructureCompartmentResponse wrapper for the ChangeInfrastructureCompartment operation

type ChangeInfrastructureCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (ChangeInfrastructureCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeInfrastructureCompartmentResponse) String

func (response ChangeInfrastructureCompartmentResponse) String() string

type ChangeVmClusterNetworkCompartmentDetails

ChangeVmClusterNetworkCompartmentDetails Updated compartment details.

type ChangeVmClusterNetworkCompartmentDetails struct {

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

func (ChangeVmClusterNetworkCompartmentDetails) String

func (m ChangeVmClusterNetworkCompartmentDetails) String() string

func (ChangeVmClusterNetworkCompartmentDetails) ValidateEnumValue

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

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

type ChangeVmClusterNetworkCompartmentRequest

ChangeVmClusterNetworkCompartmentRequest wrapper for the ChangeVmClusterNetworkCompartment operation

See also

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

type ChangeVmClusterNetworkCompartmentRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network.
    VmClusterNetworkId *string `mandatory:"true" contributesTo:"path" name:"vmClusterNetworkId"`

    // Updated Compartment details.
    ChangeVmClusterNetworkCompartmentDetails `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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // The client request identifier.
    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 (ChangeVmClusterNetworkCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeVmClusterNetworkCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeVmClusterNetworkCompartmentRequest) RetryPolicy

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

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

func (ChangeVmClusterNetworkCompartmentRequest) String

func (request ChangeVmClusterNetworkCompartmentRequest) String() string

func (ChangeVmClusterNetworkCompartmentRequest) ValidateEnumValue

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

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

type ChangeVmClusterNetworkCompartmentResponse

ChangeVmClusterNetworkCompartmentResponse wrapper for the ChangeVmClusterNetworkCompartment operation

type ChangeVmClusterNetworkCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (ChangeVmClusterNetworkCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeVmClusterNetworkCompartmentResponse) String

func (response ChangeVmClusterNetworkCompartmentResponse) String() string

type ChangeVmInstanceCompartmentDetails

ChangeVmInstanceCompartmentDetails Updated compartment details.

type ChangeVmInstanceCompartmentDetails struct {

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

func (ChangeVmInstanceCompartmentDetails) String

func (m ChangeVmInstanceCompartmentDetails) String() string

func (ChangeVmInstanceCompartmentDetails) ValidateEnumValue

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

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

type ChangeVmInstanceCompartmentRequest

ChangeVmInstanceCompartmentRequest wrapper for the ChangeVmInstanceCompartment operation

See also

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

type ChangeVmInstanceCompartmentRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM instance.
    VmInstanceId *string `mandatory:"true" contributesTo:"path" name:"vmInstanceId"`

    // Updated Compartment details.
    ChangeVmInstanceCompartmentDetails `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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // The client request identifier.
    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 (ChangeVmInstanceCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeVmInstanceCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeVmInstanceCompartmentRequest) RetryPolicy

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

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

func (ChangeVmInstanceCompartmentRequest) String

func (request ChangeVmInstanceCompartmentRequest) String() string

func (ChangeVmInstanceCompartmentRequest) ValidateEnumValue

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

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

type ChangeVmInstanceCompartmentResponse

ChangeVmInstanceCompartmentResponse wrapper for the ChangeVmInstanceCompartment operation

type ChangeVmInstanceCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (ChangeVmInstanceCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeVmInstanceCompartmentResponse) String

func (response ChangeVmInstanceCompartmentResponse) String() string

type ComputeCapacityDetails

ComputeCapacityDetails Capacity details of the Database Infrastructure.

type ComputeCapacityDetails struct {

    // Total CPU cores count.
    TotalCores *int `mandatory:"false" json:"totalCores"`

    // Total CPU cores count allocated..
    AllocatedCores *int `mandatory:"false" json:"allocatedCores"`

    // Total Reserved CPU cores count.
    ReservedCores *int `mandatory:"false" json:"reservedCores"`

    // Total available CPU cores count.
    AvailableCores *int `mandatory:"false" json:"availableCores"`

    // Total memory allocated, in gigabytes (GB).
    TotalMemoryInGBs *int64 `mandatory:"false" json:"totalMemoryInGBs"`

    // Memory allocated to Oracle database virtual machine cluster or Instance, in gigabytes (GB).
    UsedMemoryInGBs *int64 `mandatory:"false" json:"usedMemoryInGBs"`

    // Reserved memory, in gigabytes (GB).
    ReservedMemoryInGBs *int64 `mandatory:"false" json:"reservedMemoryInGBs"`

    // Available memory, in gigabytes (GB).
    AvailableMemoryInGBs *int64 `mandatory:"false" json:"availableMemoryInGBs"`
}

func (ComputeCapacityDetails) String

func (m ComputeCapacityDetails) String() string

func (ComputeCapacityDetails) ValidateEnumValue

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

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

type CreateInfrastructureDetails

CreateInfrastructureDetails Request to create Database Infrastructure resource.

type CreateInfrastructureDetails struct {

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

    // The user-friendly name for the Database Infrastructure. The name does not need to be unique.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Database Infrastructure System Model specification. The system model determines the model of the Database Infrastructure hardware to be used.
    SystemModel SystemModelEnumEnum `mandatory:"true" json:"systemModel"`

    // The shape of the Database Infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance.
    Shape ShapeEnumEnum `mandatory:"true" json:"shape"`

    // The IP address for the first control plane server.
    CloudControlPlaneServer1 *string `mandatory:"true" json:"cloudControlPlaneServer1"`

    // The IP address for the second control plane server.
    CloudControlPlaneServer2 *string `mandatory:"true" json:"cloudControlPlaneServer2"`

    // The netmask for the control plane network.
    Netmask *string `mandatory:"true" json:"netmask"`

    // The gateway for the control plane network.
    Gateway *string `mandatory:"true" json:"gateway"`

    // The list of DNS server IP addresses. Maximum of 3 allowed.
    DnsServers []string `mandatory:"true" json:"dnsServers"`

    // The list of NTP server IP addresses. Maximum of 3 allowed.
    NtpServers []string `mandatory:"true" json:"ntpServers"`

    // Database Infrastructure description.
    Description *string `mandatory:"false" json:"description"`

    // The CIDR block for the system network. The system network is a private network in Database Infrastructure and is not connected to your corporate network. The system network is used for storage (ASM) traffic, high-performance interconnect traffic and administration of infrastructure components.
    AdminNetworkcidr *string `mandatory:"false" json:"adminNetworkcidr"`

    // Percentage of disk space assigned for DATA disk group. Remaining disk space will get assiged to RECO disk group
    DataDiskPercentage *int `mandatory:"false" json:"dataDiskPercentage"`

    // The list of contacts for the Database Infrastructure.
    Contacts []InfrastructureContact `mandatory:"false" json:"contacts"`

    // The network bonding mode for Client networks for the Database Infrastructure.
    ClientNetworkBondingMode NetworkBondingModeEnum `mandatory:"false" json:"clientNetworkBondingMode,omitempty"`

    // The network bonding mode for Backup networks for the Database Infrastructure.
    BackupNetworkBondingMode NetworkBondingModeEnum `mandatory:"false" json:"backupNetworkBondingMode,omitempty"`

    // The network bonding mode for CPS networks for the Database Infrastructure.
    CpsNetworkBondingMode NetworkBondingModeEnum `mandatory:"false" json:"cpsNetworkBondingMode,omitempty"`

    // The network bonding interface for client network for the Database Infrastructure.
    ClientNetworkBondingInterface NetworkBondingInterfaceEnumEnum `mandatory:"false" json:"clientNetworkBondingInterface,omitempty"`

    // The network bonding interface for backup network for the Database Infrastructure.
    BackupNetworkBondingInterface NetworkBondingInterfaceEnumEnum `mandatory:"false" json:"backupNetworkBondingInterface,omitempty"`

    // The network bonding interface for CPS network for the Database Infrastructure.
    CpsNetworkBondingInterface NetworkBondingInterfaceEnumEnum `mandatory:"false" json:"cpsNetworkBondingInterface,omitempty"`

    // The amount of storage (in GB) in the DATA disk group that is reserved for creating local storage for VM Clusters and application VMs.
    AcfsFileSystemStorageInGbs *float64 `mandatory:"false" json:"acfsFileSystemStorageInGbs"`

    // The corporate network proxy for access to the control plane network. Oracle recommends using an HTTPS proxy when possible
    // for enhanced security.
    CorporateProxy *string `mandatory:"false" json:"corporateProxy"`

    // The CPS network VLAN ID.
    VlanId *string `mandatory:"false" json:"vlanId"`

    MaintenanceWindow *MaintenanceWindow `mandatory:"false" json:"maintenanceWindow"`

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

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

func (CreateInfrastructureDetails) String

func (m CreateInfrastructureDetails) String() string

func (CreateInfrastructureDetails) ValidateEnumValue

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

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

type CreateInfrastructureRequest

CreateInfrastructureRequest wrapper for the CreateInfrastructure operation

See also

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

type CreateInfrastructureRequest struct {

    // New Database Infrastructure details.
    CreateInfrastructureDetails `contributesTo:"body"`

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

    // The client request identifier.
    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 (CreateInfrastructureRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateInfrastructureRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateInfrastructureRequest) RetryPolicy

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

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

func (CreateInfrastructureRequest) String

func (request CreateInfrastructureRequest) String() string

func (CreateInfrastructureRequest) ValidateEnumValue

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

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

type CreateInfrastructureResponse

CreateInfrastructureResponse wrapper for the CreateInfrastructure operation

type CreateInfrastructureResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

    // The full URI of the resource.
    Location *string `presentIn:"header" name:"location"`
}

func (CreateInfrastructureResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateInfrastructureResponse) String

func (response CreateInfrastructureResponse) String() string

type CreateVmClusterNetworkDetails

CreateVmClusterNetworkDetails Details for an VM cluster network.

type CreateVmClusterNetworkDetails struct {

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"true" json:"infrastructureId"`

    // The user-friendly name for the VM cluster network. The name does not need to be unique.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Details of the client and backup networks.
    VmNetworks []VmNetworkDetails `mandatory:"true" json:"vmNetworks"`

    // Count of virtual machines in this VM cluster.
    NodeCount *int `mandatory:"false" json:"nodeCount"`

    // The SCAN details.
    Scans []ScanDetails `mandatory:"false" json:"scans"`

    // The listener TCP/IP port.
    ListenerPort *int `mandatory:"false" json:"listenerPort"`

    // The listener TCP/IP SSL port. Default is 2484.
    ListenerPortSsl *int `mandatory:"false" json:"listenerPortSsl"`

    // The list of DNS server IP addresses. Maximum of 3 allowed.
    DnsServers []string `mandatory:"false" json:"dnsServers"`

    // The list of NTP server IP addresses. Maximum of 3 allowed.
    NtpServers []string `mandatory:"false" json:"ntpServers"`

    // Consumer type for the VM cluster network.
    ConsumerType VmNetworkConsumerTypeEnum `mandatory:"false" json:"consumerType,omitempty"`

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

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

func (CreateVmClusterNetworkDetails) String

func (m CreateVmClusterNetworkDetails) String() string

func (CreateVmClusterNetworkDetails) ValidateEnumValue

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

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

type CreateVmClusterNetworkRequest

CreateVmClusterNetworkRequest wrapper for the CreateVmClusterNetwork operation

See also

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

type CreateVmClusterNetworkRequest struct {

    // New VM cluster network details.
    CreateVmClusterNetworkDetails `contributesTo:"body"`

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

    // The client request identifier.
    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 (CreateVmClusterNetworkRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateVmClusterNetworkRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateVmClusterNetworkRequest) RetryPolicy

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

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

func (CreateVmClusterNetworkRequest) String

func (request CreateVmClusterNetworkRequest) String() string

func (CreateVmClusterNetworkRequest) ValidateEnumValue

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

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

type CreateVmClusterNetworkResponse

CreateVmClusterNetworkResponse wrapper for the CreateVmClusterNetwork operation

type CreateVmClusterNetworkResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

    // The full URI of the resource.
    Location *string `presentIn:"header" name:"location"`
}

func (CreateVmClusterNetworkResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateVmClusterNetworkResponse) String

func (response CreateVmClusterNetworkResponse) String() string

type CreateVmInstanceDetails

CreateVmInstanceDetails Create VM instance details.

type CreateVmInstanceDetails struct {

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"true" json:"infrastructureId"`

    // The number of CPU cores enabled for each VM instance.
    CpusEnabled *int `mandatory:"true" json:"cpusEnabled"`

    // List of public key used for SSH access to the VM instance.
    SshPublicKeys []string `mandatory:"true" json:"sshPublicKeys"`

    // VM instance display name. This name does not have to be unique, and is changeable.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // VM instance description.
    Description *string `mandatory:"false" json:"description"`

    // The memory to be allocated in GBs.
    MemorySizeInGBs *float64 `mandatory:"false" json:"memorySizeInGBs"`

    // Boot storage memory to be allocated in GBs.
    BootStorageSizeInGBs *float64 `mandatory:"false" json:"bootStorageSizeInGBs"`

    // Data storage to be allocated in GBs.
    DataStorageSizeInGBs *float64 `mandatory:"false" json:"dataStorageSizeInGBs"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM custom instance uploaded.
    ImageId *string `mandatory:"false" json:"imageId"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute node on which VM instance should be launched.
    ServerId *string `mandatory:"false" json:"serverId"`

    // The domain name of the VM instance.
    DomainName *string `mandatory:"false" json:"domainName"`

    // The time zone to use for the VM instance.
    TimeZone *string `mandatory:"false" json:"timeZone"`

    // The list of DNS server IP addresses. Maximum of 3 allowed.
    DnsServers []string `mandatory:"false" json:"dnsServers"`

    // The list of NTP server IP addresses. Maximum of 3 allowed.
    NtpServers []string `mandatory:"false" json:"ntpServers"`

    // The host name of the instance.
    Hostname *string `mandatory:"false" json:"hostname"`

    // The IP address of the instance.
    IpAddress *string `mandatory:"false" json:"ipAddress"`

    // The netmask of the VM instance network.
    Netmask *string `mandatory:"false" json:"netmask"`

    // The gateway IP address of the VM instance network
    Gateway *string `mandatory:"false" json:"gateway"`

    // The network VLAN ID.
    VlanId *string `mandatory:"false" json:"vlanId"`

    // Base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration.
    // For information about how to take advantage of user data, see the Cloud-Init Documentation (http://cloudinit.readthedocs.org/en/latest/topics/format.html).
    Userdata *string `mandatory:"false" json:"userdata"`

    // Custom metadata key/value pairs which can be used to:
    // - Provide information to Cloud-Init (https://cloudinit.readthedocs.org/en/latest/) to be used for various system initialization tasks.
    // - Provide additional information which is exposed inside the instance context and can be queried or referenced by user-data scripts for dynamic configuration.
    Metadata map[string]string `mandatory:"false" json:"metadata"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Network.
    VmNetworkId *string `mandatory:"false" json:"vmNetworkId"`

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

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

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

func (CreateVmInstanceDetails) String

func (m CreateVmInstanceDetails) String() string

func (CreateVmInstanceDetails) ValidateEnumValue

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

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

type CreateVmInstanceRequest

CreateVmInstanceRequest wrapper for the CreateVmInstance operation

See also

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

type CreateVmInstanceRequest struct {

    // New VM instance details.
    CreateVmInstanceDetails `contributesTo:"body"`

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

    // The client request identifier.
    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 (CreateVmInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateVmInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateVmInstanceRequest) RetryPolicy

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

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

func (CreateVmInstanceRequest) String

func (request CreateVmInstanceRequest) String() string

func (CreateVmInstanceRequest) ValidateEnumValue

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

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

type CreateVmInstanceResponse

CreateVmInstanceResponse wrapper for the CreateVmInstance operation

type CreateVmInstanceResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

    // The full URI of the resource.
    Location *string `presentIn:"header" name:"location"`
}

func (CreateVmInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateVmInstanceResponse) String

func (response CreateVmInstanceResponse) String() string

type DeleteInfrastructureRequest

DeleteInfrastructureRequest wrapper for the DeleteInfrastructure operation

See also

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

type DeleteInfrastructureRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"true" contributesTo:"path" name:"infrastructureId"`

    // 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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // When set to `true`, infrastructure will be deleted even if it has dependent resources.
    // If set to `false`, deletion will fail if the infrastructure has dependent resources.
    // Default is `false`.
    IsForceDeleteInfrastructure *bool `mandatory:"false" contributesTo:"query" name:"isForceDeleteInfrastructure"`

    // 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 (DeleteInfrastructureRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteInfrastructureRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteInfrastructureRequest) RetryPolicy

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

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

func (DeleteInfrastructureRequest) String

func (request DeleteInfrastructureRequest) String() string

func (DeleteInfrastructureRequest) ValidateEnumValue

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

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

type DeleteInfrastructureResponse

DeleteInfrastructureResponse wrapper for the DeleteInfrastructure operation

type DeleteInfrastructureResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (DeleteInfrastructureResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteInfrastructureResponse) String

func (response DeleteInfrastructureResponse) String() string

type DeleteVmClusterNetworkRequest

DeleteVmClusterNetworkRequest wrapper for the DeleteVmClusterNetwork operation

See also

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

type DeleteVmClusterNetworkRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network.
    VmClusterNetworkId *string `mandatory:"true" contributesTo:"path" name:"vmClusterNetworkId"`

    // 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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request identifier.
    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 (DeleteVmClusterNetworkRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteVmClusterNetworkRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteVmClusterNetworkRequest) RetryPolicy

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

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

func (DeleteVmClusterNetworkRequest) String

func (request DeleteVmClusterNetworkRequest) String() string

func (DeleteVmClusterNetworkRequest) ValidateEnumValue

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

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

type DeleteVmClusterNetworkResponse

DeleteVmClusterNetworkResponse wrapper for the DeleteVmClusterNetwork operation

type DeleteVmClusterNetworkResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (DeleteVmClusterNetworkResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteVmClusterNetworkResponse) String

func (response DeleteVmClusterNetworkResponse) String() string

type DeleteVmInstanceRequest

DeleteVmInstanceRequest wrapper for the DeleteVmInstance operation

See also

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

type DeleteVmInstanceRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM instance.
    VmInstanceId *string `mandatory:"true" contributesTo:"path" name:"vmInstanceId"`

    // 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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request identifier.
    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 (DeleteVmInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteVmInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteVmInstanceRequest) RetryPolicy

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

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

func (DeleteVmInstanceRequest) String

func (request DeleteVmInstanceRequest) String() string

func (DeleteVmInstanceRequest) ValidateEnumValue

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

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

type DeleteVmInstanceResponse

DeleteVmInstanceResponse wrapper for the DeleteVmInstance operation

type DeleteVmInstanceResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (DeleteVmInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteVmInstanceResponse) String

func (response DeleteVmInstanceResponse) String() string

type DiskGroupCapacityDetails

DiskGroupCapacityDetails Capacity details of the storage disk group.

type DiskGroupCapacityDetails struct {

    // The storage type for the Cloud Database Infrastructure.
    StorageType *string `mandatory:"false" json:"storageType"`

    // The total amount of logical disk space available, in gigabytes (GB).
    TotalSpaceInGbs *float64 `mandatory:"false" json:"totalSpaceInGbs"`

    // The total amount of logical disk space that is reserved for system use, in gigabytes (GB).
    ReservedSpaceInGbs *float64 `mandatory:"false" json:"reservedSpaceInGbs"`

    // The total amount of logical disk space that is currently available for use, in gigabytes (GB).
    FreeSpaceInGbs *float64 `mandatory:"false" json:"freeSpaceInGbs"`
}

func (DiskGroupCapacityDetails) String

func (m DiskGroupCapacityDetails) String() string

func (DiskGroupCapacityDetails) ValidateEnumValue

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

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

type DownloadInfrastructureConfigFileRequest

DownloadInfrastructureConfigFileRequest wrapper for the DownloadInfrastructureConfigFile operation

See also

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

type DownloadInfrastructureConfigFileRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"true" contributesTo:"path" name:"infrastructureId"`

    // The client request identifier.
    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 (DownloadInfrastructureConfigFileRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DownloadInfrastructureConfigFileRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DownloadInfrastructureConfigFileRequest) RetryPolicy

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

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

func (DownloadInfrastructureConfigFileRequest) String

func (request DownloadInfrastructureConfigFileRequest) String() string

func (DownloadInfrastructureConfigFileRequest) ValidateEnumValue

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

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

type DownloadInfrastructureConfigFileResponse

DownloadInfrastructureConfigFileResponse wrapper for the DownloadInfrastructureConfigFile operation

type DownloadInfrastructureConfigFileResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

    // Size of the file.
    ContentLength *int64 `presentIn:"header" name:"content-length"`

    // The date and time the configuration file was created, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`
}

func (DownloadInfrastructureConfigFileResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DownloadInfrastructureConfigFileResponse) String

func (response DownloadInfrastructureConfigFileResponse) String() string

type DownloadInfrastructureValidationScriptRequest

DownloadInfrastructureValidationScriptRequest wrapper for the DownloadInfrastructureValidationScript operation

See also

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

type DownloadInfrastructureValidationScriptRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"true" contributesTo:"path" name:"infrastructureId"`

    // The client request identifier.
    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 (DownloadInfrastructureValidationScriptRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DownloadInfrastructureValidationScriptRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DownloadInfrastructureValidationScriptRequest) RetryPolicy

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

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

func (DownloadInfrastructureValidationScriptRequest) String

func (request DownloadInfrastructureValidationScriptRequest) String() string

func (DownloadInfrastructureValidationScriptRequest) ValidateEnumValue

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

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

type DownloadInfrastructureValidationScriptResponse

DownloadInfrastructureValidationScriptResponse wrapper for the DownloadInfrastructureValidationScript operation

type DownloadInfrastructureValidationScriptResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

    // Size of the file.
    ContentLength *int64 `presentIn:"header" name:"content-length"`

    // The date and time the configuration file was created, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`
}

func (DownloadInfrastructureValidationScriptResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DownloadInfrastructureValidationScriptResponse) String

func (response DownloadInfrastructureValidationScriptResponse) String() string

type GenerateRecommendedVmClusterNetworkDetails

GenerateRecommendedVmClusterNetworkDetails Generates a recommended VM cluster network configuration for VM cluster.

type GenerateRecommendedVmClusterNetworkDetails struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"true" json:"infrastructureId"`

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

    // The user-friendly name for the VM cluster network. The name does not need to be unique.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Details of the client and backup networks.
    VmNetworks []InfoVmNetworkDetails `mandatory:"true" json:"vmNetworks"`

    // Count of virtual machines in this VM cluster.
    NodeCount *int `mandatory:"false" json:"nodeCount"`

    // The listener TCP/IP port.
    ListenerPort *int `mandatory:"false" json:"listenerPort"`

    // The listener TCP/IP SSL port. Default is 2484.
    ListenerPortSsl *int `mandatory:"false" json:"listenerPortSsl"`

    // The list of DNS server IP addresses. Maximum of 3 allowed.
    DnsServers []string `mandatory:"false" json:"dnsServers"`

    // The list of NTP server IP addresses. Maximum of 3 allowed.
    NtpServers []string `mandatory:"false" json:"ntpServers"`

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

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

func (GenerateRecommendedVmClusterNetworkDetails) String

func (m GenerateRecommendedVmClusterNetworkDetails) String() string

func (GenerateRecommendedVmClusterNetworkDetails) ValidateEnumValue

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

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

type GenerateRecommendedVmClusterNetworkRequest

GenerateRecommendedVmClusterNetworkRequest wrapper for the GenerateRecommendedVmClusterNetwork operation

See also

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

type GenerateRecommendedVmClusterNetworkRequest struct {

    // Request to generate a recommended VM cluster network details configuration.
    GenerateRecommendedVmClusterNetworkDetails `contributesTo:"body"`

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

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

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

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

func (GenerateRecommendedVmClusterNetworkRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GenerateRecommendedVmClusterNetworkRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GenerateRecommendedVmClusterNetworkRequest) RetryPolicy

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

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

func (GenerateRecommendedVmClusterNetworkRequest) String

func (request GenerateRecommendedVmClusterNetworkRequest) String() string

func (GenerateRecommendedVmClusterNetworkRequest) ValidateEnumValue

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

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

type GenerateRecommendedVmClusterNetworkResponse

GenerateRecommendedVmClusterNetworkResponse wrapper for the GenerateRecommendedVmClusterNetwork operation

type GenerateRecommendedVmClusterNetworkResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

    // The full URI of the resource.
    Location *string `presentIn:"header" name:"location"`
}

func (GenerateRecommendedVmClusterNetworkResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GenerateRecommendedVmClusterNetworkResponse) String

func (response GenerateRecommendedVmClusterNetworkResponse) String() string

type GetInfrastructureRequest

GetInfrastructureRequest wrapper for the GetInfrastructure operation

See also

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

type GetInfrastructureRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"true" contributesTo:"path" name:"infrastructureId"`

    // The client request identifier.
    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 (GetInfrastructureRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetInfrastructureRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetInfrastructureRequest) RetryPolicy

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

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

func (GetInfrastructureRequest) String

func (request GetInfrastructureRequest) String() string

func (GetInfrastructureRequest) ValidateEnumValue

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

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

type GetInfrastructureResponse

GetInfrastructureResponse wrapper for the GetInfrastructure operation

type GetInfrastructureResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

    // The full URI of the resource.
    Location *string `presentIn:"header" name:"location"`
}

func (GetInfrastructureResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetInfrastructureResponse) String

func (response GetInfrastructureResponse) String() string

type GetInfrastructureScaleOptionRequest

GetInfrastructureScaleOptionRequest wrapper for the GetInfrastructureScaleOption operation

See also

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

type GetInfrastructureScaleOptionRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"true" contributesTo:"path" name:"infrastructureId"`

    // The client request identifier.
    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 (GetInfrastructureScaleOptionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetInfrastructureScaleOptionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetInfrastructureScaleOptionRequest) RetryPolicy

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

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

func (GetInfrastructureScaleOptionRequest) String

func (request GetInfrastructureScaleOptionRequest) String() string

func (GetInfrastructureScaleOptionRequest) ValidateEnumValue

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

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

type GetInfrastructureScaleOptionResponse

GetInfrastructureScaleOptionResponse wrapper for the GetInfrastructureScaleOption operation

type GetInfrastructureScaleOptionResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (GetInfrastructureScaleOptionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetInfrastructureScaleOptionResponse) String

func (response GetInfrastructureScaleOptionResponse) String() string

type GetMaintenanceExecutionRequest

GetMaintenanceExecutionRequest wrapper for the GetMaintenanceExecution operation

See also

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

type GetMaintenanceExecutionRequest struct {

    // The maintenance execution OCID.
    MaintenanceExecutionId *string `mandatory:"true" contributesTo:"path" name:"maintenanceExecutionId"`

    // The client request identifier.
    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 (GetMaintenanceExecutionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetMaintenanceExecutionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetMaintenanceExecutionRequest) RetryPolicy

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

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

func (GetMaintenanceExecutionRequest) String

func (request GetMaintenanceExecutionRequest) String() string

func (GetMaintenanceExecutionRequest) ValidateEnumValue

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

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

type GetMaintenanceExecutionResponse

GetMaintenanceExecutionResponse wrapper for the GetMaintenanceExecution operation

type GetMaintenanceExecutionResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

    // The full URI of the resource.
    Location *string `presentIn:"header" name:"location"`
}

func (GetMaintenanceExecutionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetMaintenanceExecutionResponse) String

func (response GetMaintenanceExecutionResponse) String() string

type GetMaintenanceRunRequest

GetMaintenanceRunRequest wrapper for the GetMaintenanceRun operation

See also

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

type GetMaintenanceRunRequest struct {

    // The maintenance run OCID.
    MaintenanceRunId *string `mandatory:"true" contributesTo:"path" name:"maintenanceRunId"`

    // The client request identifier.
    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 (GetMaintenanceRunRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetMaintenanceRunRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetMaintenanceRunRequest) RetryPolicy

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

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

func (GetMaintenanceRunRequest) String

func (request GetMaintenanceRunRequest) String() string

func (GetMaintenanceRunRequest) ValidateEnumValue

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

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

type GetMaintenanceRunResponse

GetMaintenanceRunResponse wrapper for the GetMaintenanceRun operation

type GetMaintenanceRunResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

    // The full URI of the resource.
    Location *string `presentIn:"header" name:"location"`
}

func (GetMaintenanceRunResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetMaintenanceRunResponse) String

func (response GetMaintenanceRunResponse) String() string

type GetVmClusterNetworkRequest

GetVmClusterNetworkRequest wrapper for the GetVmClusterNetwork operation

See also

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

type GetVmClusterNetworkRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network.
    VmClusterNetworkId *string `mandatory:"true" contributesTo:"path" name:"vmClusterNetworkId"`

    // The client request identifier.
    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 (GetVmClusterNetworkRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetVmClusterNetworkRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetVmClusterNetworkRequest) RetryPolicy

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

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

func (GetVmClusterNetworkRequest) String

func (request GetVmClusterNetworkRequest) String() string

func (GetVmClusterNetworkRequest) ValidateEnumValue

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

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

type GetVmClusterNetworkResponse

GetVmClusterNetworkResponse wrapper for the GetVmClusterNetwork operation

type GetVmClusterNetworkResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

    // The full URI of the resource.
    Location *string `presentIn:"header" name:"location"`
}

func (GetVmClusterNetworkResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetVmClusterNetworkResponse) String

func (response GetVmClusterNetworkResponse) String() string

type GetVmInstanceRequest

GetVmInstanceRequest wrapper for the GetVmInstance operation

See also

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

type GetVmInstanceRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM instance.
    VmInstanceId *string `mandatory:"true" contributesTo:"path" name:"vmInstanceId"`

    // The client request identifier.
    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 (GetVmInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetVmInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetVmInstanceRequest) RetryPolicy

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

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

func (GetVmInstanceRequest) String

func (request GetVmInstanceRequest) String() string

func (GetVmInstanceRequest) ValidateEnumValue

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

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

type GetVmInstanceResponse

GetVmInstanceResponse wrapper for the GetVmInstance operation

type GetVmInstanceResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

    // The full URI of the resource.
    Location *string `presentIn:"header" name:"location"`
}

func (GetVmInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetVmInstanceResponse) String

func (response GetVmInstanceResponse) 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/datacc/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"`

    // The client request identifier.
    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 the `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

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

    // An integer 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 InfoVmNetworkDetails

InfoVmNetworkDetails Details of the client or backup networks in an VM cluster.

type InfoVmNetworkDetails struct {

    // The network type.
    NetworkType VmClusterNetworkTypeEnum `mandatory:"true" json:"networkType"`

    // The network netmask.
    Netmask *string `mandatory:"true" json:"netmask"`

    // The network gateway.
    Gateway *string `mandatory:"true" json:"gateway"`

    // The network domain name.
    DomainName *string `mandatory:"true" json:"domainName"`

    // The network VLAN ID.
    VlanId *string `mandatory:"false" json:"vlanId"`

    // The network domain name prefix.
    Prefix *string `mandatory:"false" json:"prefix"`

    // Starting ip address of the virtual machines.
    StartingIp *string `mandatory:"false" json:"startingIp"`
}

func (InfoVmNetworkDetails) String

func (m InfoVmNetworkDetails) String() string

func (InfoVmNetworkDetails) ValidateEnumValue

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

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

type Infrastructure

Infrastructure Details about Database Infrastructure resource.

type Infrastructure struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    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 user-friendly name for the Database Infrastructure. The name does not need to be unique.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Database Infrastructure System Model specification. The system model determines the model of the Database Infrastructure hardware to be used.
    SystemModel SystemModelEnumEnum `mandatory:"true" json:"systemModel"`

    // The shape of the Database Infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance.
    Shape ShapeEnumEnum `mandatory:"true" json:"shape"`

    // The IP address for the first control plane server.
    CloudControlPlaneServer1 *string `mandatory:"true" json:"cloudControlPlaneServer1"`

    // The IP address for the second control plane server.
    CloudControlPlaneServer2 *string `mandatory:"true" json:"cloudControlPlaneServer2"`

    // The netmask for the control plane network.
    Netmask *string `mandatory:"true" json:"netmask"`

    // The gateway for the control plane network.
    Gateway *string `mandatory:"true" json:"gateway"`

    // The CIDR block for the system network. The system network is a private network in Database Infrastructure and is not connected to your corporate network. The system network is used for storage (ASM) traffic, high-performance interconnect traffic and administration of infrastructure components.
    AdminNetworkcidr *string `mandatory:"true" json:"adminNetworkcidr"`

    // The list of DNS server IP addresses. Maximum of 3 allowed.
    DnsServers []string `mandatory:"true" json:"dnsServers"`

    // The list of NTP server IP addresses. Maximum of 3 allowed.
    NtpServers []string `mandatory:"true" json:"ntpServers"`

    // Database Infrastructure description.
    Description *string `mandatory:"false" json:"description"`

    // The version of the system software on the Database Infrastructure.
    Version *string `mandatory:"false" json:"version"`

    // Percentage of disk space assigned for DATA disk group.
    DataDiskPercentage *int `mandatory:"false" json:"dataDiskPercentage"`

    // Percentage of disk space assigned for RECO disk group.
    RecoDiskPercentage *int `mandatory:"false" json:"recoDiskPercentage"`

    // The list of contacts for the Database Infrastructure.
    Contacts []InfrastructureContact `mandatory:"false" json:"contacts"`

    // The network bonding mode for Client networks for the Database Infrastructure.
    ClientNetworkBondingMode NetworkBondingModeEnum `mandatory:"false" json:"clientNetworkBondingMode,omitempty"`

    // The network bonding mode for Backup networks for the Database Infrastructure.
    BackupNetworkBondingMode NetworkBondingModeEnum `mandatory:"false" json:"backupNetworkBondingMode,omitempty"`

    // The network bonding mode for CPS networks for the Database Infrastructure.
    CpsNetworkBondingMode NetworkBondingModeEnum `mandatory:"false" json:"cpsNetworkBondingMode,omitempty"`

    // The network bonding interface for client network for the Database Infrastructure.
    ClientNetworkBondingInterface NetworkBondingInterfaceEnumEnum `mandatory:"false" json:"clientNetworkBondingInterface,omitempty"`

    // The network bonding interface for backup network for the Database Infrastructure.
    BackupNetworkBondingInterface NetworkBondingInterfaceEnumEnum `mandatory:"false" json:"backupNetworkBondingInterface,omitempty"`

    // The network bonding interface for CPS network for the Database Infrastructure.
    CpsNetworkBondingInterface NetworkBondingInterfaceEnumEnum `mandatory:"false" json:"cpsNetworkBondingInterface,omitempty"`

    // The amount of storage (in GB) in the DATA disk group that is reserved for creating local storage for VM Clusters and application VMs.
    AcfsFileSystemStorageInGbs *float64 `mandatory:"false" json:"acfsFileSystemStorageInGbs"`

    // The amount of storage (in GB) in the DATA disk group that is currently utilized for creating local storage for VM Clusters and application VMs.
    // This attribute is deprecated and will be removed in a subsequent release. Please read from systemStorageCapacity instead.
    AcfsFileSystemUsedStorageInGbs *float64 `mandatory:"false" json:"acfsFileSystemUsedStorageInGbs"`

    // The corporate network proxy for access to the control plane network. Oracle recommends using an HTTPS proxy when possible
    // for enhanced security.
    CorporateProxy *string `mandatory:"false" json:"corporateProxy"`

    // The CPS network VLAN ID.
    VlanId *string `mandatory:"false" json:"vlanId"`

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

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

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

    MaintenanceWindow *MaintenanceWindow `mandatory:"false" json:"maintenanceWindow"`

    // The time that the Database Infrastructure cluster was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time that the Database Infrastructure was last updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // The time, in RFC3339 format, when the lifecycle state was last updated.
    TimeLastStateUpdated *common.SDKTime `mandatory:"false" json:"timeLastStateUpdated"`

    // The time, in RFC3339 format, when the Database Infrastructure was activated.
    TimeActivated *common.SDKTime `mandatory:"false" json:"timeActivated"`

    // The time, in RFC3339 format, when the Database Infrastructure network was validated.
    TimeValidated *common.SDKTime `mandatory:"false" json:"timeValidated"`

    // The current state of the Database Infrastructure.
    LifecycleState InfrastructureLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Lifecycle state details of the Database Infrastructure.
    LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"`

    // The serial number for the Database Infrastructure.
    RackSerialNumber *string `mandatory:"false" json:"rackSerialNumber"`

    // A list of Database Infrastructure nodes.
    Servers []InfrastructureServer `mandatory:"false" json:"servers"`

    ComputeCapacity *ComputeCapacityDetails `mandatory:"false" json:"computeCapacity"`

    // Capacity details of the Storage disk group.
    // This attribute is deprecated and will be removed in a subsequent release. Please
    // use systemStorageCapacity instead.
    StorageCapacity []StorageCapacityDetails `mandatory:"false" json:"storageCapacity"`

    SystemStorageCapacity *SystemStorageCapacityDetails `mandatory:"false" json:"systemStorageCapacity"`

    // The network adapter, transceiver and cable configuration for the client and backup networks.
    NetworkAdapterConfiguration *string `mandatory:"false" json:"networkAdapterConfiguration"`

    // The unique identifier for the subscription plan number.
    SubscriptionPlanNumber *string `mandatory:"false" json:"subscriptionPlanNumber"`

    // SSD configuration requested for the infrastructure.
    SsdConfigurationRequested ShapeEnumEnum `mandatory:"false" json:"ssdConfigurationRequested,omitempty"`
}

func (Infrastructure) String

func (m Infrastructure) String() string

func (Infrastructure) ValidateEnumValue

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

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

type InfrastructureCollection

InfrastructureCollection A collection of Database Infrastructure resources.

type InfrastructureCollection struct {

    // A list of Database Infrastructure resources.
    Items []InfrastructureSummary `mandatory:"true" json:"items"`
}

func (InfrastructureCollection) String

func (m InfrastructureCollection) String() string

func (InfrastructureCollection) ValidateEnumValue

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

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

type InfrastructureContact

InfrastructureContact Contact details for Database Infrastructure.

type InfrastructureContact struct {

    // The name of the Database Infrastructure contact.
    Name *string `mandatory:"true" json:"name"`

    // The email for the Database Infrastructure contact.
    Email *string `mandatory:"true" json:"email"`

    // If `true`, this Database Infrastructure contact is a primary contact.
    // If `false`, this Database Infrastructure is a secondary contact.
    IsPrimary *bool `mandatory:"true" json:"isPrimary"`

    // The phone number for the Database Infrastructure contact.
    PhoneNumber *string `mandatory:"false" json:"phoneNumber"`

    // If `true`, this Database Infrastructure contact is a valid My Oracle Support (MOS) contact.
    // If `false`, this Database Infrastructure contact is not a valid MOS contact.
    IsContactMosValidated *bool `mandatory:"false" json:"isContactMosValidated"`
}

func (InfrastructureContact) String

func (m InfrastructureContact) String() string

func (InfrastructureContact) ValidateEnumValue

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

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

type InfrastructureLifecycleStateEnum

InfrastructureLifecycleStateEnum Enum with underlying type: string

type InfrastructureLifecycleStateEnum string

Set of constants representing the allowable values for InfrastructureLifecycleStateEnum

const (
    InfrastructureLifecycleStateCreating              InfrastructureLifecycleStateEnum = "CREATING"
    InfrastructureLifecycleStateRequiresValidation    InfrastructureLifecycleStateEnum = "REQUIRES_VALIDATION"
    InfrastructureLifecycleStateValidating            InfrastructureLifecycleStateEnum = "VALIDATING"
    InfrastructureLifecycleStateValidationFailed      InfrastructureLifecycleStateEnum = "VALIDATION_FAILED"
    InfrastructureLifecycleStateRequiresActivation    InfrastructureLifecycleStateEnum = "REQUIRES_ACTIVATION"
    InfrastructureLifecycleStateActivating            InfrastructureLifecycleStateEnum = "ACTIVATING"
    InfrastructureLifecycleStateActive                InfrastructureLifecycleStateEnum = "ACTIVE"
    InfrastructureLifecycleStateActivationFailed      InfrastructureLifecycleStateEnum = "ACTIVATION_FAILED"
    InfrastructureLifecycleStateFailed                InfrastructureLifecycleStateEnum = "FAILED"
    InfrastructureLifecycleStateUpdating              InfrastructureLifecycleStateEnum = "UPDATING"
    InfrastructureLifecycleStateDeleting              InfrastructureLifecycleStateEnum = "DELETING"
    InfrastructureLifecycleStateDeleted               InfrastructureLifecycleStateEnum = "DELETED"
    InfrastructureLifecycleStateDisconnected          InfrastructureLifecycleStateEnum = "DISCONNECTED"
    InfrastructureLifecycleStateMaintenanceInProgress InfrastructureLifecycleStateEnum = "MAINTENANCE_IN_PROGRESS"
)

func GetInfrastructureLifecycleStateEnumValues

func GetInfrastructureLifecycleStateEnumValues() []InfrastructureLifecycleStateEnum

GetInfrastructureLifecycleStateEnumValues Enumerates the set of values for InfrastructureLifecycleStateEnum

func GetMappingInfrastructureLifecycleStateEnum

func GetMappingInfrastructureLifecycleStateEnum(val string) (InfrastructureLifecycleStateEnum, bool)

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

type InfrastructureScaleOption

InfrastructureScaleOption The available scale options for the infrastructure.

type InfrastructureScaleOption struct {

    // The available scale options for the infrastructure.
    PossibleSsdConfigurations []ShapeEnumEnum `mandatory:"true" json:"possibleSsdConfigurations"`
}

func (InfrastructureScaleOption) String

func (m InfrastructureScaleOption) String() string

func (InfrastructureScaleOption) ValidateEnumValue

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

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

type InfrastructureServer

InfrastructureServer Database Infrastructure Server details.

type InfrastructureServer struct {

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

    // Database Infrastructure Server name.
    ServerName *string `mandatory:"true" json:"serverName"`

    // Database Infrastructure Server IP address.
    ServerIpAddress *string `mandatory:"true" json:"serverIpAddress"`

    // Database Infrastructure Server ILOM name.
    IlomName *string `mandatory:"true" json:"ilomName"`

    // Database Infrastructure Server ILOM IP address.
    IlomIpAddress *string `mandatory:"true" json:"ilomIpAddress"`

    // The current state of the Database Infrastructure server.
    LifecycleState InfrastructureServerLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Number of database virtual machines hosted on the server.
    BaseVmCount *int `mandatory:"false" json:"baseVmCount"`

    // Number of instances hosted on the server.
    InstanceVmCount *int `mandatory:"false" json:"instanceVmCount"`

    ComputeCapacity *ComputeCapacityDetails `mandatory:"false" json:"computeCapacity"`
}

func (InfrastructureServer) String

func (m InfrastructureServer) String() string

func (InfrastructureServer) ValidateEnumValue

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

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

type InfrastructureServerLifecycleStateEnum

InfrastructureServerLifecycleStateEnum Enum with underlying type: string

type InfrastructureServerLifecycleStateEnum string

Set of constants representing the allowable values for InfrastructureServerLifecycleStateEnum

const (
    InfrastructureServerLifecycleStateCreating              InfrastructureServerLifecycleStateEnum = "CREATING"
    InfrastructureServerLifecycleStateRequiresValidation    InfrastructureServerLifecycleStateEnum = "REQUIRES_VALIDATION"
    InfrastructureServerLifecycleStateValidating            InfrastructureServerLifecycleStateEnum = "VALIDATING"
    InfrastructureServerLifecycleStateValidationFailed      InfrastructureServerLifecycleStateEnum = "VALIDATION_FAILED"
    InfrastructureServerLifecycleStateRequiresActivation    InfrastructureServerLifecycleStateEnum = "REQUIRES_ACTIVATION"
    InfrastructureServerLifecycleStateActivating            InfrastructureServerLifecycleStateEnum = "ACTIVATING"
    InfrastructureServerLifecycleStateActive                InfrastructureServerLifecycleStateEnum = "ACTIVE"
    InfrastructureServerLifecycleStateActivationFailed      InfrastructureServerLifecycleStateEnum = "ACTIVATION_FAILED"
    InfrastructureServerLifecycleStateFailed                InfrastructureServerLifecycleStateEnum = "FAILED"
    InfrastructureServerLifecycleStateUpdating              InfrastructureServerLifecycleStateEnum = "UPDATING"
    InfrastructureServerLifecycleStateDeleting              InfrastructureServerLifecycleStateEnum = "DELETING"
    InfrastructureServerLifecycleStateDeleted               InfrastructureServerLifecycleStateEnum = "DELETED"
    InfrastructureServerLifecycleStateDisconnected          InfrastructureServerLifecycleStateEnum = "DISCONNECTED"
    InfrastructureServerLifecycleStateMaintenanceInProgress InfrastructureServerLifecycleStateEnum = "MAINTENANCE_IN_PROGRESS"
)

func GetInfrastructureServerLifecycleStateEnumValues

func GetInfrastructureServerLifecycleStateEnumValues() []InfrastructureServerLifecycleStateEnum

GetInfrastructureServerLifecycleStateEnumValues Enumerates the set of values for InfrastructureServerLifecycleStateEnum

func GetMappingInfrastructureServerLifecycleStateEnum

func GetMappingInfrastructureServerLifecycleStateEnum(val string) (InfrastructureServerLifecycleStateEnum, bool)

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

type InfrastructureSummary

InfrastructureSummary Database Infrastructure resource summary.

type InfrastructureSummary struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    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 user-friendly name for the Database Infrastructure. The name does not need to be unique.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Database Infrastructure System Model specification. The system model determines the model of the Database Infrastructure hardware to be used.
    SystemModel SystemModelEnumEnum `mandatory:"true" json:"systemModel"`

    // The shape of the Database Infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance.
    Shape ShapeEnumEnum `mandatory:"true" json:"shape"`

    // The IP address for the first control plane server.
    CloudControlPlaneServer1 *string `mandatory:"true" json:"cloudControlPlaneServer1"`

    // The IP address for the second control plane server.
    CloudControlPlaneServer2 *string `mandatory:"true" json:"cloudControlPlaneServer2"`

    // The netmask for the control plane network.
    Netmask *string `mandatory:"true" json:"netmask"`

    // The gateway for the control plane network.
    Gateway *string `mandatory:"true" json:"gateway"`

    // The CIDR block for the system network. The system network is a private network in Database Infrastructure and is not connected to your corporate network. The system network is used for storage (ASM) traffic, high-performance interconnect traffic and administration of infrastructure components.
    AdminNetworkcidr *string `mandatory:"true" json:"adminNetworkcidr"`

    // The list of DNS server IP addresses. Maximum of 3 allowed.
    DnsServers []string `mandatory:"true" json:"dnsServers"`

    // The list of NTP server IP addresses. Maximum of 3 allowed.
    NtpServers []string `mandatory:"true" json:"ntpServers"`

    // Database Infrastructure description.
    Description *string `mandatory:"false" json:"description"`

    // The version of the system software on the Database Infrastructure.
    Version *string `mandatory:"false" json:"version"`

    // The list of contacts for the Database Infrastructure.
    Contacts []InfrastructureContact `mandatory:"false" json:"contacts"`

    // The network bonding mode for Client networks for the Database Infrastructure.
    ClientNetworkBondingMode NetworkBondingModeEnum `mandatory:"false" json:"clientNetworkBondingMode,omitempty"`

    // The network bonding mode for Backup networks for the Database Infrastructure.
    BackupNetworkBondingMode NetworkBondingModeEnum `mandatory:"false" json:"backupNetworkBondingMode,omitempty"`

    // The network bonding mode for CPS networks for the Database Infrastructure.
    CpsNetworkBondingMode NetworkBondingModeEnum `mandatory:"false" json:"cpsNetworkBondingMode,omitempty"`

    // The network bonding interface for client network for the Database Infrastructure.
    ClientNetworkBondingInterface NetworkBondingInterfaceEnumEnum `mandatory:"false" json:"clientNetworkBondingInterface,omitempty"`

    // The network bonding interface for backup network for the Database Infrastructure.
    BackupNetworkBondingInterface NetworkBondingInterfaceEnumEnum `mandatory:"false" json:"backupNetworkBondingInterface,omitempty"`

    // The network bonding interface for CPS network for the Database Infrastructure.
    CpsNetworkBondingInterface NetworkBondingInterfaceEnumEnum `mandatory:"false" json:"cpsNetworkBondingInterface,omitempty"`

    // The amount of storage (in GB) in the DATA disk group that is reserved for creating local storage for VM Clusters and application VMs.
    AcfsFileSystemStorageInGbs *float64 `mandatory:"false" json:"acfsFileSystemStorageInGbs"`

    // The amount of storage (in GB) in the DATA disk group that is currently utilized for creating local storage for VM Clusters and application VMs.
    // This attribute is deprecated and will be removed in a subsequent release. Please read from systemStorageCapacity instead.
    AcfsFileSystemUsedStorageInGbs *float64 `mandatory:"false" json:"acfsFileSystemUsedStorageInGbs"`

    // The corporate network proxy for access to the control plane network. Oracle recommends using an HTTPS proxy when possible
    // for enhanced security.
    CorporateProxy *string `mandatory:"false" json:"corporateProxy"`

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

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

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

    MaintenanceWindow *MaintenanceWindow `mandatory:"false" json:"maintenanceWindow"`

    // The time that the Database Infrastructure cluster was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time that the Database Infrastructure was last updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // The time, in RFC3339 format, when the lifecycle state was last updated.
    TimeLastStateUpdated *common.SDKTime `mandatory:"false" json:"timeLastStateUpdated"`

    // The time, in RFC3339 format, when the Database Infrastructure was activated.
    TimeActivated *common.SDKTime `mandatory:"false" json:"timeActivated"`

    // The time, in RFC3339 format, when the Database Infrastructure network was validated.
    TimeValidated *common.SDKTime `mandatory:"false" json:"timeValidated"`

    // The current state of the Database Infrastructure.
    LifecycleState InfrastructureLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Lifecycle state details of the Database Infrastructure.
    LifecycleStateDetails *string `mandatory:"false" json:"lifecycleStateDetails"`

    ComputeCapacity *ComputeCapacityDetails `mandatory:"false" json:"computeCapacity"`

    // Capacity details of the Storage disk group.
    // This attribute is deprecated and will be removed in a subsequent release. Please
    // use systemStorageCapacity instead.
    StorageCapacity []StorageCapacityDetails `mandatory:"false" json:"storageCapacity"`

    SystemStorageCapacity *SystemStorageCapacityDetails `mandatory:"false" json:"systemStorageCapacity"`

    // The unique identifier for the subscription plan number.
    SubscriptionPlanNumber *string `mandatory:"false" json:"subscriptionPlanNumber"`

    // SSD configuration requested for the infrastructure.
    SsdConfigurationRequested ShapeEnumEnum `mandatory:"false" json:"ssdConfigurationRequested,omitempty"`
}

func (InfrastructureSummary) String

func (m InfrastructureSummary) String() string

func (InfrastructureSummary) ValidateEnumValue

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

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

type InfrastructureTypeEnum

InfrastructureTypeEnum Enum with underlying type: string

type InfrastructureTypeEnum string

Set of constants representing the allowable values for InfrastructureTypeEnum

const (
    InfrastructureTypeCloud           InfrastructureTypeEnum = "CLOUD"
    InfrastructureTypeCloudAtCustomer InfrastructureTypeEnum = "CLOUD_AT_CUSTOMER"
)

func GetInfrastructureTypeEnumValues

func GetInfrastructureTypeEnumValues() []InfrastructureTypeEnum

GetInfrastructureTypeEnumValues Enumerates the set of values for InfrastructureTypeEnum

func GetMappingInfrastructureTypeEnum

func GetMappingInfrastructureTypeEnum(val string) (InfrastructureTypeEnum, bool)

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

type ListInfrastructuresRequest

ListInfrastructuresRequest wrapper for the ListInfrastructures operation

See also

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

type ListInfrastructuresRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    // For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided,
    // it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

    // A filter to return resources that match the specified lifecycle state.
    LifecycleState []InfrastructureLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`

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

    // The page token representing the page at which you want to start retrieving results. This token is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order that you want to use, which is either `ASC` or `DESC`.
    SortOrder ListInfrastructuresSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field by which you want to sort. You can provide only one type of sort order. The default order for `timeCreated` is descending. The default order for `displayName` is ascending. If no value is specified, then `timeCreated` is the default.
    // When listing software images within the same `version`, using `sortBy=buildIdentifier` is recommended. `buildIdentifier` is a monotonically increasing, time-ordered string marker (yyyy-mm-dd-hh:mm:ss) stored with the image.
    SortBy ListInfrastructuresSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The client request identifier.
    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 (ListInfrastructuresRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListInfrastructuresRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListInfrastructuresRequest) RetryPolicy

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

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

func (ListInfrastructuresRequest) String

func (request ListInfrastructuresRequest) String() string

func (ListInfrastructuresRequest) ValidateEnumValue

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

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

type ListInfrastructuresResponse

ListInfrastructuresResponse wrapper for the ListInfrastructures operation

type ListInfrastructuresResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then it can mean that a partial list was returned. To obtain the next batch of items, include this value as the `page` parameter for your next GET request.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListInfrastructuresResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListInfrastructuresResponse) String

func (response ListInfrastructuresResponse) String() string

type ListInfrastructuresSortByEnum

ListInfrastructuresSortByEnum Enum with underlying type: string

type ListInfrastructuresSortByEnum string

Set of constants representing the allowable values for ListInfrastructuresSortByEnum

const (
    ListInfrastructuresSortByTimecreated     ListInfrastructuresSortByEnum = "timeCreated"
    ListInfrastructuresSortByDisplayname     ListInfrastructuresSortByEnum = "displayName"
    ListInfrastructuresSortByBuildidentifier ListInfrastructuresSortByEnum = "buildIdentifier"
)

func GetListInfrastructuresSortByEnumValues

func GetListInfrastructuresSortByEnumValues() []ListInfrastructuresSortByEnum

GetListInfrastructuresSortByEnumValues Enumerates the set of values for ListInfrastructuresSortByEnum

func GetMappingListInfrastructuresSortByEnum

func GetMappingListInfrastructuresSortByEnum(val string) (ListInfrastructuresSortByEnum, bool)

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

type ListInfrastructuresSortOrderEnum

ListInfrastructuresSortOrderEnum Enum with underlying type: string

type ListInfrastructuresSortOrderEnum string

Set of constants representing the allowable values for ListInfrastructuresSortOrderEnum

const (
    ListInfrastructuresSortOrderAsc  ListInfrastructuresSortOrderEnum = "ASC"
    ListInfrastructuresSortOrderDesc ListInfrastructuresSortOrderEnum = "DESC"
)

func GetListInfrastructuresSortOrderEnumValues

func GetListInfrastructuresSortOrderEnumValues() []ListInfrastructuresSortOrderEnum

GetListInfrastructuresSortOrderEnumValues Enumerates the set of values for ListInfrastructuresSortOrderEnum

func GetMappingListInfrastructuresSortOrderEnum

func GetMappingListInfrastructuresSortOrderEnum(val string) (ListInfrastructuresSortOrderEnum, bool)

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

type ListMaintenanceExecutionsLifecycleStateEnum

ListMaintenanceExecutionsLifecycleStateEnum Enum with underlying type: string

type ListMaintenanceExecutionsLifecycleStateEnum string

Set of constants representing the allowable values for ListMaintenanceExecutionsLifecycleStateEnum

const (
    ListMaintenanceExecutionsLifecycleStateCreating       ListMaintenanceExecutionsLifecycleStateEnum = "CREATING"
    ListMaintenanceExecutionsLifecycleStateScheduled      ListMaintenanceExecutionsLifecycleStateEnum = "SCHEDULED"
    ListMaintenanceExecutionsLifecycleStateInProgress     ListMaintenanceExecutionsLifecycleStateEnum = "IN_PROGRESS"
    ListMaintenanceExecutionsLifecycleStateSucceeded      ListMaintenanceExecutionsLifecycleStateEnum = "SUCCEEDED"
    ListMaintenanceExecutionsLifecycleStateSkipped        ListMaintenanceExecutionsLifecycleStateEnum = "SKIPPED"
    ListMaintenanceExecutionsLifecycleStateFailed         ListMaintenanceExecutionsLifecycleStateEnum = "FAILED"
    ListMaintenanceExecutionsLifecycleStateUpdating       ListMaintenanceExecutionsLifecycleStateEnum = "UPDATING"
    ListMaintenanceExecutionsLifecycleStateDeleting       ListMaintenanceExecutionsLifecycleStateEnum = "DELETING"
    ListMaintenanceExecutionsLifecycleStateDeleted        ListMaintenanceExecutionsLifecycleStateEnum = "DELETED"
    ListMaintenanceExecutionsLifecycleStateCanceled       ListMaintenanceExecutionsLifecycleStateEnum = "CANCELED"
    ListMaintenanceExecutionsLifecycleStatePartialSuccess ListMaintenanceExecutionsLifecycleStateEnum = "PARTIAL_SUCCESS"
)

func GetListMaintenanceExecutionsLifecycleStateEnumValues

func GetListMaintenanceExecutionsLifecycleStateEnumValues() []ListMaintenanceExecutionsLifecycleStateEnum

GetListMaintenanceExecutionsLifecycleStateEnumValues Enumerates the set of values for ListMaintenanceExecutionsLifecycleStateEnum

func GetMappingListMaintenanceExecutionsLifecycleStateEnum

func GetMappingListMaintenanceExecutionsLifecycleStateEnum(val string) (ListMaintenanceExecutionsLifecycleStateEnum, bool)

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

type ListMaintenanceExecutionsMaintenanceSubtypeEnum

ListMaintenanceExecutionsMaintenanceSubtypeEnum Enum with underlying type: string

type ListMaintenanceExecutionsMaintenanceSubtypeEnum string

Set of constants representing the allowable values for ListMaintenanceExecutionsMaintenanceSubtypeEnum

const (
    ListMaintenanceExecutionsMaintenanceSubtypeYearly            ListMaintenanceExecutionsMaintenanceSubtypeEnum = "YEARLY"
    ListMaintenanceExecutionsMaintenanceSubtypeHalfyearly        ListMaintenanceExecutionsMaintenanceSubtypeEnum = "HALFYEARLY"
    ListMaintenanceExecutionsMaintenanceSubtypeQuarterly         ListMaintenanceExecutionsMaintenanceSubtypeEnum = "QUARTERLY"
    ListMaintenanceExecutionsMaintenanceSubtypeMonthly           ListMaintenanceExecutionsMaintenanceSubtypeEnum = "MONTHLY"
    ListMaintenanceExecutionsMaintenanceSubtypeDaily             ListMaintenanceExecutionsMaintenanceSubtypeEnum = "DAILY"
    ListMaintenanceExecutionsMaintenanceSubtypeHardware          ListMaintenanceExecutionsMaintenanceSubtypeEnum = "HARDWARE"
    ListMaintenanceExecutionsMaintenanceSubtypeCritical          ListMaintenanceExecutionsMaintenanceSubtypeEnum = "CRITICAL"
    ListMaintenanceExecutionsMaintenanceSubtypeInfraUpdate       ListMaintenanceExecutionsMaintenanceSubtypeEnum = "INFRA_UPDATE"
    ListMaintenanceExecutionsMaintenanceSubtypeCpsServicesUpdate ListMaintenanceExecutionsMaintenanceSubtypeEnum = "CPS_SERVICES_UPDATE"
    ListMaintenanceExecutionsMaintenanceSubtypeCpsVmUpdate       ListMaintenanceExecutionsMaintenanceSubtypeEnum = "CPS_VM_UPDATE"
    ListMaintenanceExecutionsMaintenanceSubtypeSecurityMonthly   ListMaintenanceExecutionsMaintenanceSubtypeEnum = "SECURITY_MONTHLY"
)

func GetListMaintenanceExecutionsMaintenanceSubtypeEnumValues

func GetListMaintenanceExecutionsMaintenanceSubtypeEnumValues() []ListMaintenanceExecutionsMaintenanceSubtypeEnum

GetListMaintenanceExecutionsMaintenanceSubtypeEnumValues Enumerates the set of values for ListMaintenanceExecutionsMaintenanceSubtypeEnum

func GetMappingListMaintenanceExecutionsMaintenanceSubtypeEnum

func GetMappingListMaintenanceExecutionsMaintenanceSubtypeEnum(val string) (ListMaintenanceExecutionsMaintenanceSubtypeEnum, bool)

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

type ListMaintenanceExecutionsMaintenanceTypeEnum

ListMaintenanceExecutionsMaintenanceTypeEnum Enum with underlying type: string

type ListMaintenanceExecutionsMaintenanceTypeEnum string

Set of constants representing the allowable values for ListMaintenanceExecutionsMaintenanceTypeEnum

const (
    ListMaintenanceExecutionsMaintenanceTypePlanned   ListMaintenanceExecutionsMaintenanceTypeEnum = "PLANNED"
    ListMaintenanceExecutionsMaintenanceTypeUnplanned ListMaintenanceExecutionsMaintenanceTypeEnum = "UNPLANNED"
)

func GetListMaintenanceExecutionsMaintenanceTypeEnumValues

func GetListMaintenanceExecutionsMaintenanceTypeEnumValues() []ListMaintenanceExecutionsMaintenanceTypeEnum

GetListMaintenanceExecutionsMaintenanceTypeEnumValues Enumerates the set of values for ListMaintenanceExecutionsMaintenanceTypeEnum

func GetMappingListMaintenanceExecutionsMaintenanceTypeEnum

func GetMappingListMaintenanceExecutionsMaintenanceTypeEnum(val string) (ListMaintenanceExecutionsMaintenanceTypeEnum, bool)

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

type ListMaintenanceExecutionsRequest

ListMaintenanceExecutionsRequest wrapper for the ListMaintenanceExecutions operation

See also

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

type ListMaintenanceExecutionsRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    // For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided,
    // it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

    // The Database Infrastructure ID.
    InfrastructureId *string `mandatory:"false" contributesTo:"query" name:"infrastructureId"`

    // The type of the target resource.
    TargetResourceType ListMaintenanceExecutionsTargetResourceTypeEnum `mandatory:"false" contributesTo:"query" name:"targetResourceType" omitEmpty:"true"`

    // The maintenance type.
    MaintenanceType ListMaintenanceExecutionsMaintenanceTypeEnum `mandatory:"false" contributesTo:"query" name:"maintenanceType" omitEmpty:"true"`

    // The maintenance run OCID.
    MaintenanceRunId *string `mandatory:"false" contributesTo:"query" name:"maintenanceRunId"`

    // A filter to return only resources that match the given lifecycle state exactly.
    LifecycleState ListMaintenanceExecutionsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // The sub-type of the maintenance run.
    MaintenanceSubtype ListMaintenanceExecutionsMaintenanceSubtypeEnum `mandatory:"false" contributesTo:"query" name:"maintenanceSubtype" omitEmpty:"true"`

    // Filter maintenance run for before given time.
    TimeAcceptedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeAcceptedLessThanOrEqualTo"`

    // Filter maintenance run for after given time.
    TimeAcceptedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeAcceptedGreaterThanOrEqualTo"`

    // The maintenance execution type.
    Type ListMaintenanceExecutionsTypeEnum `mandatory:"false" contributesTo:"query" name:"type" omitEmpty:"true"`

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

    // The page token representing the page at which you want to start retrieving results. This token is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The field by which you want to sort. You can provide only one type of sort order. The default order for `timeCreated` is descending. The default order for `displayName` is ascending. If no value is specified, then `timeCreated` is the default.
    // When listing software images within the same `version`, using `sortBy=buildIdentifier` is recommended. `buildIdentifier` is a monotonically increasing, time-ordered string marker (yyyy-mm-dd-hh:mm:ss) stored with the image.
    SortBy ListMaintenanceExecutionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order that you want to use, which is either `ASC` or `DESC`.
    SortOrder ListMaintenanceExecutionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The client request identifier.
    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 (ListMaintenanceExecutionsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListMaintenanceExecutionsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListMaintenanceExecutionsRequest) RetryPolicy

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

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

func (ListMaintenanceExecutionsRequest) String

func (request ListMaintenanceExecutionsRequest) String() string

func (ListMaintenanceExecutionsRequest) ValidateEnumValue

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

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

type ListMaintenanceExecutionsResponse

ListMaintenanceExecutionsResponse wrapper for the ListMaintenanceExecutions operation

type ListMaintenanceExecutionsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then it can mean that a partial list was returned. To obtain the next batch of items, include this value as the `page` parameter for your next GET request.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListMaintenanceExecutionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListMaintenanceExecutionsResponse) String

func (response ListMaintenanceExecutionsResponse) String() string

type ListMaintenanceExecutionsSortByEnum

ListMaintenanceExecutionsSortByEnum Enum with underlying type: string

type ListMaintenanceExecutionsSortByEnum string

Set of constants representing the allowable values for ListMaintenanceExecutionsSortByEnum

const (
    ListMaintenanceExecutionsSortByTimecreated     ListMaintenanceExecutionsSortByEnum = "timeCreated"
    ListMaintenanceExecutionsSortByDisplayname     ListMaintenanceExecutionsSortByEnum = "displayName"
    ListMaintenanceExecutionsSortByBuildidentifier ListMaintenanceExecutionsSortByEnum = "buildIdentifier"
)

func GetListMaintenanceExecutionsSortByEnumValues

func GetListMaintenanceExecutionsSortByEnumValues() []ListMaintenanceExecutionsSortByEnum

GetListMaintenanceExecutionsSortByEnumValues Enumerates the set of values for ListMaintenanceExecutionsSortByEnum

func GetMappingListMaintenanceExecutionsSortByEnum

func GetMappingListMaintenanceExecutionsSortByEnum(val string) (ListMaintenanceExecutionsSortByEnum, bool)

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

type ListMaintenanceExecutionsSortOrderEnum

ListMaintenanceExecutionsSortOrderEnum Enum with underlying type: string

type ListMaintenanceExecutionsSortOrderEnum string

Set of constants representing the allowable values for ListMaintenanceExecutionsSortOrderEnum

const (
    ListMaintenanceExecutionsSortOrderAsc  ListMaintenanceExecutionsSortOrderEnum = "ASC"
    ListMaintenanceExecutionsSortOrderDesc ListMaintenanceExecutionsSortOrderEnum = "DESC"
)

func GetListMaintenanceExecutionsSortOrderEnumValues

func GetListMaintenanceExecutionsSortOrderEnumValues() []ListMaintenanceExecutionsSortOrderEnum

GetListMaintenanceExecutionsSortOrderEnumValues Enumerates the set of values for ListMaintenanceExecutionsSortOrderEnum

func GetMappingListMaintenanceExecutionsSortOrderEnum

func GetMappingListMaintenanceExecutionsSortOrderEnum(val string) (ListMaintenanceExecutionsSortOrderEnum, bool)

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

type ListMaintenanceExecutionsTargetResourceTypeEnum

ListMaintenanceExecutionsTargetResourceTypeEnum Enum with underlying type: string

type ListMaintenanceExecutionsTargetResourceTypeEnum string

Set of constants representing the allowable values for ListMaintenanceExecutionsTargetResourceTypeEnum

const (
    ListMaintenanceExecutionsTargetResourceTypeDbCcInfrastructure ListMaintenanceExecutionsTargetResourceTypeEnum = "DB_CC_INFRASTRUCTURE"
)

func GetListMaintenanceExecutionsTargetResourceTypeEnumValues

func GetListMaintenanceExecutionsTargetResourceTypeEnumValues() []ListMaintenanceExecutionsTargetResourceTypeEnum

GetListMaintenanceExecutionsTargetResourceTypeEnumValues Enumerates the set of values for ListMaintenanceExecutionsTargetResourceTypeEnum

func GetMappingListMaintenanceExecutionsTargetResourceTypeEnum

func GetMappingListMaintenanceExecutionsTargetResourceTypeEnum(val string) (ListMaintenanceExecutionsTargetResourceTypeEnum, bool)

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

type ListMaintenanceExecutionsTypeEnum

ListMaintenanceExecutionsTypeEnum Enum with underlying type: string

type ListMaintenanceExecutionsTypeEnum string

Set of constants representing the allowable values for ListMaintenanceExecutionsTypeEnum

const (
    ListMaintenanceExecutionsTypeNotify  ListMaintenanceExecutionsTypeEnum = "NOTIFY"
    ListMaintenanceExecutionsTypeExecute ListMaintenanceExecutionsTypeEnum = "EXECUTE"
)

func GetListMaintenanceExecutionsTypeEnumValues

func GetListMaintenanceExecutionsTypeEnumValues() []ListMaintenanceExecutionsTypeEnum

GetListMaintenanceExecutionsTypeEnumValues Enumerates the set of values for ListMaintenanceExecutionsTypeEnum

func GetMappingListMaintenanceExecutionsTypeEnum

func GetMappingListMaintenanceExecutionsTypeEnum(val string) (ListMaintenanceExecutionsTypeEnum, bool)

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

type ListMaintenanceRunsLifecycleStateEnum

ListMaintenanceRunsLifecycleStateEnum Enum with underlying type: string

type ListMaintenanceRunsLifecycleStateEnum string

Set of constants representing the allowable values for ListMaintenanceRunsLifecycleStateEnum

const (
    ListMaintenanceRunsLifecycleStateCreating       ListMaintenanceRunsLifecycleStateEnum = "CREATING"
    ListMaintenanceRunsLifecycleStateScheduled      ListMaintenanceRunsLifecycleStateEnum = "SCHEDULED"
    ListMaintenanceRunsLifecycleStateInProgress     ListMaintenanceRunsLifecycleStateEnum = "IN_PROGRESS"
    ListMaintenanceRunsLifecycleStateSucceeded      ListMaintenanceRunsLifecycleStateEnum = "SUCCEEDED"
    ListMaintenanceRunsLifecycleStateSkipped        ListMaintenanceRunsLifecycleStateEnum = "SKIPPED"
    ListMaintenanceRunsLifecycleStateFailed         ListMaintenanceRunsLifecycleStateEnum = "FAILED"
    ListMaintenanceRunsLifecycleStateUpdating       ListMaintenanceRunsLifecycleStateEnum = "UPDATING"
    ListMaintenanceRunsLifecycleStateDeleting       ListMaintenanceRunsLifecycleStateEnum = "DELETING"
    ListMaintenanceRunsLifecycleStateDeleted        ListMaintenanceRunsLifecycleStateEnum = "DELETED"
    ListMaintenanceRunsLifecycleStateCanceled       ListMaintenanceRunsLifecycleStateEnum = "CANCELED"
    ListMaintenanceRunsLifecycleStatePartialSuccess ListMaintenanceRunsLifecycleStateEnum = "PARTIAL_SUCCESS"
)

func GetListMaintenanceRunsLifecycleStateEnumValues

func GetListMaintenanceRunsLifecycleStateEnumValues() []ListMaintenanceRunsLifecycleStateEnum

GetListMaintenanceRunsLifecycleStateEnumValues Enumerates the set of values for ListMaintenanceRunsLifecycleStateEnum

func GetMappingListMaintenanceRunsLifecycleStateEnum

func GetMappingListMaintenanceRunsLifecycleStateEnum(val string) (ListMaintenanceRunsLifecycleStateEnum, bool)

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

type ListMaintenanceRunsMaintenanceSubtypeEnum

ListMaintenanceRunsMaintenanceSubtypeEnum Enum with underlying type: string

type ListMaintenanceRunsMaintenanceSubtypeEnum string

Set of constants representing the allowable values for ListMaintenanceRunsMaintenanceSubtypeEnum

const (
    ListMaintenanceRunsMaintenanceSubtypeYearly            ListMaintenanceRunsMaintenanceSubtypeEnum = "YEARLY"
    ListMaintenanceRunsMaintenanceSubtypeHalfyearly        ListMaintenanceRunsMaintenanceSubtypeEnum = "HALFYEARLY"
    ListMaintenanceRunsMaintenanceSubtypeQuarterly         ListMaintenanceRunsMaintenanceSubtypeEnum = "QUARTERLY"
    ListMaintenanceRunsMaintenanceSubtypeMonthly           ListMaintenanceRunsMaintenanceSubtypeEnum = "MONTHLY"
    ListMaintenanceRunsMaintenanceSubtypeDaily             ListMaintenanceRunsMaintenanceSubtypeEnum = "DAILY"
    ListMaintenanceRunsMaintenanceSubtypeHardware          ListMaintenanceRunsMaintenanceSubtypeEnum = "HARDWARE"
    ListMaintenanceRunsMaintenanceSubtypeCritical          ListMaintenanceRunsMaintenanceSubtypeEnum = "CRITICAL"
    ListMaintenanceRunsMaintenanceSubtypeInfraUpdate       ListMaintenanceRunsMaintenanceSubtypeEnum = "INFRA_UPDATE"
    ListMaintenanceRunsMaintenanceSubtypeCpsServicesUpdate ListMaintenanceRunsMaintenanceSubtypeEnum = "CPS_SERVICES_UPDATE"
    ListMaintenanceRunsMaintenanceSubtypeCpsVmUpdate       ListMaintenanceRunsMaintenanceSubtypeEnum = "CPS_VM_UPDATE"
    ListMaintenanceRunsMaintenanceSubtypeSecurityMonthly   ListMaintenanceRunsMaintenanceSubtypeEnum = "SECURITY_MONTHLY"
)

func GetListMaintenanceRunsMaintenanceSubtypeEnumValues

func GetListMaintenanceRunsMaintenanceSubtypeEnumValues() []ListMaintenanceRunsMaintenanceSubtypeEnum

GetListMaintenanceRunsMaintenanceSubtypeEnumValues Enumerates the set of values for ListMaintenanceRunsMaintenanceSubtypeEnum

func GetMappingListMaintenanceRunsMaintenanceSubtypeEnum

func GetMappingListMaintenanceRunsMaintenanceSubtypeEnum(val string) (ListMaintenanceRunsMaintenanceSubtypeEnum, bool)

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

type ListMaintenanceRunsMaintenanceTypeEnum

ListMaintenanceRunsMaintenanceTypeEnum Enum with underlying type: string

type ListMaintenanceRunsMaintenanceTypeEnum string

Set of constants representing the allowable values for ListMaintenanceRunsMaintenanceTypeEnum

const (
    ListMaintenanceRunsMaintenanceTypePlanned   ListMaintenanceRunsMaintenanceTypeEnum = "PLANNED"
    ListMaintenanceRunsMaintenanceTypeUnplanned ListMaintenanceRunsMaintenanceTypeEnum = "UNPLANNED"
)

func GetListMaintenanceRunsMaintenanceTypeEnumValues

func GetListMaintenanceRunsMaintenanceTypeEnumValues() []ListMaintenanceRunsMaintenanceTypeEnum

GetListMaintenanceRunsMaintenanceTypeEnumValues Enumerates the set of values for ListMaintenanceRunsMaintenanceTypeEnum

func GetMappingListMaintenanceRunsMaintenanceTypeEnum

func GetMappingListMaintenanceRunsMaintenanceTypeEnum(val string) (ListMaintenanceRunsMaintenanceTypeEnum, bool)

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

type ListMaintenanceRunsRequest

ListMaintenanceRunsRequest wrapper for the ListMaintenanceRuns operation

See also

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

type ListMaintenanceRunsRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    // For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided,
    // it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

    // The Database Infrastructure ID.
    InfrastructureId *string `mandatory:"false" contributesTo:"query" name:"infrastructureId"`

    // The type of the target resource.
    TargetResourceType ListMaintenanceRunsTargetResourceTypeEnum `mandatory:"false" contributesTo:"query" name:"targetResourceType" omitEmpty:"true"`

    // The maintenance type.
    MaintenanceType ListMaintenanceRunsMaintenanceTypeEnum `mandatory:"false" contributesTo:"query" name:"maintenanceType" omitEmpty:"true"`

    // A filter to return only resources that match the given lifecycle state exactly.
    LifecycleState ListMaintenanceRunsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // The sub-type of the maintenance run.
    MaintenanceSubtype ListMaintenanceRunsMaintenanceSubtypeEnum `mandatory:"false" contributesTo:"query" name:"maintenanceSubtype" omitEmpty:"true"`

    // Filter maintenance run for before given time.
    TimeAcceptedLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeAcceptedLessThanOrEqualTo"`

    // Filter maintenance run for after given time.
    TimeAcceptedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeAcceptedGreaterThanOrEqualTo"`

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

    // The page token representing the page at which you want to start retrieving results. This token is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The field by which you want to sort. You can provide only one type of sort order. The default order for `timeCreated` is descending. The default order for `displayName` is ascending. If no value is specified, then `timeCreated` is the default.
    // When listing software images within the same `version`, using `sortBy=buildIdentifier` is recommended. `buildIdentifier` is a monotonically increasing, time-ordered string marker (yyyy-mm-dd-hh:mm:ss) stored with the image.
    SortBy ListMaintenanceRunsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The sort order that you want to use, which is either `ASC` or `DESC`.
    SortOrder ListMaintenanceRunsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The client request identifier.
    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 (ListMaintenanceRunsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListMaintenanceRunsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListMaintenanceRunsRequest) RetryPolicy

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

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

func (ListMaintenanceRunsRequest) String

func (request ListMaintenanceRunsRequest) String() string

func (ListMaintenanceRunsRequest) ValidateEnumValue

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

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

type ListMaintenanceRunsResponse

ListMaintenanceRunsResponse wrapper for the ListMaintenanceRuns operation

type ListMaintenanceRunsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then it can mean that a partial list was returned. To obtain the next batch of items, include this value as the `page` parameter for your next GET request.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListMaintenanceRunsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListMaintenanceRunsResponse) String

func (response ListMaintenanceRunsResponse) String() string

type ListMaintenanceRunsSortByEnum

ListMaintenanceRunsSortByEnum Enum with underlying type: string

type ListMaintenanceRunsSortByEnum string

Set of constants representing the allowable values for ListMaintenanceRunsSortByEnum

const (
    ListMaintenanceRunsSortByTimecreated     ListMaintenanceRunsSortByEnum = "timeCreated"
    ListMaintenanceRunsSortByDisplayname     ListMaintenanceRunsSortByEnum = "displayName"
    ListMaintenanceRunsSortByBuildidentifier ListMaintenanceRunsSortByEnum = "buildIdentifier"
)

func GetListMaintenanceRunsSortByEnumValues

func GetListMaintenanceRunsSortByEnumValues() []ListMaintenanceRunsSortByEnum

GetListMaintenanceRunsSortByEnumValues Enumerates the set of values for ListMaintenanceRunsSortByEnum

func GetMappingListMaintenanceRunsSortByEnum

func GetMappingListMaintenanceRunsSortByEnum(val string) (ListMaintenanceRunsSortByEnum, bool)

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

type ListMaintenanceRunsSortOrderEnum

ListMaintenanceRunsSortOrderEnum Enum with underlying type: string

type ListMaintenanceRunsSortOrderEnum string

Set of constants representing the allowable values for ListMaintenanceRunsSortOrderEnum

const (
    ListMaintenanceRunsSortOrderAsc  ListMaintenanceRunsSortOrderEnum = "ASC"
    ListMaintenanceRunsSortOrderDesc ListMaintenanceRunsSortOrderEnum = "DESC"
)

func GetListMaintenanceRunsSortOrderEnumValues

func GetListMaintenanceRunsSortOrderEnumValues() []ListMaintenanceRunsSortOrderEnum

GetListMaintenanceRunsSortOrderEnumValues Enumerates the set of values for ListMaintenanceRunsSortOrderEnum

func GetMappingListMaintenanceRunsSortOrderEnum

func GetMappingListMaintenanceRunsSortOrderEnum(val string) (ListMaintenanceRunsSortOrderEnum, bool)

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

type ListMaintenanceRunsTargetResourceTypeEnum

ListMaintenanceRunsTargetResourceTypeEnum Enum with underlying type: string

type ListMaintenanceRunsTargetResourceTypeEnum string

Set of constants representing the allowable values for ListMaintenanceRunsTargetResourceTypeEnum

const (
    ListMaintenanceRunsTargetResourceTypeDbCcInfrastructure ListMaintenanceRunsTargetResourceTypeEnum = "DB_CC_INFRASTRUCTURE"
)

func GetListMaintenanceRunsTargetResourceTypeEnumValues

func GetListMaintenanceRunsTargetResourceTypeEnumValues() []ListMaintenanceRunsTargetResourceTypeEnum

GetListMaintenanceRunsTargetResourceTypeEnumValues Enumerates the set of values for ListMaintenanceRunsTargetResourceTypeEnum

func GetMappingListMaintenanceRunsTargetResourceTypeEnum

func GetMappingListMaintenanceRunsTargetResourceTypeEnum(val string) (ListMaintenanceRunsTargetResourceTypeEnum, bool)

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

type ListVmClusterNetworksRequest

ListVmClusterNetworksRequest wrapper for the ListVmClusterNetworks operation

See also

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

type ListVmClusterNetworksRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    // For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided,
    // it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

    // A filter to return resources that match the specified lifecycle state.
    LifecycleState []VmClusterNetworkLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`

    // A filter to return VM cluster network resources that matches the specified value.
    IsScanEnabled *bool `mandatory:"false" contributesTo:"query" name:"isScanEnabled"`

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

    // The page token representing the page at which you want to start retrieving results. This token is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order that you want to use, which is either `ASC` or `DESC`.
    SortOrder ListVmClusterNetworksSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field by which you want to sort. You can provide only one type of sort order. The default order for `timeCreated` is descending. The default order for `displayName` is ascending. If no value is specified, then `timeCreated` is the default.
    // When listing software images within the same `version`, using `sortBy=buildIdentifier` is recommended. `buildIdentifier` is a monotonically increasing, time-ordered string marker (yyyy-mm-dd-hh:mm:ss) stored with the image.
    SortBy ListVmClusterNetworksSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"false" contributesTo:"query" name:"infrastructureId"`

    // Count of virtual machines in this VM cluster.
    NodeCount *int `mandatory:"false" contributesTo:"query" name:"nodeCount"`

    // VM network consumer type.
    VmNetworkConsumerType ListVmClusterNetworksVmNetworkConsumerTypeEnum `mandatory:"false" contributesTo:"query" name:"vmNetworkConsumerType" 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 (ListVmClusterNetworksRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListVmClusterNetworksRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListVmClusterNetworksRequest) RetryPolicy

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

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

func (ListVmClusterNetworksRequest) String

func (request ListVmClusterNetworksRequest) String() string

func (ListVmClusterNetworksRequest) ValidateEnumValue

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

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

type ListVmClusterNetworksResponse

ListVmClusterNetworksResponse wrapper for the ListVmClusterNetworks operation

type ListVmClusterNetworksResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then it can mean that a partial list was returned. To obtain the next batch of items, include this value as the `page` parameter for your next GET request.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListVmClusterNetworksResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListVmClusterNetworksResponse) String

func (response ListVmClusterNetworksResponse) String() string

type ListVmClusterNetworksSortByEnum

ListVmClusterNetworksSortByEnum Enum with underlying type: string

type ListVmClusterNetworksSortByEnum string

Set of constants representing the allowable values for ListVmClusterNetworksSortByEnum

const (
    ListVmClusterNetworksSortByTimecreated     ListVmClusterNetworksSortByEnum = "timeCreated"
    ListVmClusterNetworksSortByDisplayname     ListVmClusterNetworksSortByEnum = "displayName"
    ListVmClusterNetworksSortByBuildidentifier ListVmClusterNetworksSortByEnum = "buildIdentifier"
)

func GetListVmClusterNetworksSortByEnumValues

func GetListVmClusterNetworksSortByEnumValues() []ListVmClusterNetworksSortByEnum

GetListVmClusterNetworksSortByEnumValues Enumerates the set of values for ListVmClusterNetworksSortByEnum

func GetMappingListVmClusterNetworksSortByEnum

func GetMappingListVmClusterNetworksSortByEnum(val string) (ListVmClusterNetworksSortByEnum, bool)

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

type ListVmClusterNetworksSortOrderEnum

ListVmClusterNetworksSortOrderEnum Enum with underlying type: string

type ListVmClusterNetworksSortOrderEnum string

Set of constants representing the allowable values for ListVmClusterNetworksSortOrderEnum

const (
    ListVmClusterNetworksSortOrderAsc  ListVmClusterNetworksSortOrderEnum = "ASC"
    ListVmClusterNetworksSortOrderDesc ListVmClusterNetworksSortOrderEnum = "DESC"
)

func GetListVmClusterNetworksSortOrderEnumValues

func GetListVmClusterNetworksSortOrderEnumValues() []ListVmClusterNetworksSortOrderEnum

GetListVmClusterNetworksSortOrderEnumValues Enumerates the set of values for ListVmClusterNetworksSortOrderEnum

func GetMappingListVmClusterNetworksSortOrderEnum

func GetMappingListVmClusterNetworksSortOrderEnum(val string) (ListVmClusterNetworksSortOrderEnum, bool)

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

type ListVmClusterNetworksVmNetworkConsumerTypeEnum

ListVmClusterNetworksVmNetworkConsumerTypeEnum Enum with underlying type: string

type ListVmClusterNetworksVmNetworkConsumerTypeEnum string

Set of constants representing the allowable values for ListVmClusterNetworksVmNetworkConsumerTypeEnum

const (
    ListVmClusterNetworksVmNetworkConsumerTypeInstance ListVmClusterNetworksVmNetworkConsumerTypeEnum = "INSTANCE"
    ListVmClusterNetworksVmNetworkConsumerTypeCluster  ListVmClusterNetworksVmNetworkConsumerTypeEnum = "CLUSTER"
)

func GetListVmClusterNetworksVmNetworkConsumerTypeEnumValues

func GetListVmClusterNetworksVmNetworkConsumerTypeEnumValues() []ListVmClusterNetworksVmNetworkConsumerTypeEnum

GetListVmClusterNetworksVmNetworkConsumerTypeEnumValues Enumerates the set of values for ListVmClusterNetworksVmNetworkConsumerTypeEnum

func GetMappingListVmClusterNetworksVmNetworkConsumerTypeEnum

func GetMappingListVmClusterNetworksVmNetworkConsumerTypeEnum(val string) (ListVmClusterNetworksVmNetworkConsumerTypeEnum, bool)

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

type ListVmInstancesRequest

ListVmInstancesRequest wrapper for the ListVmInstances operation

See also

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

type ListVmInstancesRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
    // For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided,
    // it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

    // A filter to return resources that match the specified lifecycle state.
    LifecycleState []VmInstanceLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`

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

    // The page token representing the page at which you want to start retrieving results. This token is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order that you want to use, which is either `ASC` or `DESC`.
    SortOrder ListVmInstancesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field by which you want to sort. You can provide only one type of sort order. The default order for `timeCreated` is descending. The default order for `displayName` is ascending. If no value is specified, then `timeCreated` is the default.
    // When listing software images within the same `version`, using `sortBy=buildIdentifier` is recommended. `buildIdentifier` is a monotonically increasing, time-ordered string marker (yyyy-mm-dd-hh:mm:ss) stored with the image.
    SortBy ListVmInstancesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"false" contributesTo:"query" name:"infrastructureId"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure Server Id.
    BaseServerId *string `mandatory:"false" contributesTo:"query" name:"baseServerId"`

    // 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 (ListVmInstancesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListVmInstancesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListVmInstancesRequest) RetryPolicy

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

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

func (ListVmInstancesRequest) String

func (request ListVmInstancesRequest) String() string

func (ListVmInstancesRequest) ValidateEnumValue

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

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

type ListVmInstancesResponse

ListVmInstancesResponse wrapper for the ListVmInstances operation

type ListVmInstancesResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then it can mean that a partial list was returned. To obtain the next batch of items, include this value as the `page` parameter for your next GET request.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListVmInstancesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListVmInstancesResponse) String

func (response ListVmInstancesResponse) String() string

type ListVmInstancesSortByEnum

ListVmInstancesSortByEnum Enum with underlying type: string

type ListVmInstancesSortByEnum string

Set of constants representing the allowable values for ListVmInstancesSortByEnum

const (
    ListVmInstancesSortByTimecreated     ListVmInstancesSortByEnum = "timeCreated"
    ListVmInstancesSortByDisplayname     ListVmInstancesSortByEnum = "displayName"
    ListVmInstancesSortByBuildidentifier ListVmInstancesSortByEnum = "buildIdentifier"
)

func GetListVmInstancesSortByEnumValues

func GetListVmInstancesSortByEnumValues() []ListVmInstancesSortByEnum

GetListVmInstancesSortByEnumValues Enumerates the set of values for ListVmInstancesSortByEnum

func GetMappingListVmInstancesSortByEnum

func GetMappingListVmInstancesSortByEnum(val string) (ListVmInstancesSortByEnum, bool)

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

type ListVmInstancesSortOrderEnum

ListVmInstancesSortOrderEnum Enum with underlying type: string

type ListVmInstancesSortOrderEnum string

Set of constants representing the allowable values for ListVmInstancesSortOrderEnum

const (
    ListVmInstancesSortOrderAsc  ListVmInstancesSortOrderEnum = "ASC"
    ListVmInstancesSortOrderDesc ListVmInstancesSortOrderEnum = "DESC"
)

func GetListVmInstancesSortOrderEnumValues

func GetListVmInstancesSortOrderEnumValues() []ListVmInstancesSortOrderEnum

GetListVmInstancesSortOrderEnumValues Enumerates the set of values for ListVmInstancesSortOrderEnum

func GetMappingListVmInstancesSortOrderEnum

func GetMappingListVmInstancesSortOrderEnum(val string) (ListVmInstancesSortOrderEnum, bool)

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

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

    // The page token representing the page at which you want to start retrieving results. This token is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The sort order that you want to use, which is either `ASC` or `DESC`.
    SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

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

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

type ListWorkRequestErrorsResponse

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

type ListWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then it can mean that a partial list was returned. To obtain the next batch of items, include this value as the `page` parameter for your next GET request.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

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

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

    // The page token representing the page at which you want to start retrieving results. This token is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // The sort order that you want to use, which is either `ASC` or `DESC`.
    SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

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

func (ListWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

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

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

type ListWorkRequestLogsResponse

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

type ListWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then it can mean that a partial list was returned. To obtain the next batch of items, include this value as the `page` parameter for your next GET request.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

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/datacc/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.
    // For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided,
    // it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request resource.
    ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

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

    // The page token representing the page at which you want to start retrieving results. This token is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

    // 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 WorkRequestCollection instances
    WorkRequestCollection `presentIn:"body"`

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

    // For pagination of a list of items. When paging through a list, if this header appears in the response,
    // then it can mean that a partial list was returned. To obtain the next batch of items, include this value as the `page` parameter for your next GET request.
    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 MaintenanceExecution

MaintenanceExecution Details of a maintenance executions.

type MaintenanceExecution struct {

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

    // The user-friendly name for the maintenance run execution.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The state of the maintenance run execution.
    LifecycleState MaintenanceRunLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

    // Description of the maintenance run execution.
    Description *string `mandatory:"false" json:"description"`

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

    // The date and time the maintenance run execution started.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the maintenance run was completed.
    TimeEnded *common.SDKTime `mandatory:"false" json:"timeEnded"`

    // The type of the target resource on which the maintenance run execution occurred.
    TargetResourceType TargetResourceTypeEnumEnum `mandatory:"false" json:"targetResourceType,omitempty"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure on which the maintenance run execution occurred.
    InfrastructureId *string `mandatory:"false" json:"infrastructureId"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the maintenance run to which this maintenance execution belongs.
    MaintenanceRunId *string `mandatory:"false" json:"maintenanceRunId"`

    // Maintenance type.
    MaintenanceType MaintenanceTypeEnumEnum `mandatory:"false" json:"maintenanceType,omitempty"`

    // Maintenance run execution sub-type.
    MaintenanceSubtype MaintenanceSubtypeEnumEnum `mandatory:"false" json:"maintenanceSubtype,omitempty"`

    // The patching mode for the maintenance run that is being executed.
    PatchingMode PatchingModeEnumEnum `mandatory:"false" json:"patchingMode,omitempty"`

    // The source software version for the Oracle infrastructure.
    SourceVersion *string `mandatory:"false" json:"sourceVersion"`

    // The target software version for the Database Infrastructure patching operation.
    TargetVersion *string `mandatory:"false" json:"targetVersion"`

    // At the time of execution whether the custom action time out is enabled for the maintenance run that is being executed.
    IsCustomActionTimeoutEnabled *bool `mandatory:"false" json:"isCustomActionTimeoutEnabled"`

    // Determines the amount of time the system will wait before the start of each compute server patching operation.
    // Supported values are 15 to 120 minutes.
    CustomActionTimeoutInMins *int `mandatory:"false" json:"customActionTimeoutInMins"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request executed by this execution.
    WorkflowId *string `mandatory:"false" json:"workflowId"`

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

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

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

    // The total time taken by this execution in minutes.
    TotalTimeTakenInMins *int `mandatory:"false" json:"totalTimeTakenInMins"`
}

func (MaintenanceExecution) String

func (m MaintenanceExecution) String() string

func (MaintenanceExecution) ValidateEnumValue

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

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

type MaintenanceExecutionCollection

MaintenanceExecutionCollection A collection of maintenance run execution history.

type MaintenanceExecutionCollection struct {

    // A list of maintenance run execution history.
    Items []MaintenanceExecutionSummary `mandatory:"true" json:"items"`
}

func (MaintenanceExecutionCollection) String

func (m MaintenanceExecutionCollection) String() string

func (MaintenanceExecutionCollection) ValidateEnumValue

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

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

type MaintenanceExecutionSummary

MaintenanceExecutionSummary Summary of a maintenance executions.

type MaintenanceExecutionSummary struct {

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

    // The user-friendly name for the maintenance run execution.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The state of the maintenance run execution.
    LifecycleState MaintenanceRunLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

    // Description of the maintenance run execution.
    Description *string `mandatory:"false" json:"description"`

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

    // The date and time the maintenance run execution started.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the maintenance run was completed.
    TimeEnded *common.SDKTime `mandatory:"false" json:"timeEnded"`

    // The type of the target resource on which the maintenance run execution occurred.
    TargetResourceType TargetResourceTypeEnumEnum `mandatory:"false" json:"targetResourceType,omitempty"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure on which the maintenance run execution occurred.
    InfrastructureId *string `mandatory:"false" json:"infrastructureId"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the maintenance run to which this maintenance execution belongs.
    MaintenanceRunId *string `mandatory:"false" json:"maintenanceRunId"`

    // Maintenance type.
    MaintenanceType MaintenanceTypeEnumEnum `mandatory:"false" json:"maintenanceType,omitempty"`

    // Maintenance run execution sub-type.
    MaintenanceSubtype MaintenanceSubtypeEnumEnum `mandatory:"false" json:"maintenanceSubtype,omitempty"`

    // The patching mode for the maintenance run that is being executed.
    PatchingMode PatchingModeEnumEnum `mandatory:"false" json:"patchingMode,omitempty"`

    // The source software version for the Oracle infrastructure.
    SourceVersion *string `mandatory:"false" json:"sourceVersion"`

    // The target software version for the Database Infrastructure patching operation.
    TargetVersion *string `mandatory:"false" json:"targetVersion"`

    // At the time of execution whether the custom action time out is enabled for the maintenance run that is being executed.
    IsCustomActionTimeoutEnabled *bool `mandatory:"false" json:"isCustomActionTimeoutEnabled"`

    // Determines the amount of time the system will wait before the start of each compute server patching operation.
    // Supported values are 15 to 120 minutes.
    CustomActionTimeoutInMins *int `mandatory:"false" json:"customActionTimeoutInMins"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request executed by this execution.
    WorkflowId *string `mandatory:"false" json:"workflowId"`

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

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

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

    // The total time taken by this execution in minutes.
    TotalTimeTakenInMins *int `mandatory:"false" json:"totalTimeTakenInMins"`
}

func (MaintenanceExecutionSummary) String

func (m MaintenanceExecutionSummary) String() string

func (MaintenanceExecutionSummary) ValidateEnumValue

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

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

type MaintenancePreferenceEnum

MaintenancePreferenceEnum Enum with underlying type: string

type MaintenancePreferenceEnum string

Set of constants representing the allowable values for MaintenancePreferenceEnum

const (
    MaintenancePreferenceNoPreference     MaintenancePreferenceEnum = "NO_PREFERENCE"
    MaintenancePreferenceCustomPreference MaintenancePreferenceEnum = "CUSTOM_PREFERENCE"
)

func GetMaintenancePreferenceEnumValues

func GetMaintenancePreferenceEnumValues() []MaintenancePreferenceEnum

GetMaintenancePreferenceEnumValues Enumerates the set of values for MaintenancePreferenceEnum

func GetMappingMaintenancePreferenceEnum

func GetMappingMaintenancePreferenceEnum(val string) (MaintenancePreferenceEnum, bool)

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

type MaintenanceRun

MaintenanceRun Details of a maintenance run.

type MaintenanceRun struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the maintenance run.
    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 user-friendly name for the maintenance run.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The current state of the maintenance run.
    LifecycleState MaintenanceRunLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The date and time the maintenance run is scheduled to occur.
    TimeScheduled *common.SDKTime `mandatory:"true" json:"timeScheduled"`

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

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

    // The date and time the maintenance run was originally scheduled.
    InitialScheduledTime *common.SDKTime `mandatory:"false" json:"initialScheduledTime"`

    // The date and time the maintenance run starts.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the maintenance run was completed.
    TimeEnded *common.SDKTime `mandatory:"false" json:"timeEnded"`

    // The type of the target resource on which the maintenance run occurs.
    TargetResourceType TargetResourceTypeEnumEnum `mandatory:"false" json:"targetResourceType,omitempty"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure on which the maintenance run execution occurs.
    InfrastructureId *string `mandatory:"false" json:"infrastructureId"`

    // Maintenance type.
    MaintenanceType MaintenanceTypeEnumEnum `mandatory:"false" json:"maintenanceType,omitempty"`

    // The unique identifier of the patch. The identifier string includes the patch type and the version of the Database Infrastructure.
    PatchIdentifier *string `mandatory:"false" json:"patchIdentifier"`

    // Maintenance run sub-type.
    MaintenanceSubtype MaintenanceSubtypeEnumEnum `mandatory:"false" json:"maintenanceSubtype,omitempty"`

    // Database Infrastructure patching mode, either "ROLLING" or "NONROLLING". Default value is ROLLING.
    PatchingMode PatchingModeEnumEnum `mandatory:"false" json:"patchingMode,omitempty"`

    // Contain the patch failure count.
    PatchFailureCount *int `mandatory:"false" json:"patchFailureCount"`

    // The source software version for the Oracle infrastructure.
    SourceVersion *string `mandatory:"false" json:"sourceVersion"`

    // The target software version for the Database Infrastructure patching operation.
    TargetVersion *string `mandatory:"false" json:"targetVersion"`

    // If true, enables the configuration of a custom action timeout (waiting period) between compute servers patching operations.
    IsCustomActionTimeoutEnabled *bool `mandatory:"false" json:"isCustomActionTimeoutEnabled"`

    // Determines the amount of time the system will wait before the start of each compute server patching operation.
    // Supported values are 15 to 120 minutes.
    CustomActionTimeoutInMins *int `mandatory:"false" json:"customActionTimeoutInMins"`

    // The status of the patching operation.
    PatchingStatus PatchingStatusEnumEnum `mandatory:"false" json:"patchingStatus,omitempty"`

    // The time when the patching operation started.
    PatchingStartTime *common.SDKTime `mandatory:"false" json:"patchingStartTime"`

    // The time when the patching operation ended.
    PatchingEndTime *common.SDKTime `mandatory:"false" json:"patchingEndTime"`

    // The estimated total time required in minutes for all patching operations (compute servers, storage).
    EstimatedPatchingTime *int `mandatory:"false" json:"estimatedPatchingTime"`

    // The name of the current infrastructure component that is getting patched.
    CurrentPatchingComponent *string `mandatory:"false" json:"currentPatchingComponent"`

    // The estimated start time of the next infrastructure component patching operation.
    EstimatedComponentPatchingStartTime *common.SDKTime `mandatory:"false" json:"estimatedComponentPatchingStartTime"`

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

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

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

    // The total time taken by corresponding resource activity in minutes.
    TotalTimeTakenInMins *int `mandatory:"false" json:"totalTimeTakenInMins"`
}

func (MaintenanceRun) String

func (m MaintenanceRun) String() string

func (MaintenanceRun) ValidateEnumValue

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

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

type MaintenanceRunCollection

MaintenanceRunCollection A collection of maintenance runs.

type MaintenanceRunCollection struct {

    // A list of maintenance runs.
    Items []MaintenanceRunSummary `mandatory:"true" json:"items"`
}

func (MaintenanceRunCollection) String

func (m MaintenanceRunCollection) String() string

func (MaintenanceRunCollection) ValidateEnumValue

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

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

type MaintenanceRunLifecycleStateEnum

MaintenanceRunLifecycleStateEnum Enum with underlying type: string

type MaintenanceRunLifecycleStateEnum string

Set of constants representing the allowable values for MaintenanceRunLifecycleStateEnum

const (
    MaintenanceRunLifecycleStateCreating       MaintenanceRunLifecycleStateEnum = "CREATING"
    MaintenanceRunLifecycleStateScheduled      MaintenanceRunLifecycleStateEnum = "SCHEDULED"
    MaintenanceRunLifecycleStateInProgress     MaintenanceRunLifecycleStateEnum = "IN_PROGRESS"
    MaintenanceRunLifecycleStateSucceeded      MaintenanceRunLifecycleStateEnum = "SUCCEEDED"
    MaintenanceRunLifecycleStateSkipped        MaintenanceRunLifecycleStateEnum = "SKIPPED"
    MaintenanceRunLifecycleStateFailed         MaintenanceRunLifecycleStateEnum = "FAILED"
    MaintenanceRunLifecycleStateUpdating       MaintenanceRunLifecycleStateEnum = "UPDATING"
    MaintenanceRunLifecycleStateDeleting       MaintenanceRunLifecycleStateEnum = "DELETING"
    MaintenanceRunLifecycleStateDeleted        MaintenanceRunLifecycleStateEnum = "DELETED"
    MaintenanceRunLifecycleStateCanceled       MaintenanceRunLifecycleStateEnum = "CANCELED"
    MaintenanceRunLifecycleStatePartialSuccess MaintenanceRunLifecycleStateEnum = "PARTIAL_SUCCESS"
)

func GetMaintenanceRunLifecycleStateEnumValues

func GetMaintenanceRunLifecycleStateEnumValues() []MaintenanceRunLifecycleStateEnum

GetMaintenanceRunLifecycleStateEnumValues Enumerates the set of values for MaintenanceRunLifecycleStateEnum

func GetMappingMaintenanceRunLifecycleStateEnum

func GetMappingMaintenanceRunLifecycleStateEnum(val string) (MaintenanceRunLifecycleStateEnum, bool)

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

type MaintenanceRunSummary

MaintenanceRunSummary Summary of a maintenance run.

type MaintenanceRunSummary struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the maintenance run.
    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 user-friendly name for the maintenance run.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The current state of the maintenance run.
    LifecycleState MaintenanceRunLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The date and time the maintenance run is scheduled to occur.
    TimeScheduled *common.SDKTime `mandatory:"true" json:"timeScheduled"`

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

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

    // The date and time the maintenance run was originally scheduled.
    InitialScheduledTime *common.SDKTime `mandatory:"false" json:"initialScheduledTime"`

    // The date and time the maintenance run starts.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the maintenance run was completed.
    TimeEnded *common.SDKTime `mandatory:"false" json:"timeEnded"`

    // The type of the target resource on which the maintenance run occurs.
    TargetResourceType TargetResourceTypeEnumEnum `mandatory:"false" json:"targetResourceType,omitempty"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure on which the maintenance run execution occurs.
    InfrastructureId *string `mandatory:"false" json:"infrastructureId"`

    // Maintenance type.
    MaintenanceType MaintenanceTypeEnumEnum `mandatory:"false" json:"maintenanceType,omitempty"`

    // The unique identifier of the patch. The identifier string includes the patch type and the version of the Database Infrastructure.
    PatchIdentifier *string `mandatory:"false" json:"patchIdentifier"`

    // Maintenance run sub-type.
    MaintenanceSubtype MaintenanceSubtypeEnumEnum `mandatory:"false" json:"maintenanceSubtype,omitempty"`

    // Database Infrastructure patching mode, either "ROLLING" or "NONROLLING". Default value is ROLLING.
    PatchingMode PatchingModeEnumEnum `mandatory:"false" json:"patchingMode,omitempty"`

    // Contain the patch failure count.
    PatchFailureCount *int `mandatory:"false" json:"patchFailureCount"`

    // The source software version for the Database Infrastructure.
    SourceVersion *string `mandatory:"false" json:"sourceVersion"`

    // The target software version for the Database Infrastructure patching operation.
    TargetVersion *string `mandatory:"false" json:"targetVersion"`

    // If true, enables the configuration of a custom action timeout (waiting period) between compute servers patching operations.
    IsCustomActionTimeoutEnabled *bool `mandatory:"false" json:"isCustomActionTimeoutEnabled"`

    // Determines the amount of time the system will wait before the start of each compute server patching operation.
    // Supported values are 15 to 120 minutes.
    CustomActionTimeoutInMins *int `mandatory:"false" json:"customActionTimeoutInMins"`

    // The status of the patching operation.
    PatchingStatus PatchingStatusEnumEnum `mandatory:"false" json:"patchingStatus,omitempty"`

    // The time when the patching operation started.
    PatchingStartTime *common.SDKTime `mandatory:"false" json:"patchingStartTime"`

    // The time when the patching operation ended.
    PatchingEndTime *common.SDKTime `mandatory:"false" json:"patchingEndTime"`

    // The estimated total time required in minutes for all patching operations (compute servers, storage).
    EstimatedPatchingTime *int `mandatory:"false" json:"estimatedPatchingTime"`

    // The name of the current infrastructure component that is getting patched.
    CurrentPatchingComponent *string `mandatory:"false" json:"currentPatchingComponent"`

    // The estimated start time of the next infrastructure component patching operation.
    EstimatedComponentPatchingStartTime *common.SDKTime `mandatory:"false" json:"estimatedComponentPatchingStartTime"`

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

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

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

    // The total time taken by corresponding resource activity in minutes.
    TotalTimeTakenInMins *int `mandatory:"false" json:"totalTimeTakenInMins"`
}

func (MaintenanceRunSummary) String

func (m MaintenanceRunSummary) String() string

func (MaintenanceRunSummary) ValidateEnumValue

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

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

type MaintenanceSubtypeEnumEnum

MaintenanceSubtypeEnumEnum Enum with underlying type: string

type MaintenanceSubtypeEnumEnum string

Set of constants representing the allowable values for MaintenanceSubtypeEnumEnum

const (
    MaintenanceSubtypeEnumYearly            MaintenanceSubtypeEnumEnum = "YEARLY"
    MaintenanceSubtypeEnumHalfyearly        MaintenanceSubtypeEnumEnum = "HALFYEARLY"
    MaintenanceSubtypeEnumQuarterly         MaintenanceSubtypeEnumEnum = "QUARTERLY"
    MaintenanceSubtypeEnumMonthly           MaintenanceSubtypeEnumEnum = "MONTHLY"
    MaintenanceSubtypeEnumDaily             MaintenanceSubtypeEnumEnum = "DAILY"
    MaintenanceSubtypeEnumHardware          MaintenanceSubtypeEnumEnum = "HARDWARE"
    MaintenanceSubtypeEnumCritical          MaintenanceSubtypeEnumEnum = "CRITICAL"
    MaintenanceSubtypeEnumInfraUpdate       MaintenanceSubtypeEnumEnum = "INFRA_UPDATE"
    MaintenanceSubtypeEnumCpsServicesUpdate MaintenanceSubtypeEnumEnum = "CPS_SERVICES_UPDATE"
    MaintenanceSubtypeEnumCpsVmUpdate       MaintenanceSubtypeEnumEnum = "CPS_VM_UPDATE"
    MaintenanceSubtypeEnumSecurityMonthly   MaintenanceSubtypeEnumEnum = "SECURITY_MONTHLY"
)

func GetMaintenanceSubtypeEnumEnumValues

func GetMaintenanceSubtypeEnumEnumValues() []MaintenanceSubtypeEnumEnum

GetMaintenanceSubtypeEnumEnumValues Enumerates the set of values for MaintenanceSubtypeEnumEnum

func GetMappingMaintenanceSubtypeEnumEnum

func GetMappingMaintenanceSubtypeEnumEnum(val string) (MaintenanceSubtypeEnumEnum, bool)

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

type MaintenanceTypeEnumEnum

MaintenanceTypeEnumEnum Enum with underlying type: string

type MaintenanceTypeEnumEnum string

Set of constants representing the allowable values for MaintenanceTypeEnumEnum

const (
    MaintenanceTypeEnumPlanned   MaintenanceTypeEnumEnum = "PLANNED"
    MaintenanceTypeEnumUnplanned MaintenanceTypeEnumEnum = "UNPLANNED"
)

func GetMaintenanceTypeEnumEnumValues

func GetMaintenanceTypeEnumEnumValues() []MaintenanceTypeEnumEnum

GetMaintenanceTypeEnumEnumValues Enumerates the set of values for MaintenanceTypeEnumEnum

func GetMappingMaintenanceTypeEnumEnum

func GetMappingMaintenanceTypeEnumEnum(val string) (MaintenanceTypeEnumEnum, bool)

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

type MaintenanceWindow

MaintenanceWindow The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.

type MaintenanceWindow struct {

    // The maintenance window scheduling preference.
    Preference MaintenancePreferenceEnum `mandatory:"false" json:"preference,omitempty"`

    // Cloud Database Infrastructure node patching method.
    // *IMPORTANT*: Non-rolling infrastructure patching involves system down time.
    // See Oracle-Managed Database Infrastructure Maintenance Updates (https://docs.oracle.com/iaas/Content/Database/Concepts/examaintenance.htm#Oracle)
    // for more information.
    PatchingMode BasePatchingModeEnum `mandatory:"false" json:"patchingMode,omitempty"`

    // If true, enables the configuration of a custom action timeout (waiting period) between Database Infrastructure server patching operations.
    IsCustomActionTimeoutEnabled *bool `mandatory:"false" json:"isCustomActionTimeoutEnabled"`

    // Determines the amount of time the system will wait before the start of each Database Infrastructure server patching operation.
    // Custom action timeout is in minutes and valid value is between 15 to 120 (inclusive).
    CustomActionTimeoutInMins *int `mandatory:"false" json:"customActionTimeoutInMins"`

    // If true, enables the monthly patching option.
    IsMonthlyPatchingEnabled *bool `mandatory:"false" json:"isMonthlyPatchingEnabled"`

    // Months during the year when maintenance should be performed.
    Months []MaintenanceWindowMonthsEnum `mandatory:"false" json:"months,omitempty"`

    // Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and
    // 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates,
    // not days of the week.For example, to allow maintenance during the 2nd week of the month
    // (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for
    // the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction
    // with the  daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and
    // hours that maintenance will be performed.
    WeeksOfMonth []int `mandatory:"false" json:"weeksOfMonth"`

    // Days during the week when maintenance should be performed.
    DaysOfWeek []MaintenanceWindowDaysOfWeekEnum `mandatory:"false" json:"daysOfWeek,omitempty"`

    // The window of hours during the day when maintenance should be performed. The window is a 4 hour slot. Valid values are - 0 - represents time slot 0:00 - 3:59 UTC - 4 - represents time slot 4:00 - 7:59 UTC - 8 - represents time slot 8:00 - 11:59 UTC - 12 - represents time slot 12:00 - 15:59 UTC - 16 - represents time slot 16:00 - 19:59 UTC - 20 - represents time slot 20:00 - 23:59 UTC
    HoursOfDay []int `mandatory:"false" json:"hoursOfDay"`

    // Lead time window allows user to set a lead time to prepare for a down time.
    // The lead time is in weeks and valid value is between 1 to 4.
    LeadTimeInWeeks *int `mandatory:"false" json:"leadTimeInWeeks"`
}

func (MaintenanceWindow) String

func (m MaintenanceWindow) String() string

func (MaintenanceWindow) ValidateEnumValue

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

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

type MaintenanceWindowDaysOfWeekEnum

MaintenanceWindowDaysOfWeekEnum Enum with underlying type: string

type MaintenanceWindowDaysOfWeekEnum string

Set of constants representing the allowable values for MaintenanceWindowDaysOfWeekEnum

const (
    MaintenanceWindowDaysOfWeekMonday    MaintenanceWindowDaysOfWeekEnum = "MONDAY"
    MaintenanceWindowDaysOfWeekTuesday   MaintenanceWindowDaysOfWeekEnum = "TUESDAY"
    MaintenanceWindowDaysOfWeekWednesday MaintenanceWindowDaysOfWeekEnum = "WEDNESDAY"
    MaintenanceWindowDaysOfWeekThursday  MaintenanceWindowDaysOfWeekEnum = "THURSDAY"
    MaintenanceWindowDaysOfWeekFriday    MaintenanceWindowDaysOfWeekEnum = "FRIDAY"
    MaintenanceWindowDaysOfWeekSaturday  MaintenanceWindowDaysOfWeekEnum = "SATURDAY"
    MaintenanceWindowDaysOfWeekSunday    MaintenanceWindowDaysOfWeekEnum = "SUNDAY"
)

func GetMaintenanceWindowDaysOfWeekEnumValues

func GetMaintenanceWindowDaysOfWeekEnumValues() []MaintenanceWindowDaysOfWeekEnum

GetMaintenanceWindowDaysOfWeekEnumValues Enumerates the set of values for MaintenanceWindowDaysOfWeekEnum

func GetMappingMaintenanceWindowDaysOfWeekEnum

func GetMappingMaintenanceWindowDaysOfWeekEnum(val string) (MaintenanceWindowDaysOfWeekEnum, bool)

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

type MaintenanceWindowMonthsEnum

MaintenanceWindowMonthsEnum Enum with underlying type: string

type MaintenanceWindowMonthsEnum string

Set of constants representing the allowable values for MaintenanceWindowMonthsEnum

const (
    MaintenanceWindowMonthsJanuary   MaintenanceWindowMonthsEnum = "JANUARY"
    MaintenanceWindowMonthsFebruary  MaintenanceWindowMonthsEnum = "FEBRUARY"
    MaintenanceWindowMonthsMarch     MaintenanceWindowMonthsEnum = "MARCH"
    MaintenanceWindowMonthsApril     MaintenanceWindowMonthsEnum = "APRIL"
    MaintenanceWindowMonthsMay       MaintenanceWindowMonthsEnum = "MAY"
    MaintenanceWindowMonthsJune      MaintenanceWindowMonthsEnum = "JUNE"
    MaintenanceWindowMonthsJuly      MaintenanceWindowMonthsEnum = "JULY"
    MaintenanceWindowMonthsAugust    MaintenanceWindowMonthsEnum = "AUGUST"
    MaintenanceWindowMonthsSeptember MaintenanceWindowMonthsEnum = "SEPTEMBER"
    MaintenanceWindowMonthsOctober   MaintenanceWindowMonthsEnum = "OCTOBER"
    MaintenanceWindowMonthsNovember  MaintenanceWindowMonthsEnum = "NOVEMBER"
    MaintenanceWindowMonthsDecember  MaintenanceWindowMonthsEnum = "DECEMBER"
)

func GetMaintenanceWindowMonthsEnumValues

func GetMaintenanceWindowMonthsEnumValues() []MaintenanceWindowMonthsEnum

GetMaintenanceWindowMonthsEnumValues Enumerates the set of values for MaintenanceWindowMonthsEnum

func GetMappingMaintenanceWindowMonthsEnum

func GetMappingMaintenanceWindowMonthsEnum(val string) (MaintenanceWindowMonthsEnum, bool)

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

type MigrateVmInstanceRequest

MigrateVmInstanceRequest wrapper for the MigrateVmInstance operation

See also

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

type MigrateVmInstanceRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM instance.
    VmInstanceId *string `mandatory:"true" contributesTo:"path" name:"vmInstanceId"`

    // 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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // The client request identifier.
    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 (MigrateVmInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (MigrateVmInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (MigrateVmInstanceRequest) RetryPolicy

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

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

func (MigrateVmInstanceRequest) String

func (request MigrateVmInstanceRequest) String() string

func (MigrateVmInstanceRequest) ValidateEnumValue

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

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

type MigrateVmInstanceResponse

MigrateVmInstanceResponse wrapper for the MigrateVmInstance operation

type MigrateVmInstanceResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (MigrateVmInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (MigrateVmInstanceResponse) String

func (response MigrateVmInstanceResponse) String() string

type NetworkBondingInterfaceEnumEnum

NetworkBondingInterfaceEnumEnum Enum with underlying type: string

type NetworkBondingInterfaceEnumEnum string

Set of constants representing the allowable values for NetworkBondingInterfaceEnumEnum

const (
    NetworkBondingInterfaceEnumBtbond1 NetworkBondingInterfaceEnumEnum = "BTBOND1"
    NetworkBondingInterfaceEnumBtbond2 NetworkBondingInterfaceEnumEnum = "BTBOND2"
    NetworkBondingInterfaceEnumBtbond3 NetworkBondingInterfaceEnumEnum = "BTBOND3"
    NetworkBondingInterfaceEnumBtbond4 NetworkBondingInterfaceEnumEnum = "BTBOND4"
    NetworkBondingInterfaceEnumBtbond5 NetworkBondingInterfaceEnumEnum = "BTBOND5"
    NetworkBondingInterfaceEnumBtbond6 NetworkBondingInterfaceEnumEnum = "BTBOND6"
)

func GetMappingNetworkBondingInterfaceEnumEnum

func GetMappingNetworkBondingInterfaceEnumEnum(val string) (NetworkBondingInterfaceEnumEnum, bool)

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

func GetNetworkBondingInterfaceEnumEnumValues

func GetNetworkBondingInterfaceEnumEnumValues() []NetworkBondingInterfaceEnumEnum

GetNetworkBondingInterfaceEnumEnumValues Enumerates the set of values for NetworkBondingInterfaceEnumEnum

type NetworkBondingModeEnum

NetworkBondingModeEnum Enum with underlying type: string

type NetworkBondingModeEnum string

Set of constants representing the allowable values for NetworkBondingModeEnum

const (
    NetworkBondingModeActiveBackup NetworkBondingModeEnum = "ACTIVE_BACKUP"
    NetworkBondingModeLacp         NetworkBondingModeEnum = "LACP"
)

func GetMappingNetworkBondingModeEnum

func GetMappingNetworkBondingModeEnum(val string) (NetworkBondingModeEnum, bool)

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

func GetNetworkBondingModeEnumValues

func GetNetworkBondingModeEnumValues() []NetworkBondingModeEnum

GetNetworkBondingModeEnumValues Enumerates the set of values for NetworkBondingModeEnum

type NodeDetails

NodeDetails Node details associated with a VM cluster network.

type NodeDetails struct {

    // The node host name.
    Hostname *string `mandatory:"true" json:"hostname"`

    // The node IP address.
    Ip *string `mandatory:"true" json:"ip"`

    // The node virtual IP (VIP) host name.
    VipHostname *string `mandatory:"false" json:"vipHostname"`

    // The node virtual IP (VIP) address.
    Vip *string `mandatory:"false" json:"vip"`
}

func (NodeDetails) String

func (m NodeDetails) String() string

func (NodeDetails) ValidateEnumValue

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

ValidateEnumValue returns an error 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"
    OperationStatusFailed     OperationStatusEnum = "FAILED"
    OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
    OperationStatusCanceling  OperationStatusEnum = "CANCELING"
    OperationStatusCanceled   OperationStatusEnum = "CANCELED"
    OperationStatusWaiting    OperationStatusEnum = "WAITING"
)

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 (
    OperationTypeCreateInstance                        OperationTypeEnum = "CREATE_INSTANCE"
    OperationTypeDeleteInstance                        OperationTypeEnum = "DELETE_INSTANCE"
    OperationTypeUpdateInstance                        OperationTypeEnum = "UPDATE_INSTANCE"
    OperationTypeChangeInstanceCompartment             OperationTypeEnum = "CHANGE_INSTANCE_COMPARTMENT"
    OperationTypeCreateBaseVmClusterNetwork            OperationTypeEnum = "CREATE_BASE_VM_CLUSTER_NETWORK"
    OperationTypeDeleteBaseVmClusterNetwork            OperationTypeEnum = "DELETE_BASE_VM_CLUSTER_NETWORK"
    OperationTypeValidateBaseVmClusterNetwork          OperationTypeEnum = "VALIDATE_BASE_VM_CLUSTER_NETWORK"
    OperationTypeUpdateBaseVmClusterNetwork            OperationTypeEnum = "UPDATE_BASE_VM_CLUSTER_NETWORK"
    OperationTypeChangeBaseVmClusterNetworkCompartment OperationTypeEnum = "CHANGE_BASE_VM_CLUSTER_NETWORK_COMPARTMENT"
    OperationTypeStartBaseVm                           OperationTypeEnum = "START_BASE_VM"
    OperationTypeStopBaseVm                            OperationTypeEnum = "STOP_BASE_VM"
    OperationTypeStartInstance                         OperationTypeEnum = "START_INSTANCE"
    OperationTypeStopInstance                          OperationTypeEnum = "STOP_INSTANCE"
    OperationTypeScaleInstance                         OperationTypeEnum = "SCALE_INSTANCE"
    OperationTypeRestartInstance                       OperationTypeEnum = "RESTART_INSTANCE"
    OperationTypeRestartBaseVm                         OperationTypeEnum = "RESTART_BASE_VM"
    OperationTypeMigrateInstance                       OperationTypeEnum = "MIGRATE_INSTANCE"
    OperationTypeScaleBaseVm                           OperationTypeEnum = "SCALE_BASE_VM"
    OperationTypeUpdateSoftwareImage                   OperationTypeEnum = "UPDATE_SOFTWARE_IMAGE"
    OperationTypeChangeSoftwareImageCompartment        OperationTypeEnum = "CHANGE_SOFTWARE_IMAGE_COMPARTMENT"
    OperationTypeValidateProxy                         OperationTypeEnum = "VALIDATE_PROXY"
    OperationTypeCreateBaseInfraCapacity               OperationTypeEnum = "CREATE_BASE_INFRA_CAPACITY"
    OperationTypeUpdateBaseInfraCapacity               OperationTypeEnum = "UPDATE_BASE_INFRA_CAPACITY"
    OperationTypeDeleteBaseInfraCapacity               OperationTypeEnum = "DELETE_BASE_INFRA_CAPACITY"
    OperationTypeActivateBaseInfrastructure            OperationTypeEnum = "ACTIVATE_BASE_INFRASTRUCTURE"
    OperationTypeCreateBaseInfrastructure              OperationTypeEnum = "CREATE_BASE_INFRASTRUCTURE"
    OperationTypeDeleteBaseInfrastructure              OperationTypeEnum = "DELETE_BASE_INFRASTRUCTURE"
    OperationTypeUpdateBaseInfrastructure              OperationTypeEnum = "UPDATE_BASE_INFRASTRUCTURE"
    OperationTypeUpdateBaseInfrastructureSoftware      OperationTypeEnum = "UPDATE_BASE_INFRASTRUCTURE_SOFTWARE"
    OperationTypeValidateBaseInfrastructure            OperationTypeEnum = "VALIDATE_BASE_INFRASTRUCTURE"
    OperationTypeChangeBaseInfrastructureCompartment   OperationTypeEnum = "CHANGE_BASE_INFRASTRUCTURE_COMPARTMENT"
    OperationTypeAnalyzeInfrastructure                 OperationTypeEnum = "ANALYZE_INFRASTRUCTURE"
    OperationTypeAnalyzeBaseInfraNetwork               OperationTypeEnum = "ANALYZE_BASE_INFRA_NETWORK"
    OperationTypeInfrastructureSreValidation           OperationTypeEnum = "INFRASTRUCTURE_SRE_VALIDATION"
    OperationTypeCreateMaintenanceRun                  OperationTypeEnum = "CREATE_MAINTENANCE_RUN"
    OperationTypeUpdateMaintenanceRun                  OperationTypeEnum = "UPDATE_MAINTENANCE_RUN"
    OperationTypeRescheduleMaintenanceRun              OperationTypeEnum = "RESCHEDULE_MAINTENANCE_RUN"
    OperationTypeInfrastructureScaleStorage            OperationTypeEnum = "INFRASTRUCTURE_SCALE_STORAGE"
)

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 PatchingModeEnumEnum

PatchingModeEnumEnum Enum with underlying type: string

type PatchingModeEnumEnum string

Set of constants representing the allowable values for PatchingModeEnumEnum

const (
    PatchingModeEnumRolling    PatchingModeEnumEnum = "ROLLING"
    PatchingModeEnumNonrolling PatchingModeEnumEnum = "NONROLLING"
)

func GetMappingPatchingModeEnumEnum

func GetMappingPatchingModeEnumEnum(val string) (PatchingModeEnumEnum, bool)

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

func GetPatchingModeEnumEnumValues

func GetPatchingModeEnumEnumValues() []PatchingModeEnumEnum

GetPatchingModeEnumEnumValues Enumerates the set of values for PatchingModeEnumEnum

type PatchingStatusEnumEnum

PatchingStatusEnumEnum Enum with underlying type: string

type PatchingStatusEnumEnum string

Set of constants representing the allowable values for PatchingStatusEnumEnum

const (
    PatchingStatusEnumCreating  PatchingStatusEnumEnum = "CREATING"
    PatchingStatusEnumPatching  PatchingStatusEnumEnum = "PATCHING"
    PatchingStatusEnumWaiting   PatchingStatusEnumEnum = "WAITING"
    PatchingStatusEnumScheduled PatchingStatusEnumEnum = "SCHEDULED"
    PatchingStatusEnumComplete  PatchingStatusEnumEnum = "COMPLETE"
    PatchingStatusEnumFailed    PatchingStatusEnumEnum = "FAILED"
)

func GetMappingPatchingStatusEnumEnum

func GetMappingPatchingStatusEnumEnum(val string) (PatchingStatusEnumEnum, bool)

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

func GetPatchingStatusEnumEnumValues

func GetPatchingStatusEnumEnumValues() []PatchingStatusEnumEnum

GetPatchingStatusEnumEnumValues Enumerates the set of values for PatchingStatusEnumEnum

type RescheduleMaintenanceRunDetails

RescheduleMaintenanceRunDetails Request parameters for rescheduling a maintenance run.

type RescheduleMaintenanceRunDetails struct {

    // The new date and time for the scheduled maintenance run.
    TimeScheduled *common.SDKTime `mandatory:"true" json:"timeScheduled"`

    // The reason for rescheduling the maintenance run.
    Reason *string `mandatory:"false" json:"reason"`
}

func (RescheduleMaintenanceRunDetails) String

func (m RescheduleMaintenanceRunDetails) String() string

func (RescheduleMaintenanceRunDetails) ValidateEnumValue

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

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

type RescheduleMaintenanceRunRequest

RescheduleMaintenanceRunRequest wrapper for the RescheduleMaintenanceRun operation

See also

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

type RescheduleMaintenanceRunRequest struct {

    // The maintenance run OCID.
    MaintenanceRunId *string `mandatory:"true" contributesTo:"path" name:"maintenanceRunId"`

    // The new scheduled time for the maintenance run.
    RescheduleMaintenanceRunDetails `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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

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

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

func (RescheduleMaintenanceRunRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (RescheduleMaintenanceRunRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (RescheduleMaintenanceRunRequest) RetryPolicy

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

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

func (RescheduleMaintenanceRunRequest) String

func (request RescheduleMaintenanceRunRequest) String() string

func (RescheduleMaintenanceRunRequest) ValidateEnumValue

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

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

type RescheduleMaintenanceRunResponse

RescheduleMaintenanceRunResponse wrapper for the RescheduleMaintenanceRun operation

type RescheduleMaintenanceRunResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

    // The full URI of the resource.
    Location *string `presentIn:"header" name:"location"`
}

func (RescheduleMaintenanceRunResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RescheduleMaintenanceRunResponse) String

func (response RescheduleMaintenanceRunResponse) String() string

type RestartVmInstanceRequest

RestartVmInstanceRequest wrapper for the RestartVmInstance operation

See also

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

type RestartVmInstanceRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM instance.
    VmInstanceId *string `mandatory:"true" contributesTo:"path" name:"vmInstanceId"`

    // 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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // The client request identifier.
    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 (RestartVmInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (RestartVmInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (RestartVmInstanceRequest) RetryPolicy

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

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

func (RestartVmInstanceRequest) String

func (request RestartVmInstanceRequest) String() string

func (RestartVmInstanceRequest) ValidateEnumValue

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

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

type RestartVmInstanceResponse

RestartVmInstanceResponse wrapper for the RestartVmInstance operation

type RestartVmInstanceResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (RestartVmInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (RestartVmInstanceResponse) String

func (response RestartVmInstanceResponse) String() string

type ScaleInfrastructureStorageDetails

ScaleInfrastructureStorageDetails The scale option to be selected for the infrastructure.

type ScaleInfrastructureStorageDetails struct {

    // The scale option to be selected for the infrastructure.
    SsdConfigurationRequested ShapeEnumEnum `mandatory:"false" json:"ssdConfigurationRequested,omitempty"`
}

func (ScaleInfrastructureStorageDetails) String

func (m ScaleInfrastructureStorageDetails) String() string

func (ScaleInfrastructureStorageDetails) ValidateEnumValue

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

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

type ScaleInfrastructureStorageRequest

ScaleInfrastructureStorageRequest wrapper for the ScaleInfrastructureStorage operation

See also

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

type ScaleInfrastructureStorageRequest struct {

    // The scale storage details for the Database Infrastructure.
    ScaleInfrastructureStorageDetails `contributesTo:"body"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"true" contributesTo:"path" name:"infrastructureId"`

    // 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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // The client request identifier.
    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 (ScaleInfrastructureStorageRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ScaleInfrastructureStorageRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ScaleInfrastructureStorageRequest) RetryPolicy

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

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

func (ScaleInfrastructureStorageRequest) String

func (request ScaleInfrastructureStorageRequest) String() string

func (ScaleInfrastructureStorageRequest) ValidateEnumValue

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

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

type ScaleInfrastructureStorageResponse

ScaleInfrastructureStorageResponse wrapper for the ScaleInfrastructureStorage operation

type ScaleInfrastructureStorageResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // The full URI of the resource.
    Location *string `presentIn:"header" name:"location"`
}

func (ScaleInfrastructureStorageResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ScaleInfrastructureStorageResponse) String

func (response ScaleInfrastructureStorageResponse) String() string

type ScaleVmInstanceDetails

ScaleVmInstanceDetails Scale the VM instance.

type ScaleVmInstanceDetails struct {

    // The memory to be allocated in GBs.
    MemorySizeInGBs *float64 `mandatory:"false" json:"memorySizeInGBs"`

    // The number of CPU cores to be enabled for VM instance.
    CpusEnabled *int `mandatory:"false" json:"cpusEnabled"`
}

func (ScaleVmInstanceDetails) String

func (m ScaleVmInstanceDetails) String() string

func (ScaleVmInstanceDetails) ValidateEnumValue

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

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

type ScaleVmInstanceRequest

ScaleVmInstanceRequest wrapper for the ScaleVmInstance operation

See also

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

type ScaleVmInstanceRequest struct {

    // Scale the VM instance.
    ScaleVmInstanceDetails `contributesTo:"body"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM instance.
    VmInstanceId *string `mandatory:"true" contributesTo:"path" name:"vmInstanceId"`

    // 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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // The client request identifier.
    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 (ScaleVmInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ScaleVmInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ScaleVmInstanceRequest) RetryPolicy

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

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

func (ScaleVmInstanceRequest) String

func (request ScaleVmInstanceRequest) String() string

func (ScaleVmInstanceRequest) ValidateEnumValue

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

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

type ScaleVmInstanceResponse

ScaleVmInstanceResponse wrapper for the ScaleVmInstance operation

type ScaleVmInstanceResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (ScaleVmInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ScaleVmInstanceResponse) String

func (response ScaleVmInstanceResponse) String() string

type ScanDetails

ScanDetails The Single Client Access Name (SCAN) details.

type ScanDetails struct {

    // The SCAN hostname.
    Hostname *string `mandatory:"true" json:"hostname"`

    // The list of SCAN IP addresses. Three addresses should be provided.
    Ips []string `mandatory:"true" json:"ips"`
}

func (ScanDetails) String

func (m ScanDetails) String() string

func (ScanDetails) ValidateEnumValue

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

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

type ShapeEnumEnum

ShapeEnumEnum Enum with underlying type: string

type ShapeEnumEnum string

Set of constants representing the allowable values for ShapeEnumEnum

const (
    ShapeEnumSixSsds        ShapeEnumEnum = "SIX_SSDS"
    ShapeEnumTwelveSsds     ShapeEnumEnum = "TWELVE_SSDS"
    ShapeEnumEighteenSsds   ShapeEnumEnum = "EIGHTEEN_SSDS"
    ShapeEnumTwentyFourSsds ShapeEnumEnum = "TWENTY_FOUR_SSDS"
)

func GetMappingShapeEnumEnum

func GetMappingShapeEnumEnum(val string) (ShapeEnumEnum, bool)

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

func GetShapeEnumEnumValues

func GetShapeEnumEnumValues() []ShapeEnumEnum

GetShapeEnumEnumValues Enumerates the set of values for ShapeEnumEnum

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 StartVmInstanceRequest

StartVmInstanceRequest wrapper for the StartVmInstance operation

See also

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

type StartVmInstanceRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM instance.
    VmInstanceId *string `mandatory:"true" contributesTo:"path" name:"vmInstanceId"`

    // 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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // The client request identifier.
    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 (StartVmInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (StartVmInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (StartVmInstanceRequest) RetryPolicy

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

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

func (StartVmInstanceRequest) String

func (request StartVmInstanceRequest) String() string

func (StartVmInstanceRequest) ValidateEnumValue

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

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

type StartVmInstanceResponse

StartVmInstanceResponse wrapper for the StartVmInstance operation

type StartVmInstanceResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (StartVmInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (StartVmInstanceResponse) String

func (response StartVmInstanceResponse) String() string

type StopVmInstanceRequest

StopVmInstanceRequest wrapper for the StopVmInstance operation

See also

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

type StopVmInstanceRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM instance.
    VmInstanceId *string `mandatory:"true" contributesTo:"path" name:"vmInstanceId"`

    // 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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // The client request identifier.
    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 (StopVmInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (StopVmInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (StopVmInstanceRequest) RetryPolicy

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

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

func (StopVmInstanceRequest) String

func (request StopVmInstanceRequest) String() string

func (StopVmInstanceRequest) ValidateEnumValue

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

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

type StopVmInstanceResponse

StopVmInstanceResponse wrapper for the StopVmInstance operation

type StopVmInstanceResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (StopVmInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (StopVmInstanceResponse) String

func (response StopVmInstanceResponse) String() string

type StorageCapacityDetails

StorageCapacityDetails Capacity details of the Storage disk group.

type StorageCapacityDetails struct {

    // The Disk redundancy for Database Infrastructure storage.
    StorageDiskRedundancy StorageDiskRedundancyEnum `mandatory:"false" json:"storageDiskRedundancy,omitempty"`

    // Disk group name.
    DiskGroup *string `mandatory:"false" json:"diskGroup"`

    // The total amount of physical disk space available in a disk group, in gigabytes (GB).
    PhyTotalSpaceInGBs *int64 `mandatory:"false" json:"phyTotalSpaceInGBs"`

    // The total amount of physical disk space that is reserved for system use in a disk group, in gigabytes (GB).
    PhyReservedSpaceInGBs *int64 `mandatory:"false" json:"phyReservedSpaceInGBs"`

    // The total amount of physical disk space that is currently available for use in a disk group, in gigabytes (GB).
    PhyFreeSpaceInGBs *int64 `mandatory:"false" json:"phyFreeSpaceInGBs"`

    // The total amount of logical disk space that is currently available for use in a disk group, in gigabytes (GB).
    LogicalFreeSpaceInGBs *int64 `mandatory:"false" json:"logicalFreeSpaceInGBs"`
}

func (StorageCapacityDetails) String

func (m StorageCapacityDetails) String() string

func (StorageCapacityDetails) ValidateEnumValue

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

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

type StorageDiskRedundancyEnum

StorageDiskRedundancyEnum Enum with underlying type: string

type StorageDiskRedundancyEnum string

Set of constants representing the allowable values for StorageDiskRedundancyEnum

const (
    StorageDiskRedundancyHigh   StorageDiskRedundancyEnum = "HIGH"
    StorageDiskRedundancyMirror StorageDiskRedundancyEnum = "MIRROR"
    StorageDiskRedundancyFlex   StorageDiskRedundancyEnum = "FLEX"
)

func GetMappingStorageDiskRedundancyEnum

func GetMappingStorageDiskRedundancyEnum(val string) (StorageDiskRedundancyEnum, bool)

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

func GetStorageDiskRedundancyEnumValues

func GetStorageDiskRedundancyEnumValues() []StorageDiskRedundancyEnum

GetStorageDiskRedundancyEnumValues Enumerates the set of values for StorageDiskRedundancyEnum

type StorageTypeEnum

StorageTypeEnum Enum with underlying type: string

type StorageTypeEnum string

Set of constants representing the allowable values for StorageTypeEnum

const (
    StorageTypeHighCapacity StorageTypeEnum = "HIGH_CAPACITY"
    StorageTypeExtended     StorageTypeEnum = "EXTENDED"
    StorageTypeExtremeFlash StorageTypeEnum = "EXTREME_FLASH"
)

func GetMappingStorageTypeEnum

func GetMappingStorageTypeEnum(val string) (StorageTypeEnum, bool)

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

func GetStorageTypeEnumValues

func GetStorageTypeEnumValues() []StorageTypeEnum

GetStorageTypeEnumValues Enumerates the set of values for StorageTypeEnum

type SystemModelEnumEnum

SystemModelEnumEnum Enum with underlying type: string

type SystemModelEnumEnum string

Set of constants representing the allowable values for SystemModelEnumEnum

const (
    SystemModelEnumX11Ha768 SystemModelEnumEnum = "X11_HA_768"
    SystemModelEnumX10Ha512 SystemModelEnumEnum = "X10_HA_512"
    SystemModelEnumX8Ha384  SystemModelEnumEnum = "X8_HA_384"
)

func GetMappingSystemModelEnumEnum

func GetMappingSystemModelEnumEnum(val string) (SystemModelEnumEnum, bool)

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

func GetSystemModelEnumEnumValues

func GetSystemModelEnumEnumValues() []SystemModelEnumEnum

GetSystemModelEnumEnumValues Enumerates the set of values for SystemModelEnumEnum

type SystemStorageCapacityDetails

SystemStorageCapacityDetails Capacity details of different storage types.

type SystemStorageCapacityDetails struct {

    // List of storage disk group capacity details.
    DiskGroups []DiskGroupCapacityDetails `mandatory:"false" json:"diskGroups"`

    Acfs *AcfsCapacityDetails `mandatory:"false" json:"acfs"`
}

func (SystemStorageCapacityDetails) String

func (m SystemStorageCapacityDetails) String() string

func (SystemStorageCapacityDetails) ValidateEnumValue

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

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

type TargetResourceTypeEnumEnum

TargetResourceTypeEnumEnum Enum with underlying type: string

type TargetResourceTypeEnumEnum string

Set of constants representing the allowable values for TargetResourceTypeEnumEnum

const (
    TargetResourceTypeEnumDbCcInfrastructure TargetResourceTypeEnumEnum = "DB_CC_INFRASTRUCTURE"
)

func GetMappingTargetResourceTypeEnumEnum

func GetMappingTargetResourceTypeEnumEnum(val string) (TargetResourceTypeEnumEnum, bool)

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

func GetTargetResourceTypeEnumEnumValues

func GetTargetResourceTypeEnumEnumValues() []TargetResourceTypeEnumEnum

GetTargetResourceTypeEnumEnumValues Enumerates the set of values for TargetResourceTypeEnumEnum

type TypeEnumEnum

TypeEnumEnum Enum with underlying type: string

type TypeEnumEnum string

Set of constants representing the allowable values for TypeEnumEnum

const (
    TypeEnumNotify  TypeEnumEnum = "NOTIFY"
    TypeEnumExecute TypeEnumEnum = "EXECUTE"
)

func GetMappingTypeEnumEnum

func GetMappingTypeEnumEnum(val string) (TypeEnumEnum, bool)

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

func GetTypeEnumEnumValues

func GetTypeEnumEnumValues() []TypeEnumEnum

GetTypeEnumEnumValues Enumerates the set of values for TypeEnumEnum

type UpdateInfrastructureDetails

UpdateInfrastructureDetails Request to update Database Infrastructure resource.

type UpdateInfrastructureDetails struct {

    // The user-friendly name for the Database Infrastructure. The name does not need to be unique.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Database Infrastructure description.
    Description *string `mandatory:"false" json:"description"`

    // Database Infrastructure System Model specification. The system model determines the model of the Database Infrastructure hardware to be used.
    SystemModel SystemModelEnumEnum `mandatory:"false" json:"systemModel,omitempty"`

    // The shape of the Database Infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance.
    Shape ShapeEnumEnum `mandatory:"false" json:"shape,omitempty"`

    // The IP address for the first control plane server.
    CloudControlPlaneServer1 *string `mandatory:"false" json:"cloudControlPlaneServer1"`

    // The IP address for the second control plane server.
    CloudControlPlaneServer2 *string `mandatory:"false" json:"cloudControlPlaneServer2"`

    // The netmask for the control plane network.
    Netmask *string `mandatory:"false" json:"netmask"`

    // The gateway for the control plane network.
    Gateway *string `mandatory:"false" json:"gateway"`

    // The CIDR block for the system network. The system network is a private network in Database Infrastructure and is not connected to your corporate network. The system network is used for storage (ASM) traffic, high-performance interconnect traffic and administration of infrastructure components.
    AdminNetworkcidr *string `mandatory:"false" json:"adminNetworkcidr"`

    // Percentage of disk space assigned for DATA disk group. Remaining disk space will get assiged to RECO disk group
    DataDiskPercentage *int `mandatory:"false" json:"dataDiskPercentage"`

    // The list of contacts for the Database Infrastructure.
    Contacts []InfrastructureContact `mandatory:"false" json:"contacts"`

    // The list of DNS server IP addresses. Maximum of 3 allowed.
    DnsServers []string `mandatory:"false" json:"dnsServers"`

    // The list of NTP server IP addresses. Maximum of 3 allowed.
    NtpServers []string `mandatory:"false" json:"ntpServers"`

    // The network bonding mode for Client networks for the Database Infrastructure.
    ClientNetworkBondingMode NetworkBondingModeEnum `mandatory:"false" json:"clientNetworkBondingMode,omitempty"`

    // The network bonding mode for Backup networks for the Database Infrastructure.
    BackupNetworkBondingMode NetworkBondingModeEnum `mandatory:"false" json:"backupNetworkBondingMode,omitempty"`

    // The network bonding mode for CPS networks for the Database Infrastructure.
    CpsNetworkBondingMode NetworkBondingModeEnum `mandatory:"false" json:"cpsNetworkBondingMode,omitempty"`

    // The network bonding interface for client network for the Database Infrastructure.
    ClientNetworkBondingInterface NetworkBondingInterfaceEnumEnum `mandatory:"false" json:"clientNetworkBondingInterface,omitempty"`

    // The network bonding interface for backup network for the Database Infrastructure.
    BackupNetworkBondingInterface NetworkBondingInterfaceEnumEnum `mandatory:"false" json:"backupNetworkBondingInterface,omitempty"`

    // The network bonding interface for CPS network for the Database Infrastructure.
    CpsNetworkBondingInterface NetworkBondingInterfaceEnumEnum `mandatory:"false" json:"cpsNetworkBondingInterface,omitempty"`

    // The amount of storage (in GB) in the DATA disk group that is reserved for creating local storage for VM Clusters and application VMs.
    AcfsFileSystemStorageInGbs *float64 `mandatory:"false" json:"acfsFileSystemStorageInGbs"`

    // The corporate network proxy for access to the control plane network. Oracle recommends using an HTTPS proxy when possible
    // for enhanced security.
    CorporateProxy *string `mandatory:"false" json:"corporateProxy"`

    // The CPS network VLAN ID.
    VlanId *string `mandatory:"false" json:"vlanId"`

    MaintenanceWindow *MaintenanceWindow `mandatory:"false" json:"maintenanceWindow"`

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

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

func (UpdateInfrastructureDetails) String

func (m UpdateInfrastructureDetails) String() string

func (UpdateInfrastructureDetails) ValidateEnumValue

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

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

type UpdateInfrastructureRequest

UpdateInfrastructureRequest wrapper for the UpdateInfrastructure operation

See also

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

type UpdateInfrastructureRequest struct {

    // The updated Database Infrastructure details.
    UpdateInfrastructureDetails `contributesTo:"body"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"true" contributesTo:"path" name:"infrastructureId"`

    // 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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request identifier.
    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 (UpdateInfrastructureRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateInfrastructureRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateInfrastructureRequest) RetryPolicy

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

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

func (UpdateInfrastructureRequest) String

func (request UpdateInfrastructureRequest) String() string

func (UpdateInfrastructureRequest) ValidateEnumValue

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

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

type UpdateInfrastructureResponse

UpdateInfrastructureResponse wrapper for the UpdateInfrastructure operation

type UpdateInfrastructureResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

    // The full URI of the resource.
    Location *string `presentIn:"header" name:"location"`
}

func (UpdateInfrastructureResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateInfrastructureResponse) String

func (response UpdateInfrastructureResponse) String() string

type UpdateMaintenanceRunDetails

UpdateMaintenanceRunDetails Request to update maintenance run resource.

type UpdateMaintenanceRunDetails struct {

    // Database Infrastructure patching mode, either "ROLLING" or "NONROLLING". Default value is ROLLING.
    PatchingMode PatchingModeEnumEnum `mandatory:"true" json:"patchingMode"`

    // Determines the amount of time the system will wait before the start of each compute server patching operation.
    // Supported values are 15 to 120 minutes.
    CustomActionTimeoutInMins *int `mandatory:"true" json:"customActionTimeoutInMins"`

    // If true, enables configuration of customActionTimeoutInMins for this maintenance run update request.
    IsCustomActionTimeoutEnabled *bool `mandatory:"false" json:"isCustomActionTimeoutEnabled"`

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

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

func (UpdateMaintenanceRunDetails) String

func (m UpdateMaintenanceRunDetails) String() string

func (UpdateMaintenanceRunDetails) ValidateEnumValue

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

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

type UpdateMaintenanceRunRequest

UpdateMaintenanceRunRequest wrapper for the UpdateMaintenanceRun operation

See also

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

type UpdateMaintenanceRunRequest struct {

    // The updated maintenance run details.
    UpdateMaintenanceRunDetails `contributesTo:"body"`

    // The maintenance run OCID.
    MaintenanceRunId *string `mandatory:"true" contributesTo:"path" name:"maintenanceRunId"`

    // 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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request identifier.
    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 (UpdateMaintenanceRunRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateMaintenanceRunRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateMaintenanceRunRequest) RetryPolicy

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

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

func (UpdateMaintenanceRunRequest) String

func (request UpdateMaintenanceRunRequest) String() string

func (UpdateMaintenanceRunRequest) ValidateEnumValue

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

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

type UpdateMaintenanceRunResponse

UpdateMaintenanceRunResponse wrapper for the UpdateMaintenanceRun operation

type UpdateMaintenanceRunResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

    // The full URI of the resource.
    Location *string `presentIn:"header" name:"location"`
}

func (UpdateMaintenanceRunResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateMaintenanceRunResponse) String

func (response UpdateMaintenanceRunResponse) String() string

type UpdateVmClusterNetworkDetails

UpdateVmClusterNetworkDetails Details for an VM cluster network.

type UpdateVmClusterNetworkDetails struct {

    // The user-friendly name for the VM cluster network. The name does not need to be unique.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The SCAN details.
    Scans []ScanDetails `mandatory:"false" json:"scans"`

    // The listener TCP/IP port.
    ListenerPort *int `mandatory:"false" json:"listenerPort"`

    // The listener TCP/IP SSL port. Default is 2484.
    ListenerPortSsl *int `mandatory:"false" json:"listenerPortSsl"`

    // The list of DNS server IP addresses. Maximum of 3 allowed.
    DnsServers []string `mandatory:"false" json:"dnsServers"`

    // The list of NTP server IP addresses. Maximum of 3 allowed.
    NtpServers []string `mandatory:"false" json:"ntpServers"`

    // Details of the client and backup networks.
    VmNetworks []VmNetworkDetails `mandatory:"false" json:"vmNetworks"`

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

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

func (UpdateVmClusterNetworkDetails) String

func (m UpdateVmClusterNetworkDetails) String() string

func (UpdateVmClusterNetworkDetails) ValidateEnumValue

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

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

type UpdateVmClusterNetworkRequest

UpdateVmClusterNetworkRequest wrapper for the UpdateVmClusterNetwork operation

See also

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

type UpdateVmClusterNetworkRequest struct {

    // The updated VM cluster details.
    UpdateVmClusterNetworkDetails `contributesTo:"body"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network.
    VmClusterNetworkId *string `mandatory:"true" contributesTo:"path" name:"vmClusterNetworkId"`

    // 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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request identifier.
    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 (UpdateVmClusterNetworkRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateVmClusterNetworkRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateVmClusterNetworkRequest) RetryPolicy

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

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

func (UpdateVmClusterNetworkRequest) String

func (request UpdateVmClusterNetworkRequest) String() string

func (UpdateVmClusterNetworkRequest) ValidateEnumValue

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

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

type UpdateVmClusterNetworkResponse

UpdateVmClusterNetworkResponse wrapper for the UpdateVmClusterNetwork operation

type UpdateVmClusterNetworkResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

    // The full URI of the resource.
    Location *string `presentIn:"header" name:"location"`
}

func (UpdateVmClusterNetworkResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateVmClusterNetworkResponse) String

func (response UpdateVmClusterNetworkResponse) String() string

type UpdateVmInstanceDetails

UpdateVmInstanceDetails Updated VM instance details.

type UpdateVmInstanceDetails struct {

    // VM instance description.
    Description *string `mandatory:"false" json:"description"`

    // VM instance display name. This name does not have to be unique, and is changeable.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Data storage to be allocated in GBs.
    DataStorageSizeInGBs *float64 `mandatory:"false" json:"dataStorageSizeInGBs"`

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

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

func (UpdateVmInstanceDetails) String

func (m UpdateVmInstanceDetails) String() string

func (UpdateVmInstanceDetails) ValidateEnumValue

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

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

type UpdateVmInstanceRequest

UpdateVmInstanceRequest wrapper for the UpdateVmInstance operation

See also

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

type UpdateVmInstanceRequest struct {

    // The updated VM instance details.
    UpdateVmInstanceDetails `contributesTo:"body"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM instance.
    VmInstanceId *string `mandatory:"true" contributesTo:"path" name:"vmInstanceId"`

    // 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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request identifier.
    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 (UpdateVmInstanceRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateVmInstanceRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateVmInstanceRequest) RetryPolicy

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

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

func (UpdateVmInstanceRequest) String

func (request UpdateVmInstanceRequest) String() string

func (UpdateVmInstanceRequest) ValidateEnumValue

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

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

type UpdateVmInstanceResponse

UpdateVmInstanceResponse wrapper for the UpdateVmInstance operation

type UpdateVmInstanceResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

    // The full URI of the resource.
    Location *string `presentIn:"header" name:"location"`
}

func (UpdateVmInstanceResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateVmInstanceResponse) String

func (response UpdateVmInstanceResponse) String() string

type ValidateInfrastructureDetails

ValidateInfrastructureDetails The validation details for the Database Infrastructure.

type ValidateInfrastructureDetails struct {

    // The validation zip file.
    ValidationZipFile []byte `mandatory:"true" json:"validationZipFile"`
}

func (ValidateInfrastructureDetails) String

func (m ValidateInfrastructureDetails) String() string

func (ValidateInfrastructureDetails) ValidateEnumValue

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

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

type ValidateInfrastructureRequest

ValidateInfrastructureRequest wrapper for the ValidateInfrastructure operation

See also

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

type ValidateInfrastructureRequest struct {

    // The validation details for the Database Infrastructure.
    ValidateInfrastructureDetails `contributesTo:"body"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"true" contributesTo:"path" name:"infrastructureId"`

    // 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 is updated or deleted only if the Etag that you
    // provide matches the current Etag value for the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

    // The client request identifier.
    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 (ValidateInfrastructureRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ValidateInfrastructureRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ValidateInfrastructureRequest) RetryPolicy

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

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

func (ValidateInfrastructureRequest) String

func (request ValidateInfrastructureRequest) String() string

func (ValidateInfrastructureRequest) ValidateEnumValue

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

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

type ValidateInfrastructureResponse

ValidateInfrastructureResponse wrapper for the ValidateInfrastructure operation

type ValidateInfrastructureResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

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

    // The full URI of the resource.
    Location *string `presentIn:"header" name:"location"`
}

func (ValidateInfrastructureResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ValidateInfrastructureResponse) String

func (response ValidateInfrastructureResponse) String() string

type ValidateVmClusterNetworkRequest

ValidateVmClusterNetworkRequest wrapper for the ValidateVmClusterNetwork operation

See also

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

type ValidateVmClusterNetworkRequest struct {

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network.
    VmClusterNetworkId *string `mandatory:"true" contributesTo:"path" name:"vmClusterNetworkId"`

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

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

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

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

func (ValidateVmClusterNetworkRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ValidateVmClusterNetworkRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ValidateVmClusterNetworkRequest) RetryPolicy

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

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

func (ValidateVmClusterNetworkRequest) String

func (request ValidateVmClusterNetworkRequest) String() string

func (ValidateVmClusterNetworkRequest) ValidateEnumValue

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

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

type ValidateVmClusterNetworkResponse

ValidateVmClusterNetworkResponse wrapper for the ValidateVmClusterNetwork operation

type ValidateVmClusterNetworkResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

func (ValidateVmClusterNetworkResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ValidateVmClusterNetworkResponse) String

func (response ValidateVmClusterNetworkResponse) String() string

type VmClusterNetwork

VmClusterNetwork Details of the VM cluster network on Database Infrastructure.

type VmClusterNetwork struct {

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

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"true" json:"infrastructureId"`

    // The user-friendly name for the VM cluster network. The name does not need to be unique.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The SCAN details.
    Scans []ScanDetails `mandatory:"true" json:"scans"`

    // Details of the client and backup networks.
    VmNetworks []VmNetworkDetails `mandatory:"true" json:"vmNetworks"`

    // Count of virtual machines in this VM cluster.
    NodeCount *int `mandatory:"false" json:"nodeCount"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated VM cluster.
    BaseVmClusterId *string `mandatory:"false" json:"baseVmClusterId"`

    // Indicates whether Single Client Access Name (SCAN) is enabled on the VM cluster.
    IsScanEnabled *bool `mandatory:"false" json:"isScanEnabled"`

    // The listener TCP/IP port.
    ListenerPort *int `mandatory:"false" json:"listenerPort"`

    // The listener TCP/IP SSL port.
    ListenerPortSsl *int `mandatory:"false" json:"listenerPortSsl"`

    // The list of DNS server IP addresses. Maximum of 3 allowed.
    DnsServers []string `mandatory:"false" json:"dnsServers"`

    // The list of NTP server IP addresses. Maximum of 3 allowed.
    NtpServers []string `mandatory:"false" json:"ntpServers"`

    // The current state of the virtual machine cluster network.
    LifecycleState VmClusterNetworkLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // The time that the VM cluster network was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time that the VM cluster network was last updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Lifecycle state details of the VM cluster network.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated resource.
    AssociatedResourceId *string `mandatory:"false" json:"associatedResourceId"`

    // Consumer type for the VM cluster network.
    ConsumerType VmNetworkConsumerTypeEnum `mandatory:"false" json:"consumerType,omitempty"`

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

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

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

func (VmClusterNetwork) String

func (m VmClusterNetwork) String() string

func (VmClusterNetwork) ValidateEnumValue

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

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

type VmClusterNetworkCollection

VmClusterNetworkCollection A collection of VM cluster network Database Infrastructure resources.

type VmClusterNetworkCollection struct {

    // A list of VM cluster network resources.
    Items []VmClusterNetworkSummary `mandatory:"true" json:"items"`
}

func (VmClusterNetworkCollection) String

func (m VmClusterNetworkCollection) String() string

func (VmClusterNetworkCollection) ValidateEnumValue

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

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

type VmClusterNetworkLifecycleStateEnum

VmClusterNetworkLifecycleStateEnum Enum with underlying type: string

type VmClusterNetworkLifecycleStateEnum string

Set of constants representing the allowable values for VmClusterNetworkLifecycleStateEnum

const (
    VmClusterNetworkLifecycleStateCreating           VmClusterNetworkLifecycleStateEnum = "CREATING"
    VmClusterNetworkLifecycleStateRequiresValidation VmClusterNetworkLifecycleStateEnum = "REQUIRES_VALIDATION"
    VmClusterNetworkLifecycleStateValidating         VmClusterNetworkLifecycleStateEnum = "VALIDATING"
    VmClusterNetworkLifecycleStateValidated          VmClusterNetworkLifecycleStateEnum = "VALIDATED"
    VmClusterNetworkLifecycleStateValidationFailed   VmClusterNetworkLifecycleStateEnum = "VALIDATION_FAILED"
    VmClusterNetworkLifecycleStateUpdating           VmClusterNetworkLifecycleStateEnum = "UPDATING"
    VmClusterNetworkLifecycleStateAllocated          VmClusterNetworkLifecycleStateEnum = "ALLOCATED"
    VmClusterNetworkLifecycleStateDeleting           VmClusterNetworkLifecycleStateEnum = "DELETING"
    VmClusterNetworkLifecycleStateDeleted            VmClusterNetworkLifecycleStateEnum = "DELETED"
)

func GetMappingVmClusterNetworkLifecycleStateEnum

func GetMappingVmClusterNetworkLifecycleStateEnum(val string) (VmClusterNetworkLifecycleStateEnum, bool)

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

func GetVmClusterNetworkLifecycleStateEnumValues

func GetVmClusterNetworkLifecycleStateEnumValues() []VmClusterNetworkLifecycleStateEnum

GetVmClusterNetworkLifecycleStateEnumValues Enumerates the set of values for VmClusterNetworkLifecycleStateEnum

type VmClusterNetworkSummary

VmClusterNetworkSummary Summary of the VM cluster network on Database Infrastructure.

type VmClusterNetworkSummary struct {

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

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"true" json:"infrastructureId"`

    // The user-friendly name for the VM cluster network. The name does not need to be unique.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The SCAN details.
    Scans []ScanDetails `mandatory:"true" json:"scans"`

    // Details of the client and backup networks.
    VmNetworks []VmNetworkDetails `mandatory:"true" json:"vmNetworks"`

    // Count of virtual machines in this VM cluster.
    NodeCount *int `mandatory:"false" json:"nodeCount"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated VM cluster.
    BaseVmClusterId *string `mandatory:"false" json:"baseVmClusterId"`

    // Indicates whether Single Client Access Name (SCAN) is enabled on the VM cluster.
    IsScanEnabled *bool `mandatory:"false" json:"isScanEnabled"`

    // The listener TCP/IP port.
    ListenerPort *int `mandatory:"false" json:"listenerPort"`

    // The listener TCP/IP SSL port.
    ListenerPortSsl *int `mandatory:"false" json:"listenerPortSsl"`

    // The list of DNS server IP addresses. Maximum of 3 allowed.
    DnsServers []string `mandatory:"false" json:"dnsServers"`

    // The list of NTP server IP addresses. Maximum of 3 allowed.
    NtpServers []string `mandatory:"false" json:"ntpServers"`

    // The current state of the virtual machine cluster network.
    LifecycleState VmClusterNetworkLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // The time that the VM cluster network was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The time that the VM cluster network was last updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // Lifecycle state details of the VM cluster network.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated resource.
    AssociatedResourceId *string `mandatory:"false" json:"associatedResourceId"`

    // Consumer type for the VM cluster network.
    ConsumerType VmNetworkConsumerTypeEnum `mandatory:"false" json:"consumerType,omitempty"`

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

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

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

func (VmClusterNetworkSummary) String

func (m VmClusterNetworkSummary) String() string

func (VmClusterNetworkSummary) ValidateEnumValue

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

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

type VmClusterNetworkTypeEnum

VmClusterNetworkTypeEnum Enum with underlying type: string

type VmClusterNetworkTypeEnum string

Set of constants representing the allowable values for VmClusterNetworkTypeEnum

const (
    VmClusterNetworkTypeClient VmClusterNetworkTypeEnum = "CLIENT"
    VmClusterNetworkTypeBackup VmClusterNetworkTypeEnum = "BACKUP"
)

func GetMappingVmClusterNetworkTypeEnum

func GetMappingVmClusterNetworkTypeEnum(val string) (VmClusterNetworkTypeEnum, bool)

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

func GetVmClusterNetworkTypeEnumValues

func GetVmClusterNetworkTypeEnumValues() []VmClusterNetworkTypeEnum

GetVmClusterNetworkTypeEnumValues Enumerates the set of values for VmClusterNetworkTypeEnum

type VmInstance

VmInstance VM instance details.

type VmInstance struct {

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

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"true" json:"infrastructureId"`

    // The number of CPU cores enabled for each VM instance.
    CpusEnabled *int `mandatory:"true" json:"cpusEnabled"`

    // List of public key used for SSH access to the VM instance.
    SshPublicKeys []string `mandatory:"true" json:"sshPublicKeys"`

    // The current state of the VM instance.
    LifecycleState VmInstanceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The time that the VM instance was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time that the VM instance was last updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The time zone to use for the VM instance.
    TimeZone *string `mandatory:"true" json:"timeZone"`

    // VM instance display name. This name does not have to be unique, and is changeable.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // VM instance description.
    Description *string `mandatory:"false" json:"description"`

    // The memory to be allocated in GBs.
    MemorySizeInGBs *float64 `mandatory:"false" json:"memorySizeInGBs"`

    // Boot storage memory to be allocated in GBs.
    BootStorageSizeInGBs *float64 `mandatory:"false" json:"bootStorageSizeInGBs"`

    // Data storage to be allocated in GBs.
    DataStorageSizeInGBs *float64 `mandatory:"false" json:"dataStorageSizeInGBs"`

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

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

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM custom instance uploaded.
    ImageId *string `mandatory:"false" json:"imageId"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute node on which VM instance should be launched.
    ServerId *string `mandatory:"false" json:"serverId"`

    // Lifecycle state details of the VM instance.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The domain name of the VM instance.
    DomainName *string `mandatory:"false" json:"domainName"`

    // The list of DNS server IP addresses. Maximum of 3 allowed.
    DnsServers []string `mandatory:"false" json:"dnsServers"`

    // The list of NTP server addresses. Maximum of 3 allowed.
    NtpServers []string `mandatory:"false" json:"ntpServers"`

    // The host name of the instance.
    Hostname *string `mandatory:"false" json:"hostname"`

    // The IP address of the instance.
    IpAddress *string `mandatory:"false" json:"ipAddress"`

    // The netmask of the VM instance network.
    Netmask *string `mandatory:"false" json:"netmask"`

    // The gateway IP address of the VM instance network.
    Gateway *string `mandatory:"false" json:"gateway"`

    // The network VLAN ID.
    VlanId *string `mandatory:"false" json:"vlanId"`

    // Base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration.
    // For information about how to take advantage of user data, see the Cloud-Init Documentation (http://cloudinit.readthedocs.org/en/latest/topics/format.html).
    Userdata *string `mandatory:"false" json:"userdata"`

    // Custom metadata key/value pairs which can be used to:
    // - Provide information to Cloud-Init (https://cloudinit.readthedocs.org/en/latest/) to be used for various system initialization tasks.
    // - Provide additional information which is exposed inside the instance context and can be queried or referenced by user-data scripts for dynamic configuration.
    Metadata map[string]string `mandatory:"false" json:"metadata"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Network.
    VmNetworkId *string `mandatory:"false" json:"vmNetworkId"`
}

func (VmInstance) String

func (m VmInstance) String() string

func (VmInstance) ValidateEnumValue

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

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

type VmInstanceCollection

VmInstanceCollection A collection of VM instance on Database Infrastructure summary resources.

type VmInstanceCollection struct {

    // A list of VM instance summary resources.
    Items []VmInstanceSummary `mandatory:"true" json:"items"`
}

func (VmInstanceCollection) String

func (m VmInstanceCollection) String() string

func (VmInstanceCollection) ValidateEnumValue

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

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

type VmInstanceLifecycleStateEnum

VmInstanceLifecycleStateEnum Enum with underlying type: string

type VmInstanceLifecycleStateEnum string

Set of constants representing the allowable values for VmInstanceLifecycleStateEnum

const (
    VmInstanceLifecycleStateCreating VmInstanceLifecycleStateEnum = "CREATING"
    VmInstanceLifecycleStateActive   VmInstanceLifecycleStateEnum = "ACTIVE"
    VmInstanceLifecycleStateInactive VmInstanceLifecycleStateEnum = "INACTIVE"
    VmInstanceLifecycleStateUpdating VmInstanceLifecycleStateEnum = "UPDATING"
    VmInstanceLifecycleStateDeleting VmInstanceLifecycleStateEnum = "DELETING"
    VmInstanceLifecycleStateDeleted  VmInstanceLifecycleStateEnum = "DELETED"
)

func GetMappingVmInstanceLifecycleStateEnum

func GetMappingVmInstanceLifecycleStateEnum(val string) (VmInstanceLifecycleStateEnum, bool)

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

func GetVmInstanceLifecycleStateEnumValues

func GetVmInstanceLifecycleStateEnumValues() []VmInstanceLifecycleStateEnum

GetVmInstanceLifecycleStateEnumValues Enumerates the set of values for VmInstanceLifecycleStateEnum

type VmInstanceSummary

VmInstanceSummary VM instance on Database Infrastructure summary.

type VmInstanceSummary struct {

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

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

    // The number of CPU cores enabled for each VM instance.
    CpusEnabled *int `mandatory:"true" json:"cpusEnabled"`

    // The current state of the VM instance.
    LifecycleState VmInstanceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The time that the VM instance was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time that the VM instance was last updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The time zone to use for the VM instance.
    TimeZone *string `mandatory:"true" json:"timeZone"`

    // VM instance display name. This name does not have to be unique, and is changeable.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // VM instance description.
    Description *string `mandatory:"false" json:"description"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure.
    InfrastructureId *string `mandatory:"false" json:"infrastructureId"`

    // The memory to be allocated in GBs.
    MemorySizeInGBs *float64 `mandatory:"false" json:"memorySizeInGBs"`

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

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

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

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM custom instance uploaded.
    ImageId *string `mandatory:"false" json:"imageId"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute node on which VM instance should be launched.
    ServerId *string `mandatory:"false" json:"serverId"`

    // Lifecycle state details of the VM instance.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The domain name of the VM instance.
    DomainName *string `mandatory:"false" json:"domainName"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Network.
    VmNetworkId *string `mandatory:"false" json:"vmNetworkId"`
}

func (VmInstanceSummary) String

func (m VmInstanceSummary) String() string

func (VmInstanceSummary) ValidateEnumValue

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

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

type VmNetworkConsumerTypeEnum

VmNetworkConsumerTypeEnum Enum with underlying type: string

type VmNetworkConsumerTypeEnum string

Set of constants representing the allowable values for VmNetworkConsumerTypeEnum

const (
    VmNetworkConsumerTypeInstance VmNetworkConsumerTypeEnum = "INSTANCE"
    VmNetworkConsumerTypeCluster  VmNetworkConsumerTypeEnum = "CLUSTER"
)

func GetMappingVmNetworkConsumerTypeEnum

func GetMappingVmNetworkConsumerTypeEnum(val string) (VmNetworkConsumerTypeEnum, bool)

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

func GetVmNetworkConsumerTypeEnumValues

func GetVmNetworkConsumerTypeEnumValues() []VmNetworkConsumerTypeEnum

GetVmNetworkConsumerTypeEnumValues Enumerates the set of values for VmNetworkConsumerTypeEnum

type VmNetworkDetails

VmNetworkDetails Details of the client or backup networks in an VM cluster.

type VmNetworkDetails struct {

    // The network type.
    NetworkType VmClusterNetworkTypeEnum `mandatory:"true" json:"networkType"`

    // The network netmask.
    Netmask *string `mandatory:"true" json:"netmask"`

    // The network gateway.
    Gateway *string `mandatory:"true" json:"gateway"`

    // The network domain name.
    DomainName *string `mandatory:"true" json:"domainName"`

    // The list of node details.
    Nodes []NodeDetails `mandatory:"true" json:"nodes"`

    // The network VLAN ID.
    VlanId *string `mandatory:"false" json:"vlanId"`

    // The network domain name prefix.
    Prefix *string `mandatory:"false" json:"prefix"`
}

func (VmNetworkDetails) String

func (m VmNetworkDetails) String() string

func (VmNetworkDetails) ValidateEnumValue

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

ValidateEnumValue returns an error 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 Work request details.

type WorkRequest struct {

    // Type of the work request.
    OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

    // Status of current 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"`

    // 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 affected by the work request.
    Resources []WorkRequestResource `mandatory:"true" json:"resources"`

    // Percentage of the request completed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time that the request was created, as described in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // opc-request-id of the request that triggered the work request.
    OpcRequestId *string `mandatory:"false" json:"opcRequestId"`

    // The date and time that the request started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
    // section 14.29.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time that the request completed, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`

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

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

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

func (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 WorkRequestCollection

WorkRequestCollection A collection of Work request resources.

type WorkRequestCollection struct {

    // A list of Work request resources.
    Items []WorkRequest `mandatory:"true" json:"items"`
}

func (WorkRequestCollection) String

func (m WorkRequestCollection) String() string

func (WorkRequestCollection) ValidateEnumValue

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

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

type WorkRequestError

WorkRequestError An error encountered while executing a work request.

type WorkRequestError struct {

    // A machine-usable code for the error that occured. Error codes are listed on
    // (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm)
    Code *string `mandatory:"true" json:"code"`

    // A human-readable description of the issue encountered.
    Message *string `mandatory:"true" json:"message"`

    // The time that the error occured. An RFC3339 standard formatted datetime string.
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

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

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

type WorkRequestErrorCollection

WorkRequestErrorCollection A collection of work request error resources.

type WorkRequestErrorCollection struct {

    // A list of work request error resources.
    Items []WorkRequestError `mandatory:"true" json:"items"`
}

func (WorkRequestErrorCollection) String

func (m WorkRequestErrorCollection) String() string

func (WorkRequestErrorCollection) ValidateEnumValue

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

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

type WorkRequestLogEntry

WorkRequestLogEntry A log message from the execution of a work request.

type WorkRequestLogEntry struct {

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

    // The time that the log message was written. An RFC3339 formatted datetime string.
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

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

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

type WorkRequestLogEntryCollection

WorkRequestLogEntryCollection A collection of work request log entry resources.

type WorkRequestLogEntryCollection struct {

    // A list of work request log entry resources.
    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 type of resource being acted on by the work request.
    EntityType *string `mandatory:"true" json:"entityType"`

    // The way in which this resource is affected by the work 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. When work is complete, the state transitions to CREATED, UPDATED,
    // or DELETED.
    ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`

    // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource being acted on by the work request.
    Identifier *string `mandatory:"true" json:"identifier"`

    // The URI path for GET REST attachment to the resource metadata.
    EntityUri *string `mandatory:"false" json:"entityUri"`
}

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

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

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